registryWrap

package
v0.0.0-...-59b1fd5 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RegistryClientRetryCount    = 5
	RegistryClientRetryInterval = 2 * time.Second
)

Variables

This section is empty.

Functions

This section is empty.

Types

type RegistryClient

type RegistryClient struct {
	// contains filtered or unexported fields
}

func NewRegistryClient

func NewRegistryClient(username, password, repository, url string, skipRegistryTLSVerify bool) (*RegistryClient, error)

func (*RegistryClient) DownloadBlob

func (rc *RegistryClient) DownloadBlob(repository string, digest digest.Digest) (r io.ReadCloser, err error)

func (*RegistryClient) GetLayers

func (rc *RegistryClient) GetLayers(version, repository, digest string) ([]string, error)

func (*RegistryClient) GetManifestDigest

func (rc *RegistryClient) GetManifestDigest(repository, tag string) (digest.Digest, error)

Jump to

Keyboard shortcuts

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