Documentation
¶
Index ¶
Constants ¶
View Source
const ( EXTERNAL_SECRET = "ExternalSecret" PUSH_SECRET = "PushSecret" DEPLOYMENT = "Deployment" WORKFLOW = "WorkflowRunTemplate" )
Variables ¶
This section is empty.
Functions ¶
func ForceRegister ¶
func RegisterProvider ¶
Types ¶
type Handler ¶
type Handler interface {
// Method to implement References
// In the future, `matchStrategy` will just replace the References Method
References(obj client.Object, secretName string) (bool, error)
// Method to implement Apply
// In the future, `updateStrategy` will create a new Apply method
Apply(obj client.Object, event events.SecretRotationEvent) error
// Method to implement WaitFor
// In the future, `waitStrategy` will create a new WaitFor method
WaitFor(obj client.Object) error
// Filter implements the filter logic given the selected destination
// Returns all objects that match the specific destination configuraiton
Filter(destination *v1alpha1.DestinationToWatch, event events.SecretRotationEvent) ([]client.Object, error)
WithApply(fn ApplyFn) Handler
WithReference(fn ReferenceFn) Handler
WithWaitFor(fn WaitForFn) Handler
}
Click to show internal directories.
Click to hide internal directories.