remote

package
v0.13.12 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: 15 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Unpack

func Unpack(reader io.Reader, source, target string) error

Unpack unpacks the file named `source` in tar stream and write into `target` path.

Types

type Remote

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

func New

func New(keyChain *auth.PassKeyChain, insecure bool) *Remote

func (*Remote) Fetcher

func (remote *Remote) Fetcher(ctx context.Context, ref string) (remotes.Fetcher, error)

func (*Remote) Resolve

func (remote *Remote) Resolve(_ context.Context, _ string) remotes.Resolver

func (*Remote) RetryWithPlainHTTP

func (remote *Remote) RetryWithPlainHTTP(ref string, err error) bool

Directories

Path Synopsis
docker/config
Package config contains utilities for helping configure the Docker resolver
Package config contains utilities for helping configure the Docker resolver
docker/schema1
Package schema1 provides a converter to fetch an image formatted in Docker Image Manifest v2, Schema 1.
Package schema1 provides a converter to fetch an image formatted in Docker Image Manifest v2, Schema 1.

Jump to

Keyboard shortcuts

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