Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SecretManager ¶
type SecretManager interface { Create(context.Context, *secret_model.SecretResource, ...core_store.CreateOptionsFunc) error Update(context.Context, *secret_model.SecretResource, ...core_store.UpdateOptionsFunc) error Delete(context.Context, *secret_model.SecretResource, ...core_store.DeleteOptionsFunc) error DeleteAll(context.Context, ...core_store.DeleteAllOptionsFunc) error Get(context.Context, *secret_model.SecretResource, ...core_store.GetOptionsFunc) error List(context.Context, *secret_model.SecretResourceList, ...core_store.ListOptionsFunc) error }
func NewSecretManager ¶
func NewSecretManager(secretStore secret_store.SecretStore, cipher secret_cipher.Cipher, validator SecretValidator) SecretManager
type SecretValidator ¶
type SecretValidator interface {
ValidateDelete(ctx context.Context, secretName string, secretMesh string) error
}
func NewSecretValidator ¶
func NewSecretValidator(caManagers ca.Managers, store core_store.ResourceStore) SecretValidator
Click to show internal directories.
Click to hide internal directories.