Documentation ¶
Overview ¶
Package container contains functions and methods for starting a container.
Index ¶
- func ContainerExists(ctx context.Context, cli *client.Client, containerName string) (string, error)
- func ContainerIP(ctx context.Context, cli *client.Client, containerID string) (string, error)
- func StartContainer(ctx context.Context, cli *client.Client, config *container.Config, ...) (string, error)
- type ContainerExistsError
- type DatabaseOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContainerExists ¶
func ContainerIP ¶
Types ¶
type ContainerExistsError ¶
type ContainerExistsError struct {
// contains filtered or unexported fields
}
func NewContainerExistsError ¶
func NewContainerExistsError(name, id string) *ContainerExistsError
func (*ContainerExistsError) Error ¶
func (e *ContainerExistsError) Error() string
Click to show internal directories.
Click to hide internal directories.