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 netproviders.Opt, dns *oci.DNSConfig, binary 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

runc.go

Version
v0.7.0
Published
Mar 25, 2020
Platform
js/wasm
Imports
21 packages
Last checked
6 seconds ago

Tools for package owners.