package runc

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

Index

Functions

func NewWorkerOpt

func NewWorkerOpt(root string, snFactory SnapshotterFactory, rootless bool, labels map[string]string) (base.WorkerOpt, error)

NewWorkerOpt creates a WorkerOpt. But it does not set the following fields:

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.3.1
Published
Oct 17, 2018
Platform
js/wasm
Imports
20 packages
Last checked
9 seconds ago

Tools for package owners.