Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChildWatch ¶
type ChildWatch struct { ObjectClient clientbase.ObjectClient Informer cache.SharedInformer }
type ChildWatcher ¶
type ChildWatcher struct { ObjectClient *clientbase.ObjectClient Informer cache.SharedInformer Scheme runtime.Scheme // optional CompareKeys []string // optional ParentLookup ParentLookup // contains filtered or unexported fields }
func (*ChildWatcher) OnAdd ¶
func (w *ChildWatcher) OnAdd(obj interface{})
func (*ChildWatcher) OnDelete ¶
func (w *ChildWatcher) OnDelete(obj interface{})
func (*ChildWatcher) OnUpdate ¶
func (w *ChildWatcher) OnUpdate(oldObj, newObj interface{})
type KnownObjectSet ¶
type KnownObjectSet struct {
Children map[ObjectReference]runtime.Object
}
type ObjectReference ¶
type ParentLookup ¶
type ParentLookup func(obj runtime.Object) *ParentReference
func OwnerReferenceLookup ¶
func OwnerReferenceLookup(gvk schema.GroupVersionKind) ParentLookup
type ParentReference ¶
type Reconciliation ¶
type Reconciliation struct { sync.Mutex Generator Generator Enqueue Enqueue ObjectClient *clientbase.ObjectClient Children []ChildWatcher // contains filtered or unexported fields }
func NewReconciliation ¶
func NewReconciliation(ctx context.Context, generator Generator, enqueue Enqueue, client *clientbase.ObjectClient, children ...ChildWatcher) *Reconciliation
Click to show internal directories.
Click to hide internal directories.