Documentation
¶
Index ¶
- Constants
- func AddTagEventToImageStream(stream *ImageStream, tag string, next TagEvent) bool
- func JoinImageStreamTag(name, tag string) string
- func NameAndTag(name, tag string) string
- func ResolveImageID(stream *ImageStream, imageID string) util.StringSet
- func SplitImageStreamTag(nameAndTag string) (name string, tag string, ok bool)
- func UpdateTrackingTags(stream *ImageStream, updatedTag string, updatedImage TagEvent)
- type DockerConfig
- type DockerFSLayer
- type DockerHistory
- type DockerImage
- type DockerImageManifest
- type DockerImageReference
- type DockerV1CompatibilityImage
- type Image
- type ImageList
- type ImageStream
- type ImageStreamImage
- type ImageStreamList
- type ImageStreamMapping
- type ImageStreamSpec
- type ImageStreamStatus
- type ImageStreamTag
- type TagEvent
- type TagEventList
- type TagReference
Constants ¶
View Source
const ( // ManagedByOpenShiftAnnotation indicates that an image is managed by OpenShift's registry. ManagedByOpenShiftAnnotation = "openshift.io/image.managed" // DockerImageRepositoryCheckAnnotation indicates that OpenShift has // attempted to import tag and image information from an external Docker // image repository. DockerImageRepositoryCheckAnnotation = "openshift.io/image.dockerRepositoryCheck" // InsecureRepositoryAnnotation may be set true on an image stream to allow insecure access to pull content. InsecureRepositoryAnnotation = "openshift.io/image.insecureRepository" // DefaultImageTag is used when an image tag is needed and the configuration does not specify a tag to use. DefaultImageTag = "latest" )
View Source
const DockerDefaultNamespace = "library"
DockerDefaultNamespace is the value for namespace when a single segment name is provided.
Variables ¶
This section is empty.
Functions ¶
func AddTagEventToImageStream ¶
func AddTagEventToImageStream(stream *ImageStream, tag string, next TagEvent) bool
AddTagEventToImageStream attempts to update the given image stream with a tag event. It will collapse duplicate entries - returning true if a change was made or false if no change occurred.
func JoinImageStreamTag ¶
func JoinImageStreamTag(name, tag string)