Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WatchForGitlabSourceConfigChange ¶
func WatchForGitlabSourceConfigChange(config *GitlabSourceConfig, interval time.Duration)
WatchForGitlabSourceConfigChange polls the filesystem and updates test domains if needed.
Types ¶
type GitlabSourceConfig ¶
type GitlabSourceConfig struct {
Domains GitlabSourceDomains
}
GitlabSourceConfig holds the configuration for the gitlab source
func (*GitlabSourceConfig) UpdateFromYaml ¶
func (config *GitlabSourceConfig) UpdateFromYaml(content []byte) error
UpdateFromYaml updates the config We use new variable here (instead of using `config` directly) because if `content` is empty `yaml.Unmarshal` does not update the fields already set.
type GitlabSourceDomains ¶
type GitlabSourceDomains struct { Enabled []string Broken string Rollout GitlabSourceRollout }
GitlabSourceDomains holds the domains to be used with the gitlab source
type GitlabSourceRollout ¶ added in v1.15.0
GitlabSourceRollout holds the rollout strategy and percentage
Click to show internal directories.
Click to hide internal directories.