Documentation
¶
Index ¶
- func BackendArgs(r []string) func(cfg *Compiler) error
- func Concurrency(i int) func(cfg *Compiler) error
- func EnableGenerateFinalImages(cfg *Compiler) error
- func EnablePushFinalImages(cfg *Compiler) error
- func ForcePushFinalImages(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 WithContext(c types.Context) func(cfg *Compiler) error
- func WithFinalRepository(r string) 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 WithRuntimeDatabase(db types.PackageDatabase) func(cfg *Compiler) error
- func WithSolverOptions(c types.BhojpurSolverOptions) 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 EnablePushFinalImages ¶
func ForcePushFinalImages ¶
func OnlyTarget ¶
func PushImages ¶
func WithBackendType ¶
func WithBuildValues ¶
func WithCompressionType ¶
func WithCompressionType(t compression.Implementation) func(cfg *Compiler) error
func WithFinalRepository ¶
WithFinalRepository Sets the final repository where to push images of built artifacts
func WithOptions ¶
func WithPullRepositories ¶
func WithPushRepository ¶
WithPushRepository Sets the image reference where to push cache images
func WithRuntimeDatabase ¶
func WithRuntimeDatabase(db types.PackageDatabase) func(cfg *Compiler) error
func WithSolverOptions ¶
func WithSolverOptions(c types.BhojpurSolverOptions) 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 types.BhojpurSolverOptions
BuildValuesFile []string
BuildValues []map[string]interface{}
PackageTargetOnly bool
Rebuild bool
BackendArgs []string
BackendType string
// TemplatesFolder. should default to tree/templates
TemplatesFolder []string
// Tells wether to push final container images after building
PushFinalImages bool
PushFinalImagesForce bool
GenerateFinalImages bool
// Image repository to push to
PushFinalImagesRepository string
RuntimeDatabase types.PackageDatabase
Context types.Context
}
func NewDefaultCompiler ¶
func NewDefaultCompiler() *Compiler
Click to show internal directories.
Click to hide internal directories.