Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LocatedUnstructured ¶
type LocatedUnstructured struct { Locator *unstructured.Unstructured }
type Locator ¶
type Locator struct { NamespacedGroupVersionResource Name string // Path in instance Path []string }
Locator is used to track objects that have been synced, and therefore have a known GVR, Name, and Namespace
func (Locator) EventHandler ¶
func (l Locator) EventHandler(queue workqueue.RateLimitingInterface) cache.ResourceEventHandler
EventHandler returns an event handler for this locator that adds a locator to the incoming object and adds to queue
func (Locator) FilterFunc ¶
FilterFunc returns a function that can filter events to only react to objects identified by the locator
type NamespacedGroupVersionResource ¶
type NamespacedGroupVersionResource struct { schema.GroupVersionResource Namespace string }
NamespacedGroupVersionResource is used to look up informers for resolved objects from the instance
Click to show internal directories.
Click to hide internal directories.