vspherecontroller

package
v0.0.0-...-62baabf Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2024 License: Apache-2.0 Imports: 42 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewVSphereController

func NewVSphereController(
	name, targetNamespace string,
	apiClients utils.APIClient,
	csiConfigManifest []byte,
	cloudConfigManifest []byte,
	recorder events.Recorder,
) factory.Controller

func WithConfigMapDaemonSetAnnotationHook

func WithConfigMapDaemonSetAnnotationHook(configMapName, namespace string, configMapInformer corev1informers.ConfigMapInformer) csidrivernodeservicecontroller.DaemonSetHookFunc

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 WithSyncerImageHook

func WithSyncerImageHook(containerName string) deploymentcontroller.DeploymentHookFunc

func WithVSphereCredentials

func WithVSphereCredentials(
	namespace string,
	secretName string,
	infraLister infralister.InfrastructureLister,
	configMapLister corelister.ConfigMapLister,
	secretInformer corev1informers.SecretInformer,
) deploymentcontroller.DeploymentHookFunc

Types

type VSphereController

type VSphereController struct {
	// contains filtered or unexported fields
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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