Push items: file

class pushsource.FilePushItem[source]

A PushItem representing a single generic file.

Attributes:

description

A human-readable brief description of the file.

Type:

str

version

A version string associated with the file.

This string is intended for display purposes only. It may denote a product version associated with this file. For example, a push item for oc-4.2.33-linux.tar.gz may use a version of "4.2.33" to denote that the file relates to OpenShift version 4.2.33.

Type:

str

display_order

A display order hint associated with the file.

This value is intended for display purposes only. In a UI presenting a file list, it is suggested that the default order of files should be set by an ascending sort using this value. This provides a method of keeping related files grouped together and presented to users in a logical order.

Added in version 2.14.0.

Type:

float