docker

package
v0.1.18 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2023 License: MIT Imports: 25 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(opts ...Option) (*DockerRuntime, error)

func (*DockerRuntime) HealthCheck

func (d *DockerRuntime) HealthCheck(ctx context.Context) error

func (*DockerRuntime) Run

func (d *DockerRuntime) Run(ctx context.Context, t *tork.Task) error

func (*DockerRuntime) Stop

func (d *DockerRuntime) Stop(ctx context.Context, t *tork.Task) error

type Option

type Option = func(rt *DockerRuntime)

func WithMounter

func WithMounter(mounter runtime.Mounter) Option

Jump to

Keyboard shortcuts

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