registryclient

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2020 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

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(registryURL, username, password string, validate bool) (*RegistryClient, error)

func (*RegistryClient) GetBlob

func (r *RegistryClient) GetBlob(image string, desc distribution.Descriptor) ([]byte, error)

func (*RegistryClient) ManifestV1

func (r *RegistryClient) ManifestV1(image, tag string) (*schema1.SignedManifest, error)

func (*RegistryClient) ManifestV2

func (r *RegistryClient) ManifestV2(image, tag string) (*schema2.DeserializedManifest, error)

func (*RegistryClient) SaveBlob

func (r *RegistryClient) SaveBlob(image, dir string, desc distribution.Descriptor) (string, error)

Jump to

Keyboard shortcuts

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