Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Attacher ¶
type Attacher interface { // Attach given volume to given node. Returns PublishVolumeInfo. Note that // "detached" is returned on error and means that the volume is for sure // detached from the node. "false" means that the volume may be either // detached, attaching or attached and caller should retry to get the final // status. Attach(ctx context.Context, volumeID string, readOnly bool, nodeID string, caps *csi.VolumeCapability, attributes, secrets map[string]string) (metadata map[string]string, detached bool, err error) // Detach given volume from given node. Detach(ctx context.Context, volumeID string, nodeID string, secrets map[string]string) error }
Attacher implements attach/detach operations against a remote CSI driver.
func NewAttacher ¶
func NewAttacher(conn *grpc.ClientConn) Attacher
NewAttacher provides a new Attacher object.
Click to show internal directories.
Click to hide internal directories.