Documentation ¶
Index ¶
- func ErrContainerLogs(msg string) error
- type App
- type AppInstance
- type Client
- func (c *Client) BuildImage(imageName, srcPath, dockerfile string) error
- func (c *Client) Close() error
- func (c *Client) Delete(instance AppInstance) error
- func (c *Client) GetContainerLogs(containerID string) (string, error)
- func (c *Client) NetworkCreate(name string) (string, error)
- func (c *Client) NetworkRemove(networkID string) error
- func (c *Client) NewApp(definition string) (App, error)
- func (c *Client) Run(app App, config RunOptions) (AppInstance, error)
- type RunOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ErrContainerLogs ¶
ErrContainerLogs wraps errors found into the logs of a container.
Types ¶
type AppInstance ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func NewDefaultClient ¶
func (*Client) BuildImage ¶
func (*Client) Delete ¶
func (c *Client) Delete(instance AppInstance) error
func (*Client) GetContainerLogs ¶
getContainerLogs returns the logs from a given container. If there is any error in retrieving the logs, it is returned.
func (*Client) NetworkRemove ¶
func (*Client) Run ¶
func (c *Client) Run(app App, config RunOptions) (AppInstance, error)
type RunOptions ¶
Click to show internal directories.
Click to hide internal directories.