Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Interface ¶
type Interface interface { // Reconcile compares the actual state with the desired, and attempts to // converge the two. Reconcile(obj interface{}) (controller.Result, error) // AddFinalizer adds a finalizer to the object if it not exists, // If a finalizer added, this func needs to update the object to the Kubernetes. AddFinalizer(obj interface{}) error // HandleFinalizer needs to do things: // - execute the finalizer, like deleting any external resources associated with the obj // - remove the coorspending finalizer key from the obj // - update the object to the Kubernetes // // Ensure that this func must be idempotent and safe to invoke // multiple types for same object. HandleFinalizer(obj interface{}) error }
Interface ...
Click to show internal directories.
Click to hide internal directories.