feat: add plugin contract, observe readiness checks to doctor; sync types
This commit is contained in:
@@ -42,11 +42,38 @@ export interface EnvironmentPolicy {
|
||||
}
|
||||
|
||||
export interface ProfileDefinition {
|
||||
name: string;
|
||||
mode?: 'verify' | 'observe' | 'qualify';
|
||||
preset?: string;
|
||||
routes?: string[];
|
||||
seed?: number;
|
||||
artifactDir?: string;
|
||||
environment?: string;
|
||||
observe?: boolean;
|
||||
sampling?: number;
|
||||
blocking?: boolean;
|
||||
sinks?: Record<string, unknown>;
|
||||
features?: string[];
|
||||
[key: string]: unknown;
|
||||
chaos?: boolean;
|
||||
chaosStrategy?: 'one' | 'all' | 'sample' | 'routes';
|
||||
chaosSampleSize?: number;
|
||||
chaosSampleRoutes?: string[];
|
||||
}
|
||||
|
||||
export interface PresetDefinition {
|
||||
name: string;
|
||||
timeout?: number;
|
||||
parallel?: boolean;
|
||||
chaos?: boolean;
|
||||
observe?: boolean;
|
||||
runs?: number;
|
||||
sampling?: number;
|
||||
blocking?: boolean;
|
||||
sinks?: Record<string, unknown>;
|
||||
features?: string[];
|
||||
chaosStrategy?: 'one' | 'all' | 'sample' | 'routes';
|
||||
chaosSampleSize?: number;
|
||||
chaosSampleRoutes?: string[];
|
||||
}
|
||||
|
||||
export interface PresetDefinition {
|
||||
|
||||
Reference in New Issue
Block a user