Documentation ¶
Index ¶
- type AzureConfig
- type Config
- type ControllerConfig
- type ControllerTimers
- type DatastoreConfig
- type GCSConfig
- type GithubConfig
- type GitlabConfig
- type HermitcrabConfig
- type Layer
- type LeaderElectionConfig
- type RepositoryConfig
- type RunnerConfig
- type S3Config
- type ServerConfig
- type StorageConfig
- type WebhookConfig
- type WebhookGithubConfig
- type WebhookGitlabConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AzureConfig ¶ added in v0.4.0
type Config ¶
type Config struct { Runner RunnerConfig `mapstructure:"runner"` Controller ControllerConfig `mapstructure:"controller"` Datastore DatastoreConfig `mapstructure:"datastore"` Server ServerConfig `mapstructure:"server"` Hermitcrab HermitcrabConfig `mapstructure:"hermitcrab"` }
func TestConfig ¶ added in v0.2.0
func TestConfig() *Config
type ControllerConfig ¶
type ControllerConfig struct { MainNamespace string `mapstructure:"mainNamespace"` 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"` RunParallelism int `mapstructure:"runParallelism"` MaxConcurrentReconciles int `mapstructure:"maxConcurrentReconciles"` }
type ControllerTimers ¶
type DatastoreConfig ¶ added in v0.4.0
type DatastoreConfig struct { Hostname string `mapstructure:"hostname"` Addr string `mapstructure:"addr"` TLS bool `mapstructure:"tls"` CertificateSecretName string `mapstructure:"certificateSecretName"` Storage StorageConfig `mapstructure:"storage"` AuthorizedServiceAccounts []string `mapstructure:"serviceAccounts"` }
type GithubConfig ¶ added in v0.2.0
type GitlabConfig ¶ added in v0.2.0
type HermitcrabConfig ¶ added in v0.4.0
type LeaderElectionConfig ¶
type RepositoryConfig ¶
type RunnerConfig ¶
type RunnerConfig struct { Action string `mapstructure:"action"` Layer Layer `mapstructure:"layer"` Run string `mapstructure:"run"` Repository RepositoryConfig `mapstructure:"repository"` SSHKnownHostsConfigMapName string `mapstructure:"sshKnownHostsConfigMapName"` RunnerBinaryPath string `mapstructure:"runnerBinaryPath"` RepositoryPath string `mapstructure:"repositoryPath"` }
type ServerConfig ¶ added in v0.2.0
type ServerConfig struct { Addr string `mapstructure:"addr"` Webhook WebhookConfig `mapstructure:"webhook"` }
type StorageConfig ¶ added in v0.4.0
type StorageConfig struct { GCS GCSConfig `mapstructure:"gcs"` S3 S3Config `mapstructure:"s3"` Azure AzureConfig `mapstructure:"azure"` Mock bool `mapstructure:"mock"` }
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.