Documentation ¶
Index ¶
- type RegistryClient
- func (r *RegistryClient) GetBlob(image string, desc distribution.Descriptor) ([]byte, error)
- func (r *RegistryClient) ManifestV1(image, tag string) (*schema1.SignedManifest, error)
- func (r *RegistryClient) ManifestV2(image, tag string) (*schema2.DeserializedManifest, error)
- func (r *RegistryClient) SaveBlob(image, dir string, desc distribution.Descriptor) (string, error)
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)
Click to show internal directories.
Click to hide internal directories.