{"modulePath":"github.com/2lambda123/openshift-origin","version":"v1.2.2","isLatest":false,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package v1beta3\n\n## Constants\n\n```go\nconst GroupName = \"\"\n```\n\n## Variables\n\n```go\nvar SchemeGroupVersion = unversioned.GroupVersion{Group: GroupName, Version: \"v1beta3\"}\n```\nSchemeGroupVersion is group version used to register these objects\n\n## Functions\n\n```go\nfunc AddToScheme(scheme *runtime.Scheme)\n```\n\n## Types\n\n```go\ntype DockerImageReference struct {\n\tRegistry  string\n\tNamespace string\n\tName      string\n\tTag       string\n\tID        string\n}\n```\nDockerImageReference points to a Docker image.\n\n```go\ntype Image struct {\n\tunversioned.TypeMeta `json:\",inline\"`\n\tkapi.ObjectMeta      `json:\"metadata,omitempty\"`\n\n\t// The string that can be used to pull this image.\n\tDockerImageReference string `json:\"dockerImageReference,omitempty\"`\n\t// Metadata about this image\n\tDockerImageMetadata runtime.RawExtension `json:\"dockerImageMetadata,omitempty\"`\n\t// This attribute conveys the version of the object, which if empty defaults to \"1.0\"\n\tDockerImageMetadataVersion string `json:\"dockerImageMetadataVersion,omitempty\"`\n\t// The raw JSON of the manifest\n\tDockerImageManifest string `json:\"dockerImageManifest,omitempty\"`\n\t// DockerImageLayers represents the layers in the image. May not be set if the image does not define that data.\n\tDockerImageLayers []ImageLayer `json:\"dockerImageLayers\"`\n}\n```\nImage is an immutable representation of a Docker image and metadata at a point in time.\n\n```go\nfunc (obj *Image) GetObjectKind() unversioned.ObjectKind\n```\n\n```go\ntype ImageLayer struct {\n\t// Name of the layer as defined by the underlying store.\n\tName string `json:\"name\"`\n\t// Size of the layer as defined by the underlying store.\n\tSize int64 `json:\"size\"`\n}\n```\nImageLayer represents a single layer of the image. Some images may have multiple layers. Some may have none.\n\n```go\ntype ImageList struct {\n\tunversioned.TypeMeta `json:\",inline\"`\n\tunversioned.ListMeta `json:\"metadata,omitempty\"`\n\n\tItems []Image `json:\"items\"`\n}\n```\nImageList is a list of Image objects.\n\n```go\nfunc (obj *ImageList) GetObjectKind() unversioned.ObjectKind\n```\n\n```go\ntype ImageStream struct {\n\tunversioned.TypeMeta `json:\",inline\"`\n\tkapi.ObjectMeta      `json:\"metadata,omitempty\"`\n\n\t// Spec describes the desired state of this stream\n\tSpec ImageStreamSpec `json:\"spec\"`\n\t// Status describes the current state of this stream\n\tStatus ImageStreamStatus `json:\"status,omitempty\"`\n}\n```\nImageStream stores a mapping of tags to images, metadata overrides that are applied when images are tagged in a stream, and an optional reference to a Docker image repository on a registry.\n\n```go\nfunc (obj *ImageStream) GetObjectKind() unversioned.ObjectKind\n```\n\n```go\ntype ImageStreamImage struct {\n\tImage     `json:\",inline\"`\n\tImageName string `json:\"imageName\"`\n}\n```\nImageStreamImage represents an Image that is retrieved by image name from an ImageStream.\n\n```go\nfunc (obj *ImageStreamImage) GetObjectKind() unversioned.ObjectKind\n```\n\n```go\ntype ImageStreamList struct {\n\tunversioned.TypeMeta `json:\",inline\"`\n\tunversioned.ListMeta `json:\"metadata,omitempty\"`\n\n\tItems []ImageStream `json:\"items\"`\n}\n```\nImageStreamList is a list of ImageStream objects.\n\n```go\nfunc (obj *ImageStreamList) GetObjectKind() unversioned.ObjectKind\n```\n\n```go\ntype ImageStreamMapping struct {\n\tunversioned.TypeMeta `json:\",inline\"`\n\tkapi.ObjectMeta      `json:\"metadata,omitempty\"`\n\n\t// A Docker image.\n\tImage Image `json:\"image\"`\n\t// A string value this image can be located with inside the repository.\n\tTag string `json:\"tag\"`\n}\n```\nImageStreamMapping represents a mapping from a single tag to a Docker image as well as the reference to the Docker image repository the image came from.\n\n```go\nfunc (obj *ImageStreamMapping) GetObjectKind() unversioned.ObjectKind\n```\n\n```go\ntype ImageStreamSpec struct {\n\t// Optional, if specified this stream is backed by a Docker repository on this server\n\tDockerImageRepository string `json:\"dockerImageRepository,omitempty\"`\n\t// Tags map arbitrary string values to specific image locators\n\tTags []TagReference `json:\"tags,omitempty\"`\n}\n```\nImageStreamSpec represents options for ImageStreams.\n\n```go\ntype ImageStreamStatus struct {\n\t// Represents the effective location this stream may be accessed at. May be empty until the server\n\t// determines where the repository is located\n\tDockerImageRepository string `json:\"dockerImageRepository\"`\n\t// A historical record of images associated with each tag. The first entry in the TagEvent array is\n\t// the currently tagged image.\n\tTags []NamedTagEventList `json:\"tags,omitempty\"`\n}\n```\nImageStreamStatus contains information about the state of this image stream.\n\n```go\ntype ImageStreamTag struct {\n\tImage     `json:\",inline\"`\n\tImageName string `json:\"imageName\"`\n}\n```\nImageStreamTag represents an Image that is retrieved by tag name from an ImageStream.\n\n```go\nfunc (obj *ImageStreamTag) GetObjectKind() unversioned.ObjectKind\n```\n\n```go\ntype ImageStreamTagList struct {\n\tunversioned.TypeMeta `json:\",inline\"`\n\tunversioned.ListMeta `json:\"metadata,omitempty\"`\n\n\tItems []ImageStreamTag `json:\"items\"`\n}\n```\nImageStreamTagList is a list of ImageStreamTag objects.\n\n```go\nfunc (obj *ImageStreamTagList) GetObjectKind() unversioned.ObjectKind\n```\n\n```go\ntype NamedTagEventList struct {\n\tTag   string     `json:\"tag\"`\n\tItems []TagEvent `json:\"items\"`\n\t// Conditions is an array of conditions that apply to the tag event list.\n\tConditions []TagEventCondition `json:\"conditions\"`\n}\n```\nNamedTagEventList relates a tag to its image history.\n\n```go\ntype TagEvent struct {\n\t// Created holds the time the TagEvent was created\n\tCreated unversioned.Time `json:\"created\"`\n\t// DockerImageReference is the string that can be used to pull this image\n\tDockerImageReference string `json:\"dockerImageReference\"`\n\t// Image is the image\n\tImage string `json:\"image\"`\n\t// Generation is the spec tag generation that resulted in this tag being updated\n\tGeneration int64 `json:\"generation\"`\n}\n```\nTagEvent is used by ImageStreamStatus to keep a historical record of images associated with a tag.\n\n```go\ntype TagEventCondition struct {\n\t// Type of tag event condition, currently only ImportSuccess\n\tType TagEventConditionType `json:\"type\"`\n\t// Status of the condition, one of True, False, Unknown.\n\tStatus kapi.ConditionStatus `json:\"status\"`\n\t// Last time the condition transit from one status to another.\n\tLastTransitionTime unversioned.Time `json:\"lastTransitionTime,omitempty\"`\n\t// (brief) reason for the condition's last transition.\n\tReason string `json:\"reason,omitempty\"`\n\t// Human readable message indicating details about last transition.\n\tMessage string `json:\"message,omitempty\"`\n\t// Generation is the spec tag generation that this status corresponds to\n\tGeneration int64 `json:\"generation\"`\n}\n```\nTagEventCondition contains condition information for a tag event.\n\n```go\ntype TagEventConditionType string\n```\n\n```go\nconst (\n\t// ImportSuccess with status False means the import of the specific tag failed\n\tImportSuccess TagEventConditionType = \"ImportSuccess\"\n)\n```\nThese are valid conditions of TagEvents.\n\n```go\ntype TagImportPolicy struct {\n\t// Insecure is true if the server may bypass certificate verification or connect directly over HTTP during image import.\n\tInsecure bool `json:\"insecure,omitempty\"`\n\t// Scheduled indicates to the server that this tag should be periodically checked to ensure it is up to date, and imported\n\tScheduled bool `json:\"scheduled,omitempty\"`\n}\n```\n\n```go\ntype TagReference struct {\n\tName        string                `json:\"name\"`\n\tAnnotations map[string]string     `json:\"annotations\"`\n\tFrom        *kapi.ObjectReference `json:\"from,omitempty\"`\n\t// Reference states if the tag will be imported. Default value is false, which means the tag will be imported.\n\tReference bool `json:\"reference,omitempty\"`\n\t// Generation is the image stream generation that updated this tag - setting it to 0 is an indication that the generation must be updated.\n\t// Legacy clients will send this as nil, which means the client doesn't know or care.\n\tGeneration *int64 `json:\"generation\"`\n\t// Import is information that controls how images may be imported by the server.\n\tImportPolicy TagImportPolicy `json:\"importPolicy,omitempty\"`\n}\n```\nTagReference specifies optional annotations for images using this tag and an optional reference to an ImageStreamTag, ImageStreamImage, or DockerImage this tag should track.\n\n","path":"github.com/2lambda123/openshift-origin/pkg/image/api/v1beta3","name":"v1beta3","synopsis":"","isRedistributable":true}
