# Functions
GetCommit returns the current commit hash value, as inserted at build time.
GetTreeState returns the current state of git tree, either "clean" or "dirty".
When building any packages that import version, pass the build/install cmd ldflags like so: go build -ldflags "-X github.com/cloudscale-ch/csi-cloudscale/driver.version=0.0.1" GetVersion returns the current release version, as inserted at build time.
NewDriver returns a CSI plugin that contains the necessary gRPC interfaces to interact with Kubernetes over unix domain sockets for managaing cloudscale.ch Volumes.
# Constants
allowed size increments for bulk disks.
DriverName defines the name that is used in Kubernetes and the system for the canonical, official name of this plugin.
No description provided by the author
No description provided by the author
LuksCipherAttribute is used to pass the information about the luks encryption cypher to `NodeStageVolume`.
LuksEncryptedAttribute is used to pass the information if the volume should be encrypted with luks to `NodeStageVolume`.
LuksKeyAttribute is the key of the luks key used in the map of secrets passed from the CO.
LuksKeySizeAttribute is used to pass the information about the luks key size to `NodeStageVolume`.
No description provided by the author
PublishInfoVolumeName is used to pass the volume name from `ControllerPublishVolume` to `NodeStageVolume or `NodePublishVolume`.
allowed size increments for SSDs.
Storage type of the volume, must be either "ssd" or "bulk".
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
Driver implements the following CSI interfaces:
csi.IdentityServer csi.ControllerServer csi.NodeServer
.
No description provided by the author
# Interfaces
Mounter is responsible for formatting and mounting volumes TODO(timoreimann): find a more suitable name since the interface encompasses more than just mounting functionality by now.
# Type aliases
No description provided by the author