agent-claw: automated task changes
This commit is contained in:
79
cdk/node_modules/aws-cdk/lib/cxapp/cloud-assembly.d.ts
generated
vendored
Normal file
79
cdk/node_modules/aws-cdk/lib/cxapp/cloud-assembly.d.ts
generated
vendored
Normal file
@@ -0,0 +1,79 @@
|
||||
import type * as cxapi from '@aws-cdk/cloud-assembly-api';
|
||||
import { BaseStackAssembly, StackCollection } from '../api/cloud-assembly';
|
||||
export declare enum DefaultSelection {
|
||||
/**
|
||||
* Returns an empty selection in case there are no selectors.
|
||||
*/
|
||||
None = "none",
|
||||
/**
|
||||
* If the app includes a single stack, returns it. Otherwise throws an exception.
|
||||
* This behavior is used by "deploy".
|
||||
*/
|
||||
OnlySingle = "single",
|
||||
/**
|
||||
* Returns all stacks in the main (top level) assembly only.
|
||||
*/
|
||||
MainAssembly = "main",
|
||||
/**
|
||||
* If no selectors are provided, returns all stacks in the app,
|
||||
* including stacks inside nested assemblies.
|
||||
*/
|
||||
AllStacks = "all"
|
||||
}
|
||||
export interface SelectStacksOptions {
|
||||
/**
|
||||
* Extend the selection to upstread/downstream stacks
|
||||
* @default ExtendedStackSelection.None only select the specified stacks.
|
||||
*/
|
||||
extend?: ExtendedStackSelection;
|
||||
/**
|
||||
* The behavior if no selectors are provided.
|
||||
*/
|
||||
defaultBehavior: DefaultSelection;
|
||||
/**
|
||||
* Whether to deploy if the app contains no stacks.
|
||||
*
|
||||
* @default false
|
||||
*/
|
||||
ignoreNoStacks?: boolean;
|
||||
}
|
||||
/**
|
||||
* When selecting stacks, what other stacks to include because of dependencies
|
||||
*/
|
||||
export declare enum ExtendedStackSelection {
|
||||
/**
|
||||
* Don't select any extra stacks
|
||||
*/
|
||||
None = 0,
|
||||
/**
|
||||
* Include stacks that this stack depends on
|
||||
*/
|
||||
Upstream = 1,
|
||||
/**
|
||||
* Include stacks that depend on this stack
|
||||
*/
|
||||
Downstream = 2
|
||||
}
|
||||
/**
|
||||
* A specification of which stacks should be selected
|
||||
*/
|
||||
export interface StackSelector {
|
||||
/**
|
||||
* Whether all stacks at the top level assembly should
|
||||
* be selected and nothing else
|
||||
*/
|
||||
allTopLevel?: boolean;
|
||||
/**
|
||||
* A list of patterns to match the stack hierarchical ids
|
||||
*/
|
||||
patterns: string[];
|
||||
}
|
||||
/**
|
||||
* A single Cloud Assembly and the operations we do on it to deploy the artifacts inside
|
||||
*/
|
||||
export declare class CloudAssembly extends BaseStackAssembly {
|
||||
selectStacks(selector: StackSelector, options: SelectStacksOptions): Promise<StackCollection>;
|
||||
private selectTopLevelStacks;
|
||||
protected selectMatchingStacks(stacks: cxapi.CloudFormationStackArtifact[], patterns: string[], extend?: ExtendedStackSelection): Promise<StackCollection>;
|
||||
private selectDefaultStacks;
|
||||
}
|
||||
109
cdk/node_modules/aws-cdk/lib/cxapp/cloud-assembly.js
generated
vendored
Normal file
109
cdk/node_modules/aws-cdk/lib/cxapp/cloud-assembly.js
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
51
cdk/node_modules/aws-cdk/lib/cxapp/cloud-executable.d.ts
generated
vendored
Normal file
51
cdk/node_modules/aws-cdk/lib/cxapp/cloud-executable.d.ts
generated
vendored
Normal file
@@ -0,0 +1,51 @@
|
||||
import type * as cxapi from '@aws-cdk/cloud-assembly-api';
|
||||
import { CloudAssembly } from './cloud-assembly';
|
||||
import type { ICloudAssemblySource, IReadableCloudAssembly } from '../../lib/api';
|
||||
import type { IoHelper } from '../../lib/api-private';
|
||||
import type { SdkProvider } from '../api/aws-auth';
|
||||
import type { Configuration } from '../cli/user-configuration';
|
||||
/**
|
||||
* @returns output directory
|
||||
*/
|
||||
export type Synthesizer = (aws: SdkProvider, config: Configuration) => Promise<cxapi.CloudAssembly>;
|
||||
export interface CloudExecutableProps {
|
||||
/**
|
||||
* Application configuration (settings and context)
|
||||
*/
|
||||
configuration: Configuration;
|
||||
/**
|
||||
* AWS object (used by synthesizer and contextprovider)
|
||||
*/
|
||||
sdkProvider: SdkProvider;
|
||||
/**
|
||||
* Messaging helper
|
||||
*/
|
||||
ioHelper: IoHelper;
|
||||
/**
|
||||
* Callback invoked to synthesize the actual stacks
|
||||
*/
|
||||
synthesizer: Synthesizer;
|
||||
}
|
||||
/**
|
||||
* Represent the Cloud Executable and the synthesis we can do on it
|
||||
*/
|
||||
export declare class CloudExecutable implements ICloudAssemblySource {
|
||||
private readonly props;
|
||||
private _cloudAssembly?;
|
||||
constructor(props: CloudExecutableProps);
|
||||
produce(): Promise<IReadableCloudAssembly>;
|
||||
/**
|
||||
* Return whether there is an app command from the configuration
|
||||
*/
|
||||
get hasApp(): boolean;
|
||||
/**
|
||||
* Synthesize a set of stacks.
|
||||
*
|
||||
* @param cacheCloudAssembly - whether to cache the Cloud Assembly after it has been first synthesized.
|
||||
* This is 'true' by default, and only set to 'false' for 'cdk watch',
|
||||
* which needs to re-synthesize the Assembly each time it detects a change to the project files
|
||||
*/
|
||||
synthesize(cacheCloudAssembly?: boolean): Promise<CloudAssembly>;
|
||||
private doSynthesize;
|
||||
private get canLookup();
|
||||
}
|
||||
123
cdk/node_modules/aws-cdk/lib/cxapp/cloud-executable.js
generated
vendored
Normal file
123
cdk/node_modules/aws-cdk/lib/cxapp/cloud-executable.js
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
8
cdk/node_modules/aws-cdk/lib/cxapp/environments.d.ts
generated
vendored
Normal file
8
cdk/node_modules/aws-cdk/lib/cxapp/environments.d.ts
generated
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
import type * as cxapi from '@aws-cdk/cloud-assembly-api';
|
||||
import type { SdkProvider, StackCollection } from '../api';
|
||||
export declare function looksLikeGlob(environment: string): boolean;
|
||||
export declare function globEnvironmentsFromStacks(stacks: StackCollection, environmentGlobs: string[], sdk: SdkProvider): Promise<cxapi.Environment[]>;
|
||||
/**
|
||||
* Given a set of "<account>/<region>" strings, construct environments for them
|
||||
*/
|
||||
export declare function environmentsFromDescriptors(envSpecs: string[]): cxapi.Environment[];
|
||||
66
cdk/node_modules/aws-cdk/lib/cxapp/environments.js
generated
vendored
Normal file
66
cdk/node_modules/aws-cdk/lib/cxapp/environments.js
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
14
cdk/node_modules/aws-cdk/lib/cxapp/exec.d.ts
generated
vendored
Normal file
14
cdk/node_modules/aws-cdk/lib/cxapp/exec.d.ts
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
import { CloudAssembly } from '@aws-cdk/cloud-assembly-api';
|
||||
import type { IoHelper } from '../../lib/api-private';
|
||||
import type { SdkProvider, IReadLock } from '../api';
|
||||
import type { Configuration } from '../cli/user-configuration';
|
||||
export interface ExecProgramResult {
|
||||
readonly assembly: CloudAssembly;
|
||||
readonly lock: IReadLock;
|
||||
}
|
||||
/** Invokes the cloud executable and returns JSON output */
|
||||
export declare function execProgram(aws: SdkProvider, ioHelper: IoHelper, config: Configuration): Promise<ExecProgramResult>;
|
||||
/**
|
||||
* Creates an assembly with error handling
|
||||
*/
|
||||
export declare function createAssembly(appDir: string): CloudAssembly;
|
||||
136
cdk/node_modules/aws-cdk/lib/cxapp/exec.js
generated
vendored
Normal file
136
cdk/node_modules/aws-cdk/lib/cxapp/exec.js
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
4
cdk/node_modules/aws-cdk/lib/cxapp/index.d.ts
generated
vendored
Normal file
4
cdk/node_modules/aws-cdk/lib/cxapp/index.d.ts
generated
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
export * from './cloud-assembly';
|
||||
export * from './cloud-executable';
|
||||
export * from './environments';
|
||||
export * from './exec';
|
||||
21
cdk/node_modules/aws-cdk/lib/cxapp/index.js
generated
vendored
Normal file
21
cdk/node_modules/aws-cdk/lib/cxapp/index.js
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
"use strict";
|
||||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
var desc = Object.getOwnPropertyDescriptor(m, k);
|
||||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
||||
desc = { enumerable: true, get: function() { return m[k]; } };
|
||||
}
|
||||
Object.defineProperty(o, k2, desc);
|
||||
}) : (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
o[k2] = m[k];
|
||||
}));
|
||||
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
||||
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
__exportStar(require("./cloud-assembly"), exports);
|
||||
__exportStar(require("./cloud-executable"), exports);
|
||||
__exportStar(require("./environments"), exports);
|
||||
__exportStar(require("./exec"), exports);
|
||||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJpbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7O0FBQUEsbURBQWlDO0FBQ2pDLHFEQUFtQztBQUNuQyxpREFBK0I7QUFDL0IseUNBQXVCIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9jbG91ZC1hc3NlbWJseSc7XG5leHBvcnQgKiBmcm9tICcuL2Nsb3VkLWV4ZWN1dGFibGUnO1xuZXhwb3J0ICogZnJvbSAnLi9lbnZpcm9ubWVudHMnO1xuZXhwb3J0ICogZnJvbSAnLi9leGVjJztcbiJdfQ==
|
||||
Reference in New Issue
Block a user