Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventHandler ¶
type EventHandler[C, R client.Object] struct { client.Writer NewObject func(ctx context.Context, controller C) R ListObject func(ctx context.Context, controller C) ([]R, error) ActivatedObject func(controller C, objects []R) R ObjectRevision func(Object R) int64 ObjectPatcher func(controller C, desiredObject, activatedObject R) (client.Patch, error) }
EventHandler encapsulates the operations related to object lifecycle events for the Singleton.
type Singleton ¶
type Singleton[C, R client.Object] struct { expectations.ControllerExpectations // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.