agent-claw: automated task changes
This commit is contained in:
21
cdk/node_modules/aws-cdk-lib/aws-autoscaling-common/lib/test-utils.d.ts
generated
vendored
Normal file
21
cdk/node_modules/aws-cdk-lib/aws-autoscaling-common/lib/test-utils.d.ts
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
import type * as appscaling from '../lib';
|
||||
/**
|
||||
* Arbitrary (valid) array of intervals
|
||||
*
|
||||
* There are many invalid combinations of interval arrays, so we have
|
||||
* to be very specific about generating arrays that are valid. We do this
|
||||
* by taking a full, valid interval schedule and progressively stripping parts
|
||||
* away from it.
|
||||
*
|
||||
* Some of the changes may change its meaning, but we take care to never leave
|
||||
* a schedule with insufficient information so that the parser will error out.
|
||||
*/
|
||||
export declare function generateArbitraryIntervals(mrng: IRandomGenerator): ArbitraryIntervals;
|
||||
export interface IRandomGenerator {
|
||||
nextBoolean(): boolean;
|
||||
nextInt(min: number, max: number): number;
|
||||
}
|
||||
export interface ArbitraryIntervals {
|
||||
readonly absolute: boolean;
|
||||
readonly intervals: appscaling.ScalingInterval[];
|
||||
}
|
||||
Reference in New Issue
Block a user