Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SecretReconciler ¶
type SecretReconciler struct {
// contains filtered or unexported fields
}
SecretReconciler implements the reconciliation logic for Lockbox secrets.
func NewSecretReconciler ¶
func NewSecretReconciler(pubKey, priKey nacl.Key, options ...SecretReconcilerOption) *SecretReconciler
NewSecretReconciler creates a reconciler controller for the provided keypair and options.
If not mutated by any options, the reconciler uses a noop API client and events recorder.
type SecretReconcilerOption ¶
type SecretReconcilerOption func(s *SecretReconciler)
SecretReconcilerOption allows for functional options to modify the SecretReconciler
func WithClient ¶
func WithClient(c client.Client) SecretReconcilerOption
WithClient sets the API Client used by the SecretReconciler
func WithRecorder ¶
func WithRecorder(r record.EventRecorder) SecretReconcilerOption
WithRecorder sets the EventRecorder used by the SecretReconciler.
Click to show internal directories.
Click to hide internal directories.