docker

package
v0.0.0-...-a138482 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 19, 2022 License: MIT Imports: 12 Imported by: 0

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL