Versions in this module Expand all Collapse all v1 v1.2.3 Jul 3, 2023 Changes in this version + const ProviderType + const SecretKey + type APIKeyAuthenticator struct + func NewIamAuthenticator(apikey string, logger *zap.Logger) *APIKeyAuthenticator + func (aa *APIKeyAuthenticator) GetSecret() string + func (aa *APIKeyAuthenticator) GetToken(freshTokenRequired bool) (string, uint64, error) + func (aa *APIKeyAuthenticator) IsSecretEncrypted() bool + func (aa *APIKeyAuthenticator) SetEncryption(encrypted bool) + func (aa *APIKeyAuthenticator) SetSecret(secret string) + func (aa *APIKeyAuthenticator) SetURL(url string) + type Authenticator interface + GetSecret func() string + GetToken func(freshTokenRequired bool) (string, uint64, error) + IsSecretEncrypted func() bool + SetEncryption func(bool) + SetSecret func(secret string) + SetURL func(url string) + func NewAuthenticator(logger *zap.Logger, kc k8s_utils.KubernetesClient, ...) (Authenticator, string, error) + type ComputeIdentityAuthenticator struct + func NewComputeIdentityAuthenticator(profileID string, logger *zap.Logger) *ComputeIdentityAuthenticator + func (ca *ComputeIdentityAuthenticator) GetSecret() string + func (ca *ComputeIdentityAuthenticator) GetToken(freshTokenRequired bool) (string, uint64, error) + func (ca *ComputeIdentityAuthenticator) IsSecretEncrypted() bool + func (ca *ComputeIdentityAuthenticator) SetEncryption(encrypted bool) + func (ca *ComputeIdentityAuthenticator) SetSecret(secret string) + func (ca *ComputeIdentityAuthenticator) SetURL(url string) + type FakeAuthenticator struct + func NewFakeAuthenticator(logger *zap.Logger) *FakeAuthenticator + func (fa *FakeAuthenticator) GetSecret() string + func (fa *FakeAuthenticator) GetToken(freshTokenRequired bool) (string, uint64, error) + func (fa *FakeAuthenticator) IsSecretEncrypted() bool + func (fa *FakeAuthenticator) SetEncryption(encrypted bool) + func (fa *FakeAuthenticator) SetSecret(secret string) + func (fa *FakeAuthenticator) SetURL(url string)