Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Informer ¶
type Informer interface {
// contains filtered or unexported methods
}
func NewInformer ¶
func NewInformer(client resourceclient.Client, gvk schema.GroupVersionKind, branchName string) Informer
type InformerFactory ¶
type InformerFactory interface { AddEventHandler(gvk schema.GroupVersionKind, reconcilerName string, handler OnChangeFn) error Start(ctx context.Context) }
func NewInformerFactory ¶
func NewInformerFactory(client resourceclient.Client, gvks sets.Set[schema.GroupVersionKind], branchName string) InformerFactory
type OnChangeFn ¶
type OnChangeFn func(ctx context.Context, eventType resourcepb.Watch_EventType, obj runtime.Unstructured) bool
Click to show internal directories.
Click to hide internal directories.