Documentation ¶
Index ¶
- func ConvertToPlatformSpec(config *vclib.VSphereConfig, infra *ocpv1.Infrastructure)
- func NewVSphereController(name, targetNamespace string, apiClients utils.APIClient, ...) factory.Controller
- func WithLogLevelDaemonSetHook() csidrivernodeservicecontroller.DaemonSetHookFunc
- func WithLogLevelDeploymentHook() deploymentcontroller.DeploymentHookFunc
- func WithSecretDaemonSetAnnotationHook(secretName, namespace string, secretInformer corev1informers.SecretInformer) csidrivernodeservicecontroller.DaemonSetHookFunc
- func WithSyncerImageHook(containerName string) deploymentcontroller.DeploymentHookFunc
- type VSphereController
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertToPlatformSpec ¶
func ConvertToPlatformSpec(config *vclib.VSphereConfig, infra *ocpv1.Infrastructure)
func NewVSphereController ¶
func NewVSphereController( name, targetNamespace string, apiClients utils.APIClient, csiConfigManifest []byte, secretManifest []byte, recorder events.Recorder, gates featuregates.FeatureGate, ) factory.Controller
func WithLogLevelDaemonSetHook ¶
func WithLogLevelDaemonSetHook() csidrivernodeservicecontroller.DaemonSetHookFunc
WithLogLevelDaemonSetHook sets the X_CSI_DEBUG and LOGGER_LEVEL environment variables when CR.LogLevel is Debug or higher.
func WithLogLevelDeploymentHook ¶
func WithLogLevelDeploymentHook() deploymentcontroller.DeploymentHookFunc
WithLogLevelDeploymentHook sets the X_CSI_DEBUG and LOGGER_LEVEL environment variables when CR.LogLevel is Debug or higher.
func WithSecretDaemonSetAnnotationHook ¶
func WithSecretDaemonSetAnnotationHook(secretName, namespace string, secretInformer corev1informers.SecretInformer) csidrivernodeservicecontroller.DaemonSetHookFunc
WithSecretDaemonSetAnnotationHook adds an annotation to the DaemonSet to trigger a rollout of new drivers when the specified secret changes. This is necessary because the drivers need to be restarted for new CSINode values to reflect updated topology information.
func WithSyncerImageHook ¶
func WithSyncerImageHook(containerName string) deploymentcontroller.DeploymentHookFunc
Types ¶
type VSphereController ¶
type VSphereController struct {
// contains filtered or unexported fields
}
Source Files ¶
Click to show internal directories.
Click to hide internal directories.