Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrInstanceNotFound = errors.New("instance not found")
)
Functions ¶
This section is empty.
Types ¶
type Engine ¶
type Engine interface { CreateContainer(context.Context, string, models.Service) (string, error) InspectContainer(context.Context, string) (*InspectResponse, error) StartContainer(context.Context, string) error ListContainers(context.Context, map[string]struct{}, map[string]string, bool) ([]Instance, error) StopContainer(context.Context, string) error RemoveContainer(context.Context, string) error PullImage(context.Context, string, string, io.Writer) error }
type InspectResponse ¶
Click to show internal directories.
Click to hide internal directories.