docker

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2026 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DockerRuntime

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

func NewDockerRuntime

func NewDockerRuntime() *DockerRuntime

func (*DockerRuntime) Create

func (d *DockerRuntime) Create(ctx context.Context, spec *types.ContainerSpec) (string, error)

func (*DockerRuntime) Delete

func (d *DockerRuntime) Delete(ctx context.Context, id string) error

func (*DockerRuntime) EnsureImage

func (d *DockerRuntime) EnsureImage(ctx context.Context, imageName string, pullPolicy string) error

func (*DockerRuntime) Exec

func (d *DockerRuntime) Exec(ctx context.Context, id string, cmd []string) (string, error)

func (*DockerRuntime) Inspect

func (*DockerRuntime) Logs

func (d *DockerRuntime) Logs(ctx context.Context, id string, tail int) (string, error)

func (*DockerRuntime) Monitor

func (d *DockerRuntime) Monitor(ctx context.Context, runtimeID string) error

func (*DockerRuntime) Name

func (d *DockerRuntime) Name() string

func (*DockerRuntime) Pause

func (d *DockerRuntime) Pause(ctx context.Context, id string) error

func (*DockerRuntime) Resume

func (d *DockerRuntime) Resume(ctx context.Context, id string) error

func (*DockerRuntime) SetEventHandler

func (d *DockerRuntime) SetEventHandler(h containerruntime.RuntimeEventHandler)

func (*DockerRuntime) Start

func (d *DockerRuntime) Start(ctx context.Context, id string) error

func (*DockerRuntime) Stop

func (d *DockerRuntime) Stop(ctx context.Context, id string) error

Jump to

Keyboard shortcuts

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