types

package
v3.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// EnvSupervisorClientQPS  is the QPS for all clients to the supervisor cluster API server
	EnvSupervisorClientQPS = "SUPERVISOR_CLIENT_QPS"

	// EnvSupervisorClientBurst  is the Burst for all clients to the supervisor cluster API server
	EnvSupervisorClientBurst = "SUPERVISOR_CLIENT_BURST"

	// EnvInClusterClientQPS is the QPS for all clients to the API server
	EnvInClusterClientQPS = "INCLUSTER_CLIENT_QPS"

	// EnvInClusterClientBurst is the Burst for all clients to the API server
	EnvInClusterClientBurst = "INCLUSTER_CLIENT_BURST"

	// EnvVarEndpoint specifies the CSI endpoint for CSI driver.
	EnvVarEndpoint = "CSI_ENDPOINT"

	// EnvVarNamespace specifies the namespace in which CSI driver is installed.
	EnvVarNamespace = "CSI_NAMESPACE"

	// EnvVarMode is the name of the environment variable used to specify
	// the service mode of the plugin. Valid values are:
	// * controller
	// * node
	//
	// Depending on the value, either controller and node service will be
	// activated (The identity service is always activated).
	EnvVarMode = "X_CSI_MODE"
)
View Source
const (
	// Name is the name of this CSI SP
	Name = "csi.vsphere.vmware.com"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type CnsController

type CnsController interface {
	csi.ControllerServer
	Init(config *config.Config, version string) error
}

CnsController is the interface for the CSI Controller Server plus extra methods required to support CNS API backend

Jump to

Keyboard shortcuts

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