Help us shape the future of Go! Take the 2026 Go Developer Survey

containerd

package
v0.34.1 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2026 License: Apache-2.0 Imports: 25 Imported by: 84

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewWorkerOpt

func NewWorkerOpt(workerOpts WorkerOptions, opts ...ctd.Opt) (base.WorkerOpt, error)

NewWorkerOpt creates a WorkerOpt.

Types

type RuntimeInfo added in v0.13.0

type RuntimeInfo = containerdexecutor.RuntimeInfo

type WorkerOptions added in v0.15.0

type WorkerOptions struct {
	Compaction      []compaction.Config
	Root            string
	Address         string
	SnapshotterName string
	Namespace       string
	CgroupParent    string
	Rootless        bool
	Labels          map[string]string
	DNS             *oci.DNSConfig
	NetworkOpt      netproviders.Opt
	ApparmorProfile string
	Selinux         bool
	ParallelismSem  *semaphore.Weighted
	TraceSocket     string
	Runtime         *RuntimeInfo
	CDIManager      *cdidevices.Manager
	HyperVIsolation bool
}

Jump to

Keyboard shortcuts

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