Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewResolver ¶
func NewResolver( httpClient *http.Client, logger *zap.Logger, zoneRepositoryFactory repository.ZoneRepositoryFactory, rrSetRepositoryFactory repository.RRSetRepositoryFactory, secretFetcher SecretFetcher, configProvider ConfigProvider, ) webhook.Solver
Types ¶
type ConfigProvider ¶
type ConfigProvider interface {
LoadConfig(cfgJSON *extapi.JSON) (StackitDnsProviderConfig, error)
}
func NewConfigProvider ¶
func NewConfigProvider() ConfigProvider
type SecretFetcher ¶
type SecretFetcher interface {
StringFromSecret(namespace, secretName, key string) (string, error)
}
func NewSecretFetcher ¶
func NewSecretFetcher() SecretFetcher
type StackitDnsProviderConfig ¶
type StackitDnsProviderConfig struct {
ProjectId string `json:"projectId"`
ApiBasePath string `json:"apiBasePath"`
ServiceAccountSecretRef string `json:"serviceAccountSecretRef"`
ServiceAccountSecretKey string `json:"serviceAccountSecretKey"`
ServiceAccountSecretNamespace string `json:"serviceAccountSecretNamespace"`
ServiceAccountKeyPath string `json:"serviceAccountKeyPath"`
UseWorkloadIdentityFederation bool `json:"useWorkloadIdentityFederation"`
ServiceAccountBaseUrl string `json:"serviceAccountBaseUrl"`
AcmeTxtRecordTTL int32 `json:"acmeTxtRecordTTL"`
}
Click to show internal directories.
Click to hide internal directories.