@harnessio/react-chaos-manager-client 1.38.0 → 1.40.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/useCreateExperimentFromTemplateMutation.d.ts +2 -2
- package/dist/chaos-manager/src/services/hooks/useGetAccountServiceDetailsQuery.d.ts +8 -0
- package/dist/chaos-manager/src/services/hooks/useGetAccountServiceUsageStatsQuery.d.ts +6 -0
- package/dist/chaos-manager/src/services/hooks/useGetExperimentTemplateQuery.d.ts +1 -0
- package/dist/chaos-manager/src/services/hooks/useGetExperimentTemplateVariablesQuery.d.ts +1 -0
- package/dist/chaos-manager/src/services/hooks/useGetExperimentTemplateYamlQuery.d.ts +1 -0
- package/dist/chaos-manager/src/services/hooks/useGetExperimentationActivityReportQuery.d.ts +6 -0
- package/dist/chaos-manager/src/services/hooks/useGetFaultTemplateRevisionsQuery.d.ts +2 -0
- package/dist/chaos-manager/src/services/hooks/useGetOnboardingExperimentsQuery.d.ts +2 -0
- package/dist/chaos-manager/src/services/hooks/useGetOverallServiceUsageStatsQuery.d.ts +6 -0
- package/dist/chaos-manager/src/services/hooks/useGetServiceUsageReportQuery.d.ts +6 -0
- package/dist/chaos-manager/src/services/hooks/useListActionTemplateQuery.d.ts +2 -0
- package/dist/chaos-manager/src/services/hooks/useListActionTemplateRevisionsQuery.d.ts +2 -0
- package/dist/chaos-manager/src/services/hooks/useListActionsQuery.d.ts +2 -0
- package/dist/chaos-manager/src/services/hooks/useListChaosEnabledInfraV2Query.d.ts +2 -0
- package/dist/chaos-manager/src/services/hooks/useListChaosHubQuery.d.ts +2 -0
- package/dist/chaos-manager/src/services/hooks/useListChaosV2ExperimentQuery.d.ts +2 -0
- package/dist/chaos-manager/src/services/hooks/useListFaultQuery.d.ts +2 -0
- package/dist/chaos-manager/src/services/hooks/useListGamedayV2Query.d.ts +2 -0
- package/dist/chaos-manager/src/services/hooks/useListHarnessInfraQuery.d.ts +2 -0
- package/dist/chaos-manager/src/services/hooks/useListInfraV2Query.d.ts +2 -0
- package/dist/chaos-manager/src/services/hooks/useListInputSetQuery.d.ts +2 -0
- package/dist/chaos-manager/src/services/hooks/useListMachineChaosInfraQuery.d.ts +2 -0
- package/dist/chaos-manager/src/services/hooks/useListProbeTemplateQuery.d.ts +2 -0
- package/dist/chaos-manager/src/services/hooks/useListProbesQuery.d.ts +2 -0
- package/dist/chaos-manager/src/services/hooks/useListRecommendationsQuery.d.ts +2 -0
- package/dist/chaos-manager/src/services/hooks/useListServiceQuery.d.ts +2 -0
- package/dist/chaos-manager/src/services/hooks/useListTargetNetworkMapsQuery.d.ts +2 -0
- package/dist/chaos-manager/src/services/hooks/useListV2OnboardingQuery.d.ts +2 -0
- package/dist/chaos-manager/src/services/index.d.ts +14 -2
- package/dist/chaos-manager/src/services/schemas/ActionActionTemplateProperties.d.ts +2 -2
- package/dist/chaos-manager/src/services/schemas/ActionsActionResponse.d.ts +2 -0
- package/dist/chaos-manager/src/services/schemas/ActionsActionType.d.ts +1 -1
- package/dist/chaos-manager/src/services/schemas/ActionsImportActionTemplateRequest.d.ts +2 -0
- package/dist/chaos-manager/src/services/schemas/ChaosExecutionNodesChaosExecutionResponse.d.ts +2 -0
- package/dist/chaos-manager/src/services/schemas/ChaosExperimentChaosExperimentRequest.d.ts +2 -0
- package/dist/chaos-manager/src/services/schemas/ChaosExperimentRunChaosExperimentRun.d.ts +2 -0
- package/dist/chaos-manager/src/services/schemas/ChaosExperimentRunTemplateDetails.d.ts +6 -0
- package/dist/chaos-manager/src/services/schemas/ChaosexperimenttemplateChaosExperimentTemplate.d.ts +4 -0
- package/dist/chaos-manager/src/services/schemas/ChaosfaultChaosFault.d.ts +2 -0
- package/dist/chaos-manager/src/services/schemas/ChaosfaultCreateFaultRequest.d.ts +2 -0
- package/dist/chaos-manager/src/services/schemas/ChaosfaultGetFaultResponse.d.ts +2 -0
- package/dist/chaos-manager/src/services/schemas/CommonContainerTemplate.d.ts +38 -0
- package/dist/chaos-manager/src/services/schemas/CommonNodeAffinity.d.ts +7 -0
- package/dist/chaos-manager/src/services/schemas/CommonNodeAffinity.js +1 -0
- package/dist/chaos-manager/src/services/schemas/CommonPreferredNodeSelector.d.ts +9 -0
- package/dist/chaos-manager/src/services/schemas/CommonPreferredNodeSelector.js +4 -0
- package/dist/chaos-manager/src/services/schemas/CommonResourceRequirements.d.ts +8 -0
- package/dist/chaos-manager/src/services/schemas/CommonResourceRequirements.js +4 -0
- package/dist/chaos-manager/src/services/schemas/CommonVolume.d.ts +14 -0
- package/dist/chaos-manager/src/services/schemas/CommonVolume.js +1 -0
- package/dist/chaos-manager/src/services/schemas/CommonVolumeInputTemplate.d.ts +8 -0
- package/dist/chaos-manager/src/services/schemas/CommonVolumeInputTemplate.js +4 -0
- package/dist/chaos-manager/src/services/schemas/CommonVolumeType.d.ts +1 -0
- package/dist/chaos-manager/src/services/schemas/CommonVolumeType.js +4 -0
- package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbActionsAction.d.ts +2 -0
- package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasHceSdkCommonProbeV1Probe.d.ts +5 -0
- package/dist/chaos-manager/src/services/schemas/IntstrType.d.ts +3 -0
- package/dist/chaos-manager/src/services/schemas/ModelTemplateRef.d.ts +18 -0
- package/dist/chaos-manager/src/services/schemas/ModelTemplateRef.js +4 -0
- package/dist/chaos-manager/src/services/schemas/ModelWorkflow.d.ts +5 -0
- package/dist/chaos-manager/src/services/schemas/ModelWorkflowRun.d.ts +5 -0
- package/dist/chaos-manager/src/services/schemas/MongodbManagedBy.d.ts +1 -0
- package/dist/chaos-manager/src/services/schemas/MongodbManagedBy.js +4 -0
- package/dist/chaos-manager/src/services/schemas/ProbeContainerProbe.d.ts +49 -0
- package/dist/chaos-manager/src/services/schemas/ProbeContainerProbe.js +1 -0
- package/dist/chaos-manager/src/services/schemas/ProbeContainerProbeTemplate.d.ts +40 -0
- package/dist/chaos-manager/src/services/schemas/ProbeContainerProbeTemplate.js +1 -0
- package/dist/chaos-manager/src/services/schemas/ProbeProbeTemplateProperties.d.ts +2 -0
- package/dist/chaos-manager/src/services/schemas/ProbeProbeType.d.ts +1 -1
- package/dist/chaos-manager/src/services/schemas/{ChaosexperimenttemplateCreateExperimentFromTemplateRequest.d.ts → TypesCreateExperimentFromTemplateRequest.d.ts} +3 -1
- package/dist/chaos-manager/src/services/schemas/TypesCreateExperimentFromTemplateRequest.js +1 -0
- package/dist/chaos-manager/src/services/schemas/TypesCreateProbeResponse.d.ts +2 -0
- package/dist/chaos-manager/src/services/schemas/TypesExperimentCreationRequest.d.ts +2 -0
- package/dist/chaos-manager/src/services/schemas/TypesExperimentV2.d.ts +2 -0
- package/dist/chaos-manager/src/services/schemas/TypesGetProbeResponse.d.ts +2 -0
- package/dist/chaos-manager/src/services/schemas/TypesImportProbeTemplateRequest.d.ts +2 -0
- package/dist/chaos-manager/src/services/schemas/TypesProbeRequest.d.ts +2 -0
- package/dist/chaos-manager/src/services/schemas/TypesProbeType.d.ts +1 -1
- package/dist/chaos-manager/src/services/schemas/V1ContainerProbeInputs.d.ts +43 -0
- package/dist/chaos-manager/src/services/schemas/V1ContainerProbeInputs.js +1 -0
- package/package.json +1 -1
- package/dist/chaos-manager/src/services/schemas/ActionSourceActionTemplate.d.ts +0 -17
- /package/dist/chaos-manager/src/services/schemas/{ChaosexperimenttemplateCreateExperimentFromTemplateRequest.js → ChaosExperimentRunTemplateDetails.js} +0 -0
- /package/dist/chaos-manager/src/services/schemas/{ActionSourceActionTemplate.js → CommonContainerTemplate.js} +0 -0
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { CommonImportType } from '../schemas/CommonImportType';
|
|
2
2
|
import type { FaultLink } from '../schemas/FaultLink';
|
|
3
|
+
import type { MongodbManagedBy } from '../schemas/MongodbManagedBy';
|
|
3
4
|
import type { FaulttemplateSpec } from '../schemas/FaulttemplateSpec';
|
|
4
5
|
import type { FaultTemplateReference } from '../schemas/FaultTemplateReference';
|
|
5
6
|
import type { TemplateVariableMinimum } from '../schemas/TemplateVariableMinimum';
|
|
@@ -16,6 +17,7 @@ export interface ChaosfaultGetFaultResponse {
|
|
|
16
17
|
isEnterprise?: boolean;
|
|
17
18
|
kind?: string;
|
|
18
19
|
links?: FaultLink[];
|
|
20
|
+
managedBy?: MongodbManagedBy;
|
|
19
21
|
name: string;
|
|
20
22
|
permissionsRequired?: string;
|
|
21
23
|
spec?: FaulttemplateSpec;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import type { CommonNodeAffinity } from '../schemas/CommonNodeAffinity';
|
|
2
|
+
import type { V1SecurityContext } from '../schemas/V1SecurityContext';
|
|
3
|
+
import type { K8sIoApiCoreV1EnvVar } from '../schemas/K8sIoApiCoreV1EnvVar';
|
|
4
|
+
import type { V1PullPolicy } from '../schemas/V1PullPolicy';
|
|
5
|
+
import type { V1PodSecurityContext } from '../schemas/V1PodSecurityContext';
|
|
6
|
+
import type { CommonResourceRequirements } from '../schemas/CommonResourceRequirements';
|
|
7
|
+
import type { V1Toleration } from '../schemas/V1Toleration';
|
|
8
|
+
import type { V1VolumeMount } from '../schemas/V1VolumeMount';
|
|
9
|
+
import type { CommonVolume } from '../schemas/CommonVolume';
|
|
10
|
+
export interface CommonContainerTemplate {
|
|
11
|
+
affinity?: CommonNodeAffinity;
|
|
12
|
+
annotations?: {
|
|
13
|
+
[key: string]: string;
|
|
14
|
+
};
|
|
15
|
+
args?: string[];
|
|
16
|
+
command?: string[];
|
|
17
|
+
containerSecurityContext?: V1SecurityContext;
|
|
18
|
+
env?: K8sIoApiCoreV1EnvVar[];
|
|
19
|
+
hostIPC?: boolean;
|
|
20
|
+
hostNetwork?: boolean;
|
|
21
|
+
hostPID?: boolean;
|
|
22
|
+
image?: string;
|
|
23
|
+
imagePullPolicy?: V1PullPolicy;
|
|
24
|
+
imagePullSecrets?: string[];
|
|
25
|
+
labels?: {
|
|
26
|
+
[key: string]: string;
|
|
27
|
+
};
|
|
28
|
+
namespace?: string;
|
|
29
|
+
nodeSelector?: {
|
|
30
|
+
[key: string]: string;
|
|
31
|
+
};
|
|
32
|
+
podSecurityContext?: V1PodSecurityContext;
|
|
33
|
+
resources?: CommonResourceRequirements;
|
|
34
|
+
serviceAccountName?: string;
|
|
35
|
+
tolerations?: V1Toleration[];
|
|
36
|
+
volumeMounts?: V1VolumeMount[];
|
|
37
|
+
volumes?: CommonVolume[];
|
|
38
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { CommonVolumeInputTemplate } from '../schemas/CommonVolumeInputTemplate';
|
|
2
|
+
import type { V1EmptyDirVolumeSource } from '../schemas/V1EmptyDirVolumeSource';
|
|
3
|
+
import type { V1HostPathVolumeSource } from '../schemas/V1HostPathVolumeSource';
|
|
4
|
+
import type { V1PersistentVolumeClaimVolumeSource } from '../schemas/V1PersistentVolumeClaimVolumeSource';
|
|
5
|
+
import type { CommonVolumeType } from '../schemas/CommonVolumeType';
|
|
6
|
+
export interface CommonVolume {
|
|
7
|
+
configMap?: CommonVolumeInputTemplate;
|
|
8
|
+
emptyDir?: V1EmptyDirVolumeSource;
|
|
9
|
+
hostPath?: V1HostPathVolumeSource;
|
|
10
|
+
name?: string;
|
|
11
|
+
persistentVolumeClaim?: V1PersistentVolumeClaimVolumeSource;
|
|
12
|
+
secret?: CommonVolumeInputTemplate;
|
|
13
|
+
type?: CommonVolumeType;
|
|
14
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type CommonVolumeType = 'ConfigMap' | 'EmptyDir' | 'HostPath' | 'PersistentVolumeClaim' | 'Secret';
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { ActionActionTemplateProperties } from '../schemas/ActionActionTemplateProperties';
|
|
2
2
|
import type { MongodbImportType } from '../schemas/MongodbImportType';
|
|
3
3
|
import type { ActionsInfrastructureType } from '../schemas/ActionsInfrastructureType';
|
|
4
|
+
import type { MongodbManagedBy } from '../schemas/MongodbManagedBy';
|
|
4
5
|
import type { ActionsRecentExecutions } from '../schemas/ActionsRecentExecutions';
|
|
5
6
|
import type { ActionActionTemplateRunProperties } from '../schemas/ActionActionTemplateRunProperties';
|
|
6
7
|
import type { ActionsActionType } from '../schemas/ActionsActionType';
|
|
@@ -16,6 +17,7 @@ export interface GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbActionsAc
|
|
|
16
17
|
importType?: MongodbImportType;
|
|
17
18
|
infrastructureType?: ActionsInfrastructureType;
|
|
18
19
|
isRemoved?: boolean;
|
|
20
|
+
managedBy?: MongodbManagedBy;
|
|
19
21
|
name: string;
|
|
20
22
|
orgID?: string;
|
|
21
23
|
projectID?: string;
|
package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasHceSdkCommonProbeV1Probe.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { V1ApmProbeInputs } from '../schemas/V1ApmProbeInputs';
|
|
2
2
|
import type { GithubComHarnessHceSaasHceSdkCommonProbeV1CmdProbeInputs } from '../schemas/GithubComHarnessHceSaasHceSdkCommonProbeV1CmdProbeInputs';
|
|
3
|
+
import type { V1ContainerProbeInputs } from '../schemas/V1ContainerProbeInputs';
|
|
3
4
|
import type { GithubComHarnessHceSaasHceSdkCommonProbeV1DatadogProbeInputs } from '../schemas/GithubComHarnessHceSaasHceSdkCommonProbeV1DatadogProbeInputs';
|
|
4
5
|
import type { GithubComHarnessHceSaasHceSdkCommonProbeV1DynatraceProbeInputs } from '../schemas/GithubComHarnessHceSaasHceSdkCommonProbeV1DynatraceProbeInputs';
|
|
5
6
|
import type { GithubComHarnessHceSaasHceSdkCommonProbeV1HttpProbeInputs } from '../schemas/GithubComHarnessHceSaasHceSdkCommonProbeV1HttpProbeInputs';
|
|
@@ -17,6 +18,10 @@ export interface GithubComHarnessHceSaasHceSdkCommonProbeV1Probe {
|
|
|
17
18
|
* inputs needed for the cmd probe
|
|
18
19
|
*/
|
|
19
20
|
'cmdProbe/inputs'?: GithubComHarnessHceSaasHceSdkCommonProbeV1CmdProbeInputs;
|
|
21
|
+
/**
|
|
22
|
+
* ContainerInputs contains the inputs required for container probe
|
|
23
|
+
*/
|
|
24
|
+
'containerProbe/inputs'?: V1ContainerProbeInputs;
|
|
20
25
|
/**
|
|
21
26
|
* Data contains the manifest/data for the resource, which need to be created
|
|
22
27
|
* it supported for create operation only
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export interface ModelTemplateRef {
|
|
2
|
+
/**
|
|
3
|
+
* Reference to the hub where the template is stored
|
|
4
|
+
*/
|
|
5
|
+
hubRef?: string;
|
|
6
|
+
/**
|
|
7
|
+
* Unique identifier for the template
|
|
8
|
+
*/
|
|
9
|
+
identity?: string;
|
|
10
|
+
/**
|
|
11
|
+
* Reference path or identifier for the template
|
|
12
|
+
*/
|
|
13
|
+
ref?: string;
|
|
14
|
+
/**
|
|
15
|
+
* Version or revision of the template
|
|
16
|
+
*/
|
|
17
|
+
revision?: string;
|
|
18
|
+
}
|
|
@@ -3,6 +3,7 @@ import type { ModelEventMetadata } from '../schemas/ModelEventMetadata';
|
|
|
3
3
|
import type { GithubComHarnessHceSaasGraphqlServerGraphModelIdentifiers } from '../schemas/GithubComHarnessHceSaasGraphqlServerGraphModelIdentifiers';
|
|
4
4
|
import type { ModelInfrastructure } from '../schemas/ModelInfrastructure';
|
|
5
5
|
import type { ModelRecentWorkflowRun } from '../schemas/ModelRecentWorkflowRun';
|
|
6
|
+
import type { ModelTemplateRef } from '../schemas/ModelTemplateRef';
|
|
6
7
|
import type { ModelWeightages } from '../schemas/ModelWeightages';
|
|
7
8
|
export interface ModelWorkflow {
|
|
8
9
|
/**
|
|
@@ -70,6 +71,10 @@ export interface ModelWorkflow {
|
|
|
70
71
|
* Tags of the workflow
|
|
71
72
|
*/
|
|
72
73
|
tags?: string[];
|
|
74
|
+
/**
|
|
75
|
+
* TemplateDetails of an experiment
|
|
76
|
+
*/
|
|
77
|
+
templateDetails?: ModelTemplateRef;
|
|
73
78
|
/**
|
|
74
79
|
* Timestamp when the workflow was last updated
|
|
75
80
|
*/
|
|
@@ -4,6 +4,7 @@ import type { ModelInfrastructure } from '../schemas/ModelInfrastructure';
|
|
|
4
4
|
import type { ModelWorkflowRunStatus } from '../schemas/ModelWorkflowRunStatus';
|
|
5
5
|
import type { ModelProbeMap } from '../schemas/ModelProbeMap';
|
|
6
6
|
import type { ModelSecurityGovernance } from '../schemas/ModelSecurityGovernance';
|
|
7
|
+
import type { ModelTemplateRef } from '../schemas/ModelTemplateRef';
|
|
7
8
|
import type { ModelWeightages } from '../schemas/ModelWeightages';
|
|
8
9
|
export interface ModelWorkflowRun {
|
|
9
10
|
/**
|
|
@@ -98,6 +99,10 @@ export interface ModelWorkflowRun {
|
|
|
98
99
|
* Security Governance details of the workflow run
|
|
99
100
|
*/
|
|
100
101
|
securityGovernance?: ModelSecurityGovernance;
|
|
102
|
+
/**
|
|
103
|
+
* TemplateDetails of an experiment
|
|
104
|
+
*/
|
|
105
|
+
templateDetails?: ModelTemplateRef;
|
|
101
106
|
/**
|
|
102
107
|
* Total number of experiments
|
|
103
108
|
*/
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type MongodbManagedBy = 'EXPERIMENT';
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import type { CommonNodeAffinity } from '../schemas/CommonNodeAffinity';
|
|
2
|
+
import type { ProbeComparator } from '../schemas/ProbeComparator';
|
|
3
|
+
import type { V1SecurityContext } from '../schemas/V1SecurityContext';
|
|
4
|
+
import type { K8sIoApiCoreV1EnvVar } from '../schemas/K8sIoApiCoreV1EnvVar';
|
|
5
|
+
import type { V1PullPolicy } from '../schemas/V1PullPolicy';
|
|
6
|
+
import type { V1PodSecurityContext } from '../schemas/V1PodSecurityContext';
|
|
7
|
+
import type { CommonResourceRequirements } from '../schemas/CommonResourceRequirements';
|
|
8
|
+
import type { V1Toleration } from '../schemas/V1Toleration';
|
|
9
|
+
import type { V1VolumeMount } from '../schemas/V1VolumeMount';
|
|
10
|
+
import type { CommonVolume } from '../schemas/CommonVolume';
|
|
11
|
+
export interface ProbeContainerProbe {
|
|
12
|
+
affinity?: CommonNodeAffinity;
|
|
13
|
+
annotations?: {
|
|
14
|
+
[key: string]: string;
|
|
15
|
+
};
|
|
16
|
+
args?: string[];
|
|
17
|
+
attempt?: {};
|
|
18
|
+
command?: string[];
|
|
19
|
+
comparator?: ProbeComparator;
|
|
20
|
+
containerSecurityContext?: V1SecurityContext;
|
|
21
|
+
env?: K8sIoApiCoreV1EnvVar[];
|
|
22
|
+
hostIPC?: boolean;
|
|
23
|
+
hostNetwork?: boolean;
|
|
24
|
+
hostPID?: boolean;
|
|
25
|
+
image?: string;
|
|
26
|
+
imagePullPolicy?: V1PullPolicy;
|
|
27
|
+
imagePullSecrets?: string[];
|
|
28
|
+
initialDelay?: string;
|
|
29
|
+
initialDelaySeconds?: {};
|
|
30
|
+
interval?: string;
|
|
31
|
+
labels?: {
|
|
32
|
+
[key: string]: string;
|
|
33
|
+
};
|
|
34
|
+
namespace?: string;
|
|
35
|
+
nodeSelector?: {
|
|
36
|
+
[key: string]: string;
|
|
37
|
+
};
|
|
38
|
+
podSecurityContext?: V1PodSecurityContext;
|
|
39
|
+
pollingInterval?: string;
|
|
40
|
+
probeTimeout?: string;
|
|
41
|
+
resources?: CommonResourceRequirements;
|
|
42
|
+
retry?: {};
|
|
43
|
+
serviceAccountName?: string;
|
|
44
|
+
stopOnFailure?: boolean;
|
|
45
|
+
tolerations?: V1Toleration[];
|
|
46
|
+
verbosity?: string;
|
|
47
|
+
volumeMounts?: V1VolumeMount[];
|
|
48
|
+
volumes?: CommonVolume[];
|
|
49
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import type { CommonNodeAffinity } from '../schemas/CommonNodeAffinity';
|
|
2
|
+
import type { ProbeComparatorTemplate } from '../schemas/ProbeComparatorTemplate';
|
|
3
|
+
import type { V1SecurityContext } from '../schemas/V1SecurityContext';
|
|
4
|
+
import type { K8sIoApiCoreV1EnvVar } from '../schemas/K8sIoApiCoreV1EnvVar';
|
|
5
|
+
import type { V1PullPolicy } from '../schemas/V1PullPolicy';
|
|
6
|
+
import type { V1PodSecurityContext } from '../schemas/V1PodSecurityContext';
|
|
7
|
+
import type { CommonResourceRequirements } from '../schemas/CommonResourceRequirements';
|
|
8
|
+
import type { V1Toleration } from '../schemas/V1Toleration';
|
|
9
|
+
import type { V1VolumeMount } from '../schemas/V1VolumeMount';
|
|
10
|
+
import type { CommonVolume } from '../schemas/CommonVolume';
|
|
11
|
+
export interface ProbeContainerProbeTemplate {
|
|
12
|
+
affinity?: CommonNodeAffinity;
|
|
13
|
+
annotations?: {
|
|
14
|
+
[key: string]: string;
|
|
15
|
+
};
|
|
16
|
+
args?: string[];
|
|
17
|
+
command?: string[];
|
|
18
|
+
comparator?: ProbeComparatorTemplate;
|
|
19
|
+
containerSecurityContext?: V1SecurityContext;
|
|
20
|
+
env?: K8sIoApiCoreV1EnvVar[];
|
|
21
|
+
hostIPC?: boolean;
|
|
22
|
+
hostNetwork?: boolean;
|
|
23
|
+
hostPID?: boolean;
|
|
24
|
+
image?: string;
|
|
25
|
+
imagePullPolicy?: V1PullPolicy;
|
|
26
|
+
imagePullSecrets?: string[];
|
|
27
|
+
labels?: {
|
|
28
|
+
[key: string]: string;
|
|
29
|
+
};
|
|
30
|
+
namespace?: string;
|
|
31
|
+
nodeSelector?: {
|
|
32
|
+
[key: string]: string;
|
|
33
|
+
};
|
|
34
|
+
podSecurityContext?: V1PodSecurityContext;
|
|
35
|
+
resources?: CommonResourceRequirements;
|
|
36
|
+
serviceAccountName?: string;
|
|
37
|
+
tolerations?: V1Toleration[];
|
|
38
|
+
volumeMounts?: V1VolumeMount[];
|
|
39
|
+
volumes?: CommonVolume[];
|
|
40
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { ProbeApmProbeTemplate } from '../schemas/ProbeApmProbeTemplate';
|
|
2
2
|
import type { ProbeCmdProbeTemplate } from '../schemas/ProbeCmdProbeTemplate';
|
|
3
|
+
import type { ProbeContainerProbeTemplate } from '../schemas/ProbeContainerProbeTemplate';
|
|
3
4
|
import type { ProbeDatadogProbeTemplate } from '../schemas/ProbeDatadogProbeTemplate';
|
|
4
5
|
import type { ProbeDynatraceProbeTemplate } from '../schemas/ProbeDynatraceProbeTemplate';
|
|
5
6
|
import type { ProbeHttpProbeTemplate } from '../schemas/ProbeHttpProbeTemplate';
|
|
@@ -9,6 +10,7 @@ import type { ProbeSloProbeTemplate } from '../schemas/ProbeSloProbeTemplate';
|
|
|
9
10
|
export interface ProbeProbeTemplateProperties {
|
|
10
11
|
apmProbe?: ProbeApmProbeTemplate;
|
|
11
12
|
cmdProbe?: ProbeCmdProbeTemplate;
|
|
13
|
+
containerProbe?: ProbeContainerProbeTemplate;
|
|
12
14
|
datadogProbe?: ProbeDatadogProbeTemplate;
|
|
13
15
|
dynatraceProbe?: ProbeDynatraceProbeTemplate;
|
|
14
16
|
httpProbe?: ProbeHttpProbeTemplate;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type ProbeProbeType = 'cmdProbe' | 'datadogProbe' | 'dynatraceProbe' | 'httpProbe' | 'k8sProbe' | 'promProbe' | 'sloProbe';
|
|
1
|
+
export type ProbeProbeType = 'cmdProbe' | 'containerProbe' | 'datadogProbe' | 'dynatraceProbe' | 'httpProbe' | 'k8sProbe' | 'promProbe' | 'sloProbe';
|
|
@@ -1,10 +1,12 @@
|
|
|
1
|
-
|
|
1
|
+
import type { MongodbImportType } from '../schemas/MongodbImportType';
|
|
2
|
+
export interface TypesCreateExperimentFromTemplateRequest {
|
|
2
3
|
/**
|
|
3
4
|
* account id to access the resource
|
|
4
5
|
*/
|
|
5
6
|
accountIdentifier: string;
|
|
6
7
|
description?: string;
|
|
7
8
|
identity?: string;
|
|
9
|
+
importType?: MongodbImportType;
|
|
8
10
|
infraRef?: string;
|
|
9
11
|
name: string;
|
|
10
12
|
/**
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { ProbeApmProbe } from '../schemas/ProbeApmProbe';
|
|
2
2
|
import type { ProbeHttpProbe } from '../schemas/ProbeHttpProbe';
|
|
3
|
+
import type { ProbeContainerProbe } from '../schemas/ProbeContainerProbe';
|
|
3
4
|
import type { ProbeK8SProbe } from '../schemas/ProbeK8SProbe';
|
|
4
5
|
import type { ProbeKubernetesCmdProbe } from '../schemas/ProbeKubernetesCmdProbe';
|
|
5
6
|
import type { ProbeDatadogProbe } from '../schemas/ProbeDatadogProbe';
|
|
@@ -12,6 +13,7 @@ import type { ProbeWindowsCmdProbe } from '../schemas/ProbeWindowsCmdProbe';
|
|
|
12
13
|
export interface TypesCreateProbeResponse {
|
|
13
14
|
apmProperties?: ProbeApmProbe;
|
|
14
15
|
containerHttpProperties?: ProbeHttpProbe;
|
|
16
|
+
containerProbeProperties?: ProbeContainerProbe;
|
|
15
17
|
description?: string;
|
|
16
18
|
k8sProperties?: ProbeK8SProbe;
|
|
17
19
|
kubernetesCmdProperties?: ProbeKubernetesCmdProbe;
|
|
@@ -2,6 +2,7 @@ import type { ModelEventMetadata } from '../schemas/ModelEventMetadata';
|
|
|
2
2
|
import type { ModelWorkflowType } from '../schemas/ModelWorkflowType';
|
|
3
3
|
import type { ExperimentInfraType } from '../schemas/ExperimentInfraType';
|
|
4
4
|
import type { ChaosExperimentRecommendation } from '../schemas/ChaosExperimentRecommendation';
|
|
5
|
+
import type { ChaosExperimentRunTemplateDetails } from '../schemas/ChaosExperimentRunTemplateDetails';
|
|
5
6
|
export interface TypesExperimentCreationRequest {
|
|
6
7
|
cronSyntax?: string;
|
|
7
8
|
description?: string;
|
|
@@ -16,5 +17,6 @@ export interface TypesExperimentCreationRequest {
|
|
|
16
17
|
name?: string;
|
|
17
18
|
recommendation?: ChaosExperimentRecommendation;
|
|
18
19
|
tags?: string[];
|
|
20
|
+
templateDetails?: ChaosExperimentRunTemplateDetails;
|
|
19
21
|
validateManifest?: boolean;
|
|
20
22
|
}
|
|
@@ -6,6 +6,7 @@ import type { ModelRecentWorkflowRun } from '../schemas/ModelRecentWorkflowRun';
|
|
|
6
6
|
import type { ChaosExperimentRecommendation } from '../schemas/ChaosExperimentRecommendation';
|
|
7
7
|
import type { ChaosExperimentSingleClickOnboardMetadata } from '../schemas/ChaosExperimentSingleClickOnboardMetadata';
|
|
8
8
|
import type { TargetserviceServiceMetadata } from '../schemas/TargetserviceServiceMetadata';
|
|
9
|
+
import type { ChaosExperimentRunTemplateDetails } from '../schemas/ChaosExperimentRunTemplateDetails';
|
|
9
10
|
import type { TypesWeightages } from '../schemas/TypesWeightages';
|
|
10
11
|
export interface TypesExperimentV2 {
|
|
11
12
|
createdAt?: string;
|
|
@@ -27,6 +28,7 @@ export interface TypesExperimentV2 {
|
|
|
27
28
|
singleClickOnboardMetadata?: ChaosExperimentSingleClickOnboardMetadata;
|
|
28
29
|
tags?: string[];
|
|
29
30
|
targetNetworkService?: TargetserviceServiceMetadata[];
|
|
31
|
+
templateDetails?: ChaosExperimentRunTemplateDetails;
|
|
30
32
|
updatedAt?: string;
|
|
31
33
|
updatedBy?: GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails;
|
|
32
34
|
weightages?: TypesWeightages[];
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails } from '../schemas/GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails';
|
|
2
2
|
import type { MongodbImportType } from '../schemas/MongodbImportType';
|
|
3
3
|
import type { TypesInfrastructureType } from '../schemas/TypesInfrastructureType';
|
|
4
|
+
import type { MongodbManagedBy } from '../schemas/MongodbManagedBy';
|
|
4
5
|
import type { ProbeProbeTemplateProperties } from '../schemas/ProbeProbeTemplateProperties';
|
|
5
6
|
import type { TypesProbeRecentExecutions } from '../schemas/TypesProbeRecentExecutions';
|
|
6
7
|
import type { ProbeProbeTemplateRunProperties } from '../schemas/ProbeProbeTemplateRunProperties';
|
|
@@ -17,6 +18,7 @@ export interface TypesGetProbeResponse {
|
|
|
17
18
|
isEnabled?: boolean;
|
|
18
19
|
isImported?: boolean;
|
|
19
20
|
isVerified?: boolean;
|
|
21
|
+
managedBy?: MongodbManagedBy;
|
|
20
22
|
name?: string;
|
|
21
23
|
probeId?: string;
|
|
22
24
|
probeProperties?: ProbeProbeTemplateProperties;
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import type { TypesIdentifiers } from '../schemas/TypesIdentifiers';
|
|
2
2
|
import type { MongodbImportType } from '../schemas/MongodbImportType';
|
|
3
|
+
import type { MongodbManagedBy } from '../schemas/MongodbManagedBy';
|
|
3
4
|
export interface TypesImportProbeTemplateRequest {
|
|
4
5
|
description?: string;
|
|
5
6
|
hubIdentifiers?: TypesIdentifiers;
|
|
6
7
|
hubRef?: string;
|
|
7
8
|
identity: string;
|
|
8
9
|
importType: MongodbImportType;
|
|
10
|
+
managedBy?: MongodbManagedBy;
|
|
9
11
|
name: string;
|
|
10
12
|
probeRef: string;
|
|
11
13
|
tags?: string[];
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { MongodbImportType } from '../schemas/MongodbImportType';
|
|
2
2
|
import type { TypesInfrastructureType } from '../schemas/TypesInfrastructureType';
|
|
3
|
+
import type { MongodbManagedBy } from '../schemas/MongodbManagedBy';
|
|
3
4
|
import type { ProbeProbeTemplateProperties } from '../schemas/ProbeProbeTemplateProperties';
|
|
4
5
|
import type { TypesProbeRecentExecutions } from '../schemas/TypesProbeRecentExecutions';
|
|
5
6
|
import type { ProbeProbeTemplateRunProperties } from '../schemas/ProbeProbeTemplateRunProperties';
|
|
@@ -14,6 +15,7 @@ export interface TypesProbeRequest {
|
|
|
14
15
|
isEnabled?: boolean;
|
|
15
16
|
isImported?: boolean;
|
|
16
17
|
isVerified?: boolean;
|
|
18
|
+
managedBy?: MongodbManagedBy;
|
|
17
19
|
name?: string;
|
|
18
20
|
probeId?: string;
|
|
19
21
|
probeProperties?: ProbeProbeTemplateProperties;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type TypesProbeType = 'apmProbe' | 'cmdProbe' | 'datadogProbe' | 'dynatraceProbe' | 'httpProbe' | 'k8sProbe' | 'promProbe' | 'sloProbe';
|
|
1
|
+
export type TypesProbeType = 'apmProbe' | 'cmdProbe' | 'containerProbe' | 'datadogProbe' | 'dynatraceProbe' | 'httpProbe' | 'k8sProbe' | 'promProbe' | 'sloProbe';
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import type { CommonNodeAffinity } from '../schemas/CommonNodeAffinity';
|
|
2
|
+
import type { GithubComHarnessHceSaasHceSdkCommonProbeV1ComparatorInfo } from '../schemas/GithubComHarnessHceSaasHceSdkCommonProbeV1ComparatorInfo';
|
|
3
|
+
import type { V1SecurityContext } from '../schemas/V1SecurityContext';
|
|
4
|
+
import type { K8sIoApiCoreV1EnvVar } from '../schemas/K8sIoApiCoreV1EnvVar';
|
|
5
|
+
import type { V1PullPolicy } from '../schemas/V1PullPolicy';
|
|
6
|
+
import type { V1PodSecurityContext } from '../schemas/V1PodSecurityContext';
|
|
7
|
+
import type { CommonResourceRequirements } from '../schemas/CommonResourceRequirements';
|
|
8
|
+
import type { V1Toleration } from '../schemas/V1Toleration';
|
|
9
|
+
import type { V1VolumeMount } from '../schemas/V1VolumeMount';
|
|
10
|
+
import type { CommonVolume } from '../schemas/CommonVolume';
|
|
11
|
+
export interface V1ContainerProbeInputs {
|
|
12
|
+
affinity?: CommonNodeAffinity;
|
|
13
|
+
annotations?: {
|
|
14
|
+
[key: string]: string;
|
|
15
|
+
};
|
|
16
|
+
args?: string[];
|
|
17
|
+
command?: string[];
|
|
18
|
+
/**
|
|
19
|
+
* Comparator check for the correctness of the probe output
|
|
20
|
+
*/
|
|
21
|
+
comparator?: GithubComHarnessHceSaasHceSdkCommonProbeV1ComparatorInfo;
|
|
22
|
+
containerSecurityContext?: V1SecurityContext;
|
|
23
|
+
env?: K8sIoApiCoreV1EnvVar[];
|
|
24
|
+
hostIPC?: boolean;
|
|
25
|
+
hostNetwork?: boolean;
|
|
26
|
+
hostPID?: boolean;
|
|
27
|
+
image?: string;
|
|
28
|
+
imagePullPolicy?: V1PullPolicy;
|
|
29
|
+
imagePullSecrets?: string[];
|
|
30
|
+
labels?: {
|
|
31
|
+
[key: string]: string;
|
|
32
|
+
};
|
|
33
|
+
namespace?: string;
|
|
34
|
+
nodeSelector?: {
|
|
35
|
+
[key: string]: string;
|
|
36
|
+
};
|
|
37
|
+
podSecurityContext?: V1PodSecurityContext;
|
|
38
|
+
resources?: CommonResourceRequirements;
|
|
39
|
+
serviceAccountName?: string;
|
|
40
|
+
tolerations?: V1Toleration[];
|
|
41
|
+
volumeMounts?: V1VolumeMount[];
|
|
42
|
+
volumes?: CommonVolume[];
|
|
43
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import type { ActionEnv } from '../schemas/ActionEnv';
|
|
2
|
-
export interface ActionSourceActionTemplate {
|
|
3
|
-
args?: {};
|
|
4
|
-
command?: {};
|
|
5
|
-
env?: ActionEnv[];
|
|
6
|
-
image?: string;
|
|
7
|
-
imagePullPolicy?: string;
|
|
8
|
-
imagePullSecrets?: {};
|
|
9
|
-
inheritInputs?: boolean;
|
|
10
|
-
nodeSelector?: {};
|
|
11
|
-
privileged?: boolean;
|
|
12
|
-
resources?: {};
|
|
13
|
-
serviceAccountName?: string;
|
|
14
|
-
tolerations?: {};
|
|
15
|
-
volumeMount?: {};
|
|
16
|
-
volumes?: {};
|
|
17
|
-
}
|
|
File without changes
|
|
File without changes
|