...

Source file src/github.com/openshift/api/image/v1/consts.go

Documentation: github.com/openshift/api/image/v1

     1  package v1
     2  
     3  import corev1 "k8s.io/api/core/v1"
     4  
     5  const (
     6  	// ManagedByOpenShiftAnnotation indicates that an image is managed by OpenShift's registry.
     7  	ManagedByOpenShiftAnnotation = "openshift.io/image.managed"
     8  
     9  	// DockerImageRepositoryCheckAnnotation indicates that OpenShift has
    10  	// attempted to import tag and image information from an external Docker
    11  	// image repository.
    12  	DockerImageRepositoryCheckAnnotation = "openshift.io/image.dockerRepositoryCheck"
    13  
    14  	// InsecureRepositoryAnnotation may be set true on an image stream to allow insecure access to pull content.
    15  	InsecureRepositoryAnnotation = "openshift.io/image.insecureRepository"
    16  
    17  	// ExcludeImageSecretAnnotation indicates that a secret should not be returned by imagestream/secrets.
    18  	ExcludeImageSecretAnnotation = "openshift.io/image.excludeSecret"
    19  
    20  	// DockerImageLayersOrderAnnotation describes layers order in the docker image.
    21  	DockerImageLayersOrderAnnotation = "image.openshift.io/dockerLayersOrder"
    22  
    23  	// DockerImageLayersOrderAscending indicates that image layers are sorted in
    24  	// the order of their addition (from oldest to latest)
    25  	DockerImageLayersOrderAscending = "ascending"
    26  
    27  	// DockerImageLayersOrderDescending indicates that layers are sorted in
    28  	// reversed order of their addition (from newest to oldest).
    29  	DockerImageLayersOrderDescending = "descending"
    30  
    31  	// ImporterPreferArchAnnotation represents an architecture that should be
    32  	// selected if an image uses a manifest list and it should be
    33  	// downconverted.
    34  	ImporterPreferArchAnnotation = "importer.image.openshift.io/prefer-arch"
    35  
    36  	// ImporterPreferOSAnnotation represents an operation system that should
    37  	// be selected if an image uses a manifest list and it should be
    38  	// downconverted.
    39  	ImporterPreferOSAnnotation = "importer.image.openshift.io/prefer-os"
    40  
    41  	// ImageManifestBlobStoredAnnotation indicates that manifest and config blobs of image are stored in on
    42  	// storage of integrated Docker registry.
    43  	ImageManifestBlobStoredAnnotation = "image.openshift.io/manifestBlobStored"
    44  
    45  	// DefaultImageTag is used when an image tag is needed and the configuration does not specify a tag to use.
    46  	DefaultImageTag = "latest"
    47  
    48  	// ResourceImageStreams represents a number of image streams in a project.
    49  	ResourceImageStreams corev1.ResourceName = "openshift.io/imagestreams"
    50  
    51  	// ResourceImageStreamImages represents a number of unique references to images in all image stream
    52  	// statuses of a project.
    53  	ResourceImageStreamImages corev1.ResourceName = "openshift.io/images"
    54  
    55  	// ResourceImageStreamTags represents a number of unique references to images in all image stream specs
    56  	// of a project.
    57  	ResourceImageStreamTags corev1.ResourceName = "openshift.io/image-tags"
    58  
    59  	// Limit that applies to images. Used with a max["storage"] LimitRangeItem to set
    60  	// the maximum size of an image.
    61  	LimitTypeImage corev1.LimitType = "openshift.io/Image"
    62  
    63  	// Limit that applies to image streams. Used with a max[resource] LimitRangeItem to set the maximum number
    64  	// of resource. Where the resource is one of "openshift.io/images" and "openshift.io/image-tags".
    65  	LimitTypeImageStream corev1.LimitType = "openshift.io/ImageStream"
    66  
    67  	// The supported type of image signature.
    68  	ImageSignatureTypeAtomicImageV1 string = "AtomicImageV1"
    69  )
    70  

View as plain text