Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidImageBuidler = errors.New("invalid image builder") ErrInvalidContainerManager = errors.New("invalid container manager") )
Functions ¶
This section is empty.
Types ¶
type Case ¶
type Case struct {
// contains filtered or unexported fields
}
func NewCase ¶
func NewCase(imgBuilder ImageBuilder, contManager ContainerManager) (*Case, error)
type ContainerManager ¶
type ContainerManager interface { CreateAndStart(ctx context.Context, css entities.ContainerStartSettings) (string, error) ShellCommand(ctx context.Context, containerName string, username string, workDir string, command []string) error RemoveContainer(ctx context.Context, name string) error Exec(ctx context.Context, conID string, command string, username string) (int, error) }
Click to show internal directories.
Click to hide internal directories.