Documentation ¶
Overview ¶
Package plans contains the plans structure.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrNoStages is an error that can be returned from Plan.Valid. ErrNoStages = errors.New("no stages found") )
Functions ¶
This section is empty.
Types ¶
type MetaPlan ¶ added in v0.5.0
type MetaPlan struct {
Plans []string `yaml:"plans"`
}
MetaPlan is a representation of a meta plan.
func (*MetaPlan) UnmarshalYAML ¶ added in v0.5.0
UnmarshalYAML is a custom yaml unmarshaller for MetaPlan's.
type Plan ¶
type Plan struct { Environment yaml.StringOrSlice `yaml:"environment"` Stages []stages.Stage `yaml:"stages"` Merge bool `yaml:"merge"` }
Plan is the representation of a Plan.
Click to show internal directories.
Click to hide internal directories.