util

package
v3.7.0-alpha.0+incompa... Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 1, 2017 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

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 IsDocker

func IsDocker(source string) bool

func IsImageStreamImage

func IsImageStreamImage(source string) bool

func IsImageStreamTag

func IsImageStreamTag(source string) bool

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL