registry

package
v0.0.0-...-150977c Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DigestAlgorithmError

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

func (*DigestAlgorithmError) Error

func (e *DigestAlgorithmError) Error() string

type DownloadError

type DownloadError struct {
	Cause error
	// contains filtered or unexported fields
}

func (*DownloadError) Error

func (e *DownloadError) Error() string

type HTTPNotOKError

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

func (*HTTPNotOKError) Error

func (e *HTTPNotOKError) Error() string

type HeaderArgs

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

type InvalidMediaTypeError

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

func (*InvalidMediaTypeError) Error

func (e *InvalidMediaTypeError) Error() string

type Registry

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

func New

func New(registryServerURL, imageName, imageTag string) *Registry

func (*Registry) Config

func (r *Registry) Config(config v1.Descriptor) (v1.Image, error)

func (*Registry) DownloadLayer

func (r *Registry) DownloadLayer(layer v1.Descriptor, outputDir string) error

func (*Registry) Manifest

func (r *Registry) Manifest() (v1.Manifest, error)

type SHAMismatchError

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

func (*SHAMismatchError) Error

func (e *SHAMismatchError) Error() string

Jump to

Keyboard shortcuts

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