package runc
import "github.com/moby/buildkit/worker/runc"
Index ¶
- func NewWorkerOpt(root string, snFactory SnapshotterFactory, rootless bool, processMode oci.ProcessMode, labels map[string]string, idmap *idtools.IdentityMapping, nopt netproviders.Opt, dns *oci.DNSConfig, binary, apparmorProfile string) (base.WorkerOpt, error)
- type SnapshotterFactory
Functions ¶
func NewWorkerOpt ¶
func NewWorkerOpt(root string, snFactory SnapshotterFactory, rootless bool, processMode oci.ProcessMode, labels map[string]string, idmap *idtools.IdentityMapping, nopt netproviders.Opt, dns *oci.DNSConfig, binary, apparmorProfile string) (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 ¶
- Version
- v0.8.2
- Published
- Feb 25, 2021
- Platform
- js/wasm
- Imports
- 21 packages
- Last checked
- 2 minutes ago –
Tools for package owners.