# Functions
NewControllerServer created commin controller server */.
No description provided by the author
NewIdentityServer - create an instance of identity server.
NewNodeServer creates new default Node server */.
ParseDriverType - create DriverType from user input.
ParseRole - create role from user input.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
RoleAll - run driver as both controller and node instance.
RoleController - run driver as a controller instance (Identity server + Controller server) This role should be used with: - "csi-provisioner" sidecar container that watches Kubernetes PersistentVolumeClaim objects and triggers CreateVolume/DeleteVolume against a CSI endpoint - "csi-attacher" sidecar container that watches Kubernetes VolumeAttachment objects and triggers ControllerPublish/Unpublish against a CSI endpoint.
RoleNode - to run driver as a node instance (Identity server + Node server), runs on each K8s node This role should be used with "driver-registrar", sidecar container that: 1) registers the CSI driver with kubelet 2) adds the drivers custom NodeId to a label on the Kubernetes Node API Object.
# Variables
Commit - driver last commit, to set commit set flags: go build -ldflags "-X github.com/Nexenta/edgefs/src/csi/edgefs-csi/csi.Commit=...".
DateTime - driver build datetime, to set commit set flags: go build -ldflags "-X github.com/Nexenta/edgefs/src/csi/edgefs-csi/csi.DateTime=...".
DriverTypes - list of the available driver types.
Roles - list of the driver roles.
Version - driver version, to set version set flags: go build -ldflags "-X github.com/Nexenta/edgefs/src/csi/edgefs-csi/csi.Version=0.0.1".
# Structs
No description provided by the author
No description provided by the author
IdentityServer - k8s csi driver identity server.
# Type aliases
DriverType - type of edgefs driver to create [nfs|iscsi].
Role - role of this instance of driver.