UNPKG

@spotinst/spinnaker-deck

Version:

Spinnaker-Deck service, forked with support to Spotinst

21 lines (15 loc) 578 B
'use strict'; import { module } from 'angular'; import { CloudProviderRegistry, DeploymentStrategyRegistry } from '@spinnaker/core'; // load all templates into the $templateCache const templates = require.context('./', true, /\.html$/); templates.keys().forEach(function (key) { templates(key); }); export const HUAWEICLOUD_MODULE = 'spinnaker.huaweicloud'; module(HUAWEICLOUD_MODULE, []).config(() => { CloudProviderRegistry.registerProvider('huaweicloud', { name: 'huaweicloud', }); }); DeploymentStrategyRegistry.registerProvider('huaweicloud', ['redblack']);