docker_registry

package
v1.0.1-alpha.4 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2019 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	AllowInsecureRepo = false
	GCRUrlPatterns    = []string{"^container\\.cloud\\.google\\.com", "^gcr\\.io", "^.*\\.gcr\\.io"}
)

Functions

func ImageConfigFile

func ImageConfigFile(reference string) (v1.ConfigFile, error)

func ImageDelete

func ImageDelete(reference string) error

func ImageDigest

func ImageDigest(reference string) (string, error)

func ImageId

func ImageId(reference string) (string, error)

func ImageParentId

func ImageParentId(reference string) (string, error)

func Init

func Init(opts Options) error

func IsGCR

func IsGCR(reference string) (bool, error)

func Tags

func Tags(reference string) ([]string, error)

Types

type Options added in v1.2.77

type Options struct {
	AllowInsecureRepo bool
}

type RepoImage

type RepoImage struct {
	Repository string
	Tag        string
	v1.Image
}

func ImagesByWerfImageLabel

func ImagesByWerfImageLabel(reference, labelValue string) ([]RepoImage, error)

Jump to

Keyboard shortcuts

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