Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DockerService ¶
type DockerService interface {
Create(ctx context.Context, lambda *model.LambdaM, tar io.Reader) (string, error)
CreateContainer(ctx context.Context, lambda *model.LambdaM) (string, error)
Start(ctx context.Context, lambda *model.LambdaM) error
Stop(ctx context.Context, lambda *model.LambdaM) error
ListContainers(ctx context.Context) ([]types.Container, error)
Inspect(ctx context.Context, id string) (types.ContainerJSON, error)
Remove(ctx context.Context, lambda *model.LambdaM) error
}
func NewDockerService ¶
func NewDockerService(id string) (DockerService, error)
Click to show internal directories.
Click to hide internal directories.