package containerd

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

Index

Functions

func NewWorkerOpt

func NewWorkerOpt(
	root string,
	address, snapshotterName, ns string,
	rootless bool,
	labels map[string]string,
	dns *oci.DNSConfig,
	nopt netproviders.Opt,
	apparmorProfile string,
	selinux bool,
	parallelismSem *semaphore.Weighted,
	traceSocket string,
	runtime *RuntimeInfo,
	opts ...containerd.ClientOpt,
) (base.WorkerOpt, error)

NewWorkerOpt creates a WorkerOpt.

Types

type RuntimeInfo

type RuntimeInfo = containerdexecutor.RuntimeInfo

Source Files

containerd.go containerd_test_unix.go

Version
v0.14.1
Published
Jun 18, 2024
Platform
js/wasm
Imports
25 packages
Last checked
5 minutes ago

Tools for package owners.