package
2.13.0+incompatible
Repository: https://github.com/hetznercloud/csi-driver.git
Documentation: pkg.go.dev
# Functions
No description provided by the author
CreateHcloudClient creates a hcloud.Client using various environment variables to guide configuration.
CreateListener creates and binds the unix socket in location specified by the CSI_ENDPOINT environment variable.
CreateLogger prepares a logger according to LOG_LEVEL environment variable.
CreateMetrics prepares a metrics client pointing at METRICS_ENDPOINT environment variable (will fallback) It will start the metrics HTTP listener depending on the ENABLE_METRICS environment variable.
GetEnableProvidedByTopology parses the ENABLE_PROVIDED_BY_TOPOLOGY environment variable and returns false by default.
GetServerLocation retrieves the hcloud server the application is running on.