Documentation ¶
Index ¶
- type SecretStore
- func (ss *SecretStore) DeleteKeyValues(ctx context.Context, s *store.Secret, do ...store.DeleteOption) error
- func (ss *SecretStore) ReadKeyValues(ctx context.Context, n store.ScopedName, s *store.Secret) error
- func (ss *SecretStore) WriteKeyValues(ctx context.Context, s *store.Secret, wo ...store.WriteOption) (bool, error)
- type StoreConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SecretStore ¶
type SecretStore struct { ReadKeyValuesFn func(ctx context.Context, n store.ScopedName, s *store.Secret) error WriteKeyValuesFn func(ctx context.Context, s *store.Secret, wo ...store.WriteOption) (bool, error) DeleteKeyValuesFn func(ctx context.Context, s *store.Secret, do ...store.DeleteOption) error }
SecretStore is a fake SecretStore
func (*SecretStore) DeleteKeyValues ¶
func (ss *SecretStore) DeleteKeyValues(ctx context.Context, s *store.Secret, do ...store.DeleteOption) error
DeleteKeyValues deletes key values.
func (*SecretStore) ReadKeyValues ¶
func (ss *SecretStore) ReadKeyValues(ctx context.Context, n store.ScopedName, s *store.Secret) error
ReadKeyValues reads key values.
func (*SecretStore) WriteKeyValues ¶
func (ss *SecretStore) WriteKeyValues(ctx context.Context, s *store.Secret, wo ...store.WriteOption) (bool, error)
WriteKeyValues writes key values.
type StoreConfig ¶
type StoreConfig struct { metav1.ObjectMeta Config v1.SecretStoreConfig v1.ConditionedStatus }
StoreConfig is a mock implementation of the StoreConfig interface.
func (*StoreConfig) DeepCopyObject ¶
func (s *StoreConfig) DeepCopyObject() runtime.Object
DeepCopyObject returns a copy of the object as runtime.Object
func (*StoreConfig) GetObjectKind ¶
func (s *StoreConfig) GetObjectKind() schema.ObjectKind
GetObjectKind returns schema.ObjectKind.
func (*StoreConfig) GetStoreConfig ¶
func (s *StoreConfig) GetStoreConfig() v1.SecretStoreConfig
GetStoreConfig returns SecretStoreConfig
Click to show internal directories.
Click to hide internal directories.