Versions in this module Expand all Collapse all v4 v4.1.0 May 1, 2019 Changes in this version + const DefaultImageTag + const DockerDefaultNamespace + const DockerDefaultRegistry + const DockerDefaultV1Registry + const DockerDefaultV2Registry + const DockerImageLayersOrderAnnotation + const DockerImageLayersOrderAscending + const DockerImageLayersOrderDescending + const DockerImageRepositoryCheckAnnotation + const ExcludeImageSecretAnnotation + const GroupName + const ImageManifestBlobStoredAnnotation + const ImageSignatureTypeAtomicImageV1 + const ImporterPreferArchAnnotation + const ImporterPreferOSAnnotation + const InsecureRepositoryAnnotation + const LimitTypeImage + const LimitTypeImageStream + const ManagedByOpenShiftAnnotation + const ResourceImageStreamImages + const ResourceImageStreamTags + const ResourceImageStreams + const SignatureExpired + const SignatureForImage + const SignatureRevoked + const SignatureTrusted + const TagReferenceAnnotationTagHidden + var AddToScheme = schemeBuilder.AddToScheme + var ErrCircularReference = errors.New("reference tag is circular") + var ErrCrossImageStreamReference = errors.New("reference tag points to another imagestream") + var ErrImageStreamImportUnsupported = errors.New(...) + var ErrInvalidReference = errors.New("reference tag is invalid") + var ErrNotFoundReference = errors.New("reference tag is not found") + var GroupVersion = schema.GroupVersion + var Install = schemeBuilder.AddToScheme + var SchemeGroupVersion = schema.GroupVersion + func AddTagEventToImageStream(stream *ImageStream, tag string, next TagEvent) bool + func Convert_api_to_public_DockerConfig(in *docker10.DockerConfig, out *public.DockerConfig) error + func Convert_api_to_public_DockerImage(in *docker10.DockerImage, out *public.DockerImage) error + func Convert_compatibility_to_api_DockerImage(in *public.DockerV1CompatibilityImage, out *docker10.DockerImage) error + func Convert_imageconfig_to_api_DockerImage(in *public.DockerImageConfig, out *docker10.DockerImage) error + func Convert_public_to_api_DockerConfig(in *public.DockerConfig, out *docker10.DockerConfig) error + func Convert_public_to_api_DockerImage(in *public.DockerImage, out *docker10.DockerImage) error + func DifferentTagEvent(stream *ImageStream, tag string, next TagEvent) bool + func DifferentTagGeneration(stream *ImageStream, tag string) bool + func DigestOrImageMatch(image, imageID string) bool + func DockerImageReferenceForImage(stream *ImageStream, imageID string) (string, bool) + func HasTagCondition(stream *ImageStream, tag string, condition TagEventCondition) bool + func ImageStreamSelector(obj runtime.Object, fieldSet fields.Set) error + func IndexOfImageSignature(signatures []ImageSignature, sType string, sContent []byte) int + func IndexOfImageSignatureByName(signatures []ImageSignature, name string) int + func JoinImageSignatureName(imageName, signatureName string) (string, error) + func JoinImageStreamImage(name, id string) string + func JoinImageStreamTag(name, tag string) string + func LabelForStream(stream *ImageStream) string + func LatestObservedTagGeneration(stream *ImageStream, tag string) int64 + func MostAccuratePullSpec(pullSpec string, id, tag string) (string, bool) + func NormalizeImageStreamTag(name string) string + func ParseDockerImageReference(spec string) (reference.DockerImageReference, error) + func ParseImageStreamImageName(input string) (name string, id string, err error) + func ParseImageStreamTagName(istag string) (name string, tag string, err error) + func PrioritizeTags(tags []string) + func ResolveLatestTaggedImage(stream *ImageStream, tag string) (string, bool) + func ResolveReferenceForTagEvent(stream *ImageStream, tag string, latest *TagEvent) string + func ResolveTagReference(stream *ImageStream, tag string, latest *TagEvent) (string, bool) + func Resource(resource string) schema.GroupResource + func SetTagConditions(stream *ImageStream, tag string, conditions ...TagEventCondition) + func ShortDockerImageID(image *DockerImage, length int) string + func SortStatusTags(tags map[string]TagEventList) []string + func SplitImageSignatureName(imageSignatureName string) (imageName, signatureName string, err error) + func SplitImageStreamImage(nameAndID string) (name string, id string, ok bool) + func SplitImageStreamTag(nameAndTag string) (name string, tag string, ok bool) + func UpdateChangedTrackingTags(new, old *ImageStream) int + func UpdateTrackingTags(stream *ImageStream, updatedTag string, updatedImage TagEvent) int + func ValidateRegistryURL(registryURL string) error + type DockerConfig = docker10.DockerConfig + type DockerImage = docker10.DockerImage + type DockerImageReference = reference.DockerImageReference + func DockerImageReferenceForStream(stream *ImageStream) (DockerImageReference, error) + type Image struct + DockerImageConfig string + DockerImageLayers []ImageLayer + DockerImageManifest string + DockerImageManifestMediaType string + DockerImageMetadata DockerImage + DockerImageMetadataVersion string + DockerImageReference string + DockerImageSignatures [][]byte + Signatures []ImageSignature + func (in *Image) DeepCopy() *Image + func (in *Image) DeepCopyInto(out *Image) + func (in *Image) DeepCopyObject() runtime.Object + type ImageBlobReferences struct + Config *string + ImageMissing bool + Layers []string + func (in *ImageBlobReferences) DeepCopy() *ImageBlobReferences + func (in *ImageBlobReferences) DeepCopyInto(out *ImageBlobReferences) + type ImageImportSpec struct + From core.ObjectReference + ImportPolicy TagImportPolicy + IncludeManifest bool + ReferencePolicy TagReferencePolicy + To *core.LocalObjectReference + func (in *ImageImportSpec) DeepCopy() *ImageImportSpec + func (in *ImageImportSpec) DeepCopyInto(out *ImageImportSpec) + type ImageImportStatus struct + Image *Image + Status metav1.Status + Tag string + func (in *ImageImportStatus) DeepCopy() *ImageImportStatus + func (in *ImageImportStatus) DeepCopyInto(out *ImageImportStatus) + type ImageLayer struct + LayerSize int64 + MediaType string + Name string + func (in *ImageLayer) DeepCopy() *ImageLayer + func (in *ImageLayer) DeepCopyInto(out *ImageLayer) + type ImageLayerData struct + LayerSize *int64 + MediaType string + func (in *ImageLayerData) DeepCopy() *ImageLayerData + func (in *ImageLayerData) DeepCopyInto(out *ImageLayerData) + type ImageList struct + Items []Image + func (in *ImageList) DeepCopy() *ImageList + func (in *ImageList) DeepCopyInto(out *ImageList) + func (in *ImageList) DeepCopyObject() runtime.Object + type ImageLookupPolicy struct + Local bool + func (in *ImageLookupPolicy) DeepCopy() *ImageLookupPolicy + func (in *ImageLookupPolicy) DeepCopyInto(out *ImageLookupPolicy) + type ImageSignature struct + Conditions []SignatureCondition + Content []byte + Created *metav1.Time + ImageIdentity string + IssuedBy *SignatureIssuer + IssuedTo *SignatureSubject + SignedClaims map[string]string + Type string + func (in *ImageSignature) DeepCopy() *ImageSignature + func (in *ImageSignature) DeepCopyInto(out *ImageSignature) + func (in *ImageSignature) DeepCopyObject() runtime.Object + type ImageStream struct + Spec ImageStreamSpec + Status ImageStreamStatus + func (in *ImageStream) DeepCopy() *ImageStream + func (in *ImageStream) DeepCopyInto(out *ImageStream) + func (in *ImageStream) DeepCopyObject() runtime.Object + type ImageStreamImage struct + Image Image + func (in *ImageStreamImage) DeepCopy() *ImageStreamImage + func (in *ImageStreamImage) DeepCopyInto(out *ImageStreamImage) + func (in *ImageStreamImage) DeepCopyObject() runtime.Object + type ImageStreamImport struct + Spec ImageStreamImportSpec + Status ImageStreamImportStatus + func (in *ImageStreamImport) DeepCopy() *ImageStreamImport + func (in *ImageStreamImport) DeepCopyInto(out *ImageStreamImport) + func (in *ImageStreamImport) DeepCopyObject() runtime.Object + type ImageStreamImportSpec struct + Images []ImageImportSpec + Import bool + Repository *RepositoryImportSpec + func (in *ImageStreamImportSpec) DeepCopy() *ImageStreamImportSpec + func (in *ImageStreamImportSpec) DeepCopyInto(out *ImageStreamImportSpec) + type ImageStreamImportStatus struct + Images []ImageImportStatus + Import *ImageStream + Repository *RepositoryImportStatus + func (in *ImageStreamImportStatus) DeepCopy() *ImageStreamImportStatus + func (in *ImageStreamImportStatus) DeepCopyInto(out *ImageStreamImportStatus) + type ImageStreamLayers struct + Blobs map[string]ImageLayerData + Images map[string]ImageBlobReferences + func (in *ImageStreamLayers) DeepCopy() *ImageStreamLayers + func (in *ImageStreamLayers) DeepCopyInto(out *ImageStreamLayers) + func (in *ImageStreamLayers) DeepCopyObject() runtime.Object + type ImageStreamList struct + Items []ImageStream + func (in *ImageStreamList) DeepCopy() *ImageStreamList + func (in *ImageStreamList) DeepCopyInto(out *ImageStreamList) + func (in *ImageStreamList) DeepCopyObject() runtime.Object + type ImageStreamMapping struct + DockerImageRepository string + Image Image + Tag string + func (in *ImageStreamMapping) DeepCopy() *ImageStreamMapping + func (in *ImageStreamMapping) DeepCopyInto(out *ImageStreamMapping) + func (in *ImageStreamMapping) DeepCopyObject() runtime.Object + type ImageStreamSpec struct + DockerImageRepository string + LookupPolicy ImageLookupPolicy + Tags map[string]TagReference + func (in *ImageStreamSpec) DeepCopy() *ImageStreamSpec + func (in *ImageStreamSpec) DeepCopyInto(out *ImageStreamSpec) + type ImageStreamStatus struct + DockerImageRepository string + PublicDockerImageRepository string + Tags map[string]TagEventList + func (in *ImageStreamStatus) DeepCopy() *ImageStreamStatus + func (in *ImageStreamStatus) DeepCopyInto(out *ImageStreamStatus) + type ImageStreamTag struct + Conditions []TagEventCondition + Generation int64 + Image Image + LookupPolicy ImageLookupPolicy + Tag *TagReference + func (in *ImageStreamTag) DeepCopy() *ImageStreamTag + func (in *ImageStreamTag) DeepCopyInto(out *ImageStreamTag) + func (in *ImageStreamTag) DeepCopyObject() runtime.Object + type ImageStreamTagList struct + Items []ImageStreamTag + func (in *ImageStreamTagList) DeepCopy() *ImageStreamTagList + func (in *ImageStreamTagList) DeepCopyInto(out *ImageStreamTagList) + func (in *ImageStreamTagList) DeepCopyObject() runtime.Object + type RepositoryImportSpec struct + From core.ObjectReference + ImportPolicy TagImportPolicy + IncludeManifest bool + ReferencePolicy TagReferencePolicy + func (in *RepositoryImportSpec) DeepCopy() *RepositoryImportSpec + func (in *RepositoryImportSpec) DeepCopyInto(out *RepositoryImportSpec) + type RepositoryImportStatus struct + AdditionalTags []string + Images []ImageImportStatus + Status metav1.Status + func (in *RepositoryImportStatus) DeepCopy() *RepositoryImportStatus + func (in *RepositoryImportStatus) DeepCopyInto(out *RepositoryImportStatus) + type SignatureCondition struct + LastProbeTime metav1.Time + LastTransitionTime metav1.Time + Message string + Reason string + Status core.ConditionStatus + Type SignatureConditionType + func (in *SignatureCondition) DeepCopy() *SignatureCondition + func (in *SignatureCondition) DeepCopyInto(out *SignatureCondition) + type SignatureConditionType string + type SignatureGenericEntity struct + CommonName string + Organization string + func (in *SignatureGenericEntity) DeepCopy() *SignatureGenericEntity + func (in *SignatureGenericEntity) DeepCopyInto(out *SignatureGenericEntity) + type SignatureIssuer struct + func (in *SignatureIssuer) DeepCopy() *SignatureIssuer + func (in *SignatureIssuer) DeepCopyInto(out *SignatureIssuer) + type SignatureSubject struct + PublicKeyID string + func (in *SignatureSubject) DeepCopy() *SignatureSubject + func (in *SignatureSubject) DeepCopyInto(out *SignatureSubject) + type TagEvent struct + Created metav1.Time + DockerImageReference string + Generation int64 + Image string + func LatestImageTagEvent(stream *ImageStream, imageID string) (string, *TagEvent) + func LatestTaggedImage(stream *ImageStream, tag string) *TagEvent + func ResolveImageID(stream *ImageStream, imageID string) (*TagEvent, error) + func (in *TagEvent) DeepCopy() *TagEvent + func (in *TagEvent) DeepCopyInto(out *TagEvent) + type TagEventCondition struct + Generation int64 + LastTransitionTime metav1.Time + Message string + Reason string + Status core.ConditionStatus + Type TagEventConditionType + func (in *TagEventCondition) DeepCopy() *TagEventCondition + func (in *TagEventCondition) DeepCopyInto(out *TagEventCondition) + type TagEventConditionType string + const ImportSuccess + type TagEventList struct + Conditions []TagEventCondition + Items []TagEvent + func (in *TagEventList) DeepCopy() *TagEventList + func (in *TagEventList) DeepCopyInto(out *TagEventList) + type TagImportPolicy struct + Insecure bool + Scheduled bool + func (in *TagImportPolicy) DeepCopy() *TagImportPolicy + func (in *TagImportPolicy) DeepCopyInto(out *TagImportPolicy) + type TagReference struct + Annotations map[string]string + From *core.ObjectReference + Generation *int64 + ImportPolicy TagImportPolicy + Name string + Reference bool + ReferencePolicy TagReferencePolicy + func FollowTagReference(stream *ImageStream, tag string) (finalTag string, ref *TagReference, multiple bool, err error) + func (in *TagReference) DeepCopy() *TagReference + func (in *TagReference) DeepCopyInto(out *TagReference) + func (tagref TagReference) HasAnnotationTag(searchTag string) bool + type TagReferencePolicy struct + Type TagReferencePolicyType + func (in *TagReferencePolicy) DeepCopy() *TagReferencePolicy + func (in *TagReferencePolicy) DeepCopyInto(out *TagReferencePolicy) + type TagReferencePolicyType string + const LocalTagReferencePolicy + const SourceTagReferencePolicy v4.0.0-alpha.0 Sep 13, 2018 Other modules containing this package gopkg.in/openshift/origin.v3