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