Documentation ¶
Index ¶
- func GetImageManifestByIDFromRegistry(registry *url.URL, repositoryName, imageID, username, password string) ([]byte, error)
- func IsDocker(source string) bool
- func IsImageStreamImage(source string) bool
- func IsImageStreamTag(source string) bool
- func ResolveImagePullSpec(images client.ImageStreamImagesNamespacer, ...) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetImageManifestByIDFromRegistry ¶
func GetImageManifestByIDFromRegistry(registry *url.URL, repositoryName, imageID, username, password string) ([]byte, error)
GetImageManifestByIDFromRegistry retrieves the image manifest from the registry using the basic authentication using the image ID.
func IsImageStreamImage ¶
func IsImageStreamTag ¶
func ResolveImagePullSpec ¶
func ResolveImagePullSpec(images client.ImageStreamImagesNamespacer, tags client.ImageStreamTagsNamespacer, source, name, defaultNamespace string) (string, error)
ResolveImagePullSpec resolves the provided source which can be "docker", "istag" or "isimage" and returns the full Docker pull spec.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.