rescontainerdocker

package
v3.0.0-beta10 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2025 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DrvID = driver.NewID(driver.GroupContainer, "docker")
)

Functions

func IsGenuine

func IsGenuine() bool

func New

func New() resource.Driver

Types

type ExecutorArg

type ExecutorArg struct {
	*rescontainerocibase.ExecutorArg
	// contains filtered or unexported fields
}

func (*ExecutorArg) RunArgsBase

func (ea *ExecutorArg) RunArgsBase(ctx context.Context) (*args.T, error)

RunArgsBase append extra args for docker

func (*ExecutorArg) StopArgs

func (ea *ExecutorArg) StopArgs() *args.T

func (*ExecutorArg) WaitNotRunning

func (ea *ExecutorArg) WaitNotRunning(ctx context.Context) error

func (*ExecutorArg) WaitRemoved

func (ea *ExecutorArg) WaitRemoved(ctx context.Context) error

type T

type T struct {
	rescontainerocibase.BT
}

func (*T) Configure

func (t *T) Configure() error

func (*T) Manifest

func (t *T) Manifest() *manifest.T

Manifest exposes to the core the input expected by the driver.

func (*T) Status

func (t *T) Status(ctx context.Context) status.T

Status improve BT.Status with userns checks

Jump to

Keyboard shortcuts

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