Documentation
¶
Index ¶
- func BuildImage(ctx context.Context, dockerClient *client.Client, image Image, ...) error
- func BuildImageAsync(ctx context.Context, dockerClient *client.Client, image Image, ...)
- func CreateNetwork(ctx context.Context, cli *client.Client, network NetworkConfig) error
- func CreateProtocolEnv(env ProtocolEnv) ([]string, error)
- func RemoveContainers(ctx context.Context, cli *client.Client, label string) error
- func RemoveNetworks(ctx context.Context, cli *client.Client, label string) error
- func StartContainer(ctx context.Context, cli *client.Client, config ContainerConfig) (string, error)
- func StopContainers(ctx context.Context, cli *client.Client, label string) ([]types.Container, error)
- type ContainerConfig
- type Image
- type NetworkConfig
- type OutputOptions
- type ProtocolEnv
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildImage ¶
func BuildImageAsync ¶
func CreateNetwork ¶
func CreateProtocolEnv ¶
func CreateProtocolEnv(env ProtocolEnv) ([]string, error)
func RemoveContainers ¶
func RemoveNetworks ¶
func StartContainer ¶
Types ¶
type ContainerConfig ¶
type NetworkConfig ¶
type OutputOptions ¶
Click to show internal directories.
Click to hide internal directories.