package executor

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

Index

Types

type Executor

type Executor interface {
	// TODO: add stdout/err
	Exec(ctx context.Context, meta Meta, rootfs cache.Mountable, mounts []Mount, stdin io.ReadCloser, stdout, stderr io.WriteCloser) error
}

type HostIP

type HostIP struct {
	Host string
	IP   net.IP
}

type Meta

type Meta struct {
	Args           []string
	Env            []string
	User           string
	Cwd            string
	Tty            bool
	ReadonlyRootFS bool
	ExtraHosts     []HostIP
	NetMode        pb.NetMode
	SecurityMode   pb.SecurityMode
}

type Mount

type Mount struct {
	Src      cache.Mountable
	Selector string
	Dest     string
	Readonly bool
}

Source Files

executor.go

Directories

PathSynopsis
executor/containerdexecutor
executor/oci
executor/runcexecutor
Version
v0.7.1
Published
Apr 16, 2020
Platform
js/wasm
Imports
5 packages
Last checked
12 hours ago

Tools for package owners.