Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrConfigNotFound = errors.New("config not found")
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Version string `yaml:"version"`
Services map[string]ServiceConfig `yaml:"services"`
Defaults EnvironmentSettings `yaml:"defaults"`
Environments map[string]EnvironmentType `yaml:"environments"`
LabelOverrides map[string]LabelOverride `yaml:"label_overrides"`
Notifications NotificationConfig `yaml:"notifications"`
}
type DatabaseSettings ¶
type DeploySettings ¶
type EnvironmentSettings ¶
type EnvironmentSettings struct {
Deploy DeploySettings `yaml:"deploy"`
Routing RoutingSettings `yaml:"routing"`
Database DatabaseSettings `yaml:"database"`
Lifecycle LifecycleSettings `yaml:"lifecycle"`
}
type EnvironmentType ¶
type EnvironmentType struct {
EnvironmentSettings `yaml:",inline"`
Trigger string `yaml:"trigger"` // label | auto | manual | branch | schedule
Label string `yaml:"label"`
Branch string `yaml:"branch"`
}
type HelmConfig ¶
type ImageConfig ¶
type LabelOverride ¶
type LabelOverride struct {
EnvironmentSettings `yaml:",inline"`
Skip bool `yaml:"skip"`
}
type LifecycleSettings ¶
type NotificationConfig ¶
type ResolvedSettings ¶
type ResolvedSettings struct {
EnvironmentSettings
}
ResolvedSettings represents a fully resolved environment configuration
type RoutingSettings ¶
type ServiceConfig ¶
type ServiceConfig struct {
Paths []string `yaml:"paths"`
Image ImageConfig `yaml:"image"`
Helm *HelmConfig `yaml:"helm,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.