Documentation
¶
Index ¶
- func CertPool(certificatePath string) (*x509.CertPool, error)
- func TLSRoundTripper(certificatePath string) (http.RoundTripper, error)
- type Client
- func (self *Client) DeleteImage(imageName string) error
- func (self *Client) ListImages() ([]string, error)
- func (self *Client) PullTarball(context contextpkg.Context, imageName string, path string) error
- func (self *Client) PushGzippedTarball(context contextpkg.Context, path string, imageName string) error
- func (self *Client) PushGzippedTarballFromURL(context contextpkg.Context, url exturl.URL, imageName string) (string, error)
- func (self *Client) PushLayer(readCloser io.ReadCloser, imageName string) error
- func (self *Client) PushTarball(context contextpkg.Context, path string, imageName string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TLSRoundTripper ¶
func TLSRoundTripper(certificatePath string) (http.RoundTripper, error)
Types ¶
type Client ¶
func NewClient ¶
func NewClient(host string, transport http.RoundTripper, username string, password string, token string, context contextpkg.Context) *Client
func (*Client) DeleteImage ¶
func (*Client) ListImages ¶
func (*Client) PullTarball ¶
func (*Client) PushGzippedTarball ¶
func (*Client) PushGzippedTarballFromURL ¶ added in v0.1.1
func (*Client) PushLayer ¶
func (self *Client) PushLayer(readCloser io.ReadCloser, imageName string) error
func (*Client) PushTarball ¶
Click to show internal directories.
Click to hide internal directories.