@harnessio/react-chaos-manager-client 1.1.0 → 1.4.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/hooks/useListFaultQuery.d.ts +1 -0
- package/dist/chaos-manager/src/services/index.d.ts +18 -18
- package/dist/chaos-manager/src/services/schemas/ChaosExecutionNodesChaosExecutionNode.d.ts +1 -0
- 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/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/ExecutionChaosExecutionNode.d.ts +1 -0
- package/dist/chaos-manager/src/services/schemas/ExecutionFaultData.d.ts +8 -4
- 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/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/ExecutionKubernetesFaultData.d.ts +0 -10
- package/dist/chaos-manager/src/services/schemas/ExecutionMachineChaosFaultData.d.ts +0 -3
- 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/TypesWorkload.js +0 -1
- package/dist/chaos-manager/src/services/schemas/TypesWorkloadKind.d.ts +0 -1
- /package/dist/chaos-manager/src/services/schemas/{ExecutionMachineChaosFaultData.js → ChaoshubresourcesLink.js} +0 -0
- /package/dist/chaos-manager/src/services/schemas/{TypesApplication.js → ChaoshubresourcesPermissionLevel.js} +0 -0
- /package/dist/chaos-manager/src/services/schemas/{TypesConfigMap.js → ExperimentApplication.js} +0 -0
- /package/dist/chaos-manager/src/services/schemas/{ExecutionKubernetesFaultData.js → ExperimentChaosInputs.js} +0 -0
- /package/dist/chaos-manager/src/services/schemas/{TypesSecret.js → ExperimentConfigMap.js} +0 -0
- /package/dist/chaos-manager/src/services/schemas/{GithubComWingsSoftwareDdcrPkgTypesChaosInputs.js → ExperimentDefinition.js} +0 -0
- /package/dist/chaos-manager/src/services/schemas/{GithubComWingsSoftwareDdcrPkgTypesDefinition.js → ExperimentExperimentComponents.js} +0 -0
- /package/dist/chaos-manager/src/services/schemas/{TypesExperimentComponents.js → ExperimentHelperConfig.js} +0 -0
- /package/dist/chaos-manager/src/services/schemas/{TypesHelperConfig.js → ExperimentHostFile.js} +0 -0
- /package/dist/chaos-manager/src/services/schemas/{TypesHostFile.js → ExperimentProjectedVolumes.js} +0 -0
- /package/dist/chaos-manager/src/services/schemas/{TypesStatusCheckTimeout.js → ExperimentSecret.js} +0 -0
- /package/dist/chaos-manager/src/services/schemas/{TypesProjectedVolumes.js → ExperimentSecurityContext.js} +0 -0
- /package/dist/chaos-manager/src/services/schemas/{TypesSecurityContext.js → ExperimentSelector.js} +0 -0
- /package/dist/chaos-manager/src/services/schemas/{TypesSelector.js → ExperimentSidecar.js} +0 -0
- /package/dist/chaos-manager/src/services/schemas/{TypesWorkloadKind.js → ExperimentStatusCheckTimeout.js} +0 -0
- /package/dist/chaos-manager/src/services/schemas/{TypesSidecar.js → ExperimentTargets.js} +0 -0
- /package/dist/chaos-manager/src/services/schemas/{TypesTargets.js → ExperimentWorkload.js} +0 -0
|
@@ -336,6 +336,8 @@ export type { ChaosfaulttemplateUpdateFaultTemplateResponse } from './schemas/Ch
|
|
|
336
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';
|
|
@@ -390,12 +392,26 @@ export type { ExecutionFaultData } from './schemas/ExecutionFaultData';
|
|
|
390
392
|
export type { ExecutionHelperPodDetails } from './schemas/ExecutionHelperPodDetails';
|
|
391
393
|
export type { ExecutionHttpProbe } from './schemas/ExecutionHttpProbe';
|
|
392
394
|
export type { ExecutionInfraType } from './schemas/ExecutionInfraType';
|
|
393
|
-
export type { ExecutionKubernetesFaultData } from './schemas/ExecutionKubernetesFaultData';
|
|
394
|
-
export type { ExecutionMachineChaosFaultData } from './schemas/ExecutionMachineChaosFaultData';
|
|
395
395
|
export type { ExecutionProbeData } from './schemas/ExecutionProbeData';
|
|
396
396
|
export type { ExecutionProbeIterations } from './schemas/ExecutionProbeIterations';
|
|
397
397
|
export type { ExecutionPromProbe } from './schemas/ExecutionPromProbe';
|
|
398
|
+
export type { ExperimentApplication } from './schemas/ExperimentApplication';
|
|
399
|
+
export type { ExperimentChaosInputs } from './schemas/ExperimentChaosInputs';
|
|
400
|
+
export type { ExperimentConfigMap } from './schemas/ExperimentConfigMap';
|
|
401
|
+
export type { ExperimentDefinition } from './schemas/ExperimentDefinition';
|
|
402
|
+
export type { ExperimentExperimentComponents } from './schemas/ExperimentExperimentComponents';
|
|
403
|
+
export type { ExperimentHelperConfig } from './schemas/ExperimentHelperConfig';
|
|
404
|
+
export type { ExperimentHostFile } from './schemas/ExperimentHostFile';
|
|
405
|
+
export type { ExperimentProjectedVolumes } from './schemas/ExperimentProjectedVolumes';
|
|
398
406
|
export type { ExperimentSaveChaosExperimentResponse } from './schemas/ExperimentSaveChaosExperimentResponse';
|
|
407
|
+
export type { ExperimentSecret } from './schemas/ExperimentSecret';
|
|
408
|
+
export type { ExperimentSecurityContext } from './schemas/ExperimentSecurityContext';
|
|
409
|
+
export type { ExperimentSelector } from './schemas/ExperimentSelector';
|
|
410
|
+
export type { ExperimentSidecar } from './schemas/ExperimentSidecar';
|
|
411
|
+
export type { ExperimentStatusCheckTimeout } from './schemas/ExperimentStatusCheckTimeout';
|
|
412
|
+
export type { ExperimentTargets } from './schemas/ExperimentTargets';
|
|
413
|
+
export type { ExperimentWorkload } from './schemas/ExperimentWorkload';
|
|
414
|
+
export type { ExperimentWorkloadKind } from './schemas/ExperimentWorkloadKind';
|
|
399
415
|
export type { Gamedayrunv2ApprovalStatus } from './schemas/Gamedayrunv2ApprovalStatus';
|
|
400
416
|
export type { Gamedayrunv2PrerequisiteStatus } from './schemas/Gamedayrunv2PrerequisiteStatus';
|
|
401
417
|
export type { Gamedayv2GamedayRunStatus } from './schemas/Gamedayv2GamedayRunStatus';
|
|
@@ -440,8 +456,6 @@ export type { GithubComHarnessHceSaasHceSdkTemplateSchemaProbeSecretManager } fr
|
|
|
440
456
|
export type { GithubComHarnessHceSaasHceSdkTemplateSchemaProbeSplunkObservabilityMetrics } from './schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeSplunkObservabilityMetrics';
|
|
441
457
|
export type { GithubComHarnessHceSaasHceSdkTemplateSchemaProbeSplunkObservabilityProbeInputs } from './schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeSplunkObservabilityProbeInputs';
|
|
442
458
|
export type { GithubComHarnessHceSaasHceSdkTypesApiK8sifsImageRegistryScopedIdentifiers } from './schemas/GithubComHarnessHceSaasHceSdkTypesApiK8sifsImageRegistryScopedIdentifiers';
|
|
443
|
-
export type { GithubComWingsSoftwareDdcrPkgTypesChaosInputs } from './schemas/GithubComWingsSoftwareDdcrPkgTypesChaosInputs';
|
|
444
|
-
export type { GithubComWingsSoftwareDdcrPkgTypesDefinition } from './schemas/GithubComWingsSoftwareDdcrPkgTypesDefinition';
|
|
445
459
|
export type { HandlersChaosExperimentRunsStatsResponse } from './schemas/HandlersChaosExperimentRunsStatsResponse';
|
|
446
460
|
export type { HandlersChaosLicenseUsageDto } from './schemas/HandlersChaosLicenseUsageDto';
|
|
447
461
|
export type { HandlersDashboard } from './schemas/HandlersDashboard';
|
|
@@ -642,8 +656,6 @@ export type { TemplateVariableCategory } from './schemas/TemplateVariableCategor
|
|
|
642
656
|
export type { TemplateVariableMinimum } from './schemas/TemplateVariableMinimum';
|
|
643
657
|
export type { TemplateVariableType } from './schemas/TemplateVariableType';
|
|
644
658
|
export type { TypesActionItem } from './schemas/TypesActionItem';
|
|
645
|
-
export type { TypesApplication } from './schemas/TypesApplication';
|
|
646
|
-
export type { TypesConfigMap } from './schemas/TypesConfigMap';
|
|
647
659
|
export type { TypesCreateGamedayRequest } from './schemas/TypesCreateGamedayRequest';
|
|
648
660
|
export type { TypesCreateGamedayResponse } from './schemas/TypesCreateGamedayResponse';
|
|
649
661
|
export type { TypesCreateGamedayRunResponse } from './schemas/TypesCreateGamedayRunResponse';
|
|
@@ -652,7 +664,6 @@ export type { TypesCreateNoteResponse } from './schemas/TypesCreateNoteResponse'
|
|
|
652
664
|
export type { TypesCreateProbeResponse } from './schemas/TypesCreateProbeResponse';
|
|
653
665
|
export type { TypesDeleteChaosV2ExperimentResponse } from './schemas/TypesDeleteChaosV2ExperimentResponse';
|
|
654
666
|
export type { TypesExecutedByExperiment } from './schemas/TypesExecutedByExperiment';
|
|
655
|
-
export type { TypesExperimentComponents } from './schemas/TypesExperimentComponents';
|
|
656
667
|
export type { TypesExperimentCreationError } from './schemas/TypesExperimentCreationError';
|
|
657
668
|
export type { TypesExperimentCreationRequest } from './schemas/TypesExperimentCreationRequest';
|
|
658
669
|
export type { TypesExperimentCreationResponse } from './schemas/TypesExperimentCreationResponse';
|
|
@@ -665,8 +676,6 @@ export type { TypesGamedayV2 } from './schemas/TypesGamedayV2';
|
|
|
665
676
|
export type { TypesGetGamedayExperimentResponse } from './schemas/TypesGetGamedayExperimentResponse';
|
|
666
677
|
export type { TypesGetGamedayResponse } from './schemas/TypesGetGamedayResponse';
|
|
667
678
|
export type { TypesGetProbeResponse } from './schemas/TypesGetProbeResponse';
|
|
668
|
-
export type { TypesHelperConfig } from './schemas/TypesHelperConfig';
|
|
669
|
-
export type { TypesHostFile } from './schemas/TypesHostFile';
|
|
670
679
|
export type { TypesImportProbeTemplateRequest } from './schemas/TypesImportProbeTemplateRequest';
|
|
671
680
|
export type { TypesInfrastructureType } from './schemas/TypesInfrastructureType';
|
|
672
681
|
export type { TypesInternalExperimentRunRequest } from './schemas/TypesInternalExperimentRunRequest';
|
|
@@ -683,23 +692,16 @@ export type { TypesProbeBulkEnableRequest } from './schemas/TypesProbeBulkEnable
|
|
|
683
692
|
export type { TypesProbeRecentExecutions } from './schemas/TypesProbeRecentExecutions';
|
|
684
693
|
export type { TypesProbeRequest } from './schemas/TypesProbeRequest';
|
|
685
694
|
export type { TypesProbeType } from './schemas/TypesProbeType';
|
|
686
|
-
export type { TypesProjectedVolumes } from './schemas/TypesProjectedVolumes';
|
|
687
695
|
export type { TypesRecentGamedayRun } from './schemas/TypesRecentGamedayRun';
|
|
688
696
|
export type { TypesRun } from './schemas/TypesRun';
|
|
689
697
|
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
698
|
export type { TypesStakeHolderDetailsForRuns } from './schemas/TypesStakeHolderDetailsForRuns';
|
|
695
699
|
export type { TypesStakeHolderInput } from './schemas/TypesStakeHolderInput';
|
|
696
700
|
export type { TypesStakeHolderResponse } from './schemas/TypesStakeHolderResponse';
|
|
697
701
|
export type { TypesStakeHolderRole } from './schemas/TypesStakeHolderRole';
|
|
698
702
|
export type { TypesStatus } from './schemas/TypesStatus';
|
|
699
|
-
export type { TypesStatusCheckTimeout } from './schemas/TypesStatusCheckTimeout';
|
|
700
703
|
export type { TypesStopChaosV2ExperimentResponse } from './schemas/TypesStopChaosV2ExperimentResponse';
|
|
701
704
|
export type { TypesSummary } from './schemas/TypesSummary';
|
|
702
|
-
export type { TypesTargets } from './schemas/TypesTargets';
|
|
703
705
|
export type { TypesUpdateCronExperimentAction } from './schemas/TypesUpdateCronExperimentAction';
|
|
704
706
|
export type { TypesUpdateCronExperimentStateRequest } from './schemas/TypesUpdateCronExperimentStateRequest';
|
|
705
707
|
export type { TypesUpdateCronExperimentStateResponse } from './schemas/TypesUpdateCronExperimentStateResponse';
|
|
@@ -711,8 +713,6 @@ export type { TypesUpdatePrerequisiteRequest } from './schemas/TypesUpdatePrereq
|
|
|
711
713
|
export type { TypesUpdateStakeHolderActionRequest } from './schemas/TypesUpdateStakeHolderActionRequest';
|
|
712
714
|
export type { TypesUserDetails } from './schemas/TypesUserDetails';
|
|
713
715
|
export type { TypesWeightages } from './schemas/TypesWeightages';
|
|
714
|
-
export type { TypesWorkload } from './schemas/TypesWorkload';
|
|
715
|
-
export type { TypesWorkloadKind } from './schemas/TypesWorkloadKind';
|
|
716
716
|
export type { V1ApmProbeInputs } from './schemas/V1ApmProbeInputs';
|
|
717
717
|
export type { V1ApmProbeTlsConfig } from './schemas/V1ApmProbeTlsConfig';
|
|
718
718
|
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;
|
|
@@ -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 = 'advanced' | 'basic';
|
|
@@ -1,6 +1,10 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type {
|
|
1
|
+
import type { ExecutionHelperPodDetails } from '../schemas/ExecutionHelperPodDetails';
|
|
2
|
+
import type { V1alpha1TargetDetails } from '../schemas/V1alpha1TargetDetails';
|
|
3
|
+
import type { V1alpha1Targets } from '../schemas/V1alpha1Targets';
|
|
3
4
|
export interface ExecutionFaultData {
|
|
4
|
-
|
|
5
|
-
|
|
5
|
+
helperPodDetails?: ExecutionHelperPodDetails[];
|
|
6
|
+
name?: string;
|
|
7
|
+
namespace?: string;
|
|
8
|
+
targetChaosStatus?: V1alpha1TargetDetails[];
|
|
9
|
+
targets?: V1alpha1Targets[];
|
|
6
10
|
}
|
|
@@ -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
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { ExecutionHelperPodDetails } from '../schemas/ExecutionHelperPodDetails';
|
|
2
|
-
import type { V1alpha1TargetDetails } from '../schemas/V1alpha1TargetDetails';
|
|
3
|
-
import type { V1alpha1Targets } from '../schemas/V1alpha1Targets';
|
|
4
|
-
export interface ExecutionKubernetesFaultData {
|
|
5
|
-
helperPodDetails?: ExecutionHelperPodDetails[];
|
|
6
|
-
name?: string;
|
|
7
|
-
namespace?: string;
|
|
8
|
-
targetChaosStatus?: V1alpha1TargetDetails[];
|
|
9
|
-
targets?: V1alpha1Targets[];
|
|
10
|
-
}
|
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 {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type TypesWorkloadKind = 'daemonSet' | 'deployment' | 'deploymentconfig' | 'pod' | 'rollout' | 'statefulset';
|
|
File without changes
|
|
File without changes
|
/package/dist/chaos-manager/src/services/schemas/{TypesConfigMap.js → ExperimentApplication.js}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/chaos-manager/src/services/schemas/{TypesHelperConfig.js → ExperimentHostFile.js}
RENAMED
|
File without changes
|
/package/dist/chaos-manager/src/services/schemas/{TypesHostFile.js → ExperimentProjectedVolumes.js}
RENAMED
|
File without changes
|
/package/dist/chaos-manager/src/services/schemas/{TypesStatusCheckTimeout.js → ExperimentSecret.js}
RENAMED
|
File without changes
|
|
File without changes
|
/package/dist/chaos-manager/src/services/schemas/{TypesSecurityContext.js → ExperimentSelector.js}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|