public interface CsiAdaptorPlugin extends CsiAdaptorProtocol
CsiAdaptorProtocol
, and plus the methods in this interface.Modifier and Type | Method and Description |
---|---|
String |
getDriverName()
Returns the driver name of the csi-driver this adaptor works with.
|
void |
init(String driverName,
org.apache.hadoop.conf.Configuration conf)
A csi-adaptor implementation can init its state within this function.
|
getPluginInfo, nodePublishVolume, nodeUnpublishVolume, validateVolumeCapacity
void init(String driverName, org.apache.hadoop.conf.Configuration conf) throws YarnException
driverName
- the name of the csi-driver.conf
- configuration.YarnException
String getDriverName()
Copyright © 2008–2021 Apache Software Foundation. All rights reserved.