Documentation
¶
Index ¶
- func GetDriverName() string
- func GetDriverVersion() string
- func GetVersionJSON() (string, error)
- func MergeConfig(driverConfig *Config, driverSecrets map[string]string, ...) map[string]string
- func NormalizeConfigKey(key string) string
- func ParseCSIEndpoint(endpoint string) (string, string, error)
- func ParsePoolServerEndpoint(endpoint string) (string, string, error)
- func RedactConfig(config map[string]string) map[string]string
- type Config
- type VersionInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDriverVersion ¶
func GetDriverVersion() string
GetDriverVersion returns driver version in string
func GetVersionJSON ¶
GetVersionJSON returns VersionInfo object in JSON string
func MergeConfig ¶ added in v0.10.5
func MergeConfig(driverConfig *Config, driverSecrets map[string]string, volSecrets map[string]string, volParams map[string]string) map[string]string
MergeConfig merges configuration params
func NormalizeConfigKey ¶ added in v0.10.5
NormalizeConfigKey normalizes config key
func ParseCSIEndpoint ¶ added in v0.11.0
ParseCSIEndpoint parses endpoint string (TCP or UNIX)
func ParsePoolServerEndpoint ¶ added in v0.11.0
ParsePoolServerEndpoint parses endpoint string
Types ¶
type Config ¶
type Config struct { Endpoint string // CSI endpoint NodeID string // node ID SecretPath string // Secret mount path PoolServiceEndpoint string // iRODS FS Pool Service endpoint PrometheusExporterPort int // Prometheus Exporter Service port StoragePath string // Path to storage dir (for saving volume info and etc) }
Config holds the parameters list which can be configured
type VersionInfo ¶
type VersionInfo struct { DriverVersion string `json:"driverVersion"` GitCommit string `json:"gitCommit"` BuildDate string `json:"buildDate"` GoVersion string `json:"goVersion"` Compiler string `json:"compiler"` Platform string `json:"platform"` }
VersionInfo object contains version related info
Click to show internal directories.
Click to hide internal directories.