Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ConfigValidationErr = errors.New("invalid config")
View Source
var RepoNotFoundErr = errors.New("repo not found")
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Repos map[string]*ConfigRepo `yaml:"repos" json:"repos"` Services []Services `yaml:"services" json:"services"` Global `yaml:",inline"` }
type ConfigManager ¶
type ConfigManager struct { Repos []LiveRepo ConfigPath string TagPattern string Services []Services EnvFilenames []string }
func NewConfigManager ¶
func NewConfigManager(configPath string, src []byte, d serializer.Serializer) (*ConfigManager, error)
type ConfigRepo ¶
type ConfigRepo struct { Updater string `yaml:"updater" json:"updater,omitempty"` OnStart []string `yaml:"on_start" json:"on_start,omitempty"` OnStop string `yaml:"on_stop" json:"on_stop,omitempty"` ExcludeTag bool `yaml:"exclude_tag" json:"exclude_tag,omitempty"` Remote string `yaml:"remote" json:"remote,omitempty"` Path string `yaml:"rel_path" json:"rel_path,omitempty"` Refs string `yaml:"main_stream" json:"main_stream,omitempty"` }
Click to show internal directories.
Click to hide internal directories.