demo

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2026 License: MIT Imports: 6 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 New

func New() *Engine

func (*Engine) Images added in v0.5.0

func (e *Engine) Images(ctx context.Context) ([]docker.Image, error)

func (*Engine) List

func (e *Engine) List(ctx context.Context) ([]docker.Container, error)

func (*Engine) Logs

func (e *Engine) Logs(ctx context.Context, id string) (<-chan string, error)

func (*Engine) Networks added in v0.6.0

func (e *Engine) Networks(ctx context.Context) ([]docker.Network, error)

func (*Engine) PruneImages added in v0.5.0

func (e *Engine) PruneImages(ctx context.Context) (uint64, error)

func (*Engine) Remove

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

func (*Engine) RemoveImage added in v0.5.0

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

func (*Engine) RemoveNetwork added in v0.6.0

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

func (*Engine) RemoveVolume added in v0.6.0

func (e *Engine) RemoveVolume(ctx context.Context, name string) error

func (*Engine) Restart

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

func (*Engine) Start

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

func (*Engine) Stats

func (e *Engine) Stats(ctx context.Context, id string) (<-chan docker.Stats, error)

func (*Engine) Stop

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

func (*Engine) Volumes added in v0.6.0

func (e *Engine) Volumes(ctx context.Context) ([]docker.Volume, error)

Jump to

Keyboard shortcuts

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