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) (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.4.0
Published
Mar 14, 2019
Platform
js/wasm
Imports
21 packages
Last checked
12 seconds ago

Tools for package owners.