Documentation ¶
Index ¶
Constants ¶
View Source
const ( // NameSpace for CSI NameSpace = "csi" // CSI endpoint environment variable name CSIEndpoint = "CSI_ENDPOINT" // CSI default endpoint CSIDefaultEndpoint = "unix://path/to/unix/domain/socket.sock" // Opensds endpoint environment variable name OpensdsEndpoint = "OPENSDS_ENDPOINT" // Opensds default endpoint OpensdsDefaultEndpoint = "http://localhost:50040" // Opensds auth strategy OpensdsAuthStrategy = "OPENSDS_AUTH_STRATEGY" OpensdsDefaultAuthStrategy = "noauth" // Opensds Secondary AZ OpensdsSecondaryAZ = "OPENSDS_SECONDARY_AZ" OpensdsDefaultSecondaryAZ = "secondary" // CSI environment variable whether enable the replication function, value can be true or false CSIEnableReplication = "CSI_ENABLE_REPLICATION" // 1024 * 1024 * 1024 GiB int64 = 1073741824 )
View Source
const DefaultLogDir = "/var/log/opensds"
Variables ¶
This section is empty.
Functions ¶
func GetCSIEndPointListener ¶
GetCSIEndPointListener from endpoint
func PathExists ¶ added in v0.3.0
Types ¶
type GlogWriter ¶ added in v0.3.0
type GlogWriter struct{}
Click to show internal directories.
Click to hide internal directories.