Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AminoConfig ¶
type AminoConfig struct {
HelmChartToRepoRaw string
HelmChartToRepo map[string]string
AminoDeploymentToRepoRaw string
AminoDeploymentToRepo map[string]string
AminoJobToRepoRaw string
AminoJobToRepo map[string]string
}
func (*AminoConfig) Parse ¶
func (a *AminoConfig) Parse() error
type BackendConfig ¶
type BackendConfig struct {
AminoAddr string
}
type ConsulConfig ¶
type GithubConfig ¶
type K8sConfig ¶
type K8sConfig struct {
// GroupBindings is a map of k8s group name to cluster role
GroupBindings map[string]string
// PrivilegedRepoWhitelist is a list of GitHub repositories whose environment service accounts will be given cluster-admin privileges
PrivilegedRepoWhitelist []string
// SecretInjections is a map of secret name to value that will be injected into each environment namespace
SecretInjections map[string]K8sSecret
}
func (*K8sConfig) ProcessGroupBindings ¶
ProcessGroupBindings takes a comma-separated list of group bindings and populates the GroupBindings field
func (*K8sConfig) ProcessPrivilegedRepos ¶
ProcessPrivilegedRepos takes a comma-separated list of repositories and populates the PrivilegedRepoWhitelist field
func (*K8sConfig) ProcessSecretInjections ¶
func (kc *K8sConfig) ProcessSecretInjections(sf SecretFetcher, injstr string) error
ProcessSecretInjections takes a comma-separated list of injections and uses sf to populate the SecretInjections field
type MigrateConfig ¶
type SecretFetcher ¶
SecretFetcher describes an object that fetches secrets
type SecretsConfig ¶
type SecretsConfig struct {
Backend pvc.SecretsClientOption
Mapping string
}
SecretsConfig contains configuration values for retrieving secrets
type ServerConfig ¶
type ServerConfig struct {
HTTPSPort uint
HTTPSAddr string
DisableTLS bool
TLSCert tls.Certificate
WordnetPath string
FuranAddrs []string
APIKeys []string
ReaperIntervalSecs uint
EventRateLimitPerSecond uint
GlobalEnvironmentLimit uint
HostnameTemplate string
EnableNewRelic bool
NewRelicAPIKey string
NewRelicApp string
DebugEndpoints bool
DebugEndpointsIPWhitelists []string
NitroFeatureFlag bool
NotificationsDefaultsJSON string
}
type SlackConfig ¶
Click to show internal directories.
Click to hide internal directories.