Documentation ¶
Index ¶
- Constants
- func Down(fn func() *Client) func(cmd *cli.Cmd)
- func Remove(fn func() *Client) func(cmd *cli.Cmd)
- func Status(fn func() *Client) func(cmd *cli.Cmd)
- func Up(fn func() *Client) func(cmd *cli.Cmd)
- type Client
- func (c Client) CreateContainer(name string, image string, envs []string) (*types.Container, error)
- func (c Client) FindContainer(name, id string) (*types.Container, error)
- func (c Client) FindImage(name string) (*types.ImageSummary, error)
- func (c Client) PullImage(ref string) error
- func (c Client) RemoveContainer(id string, force bool) error
- func (c Client) StartContainer(id string) error
- func (c Client) StopContainer(id string) error
- type Local
Constants ¶
View Source
const ( Repository string = "quay.io/vektorcloud/mesos:latest" ContainerName string = "mesos_cli" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is a simple high level client for managing the quay.io/vektorcloud/mesos container.
func (Client) CreateContainer ¶
func (Client) FindContainer ¶
func (Client) StartContainer ¶
func (Client) StopContainer ¶
Click to show internal directories.
Click to hide internal directories.