package
0.0.0-20190408073931-66bb0a0e4374
Repository: https://github.com/pohly/csi-lib-utils.git
Documentation: pkg.go.dev
# Functions
Connect opens insecure gRPC connection to a CSI driver.
ExitOnConnectionLoss returns callback for OnConnectionLoss() that writes an error to /dev/termination-log and exits.
GetControllerCapabilities returns set of supported controller capabilities of CSI driver.
GetDriverName returns name of CSI driver.
GetPluginCapabilities returns set of supported capabilities of CSI driver.
LogGRPC is gPRC unary interceptor for logging of CSI messages at level 5.
OnConnectionLoss registers a callback that will be invoked when the connection got lost.
Probe calls driver Probe() just once and returns its result without any processing.
ProbeForever calls Probe() of a CSI driver and waits until the driver becomes ready.
# Type aliases
ControllerCapabilitySet is set of CSI controller capabilities.
Option is the type of all optional parameters for Connect.
PluginCapabilitySet is set of CSI plugin capabilities.