Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Runner RunnerConfig `mapstructure:"runner"` Controller ControllerConfig `mapstructure:"controller"` Redis Redis `mapstructure:"redis"` Server ServerConfig `mapstructure:"server"` }
func TestConfig ¶ added in v0.2.0
func TestConfig() *Config
type ControllerConfig ¶
type ControllerConfig struct { Namespaces []string `mapstructure:"namespaces"` Timers ControllerTimers `mapstructure:"timers"` TerraformMaxRetries int `mapstructure:"terraformMaxRetries"` Types []string `mapstructure:"types"` LeaderElection LeaderElectionConfig `mapstructure:"leaderElection"` MetricsBindAddress string `mapstructure:"metricsBindAddress"` HealthProbeBindAddress string `mapstructure:"healthProbeBindAddress"` KubernetesWebhookPort int `mapstructure:"kubernetesWebhookPort"` GithubConfig GithubConfig `mapstructure:"githubConfig"` GitlabConfig GitlabConfig `mapstructure:"gitlabConfig"` }
type ControllerTimers ¶
type GithubConfig ¶ added in v0.2.0
type GitlabConfig ¶ added in v0.2.0
type LeaderElectionConfig ¶
type RepositoryConfig ¶
type RunnerConfig ¶
type RunnerConfig struct { Action string `mapstructure:"action"` Layer Layer `mapstructure:"layer"` Repository RepositoryConfig `mapstructure:"repository"` SSHKnownHostsConfigMapName string `mapstructure:"sshKnownHostsConfigMapName"` }
type ServerConfig ¶ added in v0.2.0
type ServerConfig struct { Addr string `mapstructure:"addr"` Webhook WebhookConfig `mapstructure:"webhook"` }
type WebhookConfig ¶
type WebhookConfig struct { Github WebhookGithubConfig `mapstructure:"github"` Gitlab WebhookGitlabConfig `mapstructure:"gitlab"` }
type WebhookGithubConfig ¶
type WebhookGithubConfig struct {
Secret string `mapstructure:"secret"`
}
type WebhookGitlabConfig ¶
type WebhookGitlabConfig struct {
Secret string `mapstructure:"secret"`
}
Click to show internal directories.
Click to hide internal directories.