Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CSIConnection ¶
type CSIConnection interface { // GetDriverName returns driver name as discovered by GetPluginInfo() gRPC // call. GetDriverName(ctx context.Context) (string, error) // NodeGetId returns node ID of the current according to the CSI driver. NodeGetId(ctx context.Context) (string, error) // Close the connection Close() error }
CSIConnection is gRPC connection to a remote CSI driver and abstracts all CSI calls.
func NewConnection ¶
func NewConnection( address string, timeout time.Duration) (CSIConnection, error)
Click to show internal directories.
Click to hide internal directories.