manager

package
v0.0.0-...-7b34d14 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 7, 2020 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSecretManager

func NewSecretManager(secretStore secret_store.SecretStore, cipher secret_cipher.Cipher, validator SecretValidator) manager.ResourceManager

Types

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

type ValidateDelete

type ValidateDelete func(ctx context.Context, secretName string, secretMesh string) error

func (ValidateDelete) ValidateDelete

func (f ValidateDelete) ValidateDelete(ctx context.Context, secretName string, secretMesh string) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL