Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitContext ¶
func InitContext(ctx context.Context, name string, u *unstructured.Unstructured) context.Context
Types ¶
type Custom ¶
type Custom struct {
Client resourceclient.Client
Name string
Queue workqueue.TypedRateLimitingInterface[types.NamespacedName]
Selector selector.SelectorBuilder
ForGVK schema.GroupVersionKind
ForSelector selector.Selector
BranchName string
}
func (*Custom) EventHandler ¶
func (r *Custom) EventHandler(ctx context.Context, _ resourcepb.Watch_EventType, obj runtime.Unstructured) bool
CustomEventHandler builds a new map[string]string as input for a list selector that filters resources based on this selector
type For ¶
type For struct {
Name string
Queue workqueue.TypedRateLimitingInterface[types.NamespacedName]
Selector selector.Selector
Client resourceclient.Client
}
func (*For) EventHandler ¶
func (r *For) EventHandler(ctx context.Context, _ resourcepb.Watch_EventType, obj runtime.Unstructured) bool
type Own ¶
type Own struct {
Name string
Client resourceclient.Client
Queue workqueue.TypedRateLimitingInterface[types.NamespacedName]
GVK schema.GroupVersionKind
}
func (*Own) EventHandler ¶
func (r *Own) EventHandler(ctx context.Context, eventType resourcepb.Watch_EventType, obj runtime.Unstructured) bool
Click to show internal directories.
Click to hide internal directories.