Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BuildImageInput ¶
type Container ¶
type Container interface { Create(capAdd []string, capDrop []string) common.Executor CopyIn(containerPath string, hostPath string, useGitIgnore bool) common.Executor CopyOut(hostPath string, containerPath string) common.Executor Pull(forcePull bool) common.Executor Start(attach bool) common.Executor Exec(command []string, env map[string]string, user, workdir string) common.Executor Remove() common.Executor Close() common.Executor }
Container for managing docker run containers
type ContainerService ¶
type ContainerServiceProvider ¶
type ContainerServiceProvider interface { Available(ctx context.Context) bool NewContainerService() ContainerService }
ContainerServiceProvider describes how a service can be created
type NewContainerInput ¶
type NewContainerInput struct { Image string Username string Password string Entrypoint []string Cmd []string WorkingDir string Env []string Binds []string Mounts map[string]string Name string Stdout io.Writer Stderr io.Writer NetworkMode string Privileged bool UsernsMode string Platform string Options string }
NewContainerInput the input for the New function
Click to show internal directories.
Click to hide internal directories.