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)
Click to show internal directories.
Click to hide internal directories.