Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type LaunchConfig ¶
type LaunchConfig struct {
Name string `yaml:"name,omitempty"`
Registry string `yaml:"registry,omitempty"`
Organization string `yaml:"organization,omitempty"`
Steps []Step `yaml:"steps,omitempty"`
Logfile string `yaml:"logfile,omitempty"`
Verbose bool `yaml:"verbose,omitempty"`
Cache bool `yaml:"cache,omitempty"`
Version string `yaml:"version,omitempty"`
}
func (*LaunchConfig) Default ¶
func (lc *LaunchConfig) Default()
func (*LaunchConfig) PrintYAML ¶
func (lc *LaunchConfig) PrintYAML() error
func (*LaunchConfig) Validate ¶
func (lc *LaunchConfig) Validate() error
type LaunchPhase ¶
type LaunchPhase string
const ( LaunchPhaseNotStarted LaunchPhase = "NotStarted" LaunchPhaseBuilding LaunchPhase = "Processing" LaunchPhaseSucceeded LaunchPhase = "Succeeded" LaunchPhaseFailed LaunchPhase = "Failed" )
type LaunchStatus ¶
type LaunchStatus struct {
StepStatuses []StepStatus
Phase LaunchPhase
}
func NewLaunchStatus ¶
func NewLaunchStatus() *LaunchStatus
type Step ¶
type Step struct {
Name string `yaml:"name"`
Image Image `yaml:"image"`
Path string `yaml:"path"`
Dockerfile string `yaml:"dockerfile"`
BaseStep string `yaml:"baseStep"`
BuildArgs map[string]*string `yaml:"buildArgs"`
Context string `yaml:"context"`
Platforms []string `yaml:"platforms"`
Push bool `yaml:"push"`
}
func (*Step) Default ¶
func (step *Step) Default(lc LaunchConfig)
func (*Step) GetBaseStep ¶
func (step *Step) GetBaseStep(lc LaunchConfig) (Step, error)
type StepStatus ¶
func NewStepStatus ¶
func NewStepStatus() *StepStatus
Click to show internal directories.
Click to hide internal directories.