package runc

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

Index

Functions

func NewWorkerOpt

func NewWorkerOpt(root string, snFactory SnapshotterFactory, rootless bool, processMode oci.ProcessMode, labels map[string]string, idmap *idtools.IdentityMapping, nopt network.Opt, dns *oci.DNSConfig) (base.WorkerOpt, error)

NewWorkerOpt creates a WorkerOpt.

Types

type SnapshotterFactory

type SnapshotterFactory struct {
	Name string
	New  func(root string) (ctdsnapshot.Snapshotter, error)
}

SnapshotterFactory instantiates a snapshotter

Source Files

runc.go

Version
v0.6.0
Published
Jul 31, 2019
Platform
js/wasm
Imports
23 packages
Last checked
1 minute ago

Tools for package owners.