Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDriverName ¶
GetDriverName returns name of CSI driver.
func ProbeForever ¶
func ProbeForever(conn *grpc.ClientConn, singleProbeTimeout time.Duration) error
ProbeForever calls Probe() of a CSI driver and waits until the driver becomes ready. Any error other than timeout is returned.
Types ¶
type ControllerCapabilitySet ¶
type ControllerCapabilitySet map[csi.ControllerServiceCapability_RPC_Type]bool
ControllerCapabilitySet is set of CSI controller capabilities. Only supported capabilities are in the map.
func GetControllerCapabilities ¶
func GetControllerCapabilities(ctx context.Context, conn *grpc.ClientConn) (ControllerCapabilitySet, error)
GetControllerCapabilities returns set of supported controller capabilities of CSI driver.
type PluginCapabilitySet ¶
type PluginCapabilitySet map[csi.PluginCapability_Service_Type]bool
PluginCapabilitySet is set of CSI plugin capabilities. Only supported capabilities are in the map.
func GetPluginCapabilities ¶
func GetPluginCapabilities(ctx context.Context, conn *grpc.ClientConn) (PluginCapabilitySet, error)
GetPluginCapabilities returns set of supported capabilities of CSI driver.
Click to show internal directories.
Click to hide internal directories.