Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountGetter ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func NewManager ¶
func NewManager(accounts AccountGetter, secretClient SecretClient) *Manager
func (*Manager) CreateOrUpdate ¶
type SecretClient ¶
type SecretClient interface {
Apply(ctx context.Context, owner *secret.Owner, meta metav1.ObjectMeta, valueMap map[string]string) error
Get(ctx context.Context, namespace string, name string) (map[string]string, error)
GetByLabels(ctx context.Context, namespace string, labels map[string]string) (*v1.SecretList, error)
Delete(ctx context.Context, namespace string, name string) error
Label(ctx context.Context, namespace, name string, labels map[string]string) error
}
Click to show internal directories.
Click to hide internal directories.