@spotinst/spinnaker-deck
Version:
Spinnaker-Deck service, forked with support to Spotinst
26 lines (23 loc) • 815 B
JavaScript
;
import { module } from 'angular';
export const CORE_PIPELINE_CONFIG_PIPELINECONFIGVIEW = 'spinnaker.core.pipeline.config.configView';
export const name = CORE_PIPELINE_CONFIG_PIPELINECONFIGVIEW; // for backwards compatibility
module(CORE_PIPELINE_CONFIG_PIPELINECONFIGVIEW, []).directive('pipelineConfigView', function () {
return {
restrict: 'E',
require: '^pipelineConfigurer',
scope: {
pipeline: '=',
application: '=',
viewState: '=',
pipelineConfig: '=',
stageFieldUpdated: '<',
updatePipelineConfig: '<',
isV2TemplatedPipeline: '<',
},
templateUrl: require('./pipelineConfigView.html'),
link: function (scope, elem, attrs, pipelineConfigurerCtrl) {
scope.pipelineConfigurerCtrl = pipelineConfigurerCtrl;
},
};
});