docker

package
v0.0.0-...-fc91ca8 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2021 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Engine

type Engine struct {
	// contains filtered or unexported fields
}

func NewEngine

func NewEngine() (*Engine, error)

func (*Engine) CreateContainer

func (e *Engine) CreateContainer(ctx context.Context, name string, s models.Service) (string, error)

func (*Engine) InspectContainer

func (e *Engine) InspectContainer(ctx context.Context, id string) (*engine.InspectResponse, error)

func (*Engine) ListContainers

func (e *Engine) ListContainers(ctx context.Context, keyFilters map[string]struct{}, keyAndValueFilters map[string]string, all bool) ([]engine.Instance, error)

func (*Engine) PullImage

func (e *Engine) PullImage(ctx context.Context, image, registryAuth string, w io.Writer) error

func (*Engine) RemoveContainer

func (e *Engine) RemoveContainer(ctx context.Context, id string) error

func (*Engine) StartContainer

func (e *Engine) StartContainer(ctx context.Context, id string) error

func (*Engine) StopContainer

func (e *Engine) StopContainer(ctx context.Context, id string) error

Jump to

Keyboard shortcuts

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