public interface CsiAdaptorProtocol
Modifier and Type | Method and Description |
---|---|
GetPluginInfoResponse |
getPluginInfo(GetPluginInfoRequest request)
Get plugin info from the CSI driver.
|
NodePublishVolumeResponse |
nodePublishVolume(NodePublishVolumeRequest request)
Publish the volume on a node manager, the volume will be mounted
to the local file system and become visible for clients.
|
NodeUnpublishVolumeResponse |
nodeUnpublishVolume(NodeUnpublishVolumeRequest request)
This is a reverse operation of
nodePublishVolume(NodePublishVolumeRequest) , it un-mounts the
volume from given node. |
ValidateVolumeCapabilitiesResponse |
validateVolumeCapacity(ValidateVolumeCapabilitiesRequest request)
Validate if the volume capacity can be satisfied on the underneath
storage system.
|
GetPluginInfoResponse getPluginInfo(GetPluginInfoRequest request) throws YarnException, IOException
request
- get plugin info request.YarnException
IOException
ValidateVolumeCapabilitiesResponse validateVolumeCapacity(ValidateVolumeCapabilitiesRequest request) throws YarnException, IOException
request
- validate volume capability request.YarnException
IOException
NodePublishVolumeResponse nodePublishVolume(NodePublishVolumeRequest request) throws YarnException, IOException
request
- publish volume request.YarnException
IOException
NodeUnpublishVolumeResponse nodeUnpublishVolume(NodeUnpublishVolumeRequest request) throws YarnException, IOException
nodePublishVolume(NodePublishVolumeRequest)
, it un-mounts the
volume from given node.request
- un-publish volume request.YarnException
IOException
Copyright © 2008–2021 Apache Software Foundation. All rights reserved.