Documentation ¶
Index ¶
- func BackendArgs(r []string) func(cfg *Compiler) error
- func Concurrency(i int) func(cfg *Compiler) error
- func KeepImg(b bool) func(cfg *Compiler) error
- func NoDeps(b bool) func(cfg *Compiler) error
- func OnlyDeps(b bool) func(cfg *Compiler) error
- func OnlyTarget(b bool) func(cfg *Compiler) error
- func PullFirst(b bool) func(cfg *Compiler) error
- func PushImages(b bool) func(cfg *Compiler) error
- func Rebuild(b bool) func(cfg *Compiler) error
- func Wait(b bool) func(cfg *Compiler) error
- func WithBackendType(r string) func(cfg *Compiler) error
- func WithBuildValues(r []string) func(cfg *Compiler) error
- func WithCompressionType(t compression.Implementation) func(cfg *Compiler) error
- func WithOptions(opt *Compiler) func(cfg *Compiler) error
- func WithPullRepositories(r []string) func(cfg *Compiler) error
- func WithPushRepository(r string) func(cfg *Compiler) error
- func WithSolverOptions(c config.LuetSolverOptions) func(cfg *Compiler) error
- func WithTemplateFolder(r []string) func(cfg *Compiler) error
- type Compiler
- type Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BackendArgs ¶
func Concurrency ¶
func OnlyTarget ¶
func PushImages ¶
func WithBackendType ¶
func WithBuildValues ¶
func WithCompressionType ¶
func WithCompressionType(t compression.Implementation) func(cfg *Compiler) error
func WithOptions ¶
func WithPullRepositories ¶
func WithPushRepository ¶
func WithSolverOptions ¶
func WithSolverOptions(c config.LuetSolverOptions) func(cfg *Compiler) error
func WithTemplateFolder ¶
Types ¶
type Compiler ¶
type Compiler struct { PushImageRepository string PullImageRepository []string PullFirst, KeepImg, Push bool Concurrency int CompressionType compression.Implementation Wait bool OnlyDeps bool NoDeps bool SolverOptions config.LuetSolverOptions BuildValuesFile []string BuildValues []map[string]interface{} PackageTargetOnly bool Rebuild bool BackendArgs []string BackendType string // TemplatesFolder. should default to tree/templates TemplatesFolder []string }
func NewDefaultCompiler ¶
func NewDefaultCompiler() *Compiler
Click to show internal directories.
Click to hide internal directories.