@spinnaker/amazon 2026.2.2 → 2026.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/aws.module.d.ts +2 -1
- package/dist/aws.services.d.ts +8 -0
- package/dist/certificates/AmazonCertificateReader.d.ts +1 -1
- package/dist/domain/IAmazonServerGroup.d.ts +10 -0
- package/dist/function/CreateLambdaFunction.d.ts +10 -5
- package/dist/function/configure/Network.d.ts +3 -0
- package/dist/function/details/FunctionActions.d.ts +3 -0
- package/dist/function/function.transformer.d.ts +1 -0
- package/dist/image/image.reader.d.ts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/instance/amazon.instance.write.service.d.ts +5 -5
- package/dist/instance/awsInstanceType.service.d.ts +13 -2
- package/dist/instance/details/AmazonInstanceDetails.d.ts +67 -0
- package/dist/instance/index.d.ts +1 -0
- package/dist/keyPairs/KeyPairsReader.d.ts +1 -1
- package/dist/loadBalancer/AmazonLoadBalancersTag.d.ts +7 -4
- package/dist/loadBalancer/OidcConfigReader.d.ts +1 -1
- package/dist/loadBalancer/TargetGroupDetails.d.ts +37 -3
- package/dist/loadBalancer/amazonLoadBalancerDataUtils.d.ts +1 -1
- package/dist/loadBalancer/configure/AmazonLoadBalancerChoiceModal.d.ts +6 -2
- package/dist/loadBalancer/configure/LoadBalancerTypes.d.ts +4 -4
- package/dist/loadBalancer/configure/application/CreateApplicationLoadBalancer.d.ts +10 -5
- package/dist/loadBalancer/configure/classic/CreateClassicLoadBalancer.d.ts +12 -7
- package/dist/loadBalancer/configure/common/SecurityGroups.d.ts +4 -0
- package/dist/loadBalancer/configure/network/CreateNetworkLoadBalancer.d.ts +10 -5
- package/dist/loadBalancer/details/LoadBalancerActions.d.ts +9 -2
- package/dist/loadBalancer/details/amazonLoadBalancerDetails.d.ts +22 -0
- package/dist/loadBalancer/index.d.ts +1 -0
- package/dist/loadBalancer/loadBalancer.transformer.d.ts +1 -1
- package/dist/pipeline/stages/AmazonStageConfig.d.ts +11 -0
- package/dist/pipeline/stages/bake/AwsBakeStageConfig.d.ts +66 -0
- package/dist/pipeline/stages/cloneServerGroup/AwsCloneServerGroupStageConfig.d.ts +20 -0
- package/dist/pipeline/stages/deleteLambda/index.d.ts +1 -1
- package/dist/pipeline/stages/deployCloudFormation/CloudFormationChangeSetInfo.d.ts +5 -4
- package/dist/pipeline/stages/deployCloudFormation/DeployCloudFormationStackStageConfig.d.ts +3 -0
- package/dist/pipeline/stages/deployCloudFormation/deployCloudFormationStackStage.d.ts +1 -1
- package/dist/pipeline/stages/deployCloudFormation/evaluateCloudFormationChangeSetExecution.service.d.ts +1 -3
- package/dist/pipeline/stages/deployLambda/index.d.ts +1 -1
- package/dist/pipeline/stages/destroyAsg/awsDestroyAsgStage.d.ts +26 -2
- package/dist/pipeline/stages/disableAsg/AwsDisableAsgStageConfig.d.ts +27 -0
- package/dist/pipeline/stages/disableCluster/AwsDisableClusterStageConfig.d.ts +19 -0
- package/dist/pipeline/stages/enableAsg/AwsEnableAsgStageConfig.d.ts +20 -0
- package/dist/pipeline/stages/findAmi/awsFindAmiStage.d.ts +17 -2
- package/dist/pipeline/stages/findImageFromTags/AwsFindImageFromTagsStageConfig.d.ts +3 -0
- package/dist/pipeline/stages/findImageFromTags/awsFindImageFromTagsStage.d.ts +12 -2
- package/dist/pipeline/stages/invokeLambda/index.d.ts +1 -1
- package/dist/pipeline/stages/modifyScalingProcess/ModifyScalingProcessStageConfig.d.ts +3 -0
- package/dist/pipeline/stages/modifyScalingProcess/modifyScalingProcessStage.d.ts +20 -2
- package/dist/pipeline/stages/modifyWarmPool/ModifyWarmPoolStageConfig.d.ts +3 -0
- package/dist/pipeline/stages/modifyWarmPool/modifyWarmPoolStage.d.ts +20 -0
- package/dist/pipeline/stages/resizeAsg/AwsResizeAsgStageConfig.d.ts +17 -0
- package/dist/pipeline/stages/resizeAsg/awsResizeAsgStage.d.ts +40 -2
- package/dist/pipeline/stages/rollbackCluster/AwsRollbackClusterStageConfig.d.ts +19 -0
- package/dist/pipeline/stages/routeLambda/index.d.ts +1 -1
- package/dist/pipeline/stages/scaleDownCluster/AwsScaleDownClusterStageConfig.d.ts +22 -0
- package/dist/pipeline/stages/shrinkCluster/AwsShrinkClusterStageConfig.d.ts +21 -0
- package/dist/pipeline/stages/tagImage/awsTagImageStage.d.ts +5 -2
- package/dist/pipeline/stages/updateCodeLambda/index.d.ts +1 -1
- package/dist/search/searchResultFormatter.d.ts +4 -2
- package/dist/securityGroup/configure/AmazonSecurityGroupModal.d.ts +43 -0
- package/dist/securityGroup/details/AmazonSecurityGroupDetails.d.ts +62 -0
- package/dist/securityGroup/details/index.d.ts +1 -0
- package/dist/securityGroup/index.d.ts +1 -0
- package/dist/securityGroup/securityGroup.reader.d.ts +0 -1
- package/dist/securityGroup/securityGroup.transformer.d.ts +11 -2
- package/dist/serverGroup/configure/serverGroupCommandBuilder.service.d.ts +23 -7
- package/dist/serverGroup/configure/serverGroupConfiguration.service.d.ts +17 -13
- package/dist/serverGroup/configure/wizard/AmazonCloneServerGroupModal.d.ts +16 -6
- package/dist/serverGroup/configure/wizard/pages/ServerGroupBasicSettings.d.ts +6 -3
- package/dist/serverGroup/configure/wizard/pages/ServerGroupLoadBalancers.d.ts +3 -0
- package/dist/serverGroup/configure/wizard/securityGroups/SecurityGroupSelector.d.ts +4 -0
- package/dist/serverGroup/details/AmazonServerGroupActions.d.ts +10 -2
- package/dist/serverGroup/details/advancedSettings/EditAsgAdvancedSettingsModal.d.ts +17 -0
- package/dist/serverGroup/details/advancedSettings/index.d.ts +1 -0
- package/dist/serverGroup/details/resize/AmazonResizeServerGroupModal.d.ts +5 -3
- package/dist/serverGroup/details/rollback/AmazonRollbackServerGroupModal.d.ts +67 -0
- package/dist/serverGroup/details/rollback/index.d.ts +2 -0
- package/dist/serverGroup/details/rollback/rollbackServerGroupSelection.d.ts +9 -0
- package/dist/serverGroup/details/scalingPolicy/ScalingPolicyWriter.d.ts +2 -2
- package/dist/serverGroup/details/scalingPolicy/upsert/alarm/DimensionsEditor.d.ts +0 -1
- package/dist/serverGroup/details/scalingProcesses/ModifyScalingProcessesModal.d.ts +24 -0
- package/dist/serverGroup/details/scalingProcesses/index.d.ts +2 -0
- package/dist/serverGroup/details/scheduledActions/EditScheduledActionsModal.d.ts +31 -0
- package/dist/serverGroup/details/scheduledActions/index.d.ts +1 -0
- package/dist/serverGroup/details/sections/AdvancedSettingsDetailsSection.d.ts +3 -0
- package/dist/serverGroup/details/sections/AmazonCapacityDetailsSection.d.ts +3 -0
- package/dist/serverGroup/details/sections/ScalingProcessesDetailsSection.d.ts +1 -1
- package/dist/serverGroup/details/sections/ScheduledActionsDetailsSection.d.ts +1 -1
- package/dist/serverGroup/details/sections/SecurityGroupsDetailsSection.d.ts +4 -1
- package/dist/serverGroup/details/sections/WarmPoolDetailsSection.d.ts +6 -0
- package/dist/serverGroup/details/sections/index.d.ts +1 -0
- package/dist/serverGroup/details/securityGroups/EditSecurityGroupsModal.d.ts +32 -0
- package/dist/serverGroup/details/securityGroups/index.d.ts +1 -0
- package/dist/serverGroup/details/warmPool/ModifyWarmPoolModal.d.ts +26 -0
- package/dist/serverGroup/details/warmPool/WarmPoolService.d.ts +6 -0
- package/dist/serverGroup/details/warmPool/index.d.ts +2 -0
- package/dist/serverGroup/serverGroup.transformer.d.ts +1 -2
- package/dist/vpc/VpcReader.d.ts +2 -2
- package/dist/vpc/index.d.ts +1 -0
- package/package.json +3 -12
- package/src/aws.module.spec.ts +296 -0
- package/src/aws.module.ts +107 -112
- package/src/aws.services.ts +21 -0
- package/src/certificates/AmazonCertificateReader.ts +1 -1
- package/src/domain/IAmazonServerGroup.ts +9 -0
- package/src/function/CreateLambdaFunction.tsx +29 -16
- package/src/function/configure/Network.tsx +8 -4
- package/src/function/details/AmazonFunctionDetails.tsx +4 -5
- package/src/function/details/FunctionActions.tsx +5 -1
- package/src/function/function.transformer.ts +4 -0
- package/src/image/image.reader.ts +3 -5
- package/src/index.ts +2 -2
- package/src/instance/amazon.instance.write.service.ts +15 -4
- package/src/instance/awsInstanceType.service.spec.js +172 -136
- package/src/instance/awsInstanceType.service.ts +142 -154
- package/src/instance/details/AmazonInstanceDetails.spec.tsx +79 -0
- package/src/instance/details/AmazonInstanceDetails.tsx +644 -0
- package/src/instance/details/InstanceInformation.tsx +11 -14
- package/src/instance/details/InstanceSecurityGroups.tsx +20 -23
- package/src/instance/details/InstanceTags.tsx +5 -3
- package/src/instance/index.ts +1 -0
- package/src/keyPairs/KeyPairsReader.ts +1 -1
- package/src/loadBalancer/AmazonLoadBalancersTag.spec.tsx +39 -0
- package/src/loadBalancer/AmazonLoadBalancersTag.tsx +21 -14
- package/src/loadBalancer/OidcConfigReader.ts +1 -1
- package/src/loadBalancer/TargetGroupDetails.spec.tsx +113 -0
- package/src/loadBalancer/TargetGroupDetails.tsx +287 -7
- package/src/loadBalancer/amazonLoadBalancerDataUtils.ts +21 -21
- package/src/loadBalancer/configure/AmazonLoadBalancerChoiceModal.tsx +17 -4
- package/src/loadBalancer/configure/LoadBalancerTypes.ts +7 -4
- package/src/loadBalancer/configure/application/ALBListeners.tsx +1 -2
- package/src/loadBalancer/configure/application/CreateApplicationLoadBalancer.tsx +28 -18
- package/src/loadBalancer/configure/classic/CreateClassicLoadBalancer.tsx +29 -19
- package/src/loadBalancer/configure/common/LoadBalancerLocation.tsx +1 -1
- package/src/loadBalancer/configure/common/SecurityGroups.spec.tsx +27 -0
- package/src/loadBalancer/configure/common/SecurityGroups.tsx +11 -5
- package/src/loadBalancer/configure/network/CreateNetworkLoadBalancer.tsx +28 -18
- package/src/loadBalancer/details/LoadBalancerActions.tsx +19 -5
- package/src/loadBalancer/details/amazonLoadBalancerDetails.spec.tsx +141 -0
- package/src/loadBalancer/details/amazonLoadBalancerDetails.tsx +599 -0
- package/src/loadBalancer/index.ts +1 -0
- package/src/loadBalancer/loadBalancer.transformer.ts +3 -4
- package/src/pipeline/stages/AmazonStageConfig.spec.tsx +103 -0
- package/src/pipeline/stages/AmazonStageConfig.tsx +259 -0
- package/src/pipeline/stages/bake/AwsBakeStageConfig.tsx +708 -0
- package/src/pipeline/stages/cloneServerGroup/AwsCloneServerGroupStageConfig.tsx +275 -0
- package/src/pipeline/stages/deleteLambda/index.ts +2 -6
- package/src/pipeline/stages/deployCloudFormation/CloudFormationChangeSetInfo.tsx +14 -33
- package/src/pipeline/stages/deployCloudFormation/DeployCloudFormationStackStageConfig.tsx +264 -0
- package/src/pipeline/stages/deployCloudFormation/deployCloudFormationStackStage.spec.tsx +403 -0
- package/src/pipeline/stages/deployCloudFormation/deployCloudFormationStackStage.ts +21 -29
- package/src/pipeline/stages/deployCloudFormation/evaluateCloudFormationChangeSetExecution.service.ts +1 -11
- package/src/pipeline/stages/deployCloudFormation/evaluateCloudFormationChangeSetExecutionApproval.tsx +4 -3
- package/src/pipeline/stages/deployLambda/components/NetworkForm.tsx +3 -6
- package/src/pipeline/stages/deployLambda/index.ts +2 -6
- package/src/pipeline/stages/destroyAsg/awsDestroyAsgStage.js +28 -65
- package/src/pipeline/stages/disableAsg/AwsDisableAsgStageConfig.tsx +103 -0
- package/src/pipeline/stages/disableCluster/AwsDisableClusterStageConfig.tsx +119 -0
- package/src/pipeline/stages/enableAsg/AwsEnableAsgStageConfig.tsx +98 -0
- package/src/pipeline/stages/findAmi/awsFindAmiStage.js +22 -79
- package/src/pipeline/stages/findImageFromTags/AwsFindImageFromTagsStageConfig.spec.tsx +122 -0
- package/src/pipeline/stages/findImageFromTags/AwsFindImageFromTagsStageConfig.tsx +71 -0
- package/src/pipeline/stages/findImageFromTags/awsFindImageFromTagsStage.js +17 -32
- package/src/pipeline/stages/invokeLambda/index.ts +2 -6
- package/src/pipeline/stages/modifyScalingProcess/ModifyScalingProcessStageConfig.tsx +146 -0
- package/src/pipeline/stages/modifyScalingProcess/modifyScalingProcessStage.js +27 -98
- package/src/pipeline/stages/modifyScalingProcess/modifyScalingProcessStage.spec.tsx +167 -0
- package/src/pipeline/stages/modifyWarmPool/ModifyWarmPoolStageConfig.tsx +157 -0
- package/src/pipeline/stages/modifyWarmPool/modifyWarmPoolStage.js +26 -0
- package/src/pipeline/stages/modifyWarmPool/modifyWarmPoolStage.spec.tsx +89 -0
- package/src/pipeline/stages/resizeAsg/AwsResizeAsgStageConfig.spec.tsx +617 -0
- package/src/pipeline/stages/resizeAsg/AwsResizeAsgStageConfig.tsx +340 -0
- package/src/pipeline/stages/resizeAsg/awsResizeAsgStage.js +34 -125
- package/src/pipeline/stages/rollbackCluster/AwsRollbackClusterStageConfig.tsx +129 -0
- package/src/pipeline/stages/routeLambda/index.ts +2 -6
- package/src/pipeline/stages/scaleDownCluster/AwsScaleDownClusterStageConfig.tsx +121 -0
- package/src/pipeline/stages/shrinkCluster/AwsShrinkClusterStageConfig.tsx +136 -0
- package/src/pipeline/stages/tagImage/awsTagImageStage.spec.tsx +167 -0
- package/src/pipeline/stages/tagImage/awsTagImageStage.tsx +94 -0
- package/src/pipeline/stages/updateCodeLambda/index.ts +2 -6
- package/src/routerConsumers.spec.tsx +207 -0
- package/src/search/searchResultFormatter.ts +9 -16
- package/src/securityGroup/configure/AmazonSecurityGroupModal.spec.tsx +170 -0
- package/src/securityGroup/configure/AmazonSecurityGroupModal.tsx +440 -0
- package/src/securityGroup/details/AmazonSecurityGroupDetails.spec.tsx +62 -0
- package/src/securityGroup/details/AmazonSecurityGroupDetails.tsx +444 -0
- package/src/securityGroup/details/IPRangeRules.tsx +1 -1
- package/src/securityGroup/details/index.ts +1 -0
- package/src/securityGroup/index.ts +1 -0
- package/src/securityGroup/securityGroup.reader.ts +0 -5
- package/src/securityGroup/securityGroup.transformer.ts +35 -0
- package/src/serverGroup/configure/AmazonImageSelectInput.spec.tsx +104 -80
- package/src/serverGroup/configure/AmazonImageSelectInput.tsx +37 -18
- package/src/serverGroup/configure/serverGroupCommandBuilder.aws.service.spec.js +28 -66
- package/src/serverGroup/configure/serverGroupCommandBuilder.service.ts +476 -465
- package/src/serverGroup/configure/serverGroupCommandBuilder.spec.js +76 -124
- package/src/serverGroup/configure/serverGroupConfiguration.service.ts +106 -103
- package/src/serverGroup/configure/wizard/AmazonCloneServerGroupModal.tsx +65 -25
- package/src/serverGroup/configure/wizard/instanceType/CpuCreditsToggle.tsx +3 -3
- package/src/serverGroup/configure/wizard/instanceType/advancedMode/AdvancedModeSelector.tsx +2 -2
- package/src/serverGroup/configure/wizard/instanceType/simpleMode/SimpleModeSelector.spec.tsx +105 -0
- package/src/serverGroup/configure/wizard/instanceType/simpleMode/SimpleModeSelector.tsx +20 -6
- package/src/serverGroup/configure/wizard/pages/ServerGroupBasicSettings.spec.tsx +39 -0
- package/src/serverGroup/configure/wizard/pages/ServerGroupBasicSettings.tsx +10 -9
- package/src/serverGroup/configure/wizard/pages/ServerGroupInstanceType.tsx +2 -2
- package/src/serverGroup/configure/wizard/pages/ServerGroupLoadBalancers.tsx +5 -2
- package/src/serverGroup/configure/wizard/pages/advancedSettings/ServerGroupAdvancedSettingsCommon.spec.tsx +53 -0
- package/src/serverGroup/configure/wizard/pages/advancedSettings/ServerGroupAdvancedSettingsCommon.tsx +35 -33
- package/src/serverGroup/configure/wizard/securityGroups/SecurityGroupSelector.spec.tsx +20 -0
- package/src/serverGroup/configure/wizard/securityGroups/SecurityGroupSelector.tsx +9 -4
- package/src/serverGroup/details/AmazonServerGroupActions.spec.tsx +186 -0
- package/src/serverGroup/details/AmazonServerGroupActions.tsx +37 -87
- package/src/serverGroup/details/advancedSettings/EditAsgAdvancedSettingsModal.spec.tsx +110 -0
- package/src/serverGroup/details/advancedSettings/EditAsgAdvancedSettingsModal.tsx +117 -0
- package/src/serverGroup/details/advancedSettings/index.ts +1 -0
- package/src/serverGroup/details/amazonServerGroupDetailsGetter.ts +4 -4
- package/src/serverGroup/details/resize/AmazonResizeServerGroupModal.tsx +16 -6
- package/src/serverGroup/details/rollback/AmazonRollbackServerGroupModal.spec.tsx +285 -0
- package/src/serverGroup/details/rollback/AmazonRollbackServerGroupModal.tsx +449 -0
- package/src/serverGroup/details/rollback/index.ts +2 -0
- package/src/serverGroup/details/rollback/rollbackServerGroupSelection.spec.ts +101 -0
- package/src/serverGroup/details/rollback/rollbackServerGroupSelection.ts +81 -0
- package/src/serverGroup/details/scalingPolicy/CreateScalingPolicyButton.tsx +4 -4
- package/src/serverGroup/details/scalingPolicy/ScalingPolicyWriter.ts +2 -5
- package/src/serverGroup/details/scalingPolicy/upsert/alarm/DimensionsEditor.tsx +0 -2
- package/src/serverGroup/details/scalingProcesses/ModifyScalingProcessesModal.spec.tsx +74 -0
- package/src/serverGroup/details/scalingProcesses/ModifyScalingProcessesModal.tsx +140 -0
- package/src/serverGroup/details/scalingProcesses/index.ts +2 -0
- package/src/serverGroup/details/scheduledActions/EditScheduledActionsModal.spec.tsx +115 -0
- package/src/serverGroup/details/scheduledActions/EditScheduledActionsModal.tsx +205 -0
- package/src/serverGroup/details/scheduledActions/index.ts +1 -0
- package/src/serverGroup/details/sections/AdvancedSettingsDetailsSection.tsx +7 -14
- package/src/serverGroup/details/sections/AmazonCapacityDetailsSection.tsx +14 -2
- package/src/serverGroup/details/sections/AmazonServerGroupMaintenanceActions.spec.tsx +148 -0
- package/src/serverGroup/details/sections/InstancesDistributionDetailsSection.spec.tsx +1 -5
- package/src/serverGroup/details/sections/LaunchTemplateDetailsSection.spec.tsx +1 -5
- package/src/serverGroup/details/sections/ScalingProcessesDetailsSection.tsx +8 -20
- package/src/serverGroup/details/sections/ScheduledActionsDetailsSection.tsx +7 -12
- package/src/serverGroup/details/sections/SecurityGroupsDetailsSection.tsx +14 -19
- package/src/serverGroup/details/sections/WarmPoolDetailsSection.tsx +44 -0
- package/src/serverGroup/details/sections/index.ts +1 -0
- package/src/serverGroup/details/securityGroups/EditSecurityGroupsModal.spec.tsx +161 -0
- package/src/serverGroup/details/securityGroups/EditSecurityGroupsModal.tsx +177 -0
- package/src/serverGroup/details/securityGroups/index.ts +1 -0
- package/src/serverGroup/details/warmPool/ModifyWarmPoolModal.spec.tsx +69 -0
- package/src/serverGroup/details/warmPool/ModifyWarmPoolModal.tsx +191 -0
- package/src/serverGroup/details/warmPool/WarmPoolService.spec.ts +30 -0
- package/src/serverGroup/details/warmPool/WarmPoolService.ts +15 -0
- package/src/serverGroup/details/warmPool/index.ts +2 -0
- package/src/serverGroup/serverGroup.transformer.ts +1 -6
- package/src/vpc/VpcReader.ts +2 -2
- package/src/vpc/index.ts +1 -0
- package/dist/common/common.module.d.ts +0 -1
- package/dist/common/footer.component.d.ts +0 -1
- package/dist/function/function.module.d.ts +0 -1
- package/dist/instance/details/amazonInstanceInformation.component.d.ts +0 -1
- package/dist/instance/details/instance.details.controller.d.ts +0 -2
- package/dist/instance/details/instanceDns.component.d.ts +0 -1
- package/dist/instance/details/instanceSecurityGroups.component.d.ts +0 -1
- package/dist/instance/details/instanceStatus.component.d.ts +0 -1
- package/dist/instance/details/instanceTags.component.d.ts +0 -1
- package/dist/loadBalancer/details/loadBalancerActions.component.d.ts +0 -1
- package/dist/loadBalancer/details/loadBalancerDetails.controller.d.ts +0 -41
- package/dist/loadBalancer/details/targetGroupDetails.controller.d.ts +0 -30
- package/dist/loadBalancer/loadBalancer.module.d.ts +0 -1
- package/dist/loadBalancer/targetGroup.states.d.ts +0 -1
- package/dist/pipeline/stages/bake/awsBakeStage.d.ts +0 -2
- package/dist/pipeline/stages/bake/bakeExecutionDetails.controller.d.ts +0 -2
- package/dist/pipeline/stages/cloneServerGroup/awsCloneServerGroupStage.d.ts +0 -2
- package/dist/pipeline/stages/deployCloudFormation/cloudFormationTemplateEntry.component.d.ts +0 -1
- package/dist/pipeline/stages/deployCloudFormation/deployCloudFormationStackConfig.controller.d.ts +0 -25
- package/dist/pipeline/stages/disableAsg/awsDisableAsgStage.d.ts +0 -2
- package/dist/pipeline/stages/disableCluster/awsDisableClusterStage.d.ts +0 -2
- package/dist/pipeline/stages/enableAsg/awsEnableAsgStage.d.ts +0 -2
- package/dist/pipeline/stages/rollbackCluster/awsRollbackClusterStage.d.ts +0 -2
- package/dist/pipeline/stages/scaleDownCluster/awsScaleDownClusterStage.d.ts +0 -2
- package/dist/pipeline/stages/shrinkCluster/awsShrinkClusterStage.d.ts +0 -2
- package/dist/reactShims/aws.react.injector.d.ts +0 -18
- package/dist/reactShims/aws.react.module.d.ts +0 -1
- package/dist/reactShims/index.d.ts +0 -1
- package/dist/securityGroup/clone/cloneSecurityGroup.controller.d.ts +0 -2
- package/dist/securityGroup/configure/CreateSecurityGroupCtrl.d.ts +0 -2
- package/dist/securityGroup/configure/EditSecurityGroupCtrl.d.ts +0 -2
- package/dist/securityGroup/configure/configSecurityGroup.mixin.controller.d.ts +0 -2
- package/dist/securityGroup/configure/ingressRuleGroupSelector.component.d.ts +0 -1
- package/dist/securityGroup/configure/securityGroupDetailsCustom.component.d.ts +0 -1
- package/dist/securityGroup/configure/securityGroupDetailsCustom.d.ts +0 -10
- package/dist/securityGroup/details/securityGroupDetail.controller.d.ts +0 -2
- package/dist/securityGroup/details/securityGroupIpRangeRules.component.d.ts +0 -1
- package/dist/securityGroup/securityGroup.module.d.ts +0 -1
- package/dist/serverGroup/details/advancedSettings/editAsgAdvancedSettings.modal.controller.d.ts +0 -2
- package/dist/serverGroup/details/rollback/rollbackServerGroup.controller.d.ts +0 -2
- package/dist/serverGroup/details/scalingPolicy/createScalingPolicyButton.component.d.ts +0 -1
- package/dist/serverGroup/details/scalingPolicy/scalingPolicy.module.d.ts +0 -1
- package/dist/serverGroup/details/scalingPolicy/scalingPolicySummary.component.d.ts +0 -1
- package/dist/serverGroup/details/scalingProcesses/modifyScalingProcesses.controller.d.ts +0 -2
- package/dist/serverGroup/details/scheduledAction/editScheduledActions.modal.controller.d.ts +0 -2
- package/dist/serverGroup/details/securityGroup/editSecurityGroups.modal.controller.d.ts +0 -2
- package/dist/serverGroup/details/serverGroupDetails.module.d.ts +0 -1
- package/dist/subnet/subnet.renderer.d.ts +0 -5
- package/dist/vpc/vpc.module.d.ts +0 -1
- package/src/applicationProviderFields/awsFields.html +0 -13
- package/src/common/common.module.ts +0 -6
- package/src/common/footer.component.ts +0 -29
- package/src/function/function.module.ts +0 -5
- package/src/image/image.reader.spec.ts +0 -75
- package/src/instance/details/amazonInstanceInformation.component.ts +0 -13
- package/src/instance/details/instance.details.controller.js +0 -586
- package/src/instance/details/instance.details.controller.spec.js +0 -133
- package/src/instance/details/instanceDetails.html +0 -65
- package/src/instance/details/instanceDns.component.ts +0 -21
- package/src/instance/details/instanceSecurityGroups.component.ts +0 -13
- package/src/instance/details/instanceStatus.component.ts +0 -19
- package/src/instance/details/instanceTags.component.ts +0 -13
- package/src/loadBalancer/details/loadBalancerActions.component.ts +0 -16
- package/src/loadBalancer/details/loadBalancerDetails.controller.spec.ts +0 -76
- package/src/loadBalancer/details/loadBalancerDetails.controller.ts +0 -240
- package/src/loadBalancer/details/loadBalancerDetails.html +0 -266
- package/src/loadBalancer/details/targetGroupDetails.controller.ts +0 -95
- package/src/loadBalancer/details/targetGroupDetails.html +0 -138
- package/src/loadBalancer/loadBalancer.module.ts +0 -15
- package/src/loadBalancer/targetGroup.states.ts +0 -55
- package/src/pipeline/stages/bake/awsBakeStage.js +0 -219
- package/src/pipeline/stages/bake/bakeExecutionDetails.controller.js +0 -43
- package/src/pipeline/stages/bake/bakeExecutionDetails.html +0 -65
- package/src/pipeline/stages/bake/bakeStage.html +0 -205
- package/src/pipeline/stages/cloneServerGroup/awsCloneServerGroupStage.js +0 -143
- package/src/pipeline/stages/cloneServerGroup/cloneServerGroupStage.html +0 -143
- package/src/pipeline/stages/cloneServerGroup/cloneServerGroupStepLabel.html +0 -1
- package/src/pipeline/stages/deployCloudFormation/cloudFormationTemplateEntry.component.ts +0 -46
- package/src/pipeline/stages/deployCloudFormation/deployCloudFormationStackConfig.controller.ts +0 -84
- package/src/pipeline/stages/deployCloudFormation/deployCloudFormationStackConfig.html +0 -84
- package/src/pipeline/stages/destroyAsg/destroyAsgStage.html +0 -9
- package/src/pipeline/stages/destroyAsg/destroyAsgStepLabel.html +0 -1
- package/src/pipeline/stages/disableAsg/awsDisableAsgStage.js +0 -69
- package/src/pipeline/stages/disableAsg/disableAsgStage.html +0 -11
- package/src/pipeline/stages/disableAsg/disableAsgStepLabel.html +0 -1
- package/src/pipeline/stages/disableCluster/awsDisableClusterStage.js +0 -84
- package/src/pipeline/stages/disableCluster/disableClusterStage.html +0 -26
- package/src/pipeline/stages/enableAsg/awsEnableAsgStage.js +0 -73
- package/src/pipeline/stages/enableAsg/enableAsgStage.html +0 -11
- package/src/pipeline/stages/enableAsg/enableAsgStepLabel.html +0 -1
- package/src/pipeline/stages/findAmi/findAmiStage.html +0 -24
- package/src/pipeline/stages/findImageFromTags/findImageFromTagsExecutionDetails.html +0 -44
- package/src/pipeline/stages/findImageFromTags/findImageFromTagsStage.html +0 -11
- package/src/pipeline/stages/modifyScalingProcess/modifyScalingProcessExecutionDetails.html +0 -36
- package/src/pipeline/stages/modifyScalingProcess/modifyScalingProcessStage.html +0 -24
- package/src/pipeline/stages/resizeAsg/resizeAsgStage.html +0 -90
- package/src/pipeline/stages/resizeAsg/resizeAsgStepLabel.html +0 -4
- package/src/pipeline/stages/rollbackCluster/awsRollbackClusterStage.js +0 -66
- package/src/pipeline/stages/rollbackCluster/rollbackClusterStage.html +0 -43
- package/src/pipeline/stages/scaleDownCluster/awsScaleDownClusterStage.js +0 -78
- package/src/pipeline/stages/scaleDownCluster/scaleDownClusterStage.html +0 -35
- package/src/pipeline/stages/shrinkCluster/awsShrinkClusterStage.js +0 -73
- package/src/pipeline/stages/shrinkCluster/shrinkClusterStage.html +0 -34
- package/src/pipeline/stages/tagImage/awsTagImageStage.js +0 -34
- package/src/pipeline/stages/tagImage/tagImageExecutionDetails.html +0 -38
- package/src/pipeline/stages/tagImage/tagImageStage.html +0 -10
- package/src/reactShims/aws.react.injector.ts +0 -25
- package/src/reactShims/aws.react.module.ts +0 -12
- package/src/reactShims/index.ts +0 -1
- package/src/securityGroup/clone/cloneSecurityGroup.controller.js +0 -106
- package/src/securityGroup/clone/cloneSecurityGroup.html +0 -19
- package/src/securityGroup/configure/CreateSecurityGroup.controller.spec.js +0 -307
- package/src/securityGroup/configure/CreateSecurityGroupCtrl.js +0 -47
- package/src/securityGroup/configure/EditSecurityGroupCtrl.js +0 -115
- package/src/securityGroup/configure/configSecurityGroup.mixin.controller.js +0 -366
- package/src/securityGroup/configure/createSecurityGroup.html +0 -19
- package/src/securityGroup/configure/createSecurityGroupIngress.html +0 -100
- package/src/securityGroup/configure/createSecurityGroupProperties.html +0 -123
- package/src/securityGroup/configure/editSecurityGroup.html +0 -20
- package/src/securityGroup/configure/ingressRuleGroupSelector.component.html +0 -77
- package/src/securityGroup/configure/ingressRuleGroupSelector.component.less +0 -6
- package/src/securityGroup/configure/ingressRuleGroupSelector.component.ts +0 -190
- package/src/securityGroup/configure/securityGroupDetailsCustom.component.ts +0 -16
- package/src/securityGroup/configure/securityGroupDetailsCustom.tsx +0 -16
- package/src/securityGroup/details/securityGroupDetail.controller.js +0 -249
- package/src/securityGroup/details/securityGroupDetail.html +0 -114
- package/src/securityGroup/details/securityGroupIpRangeRules.component.ts +0 -12
- package/src/securityGroup/securityGroup.module.ts +0 -26
- package/src/securityGroup/securityGroup.transformer.js +0 -48
- package/src/serverGroup/configure/serverGroupConfiguration.service.spec.ts +0 -478
- package/src/serverGroup/details/advancedSettings/editAsgAdvancedSettings.modal.controller.js +0 -47
- package/src/serverGroup/details/advancedSettings/editAsgAdvancedSettings.modal.html +0 -79
- package/src/serverGroup/details/rollback/rollbackServerGroup.controller.js +0 -146
- package/src/serverGroup/details/rollback/rollbackServerGroup.html +0 -139
- package/src/serverGroup/details/scalingPolicy/createScalingPolicyButton.component.ts +0 -15
- package/src/serverGroup/details/scalingPolicy/scalingPolicy.module.ts +0 -6
- package/src/serverGroup/details/scalingPolicy/scalingPolicySummary.component.ts +0 -14
- package/src/serverGroup/details/scalingPolicy/upsert/alarm/dimensionsEditor.less +0 -18
- package/src/serverGroup/details/scalingProcesses/modifyScalingProcesses.controller.js +0 -95
- package/src/serverGroup/details/scalingProcesses/modifyScalingProcesses.controller.spec.js +0 -106
- package/src/serverGroup/details/scalingProcesses/modifyScalingProcesses.html +0 -30
- package/src/serverGroup/details/scheduledAction/editScheduledActions.modal.controller.js +0 -70
- package/src/serverGroup/details/scheduledAction/editScheduledActions.modal.html +0 -89
- package/src/serverGroup/details/securityGroup/editSecurityGroups.modal.controller.js +0 -95
- package/src/serverGroup/details/securityGroup/editSecurityGroups.modal.html +0 -40
- package/src/serverGroup/details/serverGroupDetails.module.ts +0 -18
- package/src/serverGroup/serverGroup.transformer.spec.ts +0 -185
- package/src/subnet/SubnetSelectInput.spec.tsx +0 -91
- package/src/subnet/subnet.renderer.ts +0 -12
- package/src/vpc/vpc.module.ts +0 -9
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import type { IStageConfigProps } from '@spinnaker/core';
|
|
3
|
+
export declare function AwsDisableAsgStageConfig(props: IStageConfigProps): JSX.Element;
|
|
4
|
+
export declare const awsDisableAsgStage: {
|
|
5
|
+
key: string;
|
|
6
|
+
provides: string;
|
|
7
|
+
alias: string;
|
|
8
|
+
cloudProvider: string;
|
|
9
|
+
component: typeof AwsDisableAsgStageConfig;
|
|
10
|
+
validators: ({
|
|
11
|
+
type: string;
|
|
12
|
+
message: string;
|
|
13
|
+
fieldName?: undefined;
|
|
14
|
+
fieldLabel?: undefined;
|
|
15
|
+
} | {
|
|
16
|
+
type: string;
|
|
17
|
+
fieldName: string;
|
|
18
|
+
message?: undefined;
|
|
19
|
+
fieldLabel?: undefined;
|
|
20
|
+
} | {
|
|
21
|
+
type: string;
|
|
22
|
+
fieldName: string;
|
|
23
|
+
fieldLabel: string;
|
|
24
|
+
message?: undefined;
|
|
25
|
+
})[];
|
|
26
|
+
};
|
|
27
|
+
export declare function registerAwsDisableAsgStage(): void;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import type { IStageConfigProps } from '@spinnaker/core';
|
|
3
|
+
export declare function AwsDisableClusterStageConfig(props: IStageConfigProps): JSX.Element;
|
|
4
|
+
export declare const awsDisableClusterStage: {
|
|
5
|
+
key: string;
|
|
6
|
+
provides: string;
|
|
7
|
+
cloudProvider: string;
|
|
8
|
+
component: typeof AwsDisableClusterStageConfig;
|
|
9
|
+
validators: ({
|
|
10
|
+
type: string;
|
|
11
|
+
fieldName: string;
|
|
12
|
+
fieldLabel?: undefined;
|
|
13
|
+
} | {
|
|
14
|
+
type: string;
|
|
15
|
+
fieldName: string;
|
|
16
|
+
fieldLabel: string;
|
|
17
|
+
})[];
|
|
18
|
+
};
|
|
19
|
+
export declare function registerAwsDisableClusterStage(): void;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import type { IStageConfigProps } from '@spinnaker/core';
|
|
3
|
+
export declare function AwsEnableAsgStageConfig(props: IStageConfigProps): JSX.Element;
|
|
4
|
+
export declare const awsEnableAsgStage: {
|
|
5
|
+
key: string;
|
|
6
|
+
provides: string;
|
|
7
|
+
alias: string;
|
|
8
|
+
cloudProvider: string;
|
|
9
|
+
component: typeof AwsEnableAsgStageConfig;
|
|
10
|
+
validators: ({
|
|
11
|
+
type: string;
|
|
12
|
+
fieldName: string;
|
|
13
|
+
fieldLabel?: undefined;
|
|
14
|
+
} | {
|
|
15
|
+
type: string;
|
|
16
|
+
fieldName: string;
|
|
17
|
+
fieldLabel: string;
|
|
18
|
+
})[];
|
|
19
|
+
};
|
|
20
|
+
export declare function registerAwsEnableAsgStage(): void;
|
|
@@ -1,2 +1,17 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
1
|
+
export function registerAwsFindAmiStage(): void;
|
|
2
|
+
export namespace awsFindAmiStage {
|
|
3
|
+
export const provides: string;
|
|
4
|
+
export const alias: string;
|
|
5
|
+
export const cloudProvider: string;
|
|
6
|
+
export { AmazonStageConfig as component };
|
|
7
|
+
export const validators: ({
|
|
8
|
+
type: string;
|
|
9
|
+
fieldName: string;
|
|
10
|
+
fieldLabel?: undefined;
|
|
11
|
+
} | {
|
|
12
|
+
type: string;
|
|
13
|
+
fieldName: string;
|
|
14
|
+
fieldLabel: string;
|
|
15
|
+
})[];
|
|
16
|
+
}
|
|
17
|
+
import { AmazonStageConfig } from '../AmazonStageConfig';
|
|
@@ -1,2 +1,12 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
1
|
+
export function registerAwsFindImageFromTagsStage(): void;
|
|
2
|
+
export namespace awsFindImageFromTagsStage {
|
|
3
|
+
export const key: string;
|
|
4
|
+
export const provides: string;
|
|
5
|
+
export const cloudProvider: string;
|
|
6
|
+
export { AwsFindImageFromTagsStageConfig as component };
|
|
7
|
+
export const validators: {
|
|
8
|
+
type: string;
|
|
9
|
+
fieldName: string;
|
|
10
|
+
}[];
|
|
11
|
+
}
|
|
12
|
+
import { AwsFindImageFromTagsStageConfig } from './AwsFindImageFromTagsStageConfig';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export * from './LambdaInvokeStage';
|
|
2
|
-
export declare
|
|
2
|
+
export declare function registerLambdaInvokeStage(): void;
|
|
@@ -1,2 +1,20 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
1
|
+
export function registerAwsModifyScalingProcessStage(): void;
|
|
2
|
+
export namespace awsModifyScalingProcessStage {
|
|
3
|
+
export const label: string;
|
|
4
|
+
export const description: string;
|
|
5
|
+
export const key: string;
|
|
6
|
+
export const alias: string;
|
|
7
|
+
export { ModifyScalingProcessStageConfig as component };
|
|
8
|
+
export const validators: ({
|
|
9
|
+
type: string;
|
|
10
|
+
fieldName: string;
|
|
11
|
+
fieldLabel?: undefined;
|
|
12
|
+
} | {
|
|
13
|
+
type: string;
|
|
14
|
+
fieldName: string;
|
|
15
|
+
fieldLabel: string;
|
|
16
|
+
})[];
|
|
17
|
+
export const cloudProvider: string;
|
|
18
|
+
export const strategy: boolean;
|
|
19
|
+
}
|
|
20
|
+
import { ModifyScalingProcessStageConfig } from './ModifyScalingProcessStageConfig';
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export function registerAwsModifyWarmPoolStage(): void;
|
|
2
|
+
export namespace awsModifyWarmPoolStage {
|
|
3
|
+
export const label: string;
|
|
4
|
+
export const description: string;
|
|
5
|
+
export const key: string;
|
|
6
|
+
export { ModifyWarmPoolStageConfig as component };
|
|
7
|
+
export const executionConfigSections: string[];
|
|
8
|
+
export const validators: ({
|
|
9
|
+
type: string;
|
|
10
|
+
fieldName: string;
|
|
11
|
+
fieldLabel?: undefined;
|
|
12
|
+
} | {
|
|
13
|
+
type: string;
|
|
14
|
+
fieldName: string;
|
|
15
|
+
fieldLabel: string;
|
|
16
|
+
})[];
|
|
17
|
+
export const cloudProvider: string;
|
|
18
|
+
export const strategy: boolean;
|
|
19
|
+
}
|
|
20
|
+
import { ModifyWarmPoolStageConfig } from './ModifyWarmPoolStageConfig';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import type { IStageConfigProps } from '@spinnaker/core';
|
|
3
|
+
interface IResizeAsgStage {
|
|
4
|
+
action?: string;
|
|
5
|
+
capacity?: {
|
|
6
|
+
desired?: number | string | null;
|
|
7
|
+
max?: number | string | null;
|
|
8
|
+
min?: number | string | null;
|
|
9
|
+
};
|
|
10
|
+
resizeType?: string;
|
|
11
|
+
scaleNum?: number | string | null;
|
|
12
|
+
scalePct?: number | string | null;
|
|
13
|
+
targetHealthyDeployPercentage?: number | string | null;
|
|
14
|
+
}
|
|
15
|
+
export declare function validateAwsResizeAsgStage(stage: IResizeAsgStage): string;
|
|
16
|
+
export declare function AwsResizeAsgStageConfig(props: IStageConfigProps): JSX.Element;
|
|
17
|
+
export {};
|
|
@@ -1,2 +1,40 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
1
|
+
export function registerAwsResizeAsgStage(): void;
|
|
2
|
+
export namespace awsResizeAsgStage {
|
|
3
|
+
export const key: string;
|
|
4
|
+
export const provides: string;
|
|
5
|
+
export const alias: string;
|
|
6
|
+
export const cloudProvider: string;
|
|
7
|
+
export { AwsResizeAsgStageConfig as component };
|
|
8
|
+
export function accountExtractor(stage: any): any[];
|
|
9
|
+
export function configAccountExtractor(stage: any): any[];
|
|
10
|
+
export const validators: ({
|
|
11
|
+
type: string;
|
|
12
|
+
message: string;
|
|
13
|
+
fieldName?: undefined;
|
|
14
|
+
fieldLabel?: undefined;
|
|
15
|
+
preventSave?: undefined;
|
|
16
|
+
validate?: undefined;
|
|
17
|
+
} | {
|
|
18
|
+
type: string;
|
|
19
|
+
fieldName: string;
|
|
20
|
+
message?: undefined;
|
|
21
|
+
fieldLabel?: undefined;
|
|
22
|
+
preventSave?: undefined;
|
|
23
|
+
validate?: undefined;
|
|
24
|
+
} | {
|
|
25
|
+
type: string;
|
|
26
|
+
fieldName: string;
|
|
27
|
+
fieldLabel: string;
|
|
28
|
+
message?: undefined;
|
|
29
|
+
preventSave?: undefined;
|
|
30
|
+
validate?: undefined;
|
|
31
|
+
} | {
|
|
32
|
+
type: string;
|
|
33
|
+
preventSave: boolean;
|
|
34
|
+
validate: (_pipeline: any, stage: any) => string;
|
|
35
|
+
message?: undefined;
|
|
36
|
+
fieldName?: undefined;
|
|
37
|
+
fieldLabel?: undefined;
|
|
38
|
+
})[];
|
|
39
|
+
}
|
|
40
|
+
import { AwsResizeAsgStageConfig } from './AwsResizeAsgStageConfig';
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import type { IStageConfigProps } from '@spinnaker/core';
|
|
3
|
+
export declare function AwsRollbackClusterStageConfig(props: IStageConfigProps): JSX.Element;
|
|
4
|
+
export declare const awsRollbackClusterStage: {
|
|
5
|
+
key: string;
|
|
6
|
+
provides: string;
|
|
7
|
+
cloudProvider: string;
|
|
8
|
+
component: typeof AwsRollbackClusterStageConfig;
|
|
9
|
+
validators: ({
|
|
10
|
+
type: string;
|
|
11
|
+
fieldName: string;
|
|
12
|
+
fieldLabel?: undefined;
|
|
13
|
+
} | {
|
|
14
|
+
type: string;
|
|
15
|
+
fieldName: string;
|
|
16
|
+
fieldLabel: string;
|
|
17
|
+
})[];
|
|
18
|
+
};
|
|
19
|
+
export declare function registerAwsRollbackClusterStage(): void;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export * from './LambdaRouteStage';
|
|
2
|
-
export declare
|
|
2
|
+
export declare function registerLambdaRouteStage(): void;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import type { IStageConfigProps } from '@spinnaker/core';
|
|
3
|
+
export declare function AwsScaleDownClusterStageConfig(props: IStageConfigProps): JSX.Element;
|
|
4
|
+
export declare const awsScaleDownClusterStage: {
|
|
5
|
+
key: string;
|
|
6
|
+
provides: string;
|
|
7
|
+
cloudProvider: string;
|
|
8
|
+
component: typeof AwsScaleDownClusterStageConfig;
|
|
9
|
+
accountExtractor: (stage: any) => any[];
|
|
10
|
+
configAccountExtractor: (stage: any) => any[];
|
|
11
|
+
validators: ({
|
|
12
|
+
type: string;
|
|
13
|
+
fieldName: string;
|
|
14
|
+
fieldLabel?: undefined;
|
|
15
|
+
} | {
|
|
16
|
+
type: string;
|
|
17
|
+
fieldName: string;
|
|
18
|
+
fieldLabel: string;
|
|
19
|
+
})[];
|
|
20
|
+
strategy: boolean;
|
|
21
|
+
};
|
|
22
|
+
export declare function registerAwsScaleDownClusterStage(): void;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import type { IStageConfigProps } from '@spinnaker/core';
|
|
3
|
+
export declare function AwsShrinkClusterStageConfig(props: IStageConfigProps): JSX.Element;
|
|
4
|
+
export declare const awsShrinkClusterStage: {
|
|
5
|
+
key: string;
|
|
6
|
+
provides: string;
|
|
7
|
+
cloudProvider: string;
|
|
8
|
+
component: typeof AwsShrinkClusterStageConfig;
|
|
9
|
+
accountExtractor: (stage: any) => any[];
|
|
10
|
+
configAccountExtractor: (stage: any) => any[];
|
|
11
|
+
validators: ({
|
|
12
|
+
type: string;
|
|
13
|
+
fieldName: string;
|
|
14
|
+
fieldLabel?: undefined;
|
|
15
|
+
} | {
|
|
16
|
+
type: string;
|
|
17
|
+
fieldName: string;
|
|
18
|
+
fieldLabel: string;
|
|
19
|
+
})[];
|
|
20
|
+
};
|
|
21
|
+
export declare function registerAwsShrinkClusterStage(): void;
|
|
@@ -1,2 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import type { IStageConfigProps, IStageTypeConfig } from '@spinnaker/core';
|
|
3
|
+
export declare function AwsTagImageStageConfig({ pipeline, stage, updateStageField }: IStageConfigProps): JSX.Element;
|
|
4
|
+
export declare const awsTagImageStage: IStageTypeConfig;
|
|
5
|
+
export declare function registerAwsTagImageStage(): void;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export * from './LambdaUpdateCodeStage';
|
|
2
|
-
export declare
|
|
2
|
+
export declare function registerLambdaUpdateStage(): void;
|
|
@@ -1,2 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const
|
|
1
|
+
import type { ISearchResultFormatter } from '@spinnaker/core';
|
|
2
|
+
export declare const awsSearchResultFormatter: {
|
|
3
|
+
securityGroups: ISearchResultFormatter;
|
|
4
|
+
};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { Application, IModalComponentProps, IRouterInjectedProps } from '@spinnaker/core';
|
|
3
|
+
import { TaskMonitor } from '@spinnaker/core';
|
|
4
|
+
export type AmazonSecurityGroupModalMode = 'create' | 'edit' | 'clone';
|
|
5
|
+
interface IAmazonSecurityGroupModalProps extends IModalComponentProps {
|
|
6
|
+
app?: Application;
|
|
7
|
+
application?: Application;
|
|
8
|
+
credentials?: string;
|
|
9
|
+
isNew?: boolean;
|
|
10
|
+
mode?: AmazonSecurityGroupModalMode;
|
|
11
|
+
region?: string;
|
|
12
|
+
securityGroup?: any;
|
|
13
|
+
}
|
|
14
|
+
interface IAmazonSecurityGroupModalState {
|
|
15
|
+
securityGroup: any;
|
|
16
|
+
taskMonitor: TaskMonitor;
|
|
17
|
+
}
|
|
18
|
+
export declare function initializeAmazonSecurityGroupForModal(props: IAmazonSecurityGroupModalProps, appName: string): any;
|
|
19
|
+
export declare function isAmazonSecurityGroupValid(securityGroup: any): boolean;
|
|
20
|
+
export declare class AmazonSecurityGroupModalComponent extends React.Component<IAmazonSecurityGroupModalProps & IRouterInjectedProps, IAmazonSecurityGroupModalState> {
|
|
21
|
+
static defaultProps: Partial<IAmazonSecurityGroupModalProps>;
|
|
22
|
+
static show(props: IAmazonSecurityGroupModalProps): Promise<any>;
|
|
23
|
+
constructor(props: IAmazonSecurityGroupModalProps & IRouterInjectedProps);
|
|
24
|
+
private getApplication;
|
|
25
|
+
private getMode;
|
|
26
|
+
private updateSecurityGroup;
|
|
27
|
+
private updateRule;
|
|
28
|
+
private addIpRule;
|
|
29
|
+
private addSecurityGroupRule;
|
|
30
|
+
private removeRule;
|
|
31
|
+
private onTaskComplete;
|
|
32
|
+
private submit;
|
|
33
|
+
private renderTextField;
|
|
34
|
+
private renderIpRules;
|
|
35
|
+
private renderSecurityGroupRules;
|
|
36
|
+
render(): JSX.Element;
|
|
37
|
+
}
|
|
38
|
+
export declare const AmazonSecurityGroupModal: React.ForwardRefExoticComponent<Omit<IAmazonSecurityGroupModalProps & IRouterInjectedProps, keyof IRouterInjectedProps> & {
|
|
39
|
+
children?: React.ReactNode;
|
|
40
|
+
} & React.RefAttributes<any>> & {
|
|
41
|
+
show: typeof AmazonSecurityGroupModalComponent.show;
|
|
42
|
+
};
|
|
43
|
+
export {};
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { Application, IRouterInjectedProps, ISecurityGroup, ISecurityGroupDetail, SecurityGroupReader } from '@spinnaker/core';
|
|
3
|
+
import { DeckRuntimeContext } from '@spinnaker/core';
|
|
4
|
+
interface IAmazonResolvedSecurityGroup {
|
|
5
|
+
accountId?: string;
|
|
6
|
+
name: string;
|
|
7
|
+
provider?: string;
|
|
8
|
+
region: string;
|
|
9
|
+
vpcId?: string;
|
|
10
|
+
}
|
|
11
|
+
interface IAmazonSecurityGroupDetailsProps {
|
|
12
|
+
app: Application;
|
|
13
|
+
autoClose?: () => void;
|
|
14
|
+
resolvedSecurityGroup: IAmazonResolvedSecurityGroup;
|
|
15
|
+
securityGroupReader?: SecurityGroupReader;
|
|
16
|
+
}
|
|
17
|
+
interface IAmazonSecurityGroupDetailsState {
|
|
18
|
+
loading: boolean;
|
|
19
|
+
notFound?: boolean;
|
|
20
|
+
securityGroup?: ISecurityGroupDetail & ISecurityGroup & Record<string, any>;
|
|
21
|
+
}
|
|
22
|
+
export interface ISecurityGroupRuleModel {
|
|
23
|
+
rules: ISecurityGroupPortRangeRule[];
|
|
24
|
+
securityGroup: ISecurityGroup;
|
|
25
|
+
}
|
|
26
|
+
interface ISecurityGroupPortRangeRule {
|
|
27
|
+
description: string;
|
|
28
|
+
endPort: number;
|
|
29
|
+
protocol: string;
|
|
30
|
+
startPort: number;
|
|
31
|
+
}
|
|
32
|
+
export declare function buildIpRulesModel(details: any): {
|
|
33
|
+
address: string;
|
|
34
|
+
rules: ISecurityGroupPortRangeRule[];
|
|
35
|
+
}[];
|
|
36
|
+
export declare function buildSecurityGroupRulesModel(details: any): ISecurityGroupRuleModel[];
|
|
37
|
+
export declare function AmazonSecurityGroupActions({ app, resolvedSecurityGroup, securityGroup, }: {
|
|
38
|
+
app: Application;
|
|
39
|
+
resolvedSecurityGroup?: IAmazonResolvedSecurityGroup;
|
|
40
|
+
securityGroup: any;
|
|
41
|
+
}): JSX.Element | null;
|
|
42
|
+
export declare class AmazonSecurityGroupDetailsComponent extends React.Component<IAmazonSecurityGroupDetailsProps & IRouterInjectedProps, IAmazonSecurityGroupDetailsState> {
|
|
43
|
+
static contextType: React.Context<import("@spinnaker/core").DeckRuntimeContextValue>;
|
|
44
|
+
context: React.ContextType<typeof DeckRuntimeContext>;
|
|
45
|
+
state: IAmazonSecurityGroupDetailsState;
|
|
46
|
+
private isUnmounted;
|
|
47
|
+
private loadRequestId;
|
|
48
|
+
private unsubscribeFromRefresh;
|
|
49
|
+
componentDidMount(): void;
|
|
50
|
+
componentDidUpdate(prevProps: IAmazonSecurityGroupDetailsProps): void;
|
|
51
|
+
componentWillUnmount(): void;
|
|
52
|
+
private getCoordinatesKey;
|
|
53
|
+
private getSecurityGroupReader;
|
|
54
|
+
private autoClose;
|
|
55
|
+
private loadSecurityGroup;
|
|
56
|
+
private closeDetails;
|
|
57
|
+
render(): JSX.Element;
|
|
58
|
+
}
|
|
59
|
+
export declare const AmazonSecurityGroupDetails: React.ForwardRefExoticComponent<Omit<IAmazonSecurityGroupDetailsProps & IRouterInjectedProps, keyof IRouterInjectedProps> & {
|
|
60
|
+
children?: React.ReactNode;
|
|
61
|
+
} & React.RefAttributes<any>>;
|
|
62
|
+
export {};
|
|
@@ -3,4 +3,3 @@ export declare class AwsSecurityGroupReader {
|
|
|
3
3
|
resolveIndexedSecurityGroup(indexedSecurityGroups: ISecurityGroupsByAccount, container: ISecurityGroup, securityGroupId: string): ISecurityGroup;
|
|
4
4
|
static resolveIndexedSecurityGroup(indexedSecurityGroups: ISecurityGroupsByAccount, container: ISecurityGroup, securityGroupId: string): ISecurityGroup;
|
|
5
5
|
}
|
|
6
|
-
export declare const AWS_SECURITY_GROUP_READER = "spinnaker.amazon.securityGroup.reader";
|
|
@@ -1,2 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
export
|
|
1
|
+
import type { ISecurityGroup } from '@spinnaker/core';
|
|
2
|
+
export declare class AwsSecurityGroupTransformer {
|
|
3
|
+
supportsCompression: boolean;
|
|
4
|
+
normalizeSecurityGroup(securityGroup: ISecurityGroup): Promise<ISecurityGroup>;
|
|
5
|
+
compress(securityGroups: ISecurityGroup[]): {
|
|
6
|
+
[vpcId: string]: string[][];
|
|
7
|
+
};
|
|
8
|
+
decompress(groupedGroups: {
|
|
9
|
+
[vpcId: string]: string[][];
|
|
10
|
+
}): Array<Partial<ISecurityGroup>>;
|
|
11
|
+
}
|
|
@@ -1,17 +1,33 @@
|
|
|
1
|
-
import type { Application } from '@spinnaker/core';
|
|
1
|
+
import type { Application, DeckRuntimeServices, InstanceTypeService } from '@spinnaker/core';
|
|
2
2
|
import type { IAmazonServerGroup, IAmazonServerGroupView } from '../../domain';
|
|
3
|
+
import type { AwsServerGroupConfigurationService } from './serverGroupConfiguration.service';
|
|
3
4
|
import type { IAmazonServerGroupCommand, IAmazonServerGroupDeployConfiguration } from './serverGroupConfiguration.service';
|
|
4
|
-
export declare const AMAZON_SERVERGROUP_CONFIGURE_SERVERGROUPCOMMANDBUILDER_SERVICE = "spinnaker.amazon.serverGroupCommandBuilder.service";
|
|
5
|
-
export declare const name = "spinnaker.amazon.serverGroupCommandBuilder.service";
|
|
6
5
|
export interface AwsServerGroupCommandBuilder {
|
|
7
6
|
buildNewServerGroupCommand(application: Application, defaults?: {
|
|
8
7
|
account?: string;
|
|
9
8
|
region?: string;
|
|
10
9
|
subnet?: string;
|
|
11
10
|
mode?: string;
|
|
12
|
-
}):
|
|
13
|
-
buildServerGroupCommandFromExisting(application: Application, serverGroup: IAmazonServerGroupView, mode?: string):
|
|
14
|
-
buildNewServerGroupCommandForPipeline():
|
|
15
|
-
buildServerGroupCommandFromPipeline(application: Application, originalCluster: IAmazonServerGroupDeployConfiguration):
|
|
11
|
+
}): Promise<Partial<IAmazonServerGroupCommand>>;
|
|
12
|
+
buildServerGroupCommandFromExisting(application: Application, serverGroup: IAmazonServerGroupView, mode?: string): Promise<Partial<IAmazonServerGroupCommand>>;
|
|
13
|
+
buildNewServerGroupCommandForPipeline(): Promise<Partial<IAmazonServerGroupCommand>>;
|
|
14
|
+
buildServerGroupCommandFromPipeline(application: Application, originalCluster: IAmazonServerGroupDeployConfiguration): Promise<Partial<IAmazonServerGroupCommand>>;
|
|
16
15
|
buildUpdateServerGroupCommand(serverGroup: IAmazonServerGroup): Partial<IAmazonServerGroupCommand>;
|
|
17
16
|
}
|
|
17
|
+
export declare function createAwsServerGroupCommandBuilder(instanceTypeService: InstanceTypeService, awsServerGroupConfigurationService: AwsServerGroupConfigurationService): AwsServerGroupCommandBuilder;
|
|
18
|
+
export declare class AwsServerGroupCommandBuilderDelegate implements AwsServerGroupCommandBuilder {
|
|
19
|
+
static readonly requiresDeckRuntimeServices = true;
|
|
20
|
+
private delegate;
|
|
21
|
+
constructor(_promiseService: unknown, runtimeServices: DeckRuntimeServices);
|
|
22
|
+
buildNewServerGroupCommand(application: Application, defaults?: {
|
|
23
|
+
account?: string;
|
|
24
|
+
region?: string;
|
|
25
|
+
subnet?: string;
|
|
26
|
+
mode?: string;
|
|
27
|
+
}): Promise<Partial<IAmazonServerGroupCommand>>;
|
|
28
|
+
buildServerGroupCommandFromExisting(application: Application, serverGroup: IAmazonServerGroupView, mode?: string): Promise<Partial<IAmazonServerGroupCommand>>;
|
|
29
|
+
buildNewServerGroupCommandForPipeline(): Promise<Partial<IAmazonServerGroupCommand>>;
|
|
30
|
+
buildServerGroupCommandFromPipeline(application: Application, originalCluster: IAmazonServerGroupDeployConfiguration): Promise<Partial<IAmazonServerGroupCommand>>;
|
|
31
|
+
buildUpdateServerGroupCommand(serverGroup: IAmazonServerGroup): Partial<IAmazonServerGroupCommand>;
|
|
32
|
+
}
|
|
33
|
+
export declare const AwsServerGroupCommandBuilder: typeof AwsServerGroupCommandBuilderDelegate;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import type { Application, CacheInitializerService, ISecurityGroup, IServerGroupCommand, IServerGroupCommandBackingData, IServerGroupCommandBackingDataFiltered, IServerGroupCommandDirty, IServerGroupCommandResult, IServerGroupCommandViewState,
|
|
1
|
+
import type { Application, CacheInitializerService, DeckRuntimeServices, ISecurityGroup, IServerGroupCommand, IServerGroupCommandBackingData, IServerGroupCommandBackingDataFiltered, IServerGroupCommandDirty, IServerGroupCommandResult, IServerGroupCommandViewState, SecurityGroupReader, ServerGroupCommandRegistry } from '@spinnaker/core';
|
|
2
2
|
import type { IAmazonLoadBalancerSourceData, IKeyPair, IScalingProcess } from '../../domain';
|
|
3
|
-
import
|
|
3
|
+
import { AwsInstanceTypeService } from '../../instance/awsInstanceType.service';
|
|
4
|
+
import type { IAmazonInstanceType, IAmazonInstanceTypesByRegion } from '../../instance/awsInstanceType.service';
|
|
4
5
|
export type IBlockDeviceMappingSource = 'source' | 'ami' | 'default';
|
|
5
6
|
export interface IAmazonServerGroupCommandDirty extends IServerGroupCommandDirty {
|
|
6
7
|
targetGroups?: string[];
|
|
@@ -20,7 +21,7 @@ export interface IAmazonServerGroupCommandBackingData extends IServerGroupComman
|
|
|
20
21
|
keyPairs: IKeyPair[];
|
|
21
22
|
targetGroups: string[];
|
|
22
23
|
scalingProcesses: IScalingProcess[];
|
|
23
|
-
instanceTypesInfo:
|
|
24
|
+
instanceTypesInfo: IAmazonInstanceTypesByRegion;
|
|
24
25
|
}
|
|
25
26
|
export interface IAmazonServerGroupCommandViewState extends IServerGroupCommandViewState {
|
|
26
27
|
isNew: boolean;
|
|
@@ -91,18 +92,18 @@ export interface IAmazonServerGroupCommand extends IServerGroupCommand {
|
|
|
91
92
|
launchTemplateOverridesChanged: (command: IServerGroupCommand) => void;
|
|
92
93
|
}
|
|
93
94
|
export declare class AwsServerGroupConfigurationService {
|
|
94
|
-
private securityGroupReader;
|
|
95
|
-
private awsInstanceTypeService;
|
|
96
|
-
private cacheInitializer;
|
|
97
|
-
private loadBalancerReader;
|
|
98
95
|
private serverGroupCommandRegistry;
|
|
99
96
|
private enabledMetrics;
|
|
100
97
|
private healthCheckTypes;
|
|
101
98
|
private terminationPolicies;
|
|
102
|
-
|
|
103
|
-
|
|
99
|
+
private securityGroupReader;
|
|
100
|
+
private awsInstanceTypeService;
|
|
101
|
+
private cacheInitializer;
|
|
102
|
+
constructor(securityGroupReader: SecurityGroupReader, awsInstanceTypeService: AwsInstanceTypeService, cacheInitializer: CacheInitializerService, serverGroupCommandRegistry?: Pick<ServerGroupCommandRegistry, 'getCommandOverrides'>);
|
|
103
|
+
private getSecurityGroupReader;
|
|
104
|
+
private getCacheInitializer;
|
|
104
105
|
configureUpdateCommand(command: IAmazonServerGroupCommand): void;
|
|
105
|
-
configureCommand(application: Application, cmd: IAmazonServerGroupCommand):
|
|
106
|
+
configureCommand(application: Application, cmd: IAmazonServerGroupCommand): Promise<void>;
|
|
106
107
|
applyOverrides(phase: string, command: IAmazonServerGroupCommand): void;
|
|
107
108
|
configureKeyPairs(command: IAmazonServerGroupCommand): IServerGroupCommandResult;
|
|
108
109
|
configureInstanceTypes(command: IAmazonServerGroupCommand): IServerGroupCommandResult;
|
|
@@ -111,16 +112,19 @@ export declare class AwsServerGroupConfigurationService {
|
|
|
111
112
|
configureSubnetPurposes(command: IAmazonServerGroupCommand): IServerGroupCommandResult;
|
|
112
113
|
getRegionalSecurityGroups(command: IAmazonServerGroupCommand): ISecurityGroup[];
|
|
113
114
|
configureSecurityGroupOptions(command: IAmazonServerGroupCommand): IServerGroupCommandResult;
|
|
114
|
-
refreshSecurityGroups(command: IAmazonServerGroupCommand, skipCommandReconfiguration?: boolean):
|
|
115
|
+
refreshSecurityGroups(command: IAmazonServerGroupCommand, skipCommandReconfiguration?: boolean): Promise<void>;
|
|
115
116
|
private getLoadBalancerMap;
|
|
116
117
|
getLoadBalancerNames(command: IAmazonServerGroupCommand): string[];
|
|
117
118
|
getVpcLoadBalancerNames(command: IAmazonServerGroupCommand): string[];
|
|
118
119
|
getTargetGroupNames(command: IAmazonServerGroupCommand): string[];
|
|
119
120
|
private getValidMatches;
|
|
120
121
|
configureLoadBalancerOptions(command: IAmazonServerGroupCommand): IServerGroupCommandResult;
|
|
121
|
-
refreshLoadBalancers(command: IAmazonServerGroupCommand, skipCommandReconfiguration?: boolean):
|
|
122
|
+
refreshLoadBalancers(command: IAmazonServerGroupCommand, skipCommandReconfiguration?: boolean): Promise<void>;
|
|
122
123
|
configureVpcId(command: IAmazonServerGroupCommand): IAmazonServerGroupCommandResult;
|
|
123
124
|
attachEventHandlers(cmd: IAmazonServerGroupCommand): void;
|
|
124
125
|
}
|
|
125
|
-
export declare
|
|
126
|
+
export declare class AwsServerGroupConfigurationServiceDelegate extends AwsServerGroupConfigurationService {
|
|
127
|
+
static readonly requiresDeckRuntimeServices = true;
|
|
128
|
+
constructor(_promiseService: unknown, runtimeServices: DeckRuntimeServices);
|
|
129
|
+
}
|
|
126
130
|
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { Application, IModalComponentProps } from '@spinnaker/core';
|
|
3
|
-
import { TaskMonitor } from '@spinnaker/core';
|
|
2
|
+
import type { Application, DeckRuntimeServices, IModalComponentProps, IRouterInjectedProps } from '@spinnaker/core';
|
|
3
|
+
import { DeckRuntimeContext, TaskMonitor } from '@spinnaker/core';
|
|
4
4
|
import type { IAmazonServerGroupCommand } from '../serverGroupConfiguration.service';
|
|
5
5
|
export interface IAmazonCloneServerGroupModalProps extends IModalComponentProps {
|
|
6
6
|
title: string;
|
|
@@ -13,12 +13,16 @@ export interface IAmazonCloneServerGroupModalState {
|
|
|
13
13
|
requiresTemplateSelection: boolean;
|
|
14
14
|
taskMonitor: TaskMonitor;
|
|
15
15
|
}
|
|
16
|
-
export declare class
|
|
16
|
+
export declare class AmazonCloneServerGroupModalComponent extends React.Component<IAmazonCloneServerGroupModalProps & IRouterInjectedProps, IAmazonCloneServerGroupModalState> {
|
|
17
|
+
static contextType: React.Context<import("@spinnaker/core").DeckRuntimeContextValue>;
|
|
18
|
+
context: React.ContextType<typeof DeckRuntimeContext>;
|
|
17
19
|
static defaultProps: Partial<IAmazonCloneServerGroupModalProps>;
|
|
18
20
|
private _isUnmounted;
|
|
19
|
-
private refreshUnsubscribe
|
|
20
|
-
static show(props: IAmazonCloneServerGroupModalProps): Promise<IAmazonServerGroupCommand>;
|
|
21
|
-
constructor(props: IAmazonCloneServerGroupModalProps);
|
|
21
|
+
private refreshUnsubscribe?;
|
|
22
|
+
static show(props: IAmazonCloneServerGroupModalProps, runtimeServices: DeckRuntimeServices): Promise<IAmazonServerGroupCommand>;
|
|
23
|
+
constructor(props: IAmazonCloneServerGroupModalProps & IRouterInjectedProps);
|
|
24
|
+
componentDidMount(): void;
|
|
25
|
+
private get configurationService();
|
|
22
26
|
private templateSelected;
|
|
23
27
|
private onTaskComplete;
|
|
24
28
|
protected onApplicationRefresh: () => void;
|
|
@@ -26,6 +30,12 @@ export declare class AmazonCloneServerGroupModal extends React.Component<IAmazon
|
|
|
26
30
|
private configureCommand;
|
|
27
31
|
private normalizeCommand;
|
|
28
32
|
componentWillUnmount(): void;
|
|
33
|
+
private clearRefreshSubscription;
|
|
29
34
|
private submit;
|
|
30
35
|
render(): JSX.Element;
|
|
31
36
|
}
|
|
37
|
+
export declare const AmazonCloneServerGroupModal: React.ForwardRefExoticComponent<Omit<IAmazonCloneServerGroupModalProps & IRouterInjectedProps, keyof IRouterInjectedProps> & {
|
|
38
|
+
children?: React.ReactNode;
|
|
39
|
+
} & React.RefAttributes<any>> & {
|
|
40
|
+
show: typeof AmazonCloneServerGroupModalComponent.show;
|
|
41
|
+
};
|