Versions in this module Expand all Collapse all v0 v0.2.0 Nov 24, 2023 v0.1.0 Oct 27, 2022 Changes in this version + type KubeSecretGetter struct + func New(c client.Client) *KubeSecretGetter + func (k KubeSecretGetter) SecretToken(ctx context.Context, id types.NamespacedName, key string) (string, error) + type SecretGetter interface + SecretToken func(ctx context.Context, id types.NamespacedName, key string) (string, error) + type SecretsStub struct + func NewSecretsStub() *SecretsStub + func (s *SecretsStub) StubError(err error) + func (s *SecretsStub) StubSecret(id types.NamespacedName, key, token string) + func (s SecretsStub) SecretToken(ctx context.Context, id types.NamespacedName, key string) (string, error)