constants

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2021 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// PluginName is the name of the CSI plug-in.
	PluginName = "csi-isilon.dellemc.com"

	// DefaultAccessZone is "System"
	DefaultAccessZone = "System"
	// ModeNode is csi driver's "mode "deployment mode
	ModeNode = "node"
	// ModeController is csi driver's "controller "deployment mode
	ModeController = "controller"

	// DefaultVolumeSizeInBytes is default volume sgolang/protobuf/blob/master/ptypesize to create on an Isilon
	// cluster when no size is given, expressed in bytes
	DefaultVolumeSizeInBytes = 3 * BytesInGiB

	// BytesInGiB is the number of bytes in a gibibyte
	BytesInGiB = 1024 * 1024 * 1024
	// TRUE constant
	TRUE = "TRUE"
	// FALSE constant
	FALSE = "FALSE"

	// DefaultPortNumber is the port number in default to set the HTTPS port number of the Isilon OneFS API server
	DefaultPortNumber = "8080"

	// DefaultIsiPath is the default isiPath which will be used if there's
	// no proper isiPath value set in neither storageclass.yaml nor values.yaml
	DefaultIsiPath = "/ifs"

	// MaxIsiConnRetries is the max number of retries to validate connection to PowerScale Array
	MaxIsiConnRetries = 10

	// KubeConfig of kubernetes cluster
	KubeConfig = "KUBECONFIG"

	// VolumeSnapshotsPath is the snapshot directory base path on PowerScale array
	VolumeSnapshotsPath = "/ifs/.snapshot"

	//IsilonConfigFile isilon-creds file with credential info of isilon clusters
	IsilonConfigFile = "/isilon-configs/config"
)
View Source
const (

	// EnvCSIEndpoint is the name of the unix domain socket that the csi driver is listening on
	EnvCSIEndpoint = "CSI_ENDPOINT"

	// EnvPort is the name of the enviroment variable used to set the
	// HTTPS port number of the Isilon OneFS API server
	EnvPort = "X_CSI_ISI_PORT"

	// EnvInsecure is the name of the enviroment variable used to specify
	// that the Isilon OneFS API server's certificate chain and host name should not
	// be verified
	EnvInsecure = "X_CSI_ISI_INSECURE"

	// EnvPath is the root path under which all the volumes (directories) will be provisioned, e.g. /ifs/engineering
	EnvPath = "X_CSI_ISI_PATH"

	// EnvAutoProbe is the name of the environment variable used to specify
	// that the controller service should automatically probe itself if it
	// receives incoming requests before having been probed, in direct
	// violation of the CSI spec
	EnvAutoProbe = "X_CSI_ISI_AUTOPROBE"

	// EnvDebug indicates whether the driver is in debug mode
	EnvDebug = "X_CSI_DEBUG"

	// EnvVerbose indicates whether the driver should log OneFS REST API response body content
	EnvVerbose = "X_CSI_VERBOSE"

	// EnvQuotaEnabled is the boolean flag that indicates whether the provisioner should attempt to set (later unset) quota on a newly provisioned volume
	EnvQuotaEnabled = "X_CSI_ISI_QUOTA_ENABLED"

	// EnvAccessZone is the name of the access zone a volume can be created in, e.g. "System"
	EnvAccessZone = "X_CSI_ISI_ACCESS_ZONE"

	// EnvNoProbeOnStart indicates whether a probe should be attempted upon start
	EnvNoProbeOnStart = "X_CSI_ISILON_NO_PROBE_ON_START"

	// EnvNfsV3 indicates whether to add "-o ver=3" option to the mount command when mounting an NFS export
	EnvNfsV3 = "X_CSI_ISILON_NFS_V3"

	// EnvNodeName is the name of a k8s node
	EnvNodeName = "X_CSI_NODE_NAME"

	// EnvNodeIP is the ip address of a k8s node
	EnvNodeIP = "X_CSI_NODE_IP"

	// EnvCustomTopologyEnabled indicates if custom topology has to be used by CSI Driver
	EnvCustomTopologyEnabled = "X_CSI_CUSTOM_TOPOLOGY_ENABLED"

	// EnvKubeConfigPath indicates kubernetes configuration that has to be used by CSI Driver
	EnvKubeConfigPath = "KUBECONFIG"

	// EnvAllowedNetworks indicates list of networks on which NFS traffic is allowed
	EnvAllowedNetworks = "X_CSI_ALLOWED_NETWORKS"

	// EnvIsilonConfigFile specifies the filepath containing Isilon cluster's config details
	EnvIsilonConfigFile = "X_CSI_ISILON_CONFIG_PATH"
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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