@spotinst/spinnaker-deck
Version:
Spinnaker-Deck service, forked with support to Spotinst
20 lines (16 loc) • 678 B
JavaScript
;
import { module } from 'angular';
import { FirewallLabels } from '@spinnaker/core';
export const ORACLE_SECURITYGROUP_CONFIGURE_CREATESECURITYGROUP_CONTROLLER =
'spinnaker.oracle.securityGroup.create.controller';
export const name = ORACLE_SECURITYGROUP_CONFIGURE_CREATESECURITYGROUP_CONTROLLER; // for backwards compatibility
module(ORACLE_SECURITYGROUP_CONFIGURE_CREATESECURITYGROUP_CONTROLLER, []).controller('oracleCreateSecurityGroupCtrl', [
'$scope',
'$uibModalInstance',
function ($scope, $uibModalInstance) {
this.cancel = () => {
$uibModalInstance.dismiss();
};
$scope.firewallLabel = FirewallLabels.get('Firewall');
},
]);