Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ReconcilationTrigger ¶
type ReconcilationTrigger interface {
// RegisterControllerFor registers a controller to receice
// reconcilation requests for a dedicated group kind, if
// the Trigger method is called for such an object id.
//
// ATTENTION: Because a controller is always responsible for ONLY
// one object type, but is does not provide a method to
// get this type, this is not validated during the registration.
// Therefore this method MUST only be called for a controller
// if it is handling this type of object.
RegisterControllerFor(gk schema.GroupKind, c controller.Controller)
// Trigger triggers all controllers registered for the GroupKind of the given id
Trigger(id utils.ObjectId)
}
ReconcilationTrigger is used to register controllers to be externally triggerable for a dedicated object. given by its object id.
func NewReconcilationTrigger ¶
func NewReconcilationTrigger() ReconcilationTrigger
Click to show internal directories.
Click to hide internal directories.