moby

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2024 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthConfig added in v0.2.1

type AuthConfig struct {
	Username string `json:"username,omitempty"`
	Password string `json:"password,omitempty"`
}

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) 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) Pull

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

Jump to

Keyboard shortcuts

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