Documentation ¶
Index ¶
- type SecretManagerFactory
- type SecretStore
- func (f SecretStore) AssertHasValue(t *testing.T, location, secretName, secretKey string)
- func (f SecretStore) AssertValueEquals(t *testing.T, location, secretName, secretKey, expectedValue string)
- func (f SecretStore) GetSecret(location, secretName, secretKey string) (string, error)
- func (f SecretStore) SetSecret(location, secretName string, secretValue *secretstore.SecretValue) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SecretManagerFactory ¶ added in v0.2.1
type SecretManagerFactory struct {
// contains filtered or unexported fields
}
func (SecretManagerFactory) GetSecretStore ¶ added in v0.2.1
func (f SecretManagerFactory) GetSecretStore() *SecretStore
func (*SecretManagerFactory) NewSecretManager ¶ added in v0.2.1
func (f *SecretManagerFactory) NewSecretManager(_ secretstore.Type) (secretstore.Interface, error)
type SecretStore ¶ added in v0.2.1
type SecretStore struct {
// contains filtered or unexported fields
}
func NewFakeSecretStore ¶
func NewFakeSecretStore() *SecretStore
func (SecretStore) AssertHasValue ¶ added in v0.2.1
func (f SecretStore) AssertHasValue(t *testing.T, location, secretName, secretKey string)
func (SecretStore) AssertValueEquals ¶ added in v0.2.1
func (f SecretStore) AssertValueEquals(t *testing.T, location, secretName, secretKey, expectedValue string)
func (SecretStore) GetSecret ¶ added in v0.2.1
func (f SecretStore) GetSecret(location, secretName, secretKey string) (string, error)
func (SecretStore) SetSecret ¶ added in v0.2.1
func (f SecretStore) SetSecret(location, secretName string, secretValue *secretstore.SecretValue) error
Click to show internal directories.
Click to hide internal directories.