Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager interface { Get(name string, options metav1.GetOptions) (*v1.Secret, error) Create(secret *v1.Secret) (*v1.Secret, error) Update(secret *v1.Secret) (*v1.Secret, error) Delete(name string, options *metav1.DeleteOptions) error }
Manager contains operations for managing k8s secrets
type ManagerConstructor ¶
ManagerConstructor creates Secret Manager for specified namespace
type Repository ¶
type Repository interface { Get(name types.NamespacedName) (map[string][]byte, error) UpsertWithReplace(name types.NamespacedName, data map[string][]byte) error UpsertWithMerge(name types.NamespacedName, data map[string][]byte) error }
Repository contains operations for managing client credentials
func NewRepository ¶
func NewRepository(secretsManagerConstructor ManagerConstructor) Repository
NewRepository creates a new secrets repository
Click to show internal directories.
Click to hide internal directories.