builder

package
v0.2.0-alpha.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 1, 2022 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultPathEnvUnix = "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/conda/bin:/usr/local/julia/bin"

DefaultPathEnvUnix is unix style list of directories to search for executables. Each directory is separated from the next by a colon ':' character .

View Source
const DefaultPathEnvWindows = "c:\\Windows\\System32;c:\\Windows"

DefaultPathEnvWindows is windows style list of directories to search for executables. Each directory is separated from the next by a colon ';' character .

Variables

This section is empty.

Functions

func DefaultPathEnv

func DefaultPathEnv(os string) string

func ImageConfigStr

func ImageConfigStr(labels map[string]string,
	ports map[string]struct{}, entrypoint []string) (string, error)

Types

type Builder

type Builder interface {
	Build(ctx context.Context, pub string) error
	GPUEnabled() bool
	NumGPUs() int
}

func New

func New(ctx context.Context, configFilePath, manifestFilePath,
	buildContextDir, tag string, output string, debug bool) (Builder, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL