docker

package
v0.0.0-...-e6f46e9 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2023 License: MIT Imports: 18 Imported by: 0

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)

Jump to

Keyboard shortcuts

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