Documentation ¶
Overview ¶
Package rpc provides common rpc functions
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConnectProvider ¶
func ConnectProvider() (*grpc.ClientConn, string, error)
ConnectProvider connect provider
func GetProviderName ¶
GetProviderName returns name of DR-CSI driver.
Types ¶
type PluginCapabilitySet ¶
type PluginCapabilitySet map[drcsi.ProviderCapability_Service_Type]bool
PluginCapabilitySet is set of DR-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 DR-CSI driver.
Click to show internal directories.
Click to hide internal directories.