Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
Controller watches the cluster proxy config resource to see if a custom trusted CA has been added or removed. In the event a change is detected, this Controller makes appropriate calls to the provided ResourceSyncer instance.
func NewController ¶
func NewController(operatorConfigClient v1helpers.OperatorClient, configInformers configinformers.SharedInformerFactory, resourceSyncer resourcesynccontroller.ResourceSyncer, eventRecorder events.Recorder) *Controller
NewController creates a new usercaobservation.Controller instance.
func (*Controller) Run ¶
func (c *Controller) Run(ctx context.Context, workers int)
Run starts the controller with the provided context and number of workers.
func (*Controller) Sync ¶
func (c *Controller) Sync(ctx context.Context, syncCtx factory.SyncContext) error
Sync runs the main synchronization logic for the controller.
Click to show internal directories.
Click to hide internal directories.