Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
// contains filtered or unexported fields
}
func (*Config) GetConfig ¶
func (o *Config) GetConfig() *ControllerConfig
func (*Config) ReloadConfig ¶
type ControllerConfig ¶
type ControllerConfig struct { Namespace string `yaml:"namespace"` UnparsedRegistryRequestSleepDuration string `yaml:"registryRequestSleepDuration,omitempty"` GitRemotes []GitRemote `yaml:"remotes,omitempty" validate:"dive,required"` Metrics MetricsEndpoint `yaml:"metrics" validate:"required,dive,required"` LogLevel string `yaml:"loglevel,omitempty"` ParsedRegistryRequestSleepDuration time.Duration `yaml:"-"` Version string `yaml:"-"` // contains filtered or unexported fields }
ControllerConfig holds required controller configuration
type GitRemote ¶
type GitRemote struct { Provider string `yaml:"provider" validate:"required"` Repositoryname string `yaml:"reponame" validate:"required"` Username string `yaml:"username" validate:"required"` CustomURL string `yaml:"customURL,omitempty"` }
GitRemote struct describes remote config
type MetricsEndpoint ¶
Click to show internal directories.
Click to hide internal directories.