INNER CODE UNIT · JavaScript

ControllerLustreClientDriver

democratic-csi/democratic-csi · src/driver/controller-lustre-client/index.js:7

class ControllerLustreClientDriver extends ControllerClientCommonDriver {
  constructor(ctx, options) {
    super(...arguments);
  }

  getConfigKey() {
    return "lustre";
  }

  getVolumeContext(volume_id) {
    const driver = this;
    const config_key = driver.getConfigKey();
    return {
      node_attach_driver: "lustre",
      server: this.options[config_key].shareHost,
      share: driver.getShareVolumePath(volume_id),
    };
  }

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…