package runcexecutor

import "github.com/moby/buildkit/executor/runcexecutor"

Index

Functions

func New

func New(opt Opt, networkProviders map[pb.NetMode]network.Provider) (executor.Executor, error)

Types

type Opt

type Opt struct {
	// root directory
	Root              string
	CommandCandidates []string
	// without root privileges (has nothing to do with Opt.Root directory)
	Rootless bool
	// DefaultCgroupParent is the cgroup-parent name for executor
	DefaultCgroupParent string
	// ProcessMode
	ProcessMode     oci.ProcessMode
	IdentityMapping *idtools.IdentityMapping
}

Source Files

executor.go

Version
v0.5.0
Published
Apr 27, 2019
Platform
js/wasm
Imports
26 packages
Last checked
4 minutes ago

Tools for package owners.