usercaobservation

package
v0.0.0-alpha.0....-08c6451 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 27, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL