Documentation
¶
Overview ¶
Package config defines the basic config format.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // TasksMap is a lookup table for tasks TasksMap = map[string]tasks.Task{} )
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Tasks map[string]tasks.Task
Plans map[string]plans.Plan
MetaPlans map[string]plans.MetaPlan
SSHIdentities []string
Environment []string
}
Config represents a full convey configuration.
type Loader ¶ added in v0.4.0
type Loader interface {
Load(path, base string, data []byte, disableDeprecated bool) (*Config, error)
LoadOverride(path, base string, data []byte, config *Config, disableDeprecated bool)
Filenames() []string
OverrideSuffix() string
DefaultPlan() string
ResolvePlanName(plan string, cfg *Config, st *state.State) string
}
Loader defines all the functions that a config loader needs to implement.
Click to show internal directories.
Click to hide internal directories.