common

package
v1.0.11 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2020 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CertPool added in v1.0.10

func CertPool(certificatePath string) (*x509.CertPool, error)

func TLSRoundTripper added in v1.0.10

func TLSRoundTripper(certificatePath string) (http.RoundTripper, error)

Types

type Client added in v1.0.11

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

func NewClient added in v1.0.11

func NewClient(transport http.RoundTripper, username string, password string, token string) *Client

func (*Client) DeleteFromRegistry added in v1.0.11

func (self *Client) DeleteFromRegistry(name string) error

func (*Client) ListImages added in v1.0.11

func (self *Client) ListImages(registry string) ([]string, error)

func (*Client) PullTarballFromRegistry added in v1.0.11

func (self *Client) PullTarballFromRegistry(name string, path string) error

func (*Client) PushGzippedTarballToRegistry added in v1.0.11

func (self *Client) PushGzippedTarballToRegistry(path string, name string) error

func (*Client) PushLayerToRegistry added in v1.0.11

func (self *Client) PushLayerToRegistry(readCloser io.ReadCloser, name string) error

func (*Client) PushTarballToRegistry added in v1.0.11

func (self *Client) PushTarballToRegistry(path string, name string) error

Jump to

Keyboard shortcuts

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