Documentation ¶
Index ¶
- Variables
- func Build(b BuildSpec) error
- func ByteCount(b int64) string
- func CreateProgress(name string) chan v1.Update
- func Experiment()
- func IsExecOwner(mode os.FileMode) bool
- func WarmBase(baseImages ...string)
- func WriteArchiveFromFS(base string, fsys fs.FS, out io.Writer, sourceDateEpoch time.Time) error
- func WriteArchiveFromFiles(base string, files map[string]string, out io.Writer) error
- type Args
- type BuildSpec
Constants ¶
This section is empty.
Variables ¶
View Source
var WriteTime = time.Time{}
Functions ¶
func CreateProgress ¶
func Experiment ¶
func Experiment()
func IsExecOwner ¶
func WriteArchiveFromFS ¶
Writes a raw TAR archive to out, given an fs.FS.
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.