toDeploymentControllerType method
Implementation
DeploymentControllerType toDeploymentControllerType() {
switch (this) {
case 'ECS':
return DeploymentControllerType.ecs;
case 'CODE_DEPLOY':
return DeploymentControllerType.codeDeploy;
case 'EXTERNAL':
return DeploymentControllerType.external;
}
throw Exception('$this is not known in enum DeploymentControllerType');
}