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
}

Source Files

executor.go

Version
v0.3.3
Published
Nov 21, 2018
Platform
js/wasm
Imports
27 packages
Last checked
1 minute ago

Tools for package owners.