bake

package
v1.28.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 20, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApplyOverrides

func ApplyOverrides(targets []ResolvedTarget, overrides []Override) error

Types

type Bakefile

type Bakefile struct {
	Targets map[string]Target `hcl:"target"`
}

func Parse

func Parse(path string) (*Bakefile, error)

func (*Bakefile) Resolve

func (b *Bakefile) Resolve(selected []string) ([]ResolvedTarget, error)

type Override

type Override struct {
	Target string
	Field  string
	Value  string
}

func ParseOverride

func ParseOverride(s string) (Override, error)

type ResolvedTarget

type ResolvedTarget struct {
	ID          string
	Stage       string
	Destination []string
}

type Target

type Target struct {
	Target      string   `hcl:"target"`
	Destination []string `hcl:"destination"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL