Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrMissingClientIDKey = errors.New("missing clientIDKey field in secret data") ErrMissingClientSecretKey = errors.New("missing clientSecretKey field in secret data") ErrMissingTokenIDKey = errors.New("missing TokenID field in secret data") ErrMissingAnnotationClientIDKey = errors.New("missing clientIDKey annotation in secret") ErrMissingAnnotationClientSecretKey = errors.New("missing clientSecretKey annotation in secret") ErrMissingAnnotationTokenIDKey = errors.New("missing TokenID annotation in secret") )
Functions ¶
This section is empty.
Types ¶
type ExtendedServiceToken ¶
type ExtendedServiceToken struct { cloudflare.AccessServiceToken ClientSecret string K8sSecretRef struct { ClientIDKey string ClientSecretKey string SecretName string } }
func (*ExtendedServiceToken) SetSecretReference ¶
func (s *ExtendedServiceToken) SetSecretReference(clientIDKey, clientSecretKey string, secret corev1.Secret)
depricated.
func (*ExtendedServiceToken) SetSecretValues ¶
func (s *ExtendedServiceToken) SetSecretValues(secret corev1.Secret) error
Click to show internal directories.
Click to hide internal directories.