moby

package
v0.2.11 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2024 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Moby

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

func New

func New() (*Moby, error)

func (*Moby) Create

func (m *Moby) Create(ctx context.Context, spec engine.Container, options engine.CreateOptions) (string, error)

func (*Moby) Delete

func (m *Moby) Delete(ctx context.Context, containerID string, options engine.DeleteOptions) error

func (*Moby) Exec added in v0.2.6

func (m *Moby) Exec(ctx context.Context, containerID string, command []string, options engine.ExecOptions) error

func (*Moby) Inspect

func (m *Moby) Inspect(ctx context.Context, container string) (engine.Container, error)

func (*Moby) List

func (m *Moby) List(ctx context.Context, options engine.ListOptions) ([]engine.Container, error)

func (*Moby) Logs

func (m *Moby) Logs(ctx context.Context, containerID string, options engine.LogsOptions) error

func (*Moby) PortForward added in v0.2.6

func (m *Moby) PortForward(ctx context.Context, containerID, address string, ports map[int]int, readyChan chan struct{}) error

func (*Moby) Pull

func (m *Moby) Pull(ctx context.Context, reference, platform string, options engine.PullOptions) error

func (*Moby) Run added in v0.2.6

func (m *Moby) Run(ctx context.Context, spec engine.Container, options engine.RunOptions) error

Jump to

Keyboard shortcuts

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