agent-claw: automated task changes
This commit is contained in:
1
cdk/node_modules/aws-cdk-lib/pipelines/lib/main/index.d.ts
generated
vendored
Normal file
1
cdk/node_modules/aws-cdk-lib/pipelines/lib/main/index.d.ts
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
export * from './pipeline-base';
|
||||
1
cdk/node_modules/aws-cdk-lib/pipelines/lib/main/index.js
generated
vendored
Normal file
1
cdk/node_modules/aws-cdk-lib/pipelines/lib/main/index.js
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";var __createBinding=exports&&exports.__createBinding||(Object.create?(function(o,m,k,k2){k2===void 0&&(k2=k);var desc=Object.getOwnPropertyDescriptor(m,k);(!desc||("get"in desc?!m.__esModule:desc.writable||desc.configurable))&&(desc={enumerable:!0,get:function(){return m[k]}}),Object.defineProperty(o,k2,desc)}):(function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]})),__exportStar=exports&&exports.__exportStar||function(m,exports2){for(var p in m)p!=="default"&&!Object.prototype.hasOwnProperty.call(exports2,p)&&__createBinding(exports2,m,p)};Object.defineProperty(exports,"__esModule",{value:!0});var _noFold;exports.PipelineBase=void 0,Object.defineProperty(exports,_noFold="PipelineBase",{enumerable:!0,configurable:!0,get:()=>{var value=require("./pipeline-base").PipelineBase;return Object.defineProperty(exports,_noFold="PipelineBase",{enumerable:!0,configurable:!0,value}),value}});
|
||||
94
cdk/node_modules/aws-cdk-lib/pipelines/lib/main/pipeline-base.d.ts
generated
vendored
Normal file
94
cdk/node_modules/aws-cdk-lib/pipelines/lib/main/pipeline-base.d.ts
generated
vendored
Normal file
@@ -0,0 +1,94 @@
|
||||
import { Construct } from 'constructs';
|
||||
import type { Stage } from '../../../core';
|
||||
import type { AddStageOpts as StageOptions, WaveOptions, IFileSetProducer, FileSet } from '../blueprint';
|
||||
import { Wave } from '../blueprint';
|
||||
/**
|
||||
* Properties for a `Pipeline`
|
||||
*/
|
||||
export interface PipelineBaseProps {
|
||||
/**
|
||||
* The build step that produces the CDK Cloud Assembly
|
||||
*
|
||||
* The primary output of this step needs to be the `cdk.out` directory
|
||||
* generated by the `cdk synth` command.
|
||||
*
|
||||
* If you use a `ShellStep` here and you don't configure an output directory,
|
||||
* the output directory will automatically be assumed to be `cdk.out`.
|
||||
*/
|
||||
readonly synth: IFileSetProducer;
|
||||
}
|
||||
/**
|
||||
* A generic CDK Pipelines pipeline
|
||||
*
|
||||
* Different deployment systems will provide subclasses of `Pipeline` that generate
|
||||
* the deployment infrastructure necessary to deploy CDK apps, specific to that system.
|
||||
*
|
||||
* This library comes with the `CodePipeline` class, which uses AWS CodePipeline
|
||||
* to deploy CDK apps.
|
||||
*
|
||||
* The actual pipeline infrastructure is constructed (by invoking the engine)
|
||||
* when `buildPipeline()` is called, or when `app.synth()` is called (whichever
|
||||
* happens first).
|
||||
*/
|
||||
export declare abstract class PipelineBase extends Construct {
|
||||
/**
|
||||
* Return whether the given object extends `PipelineBase`.
|
||||
*
|
||||
* We do attribute detection since we can't reliably use 'instanceof'.
|
||||
*/
|
||||
static isPipeline(x: any): x is PipelineBase;
|
||||
/**
|
||||
* The build step that produces the CDK Cloud Assembly
|
||||
*/
|
||||
readonly synth: IFileSetProducer;
|
||||
/**
|
||||
* The waves in this pipeline
|
||||
*/
|
||||
readonly waves: Wave[];
|
||||
/**
|
||||
* The FileSet tha contains the cloud assembly
|
||||
*
|
||||
* This is the primary output of the synth step.
|
||||
*/
|
||||
readonly cloudAssemblyFileSet: FileSet;
|
||||
private built;
|
||||
constructor(scope: Construct, id: string, props: PipelineBaseProps);
|
||||
/**
|
||||
* Deploy a single Stage by itself
|
||||
*
|
||||
* Add a Stage to the pipeline, to be deployed in sequence with other
|
||||
* Stages added to the pipeline. All Stacks in the stage will be deployed
|
||||
* in an order automatically determined by their relative dependencies.
|
||||
*/
|
||||
addStage(stage: Stage, options?: StageOptions): import("../blueprint").StageDeployment;
|
||||
/**
|
||||
* Add a Wave to the pipeline, for deploying multiple Stages in parallel
|
||||
*
|
||||
* Use the return object of this method to deploy multiple stages in parallel.
|
||||
*
|
||||
* Example:
|
||||
*
|
||||
* ```ts
|
||||
* declare const pipeline: pipelines.CodePipeline;
|
||||
*
|
||||
* const wave = pipeline.addWave('MyWave');
|
||||
* wave.addStage(new MyApplicationStage(this, 'Stage1'));
|
||||
* wave.addStage(new MyApplicationStage(this, 'Stage2'));
|
||||
* ```
|
||||
*/
|
||||
addWave(id: string, options?: WaveOptions): Wave;
|
||||
/**
|
||||
* Send the current pipeline definition to the engine, and construct the pipeline
|
||||
*
|
||||
* It is not possible to modify the pipeline after calling this method.
|
||||
*/
|
||||
buildPipeline(): void;
|
||||
/**
|
||||
* Implemented by subclasses to do the actual pipeline construction
|
||||
*/
|
||||
protected abstract doBuildPipeline(): void;
|
||||
/**
|
||||
* Automatically call 'build()' just before synthesis if the user hasn't explicitly called it yet
|
||||
*/
|
||||
private buildJustInTime;
|
||||
}
|
||||
1
cdk/node_modules/aws-cdk-lib/pipelines/lib/main/pipeline-base.js
generated
vendored
Normal file
1
cdk/node_modules/aws-cdk-lib/pipelines/lib/main/pipeline-base.js
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.PipelineBase=void 0;var jsiiDeprecationWarnings=()=>{var tmp=require("../../../.warnings.jsii.js");return jsiiDeprecationWarnings=()=>tmp,tmp};const JSII_RTTI_SYMBOL_1=Symbol.for("jsii.rtti");var constructs_1=()=>{var tmp=require("constructs");return constructs_1=()=>tmp,tmp},core_1=()=>{var tmp=require("../../../core");return core_1=()=>tmp,tmp},literal_string_1=()=>{var tmp=require("../../../core/lib/private/literal-string");return literal_string_1=()=>tmp,tmp},blueprint_1=()=>{var tmp=require("../blueprint");return blueprint_1=()=>tmp,tmp};const PIPELINE_SYMBOL=Symbol.for("@aws-cdk/pipelines.PipelineBase");class PipelineBase extends constructs_1().Construct{static[JSII_RTTI_SYMBOL_1]={fqn:"aws-cdk-lib.pipelines.PipelineBase",version:"2.252.0"};static isPipeline(x){return x!==null&&typeof x=="object"&&PIPELINE_SYMBOL in x}synth;waves;cloudAssemblyFileSet;built=!1;constructor(scope,id,props){super(scope,id);try{jsiiDeprecationWarnings().aws_cdk_lib_pipelines_PipelineBaseProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,PipelineBase),error}if(Object.defineProperty(this,PIPELINE_SYMBOL,{value:!0}),props.synth instanceof blueprint_1().ShellStep&&!props.synth.primaryOutput&&props.synth.primaryOutputDirectory("cdk.out"),!props.synth.primaryOutput)throw new(core_1()).ValidationError((0,literal_string_1().lit)`SynthStep`,`synthStep ${props.synth} must produce a primary output, but is not producing anything. Configure the Step differently or use a different Step type.`,this);this.synth=props.synth,this.waves=[],this.cloudAssemblyFileSet=props.synth.primaryOutput,core_1().Aspects.of(this).add({visit:()=>this.buildJustInTime()},{priority:core_1().AspectPriority.MUTATING})}addStage(stage,options){try{jsiiDeprecationWarnings().aws_cdk_lib_Stage(stage),jsiiDeprecationWarnings().aws_cdk_lib_pipelines_AddStageOpts(options)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.addStage),error}if(this.built)throw new(core_1()).ValidationError((0,literal_string_1().lit)`AddstageCanTStagesAnymore`,"addStage: can't add Stages anymore after buildPipeline() has been called",this);return this.addWave(stage.stageName).addStage(stage,options)}addWave(id,options){try{jsiiDeprecationWarnings().aws_cdk_lib_pipelines_WaveOptions(options)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.addWave),error}if(this.built)throw new(core_1()).ValidationError((0,literal_string_1().lit)`AddwaveCanTWavesAnymore`,"addWave: can't add Waves anymore after buildPipeline() has been called",this);const wave=new(blueprint_1()).Wave(id,options);return this.waves.push(wave),wave}buildPipeline(){if(this.built)throw new(core_1()).ValidationError((0,literal_string_1().lit)`BuildAlreadyCalledCall`,"build() has already been called: can only call it once",this);this.doBuildPipeline(),this.built=!0}buildJustInTime(){this.built||this.buildPipeline()}}exports.PipelineBase=PipelineBase;
|
||||
Reference in New Issue
Block a user