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 ¶
GitlabSourceDomains holds the domains to be used with the gitlab source
Click to show internal directories.
Click to hide internal directories.