Documentation ¶
Index ¶
- type Client
- func (client *Client) EnsureImage(dockerHost, image string) (string, error)
- func (client *Client) EnsureNetwork() error
- func (client *Client) GetNameWithVersion(image string) (string, error)
- func (client *Client) Remove(container string) error
- func (client *Client) StartCassandra(opts *StartCassandraOptions) error
- func (client *Client) StartService(opts *StartServiceOptions) error
- func (client *Client) Started(containerID, trigger string) error
- func (client *Client) Stop(container string) error
- type StartCassandraOptions
- type StartServiceOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is a container for a docker client
func (*Client) EnsureImage ¶
EnsureImage makes sure that the image we need is present and returns the correct name
func (*Client) EnsureNetwork ¶
EnsureNetwork checks to see if the stargate bridge network exists and creates it if it doesnt
func (*Client) GetNameWithVersion ¶
GetNameWithVersion finds a full versioned name for an image
func (*Client) StartCassandra ¶
func (client *Client) StartCassandra(opts *StartCassandraOptions) error
StartCassandra running docker image
func (*Client) StartService ¶
func (client *Client) StartService(opts *StartServiceOptions) error
StartService running docker image
type StartCassandraOptions ¶
StartCassandraOptions defines the input of Client.Start
Click to show internal directories.
Click to hide internal directories.