Documentation ¶
Overview ¶
The types package declares types used by the controller package
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HandleFnProvider ¶
type HandleFnProvider func(workqueue.RateLimitingInterface) cache.ResourceEventHandler
HandleFnProvider returns cache.ResourceEventHandler that may enqueue messages
type ReconcileFn ¶
type ReconcileFn func(ReconcileKey) error
ReconcileFn takes the key of an object and reconciles its desired and observed state.
type ReconcileKey ¶
type ReconcileKey struct { // Namespace is the namespace of the object. Empty for non-namespaced objects. Namespace string // Name is the name of the object. Name string }
ReconcileKey provides a lookup key for a Kubernetes object.
func ParseReconcileKey ¶
func ParseReconcileKey(key string) (ReconcileKey, error)
ParseReconcileKey returns the ReconcileKey that has been encoded into a string.
func (ReconcileKey) String ¶
func (r ReconcileKey) String() string
Click to show internal directories.
Click to hide internal directories.