forked from thecodeteam/csi-scaleio
/
envvars.go
39 lines (31 loc) · 1.55 KB
/
envvars.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
package service
const (
// EnvEndpoint is the name of the enviroment variable used to set the
// HTTP endpoint of the ScaleIO Gateway
EnvEndpoint = "X_CSI_SCALEIO_ENDPOINT"
// EnvUser is the name of the enviroment variable used to set the
// username when authenticating to the ScaleIO Gateway
EnvUser = "X_CSI_SCALEIO_USER"
// EnvPassword is the name of the enviroment variable used to set the
// user's password when authenticating to the ScaleIO Gateway
EnvPassword = "X_CSI_SCALEIO_PASSWORD"
// EnvInsecure is the name of the enviroment variable used to specify
// that the ScaleIO Gateway's certificate chain and host name should not
// be verified
EnvInsecure = "X_CSI_SCALEIO_INSECURE"
// EnvSystemName is the name of the enviroment variable used to set the
// name of the ScaleIO system to interact with
EnvSystemName = "X_CSI_SCALEIO_SYSTEMNAME"
// EnvSDCGUID is the name of the enviroment variable used to set the
// GUID of the SDC. This is only used by the Node Service, and removes
// a need for calling an external binary to retrieve the GUID
EnvSDCGUID = "X_CSI_SCALEIO_SDCGUID"
// EnvThick is the name of the enviroment variable used to specify
// that thick provisioning should be used when creating volumes
EnvThick = "X_CSI_SCALEIO_THICKPROVISIONING"
// 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_SCALEIO_AUTOPROBE"
)