Documentation ¶
Index ¶
- Variables
- func GetDefaultDexConfigSecret(name string, namespace string) *corev1.Secret
- func GetDexSecretConfig(n types.NamespacedName) v1alpha1.AppExtraConfig
- func GetIssuerAddress(baseDomain string, managementClusterIssuerAddress string, ...) string
- func GetVintageDexSecretConfig(namespace string) v1alpha1.AppExtraConfig
- func IsInvalidConfig(err error) bool
- type Config
- type Service
- func (s *Service) CreateOrUpdateProviderApps(appConfig provider.AppConfig, ctx context.Context, ...) (dex.DexConfig, error)
- func (s *Service) DeleteProviderApps(appName string, ctx context.Context) error
- func (s *Service) GetAppConfig(ctx context.Context) (provider.AppConfig, error)
- func (s *Service) Reconcile(ctx context.Context) error
- func (s *Service) ReconcileDelete(ctx context.Context) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( AppInfo = prometheus.NewGaugeVec( prometheus.GaugeOpts{ Namespace: metricNamespace, Subsystem: metricSubsystem, Name: "secret_expiry_time", Help: "Gives secret expiry time for all dex app registrations.", }, infoLabels, ) )
Gauge for secret expiry time
Functions ¶
func GetDefaultDexConfigSecret ¶ added in v0.4.0
func GetDexSecretConfig ¶
func GetDexSecretConfig(n types.NamespacedName) v1alpha1.AppExtraConfig
func GetIssuerAddress ¶ added in v0.3.2
func GetVintageDexSecretConfig ¶ added in v0.4.0
func GetVintageDexSecretConfig(namespace string) v1alpha1.AppExtraConfig
func IsInvalidConfig ¶
IsInvalidcConfig asserts invalidConfigError.
Types ¶
type Service ¶
func (*Service) CreateOrUpdateProviderApps ¶
func (*Service) DeleteProviderApps ¶
func (*Service) GetAppConfig ¶
Click to show internal directories.
Click to hide internal directories.