package containerd

import "github.com/moby/buildkit/worker/containerd"

Index

Functions

func NewWorkerOpt

func NewWorkerOpt(workerOpts WorkerOptions, opts ...containerd.ClientOpt) (base.WorkerOpt, error)

NewWorkerOpt creates a WorkerOpt.

Types

type RuntimeInfo

type RuntimeInfo = containerdexecutor.RuntimeInfo

type WorkerOptions

type WorkerOptions struct {
	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
}

Source Files

containerd.go containerd_test_unix.go

Version
v0.17.0
Published
Oct 29, 2024
Platform
js/wasm
Imports
24 packages
Last checked
2 minutes ago

Tools for package owners.