@harnessio/react-chaos-manager-client 1.0.0 → 1.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/chaos-manager/src/services/index.d.ts +19 -17
- package/dist/chaos-manager/src/services/schemas/ChaosExecutionNodesFaultDetails.d.ts +2 -2
- package/dist/chaos-manager/src/services/schemas/ChaosInfrastructureV2K8sInfraV2SpecIdentifiers.d.ts +1 -0
- package/dist/chaos-manager/src/services/schemas/ChaoshubFaultCategoriesCount.d.ts +15 -0
- package/dist/chaos-manager/src/services/schemas/ChaoshubListFaultsResponse.d.ts +2 -2
- package/dist/chaos-manager/src/services/schemas/ChaoshubresourcesChaosHubResource.d.ts +10 -0
- package/dist/chaos-manager/src/services/schemas/ChaoshubresourcesChaosHubResource.js +0 -3
- package/dist/chaos-manager/src/services/schemas/ChaoshubresourcesLink.d.ts +4 -0
- package/dist/chaos-manager/src/services/schemas/ChaoshubresourcesPermissionLevel.d.ts +1 -0
- package/dist/chaos-manager/src/services/schemas/{TypesApplication.d.ts → ExperimentApplication.d.ts} +1 -1
- package/dist/chaos-manager/src/services/schemas/{GithubComWingsSoftwareDdcrPkgTypesChaosInputs.d.ts → ExperimentChaosInputs.d.ts} +3 -3
- package/dist/chaos-manager/src/services/schemas/{TypesConfigMap.d.ts → ExperimentConfigMap.d.ts} +1 -1
- package/dist/chaos-manager/src/services/schemas/ExperimentDefinition.d.ts +12 -0
- package/dist/chaos-manager/src/services/schemas/ExperimentExperimentComponents.d.ts +29 -0
- package/dist/chaos-manager/src/services/schemas/{TypesHelperConfig.d.ts → ExperimentHelperConfig.d.ts} +9 -9
- package/dist/chaos-manager/src/services/schemas/{TypesHostFile.d.ts → ExperimentHostFile.d.ts} +1 -1
- package/dist/chaos-manager/src/services/schemas/{TypesProjectedVolumes.d.ts → ExperimentProjectedVolumes.d.ts} +1 -1
- package/dist/chaos-manager/src/services/schemas/{TypesSecret.d.ts → ExperimentSecret.d.ts} +1 -1
- package/dist/chaos-manager/src/services/schemas/{TypesSecurityContext.d.ts → ExperimentSecurityContext.d.ts} +1 -1
- package/dist/chaos-manager/src/services/schemas/ExperimentSelector.d.ts +7 -0
- package/dist/chaos-manager/src/services/schemas/{TypesSidecar.d.ts → ExperimentSidecar.d.ts} +3 -3
- package/dist/chaos-manager/src/services/schemas/ExperimentStatusCheckTimeout.d.ts +4 -0
- package/dist/chaos-manager/src/services/schemas/ExperimentStatusCheckTimeout.js +4 -0
- package/dist/chaos-manager/src/services/schemas/ExperimentTargets.d.ts +6 -0
- package/dist/chaos-manager/src/services/schemas/{TypesWorkload.d.ts → ExperimentWorkload.d.ts} +3 -3
- package/dist/chaos-manager/src/services/schemas/ExperimentWorkloadKind.d.ts +1 -0
- package/dist/chaos-manager/src/services/schemas/ExperimentWorkloadKind.js +4 -0
- package/package.json +1 -1
- package/dist/chaos-manager/src/services/schemas/ChaoshubFaultCategoryCount.d.ts +0 -4
- package/dist/chaos-manager/src/services/schemas/GithubComWingsSoftwareDdcrPkgTypesDefinition.d.ts +0 -12
- package/dist/chaos-manager/src/services/schemas/TypesExperimentComponents.d.ts +0 -29
- package/dist/chaos-manager/src/services/schemas/TypesSelector.d.ts +0 -7
- package/dist/chaos-manager/src/services/schemas/TypesStatusCheckTimeout.d.ts +0 -4
- package/dist/chaos-manager/src/services/schemas/TypesTargets.d.ts +0 -6
- package/dist/chaos-manager/src/services/schemas/TypesWorkloadKind.d.ts +0 -1
- /package/dist/chaos-manager/src/services/schemas/{ChaoshubFaultCategoryCount.js → ChaoshubFaultCategoriesCount.js} +0 -0
- /package/dist/chaos-manager/src/services/schemas/{TypesApplication.js → ChaoshubresourcesLink.js} +0 -0
- /package/dist/chaos-manager/src/services/schemas/{TypesConfigMap.js → ChaoshubresourcesPermissionLevel.js} +0 -0
- /package/dist/chaos-manager/src/services/schemas/{TypesSecret.js → ExperimentApplication.js} +0 -0
- /package/dist/chaos-manager/src/services/schemas/{GithubComWingsSoftwareDdcrPkgTypesChaosInputs.js → ExperimentChaosInputs.js} +0 -0
- /package/dist/chaos-manager/src/services/schemas/{TypesStatusCheckTimeout.js → ExperimentConfigMap.js} +0 -0
- /package/dist/chaos-manager/src/services/schemas/{GithubComWingsSoftwareDdcrPkgTypesDefinition.js → ExperimentDefinition.js} +0 -0
- /package/dist/chaos-manager/src/services/schemas/{TypesExperimentComponents.js → ExperimentExperimentComponents.js} +0 -0
- /package/dist/chaos-manager/src/services/schemas/{TypesHelperConfig.js → ExperimentHelperConfig.js} +0 -0
- /package/dist/chaos-manager/src/services/schemas/{TypesHostFile.js → ExperimentHostFile.js} +0 -0
- /package/dist/chaos-manager/src/services/schemas/{TypesProjectedVolumes.js → ExperimentProjectedVolumes.js} +0 -0
- /package/dist/chaos-manager/src/services/schemas/{TypesWorkloadKind.js → ExperimentSecret.js} +0 -0
- /package/dist/chaos-manager/src/services/schemas/{TypesSecurityContext.js → ExperimentSecurityContext.js} +0 -0
- /package/dist/chaos-manager/src/services/schemas/{TypesSelector.js → ExperimentSelector.js} +0 -0
- /package/dist/chaos-manager/src/services/schemas/{TypesSidecar.js → ExperimentSidecar.js} +0 -0
- /package/dist/chaos-manager/src/services/schemas/{TypesTargets.js → ExperimentTargets.js} +0 -0
- /package/dist/chaos-manager/src/services/schemas/{TypesWorkload.js → ExperimentWorkload.js} +0 -0
|
@@ -333,9 +333,11 @@ export type { ChaosfaulttemplateGetFaultTemplateResponse } from './schemas/Chaos
|
|
|
333
333
|
export type { ChaosfaulttemplateListActionTemplateResponse } from './schemas/ChaosfaulttemplateListActionTemplateResponse';
|
|
334
334
|
export type { ChaosfaulttemplateListFaultTemplateResponse } from './schemas/ChaosfaulttemplateListFaultTemplateResponse';
|
|
335
335
|
export type { ChaosfaulttemplateUpdateFaultTemplateResponse } from './schemas/ChaosfaulttemplateUpdateFaultTemplateResponse';
|
|
336
|
-
export type {
|
|
336
|
+
export type { ChaoshubFaultCategoriesCount } from './schemas/ChaoshubFaultCategoriesCount';
|
|
337
337
|
export type { ChaoshubListFaultsResponse } from './schemas/ChaoshubListFaultsResponse';
|
|
338
338
|
export type { ChaoshubresourcesChaosHubResource } from './schemas/ChaoshubresourcesChaosHubResource';
|
|
339
|
+
export type { ChaoshubresourcesLink } from './schemas/ChaoshubresourcesLink';
|
|
340
|
+
export type { ChaoshubresourcesPermissionLevel } from './schemas/ChaoshubresourcesPermissionLevel';
|
|
339
341
|
export type { Chaoshubv2ChaosHubResponse } from './schemas/Chaoshubv2ChaosHubResponse';
|
|
340
342
|
export type { Chaoshubv2CreateHubRequest } from './schemas/Chaoshubv2CreateHubRequest';
|
|
341
343
|
export type { Chaoshubv2GetHubResponse } from './schemas/Chaoshubv2GetHubResponse';
|
|
@@ -395,7 +397,23 @@ export type { ExecutionMachineChaosFaultData } from './schemas/ExecutionMachineC
|
|
|
395
397
|
export type { ExecutionProbeData } from './schemas/ExecutionProbeData';
|
|
396
398
|
export type { ExecutionProbeIterations } from './schemas/ExecutionProbeIterations';
|
|
397
399
|
export type { ExecutionPromProbe } from './schemas/ExecutionPromProbe';
|
|
400
|
+
export type { ExperimentApplication } from './schemas/ExperimentApplication';
|
|
401
|
+
export type { ExperimentChaosInputs } from './schemas/ExperimentChaosInputs';
|
|
402
|
+
export type { ExperimentConfigMap } from './schemas/ExperimentConfigMap';
|
|
403
|
+
export type { ExperimentDefinition } from './schemas/ExperimentDefinition';
|
|
404
|
+
export type { ExperimentExperimentComponents } from './schemas/ExperimentExperimentComponents';
|
|
405
|
+
export type { ExperimentHelperConfig } from './schemas/ExperimentHelperConfig';
|
|
406
|
+
export type { ExperimentHostFile } from './schemas/ExperimentHostFile';
|
|
407
|
+
export type { ExperimentProjectedVolumes } from './schemas/ExperimentProjectedVolumes';
|
|
398
408
|
export type { ExperimentSaveChaosExperimentResponse } from './schemas/ExperimentSaveChaosExperimentResponse';
|
|
409
|
+
export type { ExperimentSecret } from './schemas/ExperimentSecret';
|
|
410
|
+
export type { ExperimentSecurityContext } from './schemas/ExperimentSecurityContext';
|
|
411
|
+
export type { ExperimentSelector } from './schemas/ExperimentSelector';
|
|
412
|
+
export type { ExperimentSidecar } from './schemas/ExperimentSidecar';
|
|
413
|
+
export type { ExperimentStatusCheckTimeout } from './schemas/ExperimentStatusCheckTimeout';
|
|
414
|
+
export type { ExperimentTargets } from './schemas/ExperimentTargets';
|
|
415
|
+
export type { ExperimentWorkload } from './schemas/ExperimentWorkload';
|
|
416
|
+
export type { ExperimentWorkloadKind } from './schemas/ExperimentWorkloadKind';
|
|
399
417
|
export type { Gamedayrunv2ApprovalStatus } from './schemas/Gamedayrunv2ApprovalStatus';
|
|
400
418
|
export type { Gamedayrunv2PrerequisiteStatus } from './schemas/Gamedayrunv2PrerequisiteStatus';
|
|
401
419
|
export type { Gamedayv2GamedayRunStatus } from './schemas/Gamedayv2GamedayRunStatus';
|
|
@@ -440,8 +458,6 @@ export type { GithubComHarnessHceSaasHceSdkTemplateSchemaProbeSecretManager } fr
|
|
|
440
458
|
export type { GithubComHarnessHceSaasHceSdkTemplateSchemaProbeSplunkObservabilityMetrics } from './schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeSplunkObservabilityMetrics';
|
|
441
459
|
export type { GithubComHarnessHceSaasHceSdkTemplateSchemaProbeSplunkObservabilityProbeInputs } from './schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeSplunkObservabilityProbeInputs';
|
|
442
460
|
export type { GithubComHarnessHceSaasHceSdkTypesApiK8sifsImageRegistryScopedIdentifiers } from './schemas/GithubComHarnessHceSaasHceSdkTypesApiK8sifsImageRegistryScopedIdentifiers';
|
|
443
|
-
export type { GithubComWingsSoftwareDdcrPkgTypesChaosInputs } from './schemas/GithubComWingsSoftwareDdcrPkgTypesChaosInputs';
|
|
444
|
-
export type { GithubComWingsSoftwareDdcrPkgTypesDefinition } from './schemas/GithubComWingsSoftwareDdcrPkgTypesDefinition';
|
|
445
461
|
export type { HandlersChaosExperimentRunsStatsResponse } from './schemas/HandlersChaosExperimentRunsStatsResponse';
|
|
446
462
|
export type { HandlersChaosLicenseUsageDto } from './schemas/HandlersChaosLicenseUsageDto';
|
|
447
463
|
export type { HandlersDashboard } from './schemas/HandlersDashboard';
|
|
@@ -642,8 +658,6 @@ export type { TemplateVariableCategory } from './schemas/TemplateVariableCategor
|
|
|
642
658
|
export type { TemplateVariableMinimum } from './schemas/TemplateVariableMinimum';
|
|
643
659
|
export type { TemplateVariableType } from './schemas/TemplateVariableType';
|
|
644
660
|
export type { TypesActionItem } from './schemas/TypesActionItem';
|
|
645
|
-
export type { TypesApplication } from './schemas/TypesApplication';
|
|
646
|
-
export type { TypesConfigMap } from './schemas/TypesConfigMap';
|
|
647
661
|
export type { TypesCreateGamedayRequest } from './schemas/TypesCreateGamedayRequest';
|
|
648
662
|
export type { TypesCreateGamedayResponse } from './schemas/TypesCreateGamedayResponse';
|
|
649
663
|
export type { TypesCreateGamedayRunResponse } from './schemas/TypesCreateGamedayRunResponse';
|
|
@@ -652,7 +666,6 @@ export type { TypesCreateNoteResponse } from './schemas/TypesCreateNoteResponse'
|
|
|
652
666
|
export type { TypesCreateProbeResponse } from './schemas/TypesCreateProbeResponse';
|
|
653
667
|
export type { TypesDeleteChaosV2ExperimentResponse } from './schemas/TypesDeleteChaosV2ExperimentResponse';
|
|
654
668
|
export type { TypesExecutedByExperiment } from './schemas/TypesExecutedByExperiment';
|
|
655
|
-
export type { TypesExperimentComponents } from './schemas/TypesExperimentComponents';
|
|
656
669
|
export type { TypesExperimentCreationError } from './schemas/TypesExperimentCreationError';
|
|
657
670
|
export type { TypesExperimentCreationRequest } from './schemas/TypesExperimentCreationRequest';
|
|
658
671
|
export type { TypesExperimentCreationResponse } from './schemas/TypesExperimentCreationResponse';
|
|
@@ -665,8 +678,6 @@ export type { TypesGamedayV2 } from './schemas/TypesGamedayV2';
|
|
|
665
678
|
export type { TypesGetGamedayExperimentResponse } from './schemas/TypesGetGamedayExperimentResponse';
|
|
666
679
|
export type { TypesGetGamedayResponse } from './schemas/TypesGetGamedayResponse';
|
|
667
680
|
export type { TypesGetProbeResponse } from './schemas/TypesGetProbeResponse';
|
|
668
|
-
export type { TypesHelperConfig } from './schemas/TypesHelperConfig';
|
|
669
|
-
export type { TypesHostFile } from './schemas/TypesHostFile';
|
|
670
681
|
export type { TypesImportProbeTemplateRequest } from './schemas/TypesImportProbeTemplateRequest';
|
|
671
682
|
export type { TypesInfrastructureType } from './schemas/TypesInfrastructureType';
|
|
672
683
|
export type { TypesInternalExperimentRunRequest } from './schemas/TypesInternalExperimentRunRequest';
|
|
@@ -683,23 +694,16 @@ export type { TypesProbeBulkEnableRequest } from './schemas/TypesProbeBulkEnable
|
|
|
683
694
|
export type { TypesProbeRecentExecutions } from './schemas/TypesProbeRecentExecutions';
|
|
684
695
|
export type { TypesProbeRequest } from './schemas/TypesProbeRequest';
|
|
685
696
|
export type { TypesProbeType } from './schemas/TypesProbeType';
|
|
686
|
-
export type { TypesProjectedVolumes } from './schemas/TypesProjectedVolumes';
|
|
687
697
|
export type { TypesRecentGamedayRun } from './schemas/TypesRecentGamedayRun';
|
|
688
698
|
export type { TypesRun } from './schemas/TypesRun';
|
|
689
699
|
export type { TypesScenarioType } from './schemas/TypesScenarioType';
|
|
690
|
-
export type { TypesSecret } from './schemas/TypesSecret';
|
|
691
|
-
export type { TypesSecurityContext } from './schemas/TypesSecurityContext';
|
|
692
|
-
export type { TypesSelector } from './schemas/TypesSelector';
|
|
693
|
-
export type { TypesSidecar } from './schemas/TypesSidecar';
|
|
694
700
|
export type { TypesStakeHolderDetailsForRuns } from './schemas/TypesStakeHolderDetailsForRuns';
|
|
695
701
|
export type { TypesStakeHolderInput } from './schemas/TypesStakeHolderInput';
|
|
696
702
|
export type { TypesStakeHolderResponse } from './schemas/TypesStakeHolderResponse';
|
|
697
703
|
export type { TypesStakeHolderRole } from './schemas/TypesStakeHolderRole';
|
|
698
704
|
export type { TypesStatus } from './schemas/TypesStatus';
|
|
699
|
-
export type { TypesStatusCheckTimeout } from './schemas/TypesStatusCheckTimeout';
|
|
700
705
|
export type { TypesStopChaosV2ExperimentResponse } from './schemas/TypesStopChaosV2ExperimentResponse';
|
|
701
706
|
export type { TypesSummary } from './schemas/TypesSummary';
|
|
702
|
-
export type { TypesTargets } from './schemas/TypesTargets';
|
|
703
707
|
export type { TypesUpdateCronExperimentAction } from './schemas/TypesUpdateCronExperimentAction';
|
|
704
708
|
export type { TypesUpdateCronExperimentStateRequest } from './schemas/TypesUpdateCronExperimentStateRequest';
|
|
705
709
|
export type { TypesUpdateCronExperimentStateResponse } from './schemas/TypesUpdateCronExperimentStateResponse';
|
|
@@ -711,8 +715,6 @@ export type { TypesUpdatePrerequisiteRequest } from './schemas/TypesUpdatePrereq
|
|
|
711
715
|
export type { TypesUpdateStakeHolderActionRequest } from './schemas/TypesUpdateStakeHolderActionRequest';
|
|
712
716
|
export type { TypesUserDetails } from './schemas/TypesUserDetails';
|
|
713
717
|
export type { TypesWeightages } from './schemas/TypesWeightages';
|
|
714
|
-
export type { TypesWorkload } from './schemas/TypesWorkload';
|
|
715
|
-
export type { TypesWorkloadKind } from './schemas/TypesWorkloadKind';
|
|
716
718
|
export type { V1ApmProbeInputs } from './schemas/V1ApmProbeInputs';
|
|
717
719
|
export type { V1ApmProbeTlsConfig } from './schemas/V1ApmProbeTlsConfig';
|
|
718
720
|
export type { V1AppDynamicsInputs } from './schemas/V1AppDynamicsInputs';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ExperimentDefinition } from '../schemas/ExperimentDefinition';
|
|
2
2
|
export interface ChaosExecutionNodesFaultDetails {
|
|
3
|
-
definition?:
|
|
3
|
+
definition?: ExperimentDefinition;
|
|
4
4
|
name?: string;
|
|
5
5
|
}
|
package/dist/chaos-manager/src/services/schemas/ChaosInfrastructureV2K8sInfraV2SpecIdentifiers.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { ChaosInfrastructureV2InfraScope } from '../schemas/ChaosInfrastructureV2InfraScope';
|
|
2
2
|
import type { ChaosInfrastructureV2InfraType } from '../schemas/ChaosInfrastructureV2InfraType';
|
|
3
3
|
export interface ChaosInfrastructureV2K8sInfraV2SpecIdentifiers {
|
|
4
|
+
aiEnabled?: boolean;
|
|
4
5
|
discoveryAgentId?: string;
|
|
5
6
|
emissaryURL?: string;
|
|
6
7
|
namespace?: string;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export interface ChaoshubFaultCategoriesCount {
|
|
2
|
+
AWS?: number;
|
|
3
|
+
Azure?: number;
|
|
4
|
+
BYOC?: number;
|
|
5
|
+
'Cloud Foundry'?: number;
|
|
6
|
+
GCP?: number;
|
|
7
|
+
'Kube Resilience'?: number;
|
|
8
|
+
Kubernetes?: number;
|
|
9
|
+
Linux?: number;
|
|
10
|
+
Load?: number;
|
|
11
|
+
SSH?: number;
|
|
12
|
+
'Spring Boot'?: number;
|
|
13
|
+
VMWare?: number;
|
|
14
|
+
Windows?: number;
|
|
15
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type { ChaoshubFaultCategoryCount } from '../schemas/ChaoshubFaultCategoryCount';
|
|
2
1
|
import type { ChaoshubresourcesChaosHubResource } from '../schemas/ChaoshubresourcesChaosHubResource';
|
|
2
|
+
import type { ChaoshubFaultCategoriesCount } from '../schemas/ChaoshubFaultCategoriesCount';
|
|
3
3
|
import type { GithubComHarnessHceSaasGraphqlServerApiPagination } from '../schemas/GithubComHarnessHceSaasGraphqlServerApiPagination';
|
|
4
4
|
export interface ChaoshubListFaultsResponse {
|
|
5
|
-
categoryCount?: ChaoshubFaultCategoryCount[];
|
|
6
5
|
data?: ChaoshubresourcesChaosHubResource[];
|
|
6
|
+
faultCategoriesCount?: ChaoshubFaultCategoriesCount;
|
|
7
7
|
pagination?: GithubComHarnessHceSaasGraphqlServerApiPagination;
|
|
8
8
|
}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import type { ChaoshubresourcesLink } from '../schemas/ChaoshubresourcesLink';
|
|
2
|
+
import type { ChaoshubresourcesPermissionLevel } from '../schemas/ChaoshubresourcesPermissionLevel';
|
|
1
3
|
export interface ChaoshubresourcesChaosHubResource {
|
|
2
4
|
accountID: string;
|
|
3
5
|
/**
|
|
@@ -74,11 +76,19 @@ export interface ChaoshubresourcesChaosHubResource {
|
|
|
74
76
|
* Kind of the resource
|
|
75
77
|
*/
|
|
76
78
|
kind?: string;
|
|
79
|
+
/**
|
|
80
|
+
* Links are array of Link
|
|
81
|
+
*/
|
|
82
|
+
links?: ChaoshubresourcesLink[];
|
|
77
83
|
/**
|
|
78
84
|
* name of the resource
|
|
79
85
|
*/
|
|
80
86
|
name?: string;
|
|
81
87
|
orgID?: string;
|
|
88
|
+
/**
|
|
89
|
+
* PermissionsRequired represents the level of permissions required for the resource
|
|
90
|
+
*/
|
|
91
|
+
permissionsRequired?: ChaoshubresourcesPermissionLevel;
|
|
82
92
|
/**
|
|
83
93
|
* Plan
|
|
84
94
|
*/
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type ChaoshubresourcesPermissionLevel = 'advance' | 'basic';
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ExperimentExperimentComponents } from '../schemas/ExperimentExperimentComponents';
|
|
2
2
|
import type { V1EnvVar } from '../schemas/V1EnvVar';
|
|
3
3
|
import type { V1PullPolicy } from '../schemas/V1PullPolicy';
|
|
4
4
|
import type { GithubComHarnessHceSaasHceSdkCommonProbeV1Probe } from '../schemas/GithubComHarnessHceSaasHceSdkCommonProbeV1Probe';
|
|
5
|
-
export interface
|
|
5
|
+
export interface ExperimentChaosInputs {
|
|
6
6
|
annotations?: {
|
|
7
7
|
[key: string]: string;
|
|
8
8
|
};
|
|
9
9
|
args?: string[];
|
|
10
10
|
command?: string[];
|
|
11
|
-
components?:
|
|
11
|
+
components?: ExperimentExperimentComponents;
|
|
12
12
|
defaultHealthCheck?: boolean;
|
|
13
13
|
env?: V1EnvVar[];
|
|
14
14
|
fault?: string;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { ExperimentChaosInputs } from '../schemas/ExperimentChaosInputs';
|
|
2
|
+
import type { ExperimentTargets } from '../schemas/ExperimentTargets';
|
|
3
|
+
export interface ExperimentDefinition {
|
|
4
|
+
/**
|
|
5
|
+
* Chaos to store the chaos inputs
|
|
6
|
+
*/
|
|
7
|
+
chaos?: ExperimentChaosInputs;
|
|
8
|
+
/**
|
|
9
|
+
* Type of the fault
|
|
10
|
+
*/
|
|
11
|
+
targets?: ExperimentTargets;
|
|
12
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type { ExperimentConfigMap } from '../schemas/ExperimentConfigMap';
|
|
2
|
+
import type { ExperimentHelperConfig } from '../schemas/ExperimentHelperConfig';
|
|
3
|
+
import type { ExperimentHostFile } from '../schemas/ExperimentHostFile';
|
|
4
|
+
import type { V1LocalObjectReference } from '../schemas/V1LocalObjectReference';
|
|
5
|
+
import type { ExperimentProjectedVolumes } from '../schemas/ExperimentProjectedVolumes';
|
|
6
|
+
import type { V1ResourceRequirements } from '../schemas/V1ResourceRequirements';
|
|
7
|
+
import type { ExperimentSecret } from '../schemas/ExperimentSecret';
|
|
8
|
+
import type { ExperimentSecurityContext } from '../schemas/ExperimentSecurityContext';
|
|
9
|
+
import type { ExperimentSidecar } from '../schemas/ExperimentSidecar';
|
|
10
|
+
import type { ExperimentStatusCheckTimeout } from '../schemas/ExperimentStatusCheckTimeout';
|
|
11
|
+
import type { V1Toleration } from '../schemas/V1Toleration';
|
|
12
|
+
export interface ExperimentExperimentComponents {
|
|
13
|
+
configMaps?: ExperimentConfigMap[];
|
|
14
|
+
helper?: ExperimentHelperConfig;
|
|
15
|
+
hostFileVolumes?: ExperimentHostFile[];
|
|
16
|
+
hostPID?: boolean;
|
|
17
|
+
imagePullSecrets?: V1LocalObjectReference[];
|
|
18
|
+
nodeSelector?: {
|
|
19
|
+
[key: string]: string;
|
|
20
|
+
};
|
|
21
|
+
projectedVolumes?: ExperimentProjectedVolumes[];
|
|
22
|
+
resources?: V1ResourceRequirements;
|
|
23
|
+
secrets?: ExperimentSecret[];
|
|
24
|
+
securityContext?: ExperimentSecurityContext;
|
|
25
|
+
sidecar?: ExperimentSidecar[];
|
|
26
|
+
statusCheckTimeouts?: ExperimentStatusCheckTimeout;
|
|
27
|
+
terminationGracePeriodSeconds?: number;
|
|
28
|
+
tolerations?: V1Toleration[];
|
|
29
|
+
}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ExperimentConfigMap } from '../schemas/ExperimentConfigMap';
|
|
2
2
|
import type { V1EnvVar } from '../schemas/V1EnvVar';
|
|
3
|
-
import type {
|
|
3
|
+
import type { ExperimentHostFile } from '../schemas/ExperimentHostFile';
|
|
4
4
|
import type { V1PullPolicy } from '../schemas/V1PullPolicy';
|
|
5
5
|
import type { V1LocalObjectReference } from '../schemas/V1LocalObjectReference';
|
|
6
6
|
import type { V1ResourceRequirements } from '../schemas/V1ResourceRequirements';
|
|
7
|
-
import type {
|
|
8
|
-
import type {
|
|
7
|
+
import type { ExperimentSecret } from '../schemas/ExperimentSecret';
|
|
8
|
+
import type { ExperimentSecurityContext } from '../schemas/ExperimentSecurityContext';
|
|
9
9
|
import type { V1Toleration } from '../schemas/V1Toleration';
|
|
10
|
-
export interface
|
|
10
|
+
export interface ExperimentHelperConfig {
|
|
11
11
|
annotations?: {
|
|
12
12
|
[key: string]: string;
|
|
13
13
|
};
|
|
14
14
|
args?: string[];
|
|
15
15
|
command?: string[];
|
|
16
|
-
configMaps?:
|
|
16
|
+
configMaps?: ExperimentConfigMap[];
|
|
17
17
|
env?: V1EnvVar[];
|
|
18
|
-
hostFileVolumes?:
|
|
18
|
+
hostFileVolumes?: ExperimentHostFile[];
|
|
19
19
|
hostIPC?: boolean;
|
|
20
20
|
hostNetwork?: boolean;
|
|
21
21
|
hostPID?: boolean;
|
|
@@ -29,7 +29,7 @@ export interface TypesHelperConfig {
|
|
|
29
29
|
[key: string]: string;
|
|
30
30
|
};
|
|
31
31
|
resources?: V1ResourceRequirements;
|
|
32
|
-
secrets?:
|
|
33
|
-
securityContext?:
|
|
32
|
+
secrets?: ExperimentSecret[];
|
|
33
|
+
securityContext?: ExperimentSecurityContext;
|
|
34
34
|
tolerations?: V1Toleration[];
|
|
35
35
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { V1SecurityContext } from '../schemas/V1SecurityContext';
|
|
2
2
|
import type { V1PodSecurityContext } from '../schemas/V1PodSecurityContext';
|
|
3
|
-
export interface
|
|
3
|
+
export interface ExperimentSecurityContext {
|
|
4
4
|
containerSecurityContext?: V1SecurityContext;
|
|
5
5
|
podSecurityContext?: V1PodSecurityContext;
|
|
6
6
|
}
|
package/dist/chaos-manager/src/services/schemas/{TypesSidecar.d.ts → ExperimentSidecar.d.ts}
RENAMED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import type { V1EnvVar } from '../schemas/V1EnvVar';
|
|
2
2
|
import type { V1EnvFromSource } from '../schemas/V1EnvFromSource';
|
|
3
3
|
import type { V1PullPolicy } from '../schemas/V1PullPolicy';
|
|
4
|
-
import type {
|
|
5
|
-
export interface
|
|
4
|
+
import type { ExperimentSecret } from '../schemas/ExperimentSecret';
|
|
5
|
+
export interface ExperimentSidecar {
|
|
6
6
|
env?: V1EnvVar[];
|
|
7
7
|
envFrom?: V1EnvFromSource[];
|
|
8
8
|
image?: string;
|
|
9
9
|
imagePullPolicy?: V1PullPolicy;
|
|
10
|
-
secrets?:
|
|
10
|
+
secrets?: ExperimentSecret[];
|
|
11
11
|
}
|
package/dist/chaos-manager/src/services/schemas/{TypesWorkload.d.ts → ExperimentWorkload.d.ts}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
export interface
|
|
1
|
+
import type { ExperimentWorkloadKind } from '../schemas/ExperimentWorkloadKind';
|
|
2
|
+
export interface ExperimentWorkload {
|
|
3
3
|
/**
|
|
4
4
|
* Kind of the workload
|
|
5
5
|
*/
|
|
6
|
-
kind?:
|
|
6
|
+
kind?: ExperimentWorkloadKind;
|
|
7
7
|
/**
|
|
8
8
|
* Labels of the workload
|
|
9
9
|
*/
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type ExperimentWorkloadKind = 'daemonSet' | 'deployment' | 'deploymentconfig' | 'pod' | 'rollout' | 'statefulset';
|
package/package.json
CHANGED
package/dist/chaos-manager/src/services/schemas/GithubComWingsSoftwareDdcrPkgTypesDefinition.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { GithubComWingsSoftwareDdcrPkgTypesChaosInputs } from '../schemas/GithubComWingsSoftwareDdcrPkgTypesChaosInputs';
|
|
2
|
-
import type { TypesTargets } from '../schemas/TypesTargets';
|
|
3
|
-
export interface GithubComWingsSoftwareDdcrPkgTypesDefinition {
|
|
4
|
-
/**
|
|
5
|
-
* Chaos to store the chaos inputs
|
|
6
|
-
*/
|
|
7
|
-
chaos?: GithubComWingsSoftwareDdcrPkgTypesChaosInputs;
|
|
8
|
-
/**
|
|
9
|
-
* Type of the fault
|
|
10
|
-
*/
|
|
11
|
-
targets?: TypesTargets;
|
|
12
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import type { TypesConfigMap } from '../schemas/TypesConfigMap';
|
|
2
|
-
import type { TypesHelperConfig } from '../schemas/TypesHelperConfig';
|
|
3
|
-
import type { TypesHostFile } from '../schemas/TypesHostFile';
|
|
4
|
-
import type { V1LocalObjectReference } from '../schemas/V1LocalObjectReference';
|
|
5
|
-
import type { TypesProjectedVolumes } from '../schemas/TypesProjectedVolumes';
|
|
6
|
-
import type { V1ResourceRequirements } from '../schemas/V1ResourceRequirements';
|
|
7
|
-
import type { TypesSecret } from '../schemas/TypesSecret';
|
|
8
|
-
import type { TypesSecurityContext } from '../schemas/TypesSecurityContext';
|
|
9
|
-
import type { TypesSidecar } from '../schemas/TypesSidecar';
|
|
10
|
-
import type { TypesStatusCheckTimeout } from '../schemas/TypesStatusCheckTimeout';
|
|
11
|
-
import type { V1Toleration } from '../schemas/V1Toleration';
|
|
12
|
-
export interface TypesExperimentComponents {
|
|
13
|
-
configMaps?: TypesConfigMap[];
|
|
14
|
-
helper?: TypesHelperConfig;
|
|
15
|
-
hostFileVolumes?: TypesHostFile[];
|
|
16
|
-
hostPID?: boolean;
|
|
17
|
-
imagePullSecrets?: V1LocalObjectReference[];
|
|
18
|
-
nodeSelector?: {
|
|
19
|
-
[key: string]: string;
|
|
20
|
-
};
|
|
21
|
-
projectedVolumes?: TypesProjectedVolumes[];
|
|
22
|
-
resources?: V1ResourceRequirements;
|
|
23
|
-
secrets?: TypesSecret[];
|
|
24
|
-
securityContext?: TypesSecurityContext;
|
|
25
|
-
sidecar?: TypesSidecar[];
|
|
26
|
-
statusCheckTimeouts?: TypesStatusCheckTimeout;
|
|
27
|
-
terminationGracePeriodSeconds?: number;
|
|
28
|
-
tolerations?: V1Toleration[];
|
|
29
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type TypesWorkloadKind = 'daemonSet' | 'deployment' | 'deploymentconfig' | 'pod' | 'rollout' | 'statefulset';
|
|
File without changes
|
/package/dist/chaos-manager/src/services/schemas/{TypesApplication.js → ChaoshubresourcesLink.js}
RENAMED
|
File without changes
|
|
File without changes
|
/package/dist/chaos-manager/src/services/schemas/{TypesSecret.js → ExperimentApplication.js}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/chaos-manager/src/services/schemas/{TypesHelperConfig.js → ExperimentHelperConfig.js}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/chaos-manager/src/services/schemas/{TypesWorkloadKind.js → ExperimentSecret.js}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|