Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Conform ¶
type Conform struct { Metadata *metadata.Metadata `yaml:"metadata"` Policies []*PolicyDeclaration `yaml:"policies"` Pipeline *pipeline.Pipeline `yaml:"pipeline"` Stages map[string]*stage.Stage `yaml:"stages"` Tasks map[string]*task.Task `yaml:"tasks"` Script *script.Script `yaml:"script"` }
Conform is a struct that conform.yaml gets decoded into.
type PolicyDeclaration ¶
type PolicyDeclaration struct { Type string `yaml:"type"` Spec interface{} `yaml:"spec"` }
PolicyDeclaration allows a user to declare an arbitrary type along with a spec that will be decoded into the appropriate concrete type.
Click to show internal directories.
Click to hide internal directories.