Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type NoopSecretStore ¶ added in v0.41.3
type NoopSecretStore struct{}
NoopSecretStore is a test implementation of the SecretProvider interface that returns an empty secret store. Use this in tests when you need a secret store but don't care about the actual secrets.
func (NoopSecretStore) GetSecretCredentials ¶ added in v0.41.3
func (n NoopSecretStore) GetSecretCredentials(ctx context.Context, tenantID model.GlobalID) (*sm.SecretStore, error)
func (NoopSecretStore) GetSecretValue ¶ added in v0.42.0
type TestSecretStore ¶ added in v0.41.3
type TestSecretStore struct{}
TestSecretStore is a test implementation of the SecretProvider interface that returns a mock secret store with test credentials. Use this in tests when you need to test behavior that depends on having actual secret values.
func (TestSecretStore) GetSecretCredentials ¶ added in v0.41.3
func (s TestSecretStore) GetSecretCredentials(ctx context.Context, tenantId model.GlobalID) (*sm.SecretStore, error)
func (TestSecretStore) GetSecretValue ¶ added in v0.42.0
Click to show internal directories.
Click to hide internal directories.