Documentation ¶
Index ¶
- func CheckIfContainerAllocatesPort(ctx context.Context, cli *client.Client, port int) (bool, error)
- func CheckIfContainerExists(ctx context.Context, cli *client.Client, containerName string) (bool, error)
- func CheckIfImageExists(ctx context.Context, cli *client.Client, imageName string) (bool, error)
- func CreateDockerContainer(ctx context.Context, cli *client.Client, containerName string, ...) error
- func ExecDockerContainer(ctx context.Context, cli *client.Client, containerName string, cmd []string) ([]string, error)
- func GetAllDockerContainers(ctx context.Context, cli *client.Client) ([]types.Container, error)
- func GetDockerClient() (*client.Client, error)
- func GetDockerContainers(ctx context.Context, cli *client.Client, ...) ([]types.Container, error)
- func GetDockerImages(ctx context.Context, cli *client.Client) ([]types.ImageSummary, error)
- func GetRunningDockerContainers(ctx context.Context, cli *client.Client) ([]types.Container, error)
- func PullDockerImage(ctx context.Context, cli *client.Client, imageName string) error
- func RemoveDockerContainer(ctx context.Context, cli *client.Client, containerName string) error
- func RunDockerContainer(ctx context.Context, cli *client.Client, containerName string, ...) error
- func StopDockerContainer(ctx context.Context, cli *client.Client, containerName string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckIfContainerExists ¶
func CheckIfImageExists ¶
func CreateDockerContainer ¶
func ExecDockerContainer ¶
func GetAllDockerContainers ¶
func GetDockerClient ¶
func GetDockerContainers ¶
func GetDockerImages ¶
func PullDockerImage ¶
func RemoveDockerContainer ¶
func RunDockerContainer ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.