toLustreDeploymentType method

LustreDeploymentType toLustreDeploymentType()

Implementation

LustreDeploymentType toLustreDeploymentType() {
  switch (this) {
    case 'SCRATCH_1':
      return LustreDeploymentType.scratch_1;
    case 'SCRATCH_2':
      return LustreDeploymentType.scratch_2;
    case 'PERSISTENT_1':
      return LustreDeploymentType.persistent_1;
  }
  throw Exception('$this is not known in enum LustreDeploymentType');
}