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.15.1
Published
Jul 25, 2024
Platform
js/wasm
Imports
25 packages
Last checked
1 minute ago

Tools for package owners.