client

package
v0.0.0-...-c938c57 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	*client.Client
}

Client is a wrapper type around the moby client.

func New

func New() (*Client, error)

New returns a pointer to a new instance of client.

func (*Client) ContainerRemoveByName

func (c *Client) ContainerRemoveByName(name string) error

func (*Client) ImagePublish

func (c *Client) ImagePublish(pull bool, source, target string) (string, error)

ImagePublish publishes a tagged image. ex. client.ImagePublish(true, "alpine", "localhost:5000/alpine")

Jump to

Keyboard shortcuts

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