csiconfigobservercontroller

package
v0.0.0-...-1f32fc6 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2026 License: Apache-2.0 Imports: 14 Imported by: 2 modules, 1 package

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CipherSuitesPath

func CipherSuitesPath() []string

CipherSuitesPath returns the path for the observed TLS cipher suites. This is a function to avoid exposing a slice that could potentially be appended.

func CurvePreferencesPath

func CurvePreferencesPath() []string

CurvePreferencesPath returns the path for the observed TLS group (curve) preferences. The values are stored as group names ([]string) matching the TLSGroup constants from openshift/api. This is a function to avoid exposing a slice that could potentially be appended.

func MinTLSVersionPath

func MinTLSVersionPath() []string

MinTLSVersionPath the path for the observed minimum TLS version. This is a function to avoid exposing a slice that could potentially be appended.

func ProxyConfigPath

func ProxyConfigPath() []string

ProxyConfigPath returns the path for the observed proxy config. This is a function to avoid exposing a slice that could potentially be appended.

Types

type CSIConfigObserverController

type CSIConfigObserverController struct {
	factory.Controller
}

CISConfigObserverController watches information that's relevant to CSI driver operators. For now it only observes proxy information, (through the proxy.config.openshift.io/cluster object), but more will be added.

func NewCSIConfigObserverController

func NewCSIConfigObserverController(
	name string,
	operatorClient v1helpers.OperatorClient,
	configinformers configinformers.SharedInformerFactory,
	eventRecorder events.Recorder,
) *CSIConfigObserverController

NewCSIConfigObserverController returns a new CSIConfigObserverController.

func NewCSIConfigObserverControllerWithFeatureGates

func NewCSIConfigObserverControllerWithFeatureGates(
	name string,
	operatorClient v1helpers.OperatorClient,
	configinformers configinformers.SharedInformerFactory,
	eventRecorder events.Recorder,
	featureGateAccess featuregates.FeatureGateAccess,
) *CSIConfigObserverController

NewCSIConfigObserverControllerWithFeatureGates is like NewCSIConfigObserverController but also observes the TLS group (curve) preferences from TLSSecurityProfile. The observation is gated on the TLSGroupPreferences feature gate: curvePreferences are only written to the observed config when the gate is enabled. This matters because the TLSProfiles table in openshift/api bakes non-empty Groups into the predefined profiles (Old/Intermediate/Modern), and OCPSTRAT-3145 requires curves not be restricted before the feature is GA.

type Listers

type Listers struct {
	ProxyLister_     configlistersv1.ProxyLister
	APIServerLister_ configlistersv1.APIServerLister

	ResourceSync       resourcesynccontroller.ResourceSyncer
	PreRunCachesSynced []cache.InformerSynced
}

Listers implement the configobserver.Listers interface.

func (Listers) APIServerLister

func (l Listers) APIServerLister() configlistersv1.APIServerLister

func (Listers) PreRunHasSynced

func (l Listers) PreRunHasSynced() []cache.InformerSynced

func (Listers) ProxyLister

func (l Listers) ProxyLister() configlistersv1.ProxyLister

func (Listers) ResourceSyncer

func (l Listers) ResourceSyncer() resourcesynccontroller.ResourceSyncer

Jump to

Keyboard shortcuts

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