Versions in this module Expand all Collapse all v0 v0.0.1 Jun 29, 2023 Changes in this version + func GetFsAbsPath(fs fs.FS) string + func Print(format string, a ...any) + func Println(format string, a ...any) + type AppCli struct + func (cli *AppCli) Apply(ops ...AppCliOption) error + func (cli *AppCli) Config() *GlobalConfig + func (cli *AppCli) Err() io.Writer + func (cli *AppCli) In() *streams.In + func (cli *AppCli) Out() *streams.Out + type AppCliOption func(cli *AppCli) error + func WithFakeStreams() AppCliOption + func WithGlobalConfigFromDir(dirRoot fs.FS) AppCliOption + func WithStandardStreams() AppCliOption + type BuildDefinition struct + Args map[string]*string + Buildfile string + Context string + Tags []string + func PrepareImageBuildDefinition(cwd string, build *BuildDefinition, imageName string) *BuildDefinition + func (l *BuildDefinition) UnmarshalYAML(n *yaml.Node) (err error) + type Cli interface + Config func() *GlobalConfig + Err func() io.Writer + In func() *streams.In + Out func() *streams.Out + func NewAppCli(ops ...AppCliOption) (Cli, error) + type GlobalConfig struct + Images map[string]*BuildDefinition + func GlobalConfigFromDir(root fs.FS) (*GlobalConfig, error) + func (cfg *GlobalConfig) ConfigDir() string + func (cfg *GlobalConfig) ImageBuildInfo(image string) *BuildDefinition + type Streams interface + Err func() io.Writer + In func() *streams.In + Out func() *streams.Out