Documentation ¶
Index ¶
- func Build(ctx context.Context, b BuildSpec) error
- func ByteCount(b int64) string
- func CreateProgress(name string) chan v1.Update
- func IsExecOwner(mode os.FileMode) bool
- func WarmBase(ctx context.Context, architectures []string, baseImages ...string)
- func WriteArchiveFromFiles(base string, files map[string]string, out io.Writer) error
- type Args
- type BuildSpec
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateProgress ¶
func IsExecOwner ¶
Types ¶
type Args ¶
type Args struct { // Name is optional, for logging Name string // Image architecture. Required only when multiple images present Arch string Env map[string]string Labels map[string]string User string WorkDir string Entrypoint []string Cmd []string // Base image to use Base string // Files contains all files, mapping destination path -> source path Files map[string]string // FilesBase is the base path for absolute paths in Files FilesBase string }
Click to show internal directories.
Click to hide internal directories.