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