@harnessio/react-chaos-manager-client 0.10.0 → 0.11.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/useCreateRecommendationMutation.d.ts +24 -0
- package/dist/chaos-manager/src/services/hooks/useCreateRecommendationMutation.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useDeleteRecommendationMutation.d.ts +23 -0
- package/dist/chaos-manager/src/services/hooks/useDeleteRecommendationMutation.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useGetRecommendationQuery.d.ts +23 -0
- package/dist/chaos-manager/src/services/hooks/useGetRecommendationQuery.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useGetRecommendationStatusMutation.d.ts +20 -0
- package/dist/chaos-manager/src/services/hooks/useGetRecommendationStatusMutation.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useInsertRecommendationsMutation.d.ts +19 -0
- package/dist/chaos-manager/src/services/hooks/useInsertRecommendationsMutation.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useListRecommendationsQuery.d.ts +25 -0
- package/dist/chaos-manager/src/services/hooks/useListRecommendationsQuery.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useRunRecommendationMutation.d.ts +24 -0
- package/dist/chaos-manager/src/services/hooks/useRunRecommendationMutation.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useStopChaosV2ExperimentMutation.d.ts +1 -0
- package/dist/chaos-manager/src/services/hooks/useUpdateRecommendationStatusMutation.d.ts +24 -0
- package/dist/chaos-manager/src/services/hooks/useUpdateRecommendationStatusMutation.js +14 -0
- package/dist/chaos-manager/src/services/index.d.ts +52 -27
- package/dist/chaos-manager/src/services/index.js +8 -5
- package/dist/chaos-manager/src/services/schemas/ChaosExecutionNodesChaosStepStatus.d.ts +1 -1
- package/dist/chaos-manager/src/services/schemas/ChaosExecutionNodesFaultData.d.ts +2 -2
- package/dist/chaos-manager/src/services/schemas/ChaosExecutionNodesFaultDetails.d.ts +5 -0
- package/dist/chaos-manager/src/services/schemas/DatabaseAgentConfiguration.d.ts +3 -0
- package/dist/chaos-manager/src/services/schemas/DatabaseDiscoveredServiceCollection.d.ts +4 -0
- package/dist/chaos-manager/src/services/schemas/DatabaseNetworkMapEntity.d.ts +3 -0
- package/dist/chaos-manager/src/services/schemas/DatabaseNetworkMapEntityKubernetesInfo.d.ts +2 -0
- package/dist/chaos-manager/src/services/schemas/DatabaseServiceCollection.d.ts +4 -0
- package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbRecommendationNode.d.ts +4 -0
- package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbRecommendationRecommendation.d.ts +26 -0
- package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbRecommendationTarget.d.ts +10 -0
- package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbRecommendationWorkload.d.ts +5 -0
- package/dist/chaos-manager/src/services/schemas/GithubComWingsSoftwareDdcrPkgTypesChaosInputs.d.ts +5 -31
- package/dist/chaos-manager/src/services/schemas/GithubComWingsSoftwareDdcrPkgTypesDefinition.d.ts +0 -6
- package/dist/chaos-manager/src/services/schemas/NetworkmapTargetServiceDetails.d.ts +9 -3
- package/dist/chaos-manager/src/services/schemas/NetworkmapTargetServiceDetails.js +0 -3
- package/dist/chaos-manager/src/services/schemas/RecommendationEc2Instance.d.ts +6 -0
- package/dist/chaos-manager/src/services/schemas/RecommendationFaultFilters.d.ts +6 -0
- package/dist/chaos-manager/src/services/schemas/RecommendationFixes.d.ts +4 -0
- package/dist/chaos-manager/src/services/schemas/RecommendationProbeFilters.d.ts +6 -0
- package/dist/chaos-manager/src/services/schemas/RecommendationRecommendationCategory.d.ts +1 -0
- package/dist/chaos-manager/src/services/schemas/RecommendationRecommendationSource.d.ts +1 -0
- package/dist/chaos-manager/src/services/schemas/RecommendationRecommendationStatus.d.ts +1 -0
- package/dist/chaos-manager/src/services/schemas/RecommendationRecommendationTargetType.d.ts +1 -0
- package/dist/chaos-manager/src/services/schemas/RecommendationRecommendationType.d.ts +1 -0
- package/dist/chaos-manager/src/services/schemas/RecommendationSuggestions.d.ts +13 -0
- package/dist/chaos-manager/src/services/schemas/RecommendationsCreateActionResponse.d.ts +4 -0
- package/dist/chaos-manager/src/services/schemas/RecommendationsEc2Instance.d.ts +8 -0
- package/dist/chaos-manager/src/services/schemas/RecommendationsEc2Instance.js +4 -0
- package/dist/chaos-manager/src/services/schemas/RecommendationsFault.d.ts +12 -0
- package/dist/chaos-manager/src/services/schemas/RecommendationsFaultFilters.d.ts +4 -0
- package/dist/chaos-manager/src/services/schemas/RecommendationsFaultFilters.js +1 -0
- package/dist/chaos-manager/src/services/schemas/RecommendationsFilters.d.ts +7 -0
- package/dist/chaos-manager/src/services/schemas/RecommendationsFilters.js +1 -0
- package/dist/chaos-manager/src/services/schemas/RecommendationsGetRecommendationsStatusRequest.d.ts +11 -0
- package/dist/chaos-manager/src/services/schemas/RecommendationsGetRecommendationsStatusRequest.js +1 -0
- package/dist/chaos-manager/src/services/schemas/RecommendationsGetRecommendationsStatusResponse.d.ts +6 -0
- package/dist/chaos-manager/src/services/schemas/RecommendationsGetRecommendationsStatusResponse.js +1 -0
- package/dist/chaos-manager/src/services/schemas/RecommendationsIdentifiers.d.ts +5 -0
- package/dist/chaos-manager/src/services/schemas/RecommendationsIdentifiers.js +4 -0
- package/dist/chaos-manager/src/services/schemas/RecommendationsInActiveEvent.d.ts +8 -0
- package/dist/chaos-manager/src/services/schemas/RecommendationsInActiveEvent.js +1 -0
- package/dist/chaos-manager/src/services/schemas/RecommendationsInsertRecommendationsRequest.d.ts +11 -0
- package/dist/chaos-manager/src/services/schemas/RecommendationsInsertRecommendationsRequest.js +1 -0
- package/dist/chaos-manager/src/services/schemas/RecommendationsListRecommendationsRequest.d.ts +4 -0
- package/dist/chaos-manager/src/services/schemas/RecommendationsListRecommendationsRequest.js +1 -0
- package/dist/chaos-manager/src/services/schemas/RecommendationsListRecommendationsResponse.d.ts +4 -0
- package/dist/chaos-manager/src/services/schemas/RecommendationsListRecommendationsResponse.js +1 -0
- package/dist/chaos-manager/src/services/schemas/RecommendationsLlmResponse.d.ts +6 -0
- package/dist/chaos-manager/src/services/schemas/RecommendationsLlmResponse.js +4 -0
- package/dist/chaos-manager/src/services/schemas/RecommendationsNode.d.ts +6 -0
- package/dist/chaos-manager/src/services/schemas/RecommendationsNode.js +4 -0
- package/dist/chaos-manager/src/services/schemas/RecommendationsProbeFilters.d.ts +4 -0
- package/dist/chaos-manager/src/services/schemas/RecommendationsProbeFilters.js +4 -0
- package/dist/chaos-manager/src/services/schemas/RecommendationsProbeFix.d.ts +11 -0
- package/dist/chaos-manager/src/services/schemas/RecommendationsProbeFix.js +1 -0
- package/dist/chaos-manager/src/services/schemas/RecommendationsRunActionResponse.d.ts +4 -0
- package/dist/chaos-manager/src/services/schemas/RecommendationsRunActionResponse.js +4 -0
- package/dist/chaos-manager/src/services/schemas/RecommendationsTarget.d.ts +10 -0
- package/dist/chaos-manager/src/services/schemas/RecommendationsTarget.js +1 -0
- package/dist/chaos-manager/src/services/schemas/RecommendationsWorkload.d.ts +7 -0
- package/dist/chaos-manager/src/services/schemas/RecommendationsWorkload.js +4 -0
- package/dist/chaos-manager/src/services/schemas/ResourceQuantity.d.ts +1 -1
- package/dist/chaos-manager/src/services/schemas/TypesApplication.d.ts +4 -0
- package/dist/chaos-manager/src/services/schemas/TypesApplication.js +4 -0
- package/dist/chaos-manager/src/services/schemas/TypesCleanupPolicy.d.ts +1 -0
- package/dist/chaos-manager/src/services/schemas/TypesCleanupPolicy.js +4 -0
- package/dist/chaos-manager/src/services/schemas/TypesConfigMap.d.ts +0 -9
- package/dist/chaos-manager/src/services/schemas/TypesExperimentComponents.d.ts +0 -39
- package/dist/chaos-manager/src/services/schemas/TypesHostFile.d.ts +0 -12
- package/dist/chaos-manager/src/services/schemas/TypesProjectedVolumes.d.ts +0 -12
- package/dist/chaos-manager/src/services/schemas/TypesSecret.d.ts +0 -9
- package/dist/chaos-manager/src/services/schemas/TypesSecurityContext.d.ts +0 -6
- package/dist/chaos-manager/src/services/schemas/TypesSelector.d.ts +0 -3
- package/dist/chaos-manager/src/services/schemas/TypesSidecar.d.ts +0 -15
- package/dist/chaos-manager/src/services/schemas/TypesStatusCheckTimeout.d.ts +0 -6
- package/dist/chaos-manager/src/services/schemas/TypesTargets.d.ts +2 -3
- package/dist/chaos-manager/src/services/schemas/TypesWorkload.d.ts +0 -12
- package/package.json +2 -2
- package/dist/chaos-manager/src/services/hooks/useCreateChaosExperimentExecutionNodeMutation.d.ts +0 -24
- package/dist/chaos-manager/src/services/hooks/useCreateChaosExperimentExecutionNodeMutation.js +0 -14
- package/dist/chaos-manager/src/services/hooks/useExperimentExecutionNodeDetailsQuery.d.ts +0 -28
- package/dist/chaos-manager/src/services/hooks/useExperimentExecutionNodeDetailsQuery.js +0 -20
- package/dist/chaos-manager/src/services/hooks/useGetChaosPipelineExecutionQuery.d.ts +0 -27
- package/dist/chaos-manager/src/services/hooks/useGetChaosPipelineExecutionQuery.js +0 -14
- package/dist/chaos-manager/src/services/hooks/useGetChaosPipelineStepDetailsQuery.d.ts +0 -28
- package/dist/chaos-manager/src/services/hooks/useGetChaosPipelineStepDetailsQuery.js +0 -20
- package/dist/chaos-manager/src/services/hooks/useUpdateChaosExperimentExecutionNodeMutation.d.ts +0 -29
- package/dist/chaos-manager/src/services/hooks/useUpdateChaosExperimentExecutionNodeMutation.js +0 -14
- package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasHceSdkCommonKubernetesV2ModelChaosData.d.ts +0 -8
- package/dist/chaos-manager/src/services/schemas/ModelActionData.d.ts +0 -3
- package/dist/chaos-manager/src/services/schemas/ModelChaosExecutionNode.d.ts +0 -19
- package/dist/chaos-manager/src/services/schemas/ModelChaosStepStatus.d.ts +0 -1
- package/dist/chaos-manager/src/services/schemas/ModelChaosStepType.d.ts +0 -1
- package/dist/chaos-manager/src/services/schemas/ModelCommandProbe.d.ts +0 -3
- package/dist/chaos-manager/src/services/schemas/ModelErrorData.d.ts +0 -4
- package/dist/chaos-manager/src/services/schemas/ModelFaultData.d.ts +0 -10
- package/dist/chaos-manager/src/services/schemas/ModelHelperPodDetails.d.ts +0 -4
- package/dist/chaos-manager/src/services/schemas/ModelHttpProbe.d.ts +0 -5
- package/dist/chaos-manager/src/services/schemas/ModelProbeData.d.ts +0 -8
- package/dist/chaos-manager/src/services/schemas/ModelProbeIterations.d.ts +0 -11
- package/dist/chaos-manager/src/services/schemas/ModelPromProbe.d.ts +0 -3
- package/dist/chaos-manager/src/services/schemas/TypesFault.d.ts +0 -21
- package/dist/chaos-manager/src/services/schemas/TypesFaultRef.d.ts +0 -14
- package/dist/chaos-manager/src/services/schemas/V1alpha1TargetDetails.d.ts +0 -5
- package/dist/chaos-manager/src/services/schemas/V1alpha1Targets.d.ts +0 -8
- /package/dist/chaos-manager/src/services/schemas/{GithubComHarnessHceSaasHceSdkCommonKubernetesV2ModelChaosData.js → ChaosExecutionNodesFaultDetails.js} +0 -0
- /package/dist/chaos-manager/src/services/schemas/{ModelActionData.js → GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbRecommendationNode.js} +0 -0
- /package/dist/chaos-manager/src/services/schemas/{ModelChaosExecutionNode.js → GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbRecommendationRecommendation.js} +0 -0
- /package/dist/chaos-manager/src/services/schemas/{ModelFaultData.js → GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbRecommendationTarget.js} +0 -0
- /package/dist/chaos-manager/src/services/schemas/{ModelChaosStepStatus.js → GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbRecommendationWorkload.js} +0 -0
- /package/dist/chaos-manager/src/services/schemas/{ModelChaosStepType.js → RecommendationEc2Instance.js} +0 -0
- /package/dist/chaos-manager/src/services/schemas/{ModelProbeData.js → RecommendationFaultFilters.js} +0 -0
- /package/dist/chaos-manager/src/services/schemas/{ModelCommandProbe.js → RecommendationFixes.js} +0 -0
- /package/dist/chaos-manager/src/services/schemas/{ModelErrorData.js → RecommendationProbeFilters.js} +0 -0
- /package/dist/chaos-manager/src/services/schemas/{ModelHelperPodDetails.js → RecommendationRecommendationCategory.js} +0 -0
- /package/dist/chaos-manager/src/services/schemas/{ModelHttpProbe.js → RecommendationRecommendationSource.js} +0 -0
- /package/dist/chaos-manager/src/services/schemas/{ModelPromProbe.js → RecommendationRecommendationStatus.js} +0 -0
- /package/dist/chaos-manager/src/services/schemas/{TypesFaultRef.js → RecommendationRecommendationTargetType.js} +0 -0
- /package/dist/chaos-manager/src/services/schemas/{V1alpha1TargetDetails.js → RecommendationRecommendationType.js} +0 -0
- /package/dist/chaos-manager/src/services/schemas/{ModelProbeIterations.js → RecommendationSuggestions.js} +0 -0
- /package/dist/chaos-manager/src/services/schemas/{V1alpha1Targets.js → RecommendationsCreateActionResponse.js} +0 -0
- /package/dist/chaos-manager/src/services/schemas/{TypesFault.js → RecommendationsFault.js} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type TypesCleanupPolicy = 'delete' | 'retain';
|
|
@@ -9,58 +9,19 @@ import type { TypesSidecar } from '../schemas/TypesSidecar';
|
|
|
9
9
|
import type { TypesStatusCheckTimeout } from '../schemas/TypesStatusCheckTimeout';
|
|
10
10
|
import type { V1Toleration } from '../schemas/V1Toleration';
|
|
11
11
|
export interface TypesExperimentComponents {
|
|
12
|
-
/**
|
|
13
|
-
* ConfigMaps to store the config maps
|
|
14
|
-
*/
|
|
15
12
|
configMaps?: TypesConfigMap[];
|
|
16
|
-
/**
|
|
17
|
-
* HostFileVolumes to store the host file volumes
|
|
18
|
-
*/
|
|
19
13
|
hostFileVolumes?: TypesHostFile[];
|
|
20
|
-
/**
|
|
21
|
-
* HostPID to store the host PID
|
|
22
|
-
*/
|
|
23
14
|
hostPID?: boolean;
|
|
24
|
-
/**
|
|
25
|
-
* ImagePullSecrets to store the image pull secrets
|
|
26
|
-
*/
|
|
27
15
|
imagePullSecrets?: V1LocalObjectReference[];
|
|
28
|
-
/**
|
|
29
|
-
* NodeSelector to store the node selector
|
|
30
|
-
*/
|
|
31
16
|
nodeSelector?: {
|
|
32
17
|
[key: string]: string;
|
|
33
18
|
};
|
|
34
|
-
/**
|
|
35
|
-
* ProjectedVolumes to store the projected volumes
|
|
36
|
-
*/
|
|
37
19
|
projectedVolumes?: TypesProjectedVolumes[];
|
|
38
|
-
/**
|
|
39
|
-
* Resources to store the resources
|
|
40
|
-
*/
|
|
41
20
|
resources?: V1ResourceRequirements;
|
|
42
|
-
/**
|
|
43
|
-
* Secrets to store the secrets
|
|
44
|
-
*/
|
|
45
21
|
secrets?: TypesSecret[];
|
|
46
|
-
/**
|
|
47
|
-
* SecurityContext to store the security context
|
|
48
|
-
*/
|
|
49
22
|
securityContext?: TypesSecurityContext;
|
|
50
|
-
/**
|
|
51
|
-
* Sidecar to store the sidecar
|
|
52
|
-
*/
|
|
53
23
|
sidecar?: TypesSidecar[];
|
|
54
|
-
/**
|
|
55
|
-
* StatusCheckTimeouts to store the status check timeouts
|
|
56
|
-
*/
|
|
57
24
|
statusCheckTimeouts?: TypesStatusCheckTimeout;
|
|
58
|
-
/**
|
|
59
|
-
* TerminationGracePeriodSeconds to store the termination grace period seconds
|
|
60
|
-
*/
|
|
61
25
|
terminationGracePeriodSeconds?: number;
|
|
62
|
-
/**
|
|
63
|
-
* Tolerations to store the tolerations
|
|
64
|
-
*/
|
|
65
26
|
tolerations?: V1Toleration[];
|
|
66
27
|
}
|
|
@@ -1,19 +1,7 @@
|
|
|
1
1
|
import type { V1HostPathType } from '../schemas/V1HostPathType';
|
|
2
2
|
export interface TypesHostFile {
|
|
3
|
-
/**
|
|
4
|
-
* MountPath of the host file
|
|
5
|
-
*/
|
|
6
3
|
mountPath?: string;
|
|
7
|
-
/**
|
|
8
|
-
* Name of the host file
|
|
9
|
-
*/
|
|
10
4
|
name?: string;
|
|
11
|
-
/**
|
|
12
|
-
* NodePath of the host file
|
|
13
|
-
*/
|
|
14
5
|
nodePath?: string;
|
|
15
|
-
/**
|
|
16
|
-
* Type of the host file
|
|
17
|
-
*/
|
|
18
6
|
type?: V1HostPathType;
|
|
19
7
|
}
|
|
@@ -1,19 +1,7 @@
|
|
|
1
1
|
import type { V1ProjectedVolumeSource } from '../schemas/V1ProjectedVolumeSource';
|
|
2
2
|
export interface TypesProjectedVolumes {
|
|
3
|
-
/**
|
|
4
|
-
* MountPath of the projected volume
|
|
5
|
-
*/
|
|
6
3
|
mountPath?: string;
|
|
7
|
-
/**
|
|
8
|
-
* Name of the projected volume
|
|
9
|
-
*/
|
|
10
4
|
name?: string;
|
|
11
|
-
/**
|
|
12
|
-
* Sources to store the sources
|
|
13
|
-
*/
|
|
14
5
|
projected?: V1ProjectedVolumeSource;
|
|
15
|
-
/**
|
|
16
|
-
* ReadOnly to store the read only
|
|
17
|
-
*/
|
|
18
6
|
readOnly?: boolean;
|
|
19
7
|
}
|
|
@@ -1,12 +1,6 @@
|
|
|
1
1
|
import type { V1SecurityContext } from '../schemas/V1SecurityContext';
|
|
2
2
|
import type { V1PodSecurityContext } from '../schemas/V1PodSecurityContext';
|
|
3
3
|
export interface TypesSecurityContext {
|
|
4
|
-
/**
|
|
5
|
-
* ContainerSecurityContext to store the container security context
|
|
6
|
-
*/
|
|
7
4
|
containerSecurityContext?: V1SecurityContext;
|
|
8
|
-
/**
|
|
9
|
-
* PodSecurityContext to store the pod security context
|
|
10
|
-
*/
|
|
11
5
|
podSecurityContext?: V1PodSecurityContext;
|
|
12
6
|
}
|
|
@@ -3,24 +3,9 @@ import type { V1EnvFromSource } from '../schemas/V1EnvFromSource';
|
|
|
3
3
|
import type { V1PullPolicy } from '../schemas/V1PullPolicy';
|
|
4
4
|
import type { TypesSecret } from '../schemas/TypesSecret';
|
|
5
5
|
export interface TypesSidecar {
|
|
6
|
-
/**
|
|
7
|
-
* ENV to store the ENV
|
|
8
|
-
*/
|
|
9
6
|
env?: V1EnvVar[];
|
|
10
|
-
/**
|
|
11
|
-
* EnvFrom to store the env from
|
|
12
|
-
*/
|
|
13
7
|
envFrom?: V1EnvFromSource[];
|
|
14
|
-
/**
|
|
15
|
-
* Image of the sidecar
|
|
16
|
-
*/
|
|
17
8
|
image?: string;
|
|
18
|
-
/**
|
|
19
|
-
* ImagePullPolicy of the sidecar
|
|
20
|
-
*/
|
|
21
9
|
imagePullPolicy?: V1PullPolicy;
|
|
22
|
-
/**
|
|
23
|
-
* Secrets to store the secrets
|
|
24
|
-
*/
|
|
25
10
|
secrets?: TypesSecret[];
|
|
26
11
|
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
+
import type { TypesApplication } from '../schemas/TypesApplication';
|
|
1
2
|
import type { TypesSelector } from '../schemas/TypesSelector';
|
|
2
3
|
export interface TypesTargets {
|
|
3
|
-
|
|
4
|
-
* Selectors to store the selectors
|
|
5
|
-
*/
|
|
4
|
+
application?: TypesApplication;
|
|
6
5
|
selectors?: TypesSelector;
|
|
7
6
|
}
|
|
@@ -1,19 +1,7 @@
|
|
|
1
1
|
import type { TypesWorkloadKind } from '../schemas/TypesWorkloadKind';
|
|
2
2
|
export interface TypesWorkload {
|
|
3
|
-
/**
|
|
4
|
-
* Kind of the workload
|
|
5
|
-
*/
|
|
6
3
|
kind?: TypesWorkloadKind;
|
|
7
|
-
/**
|
|
8
|
-
* Labels of the workload
|
|
9
|
-
*/
|
|
10
4
|
labels?: string;
|
|
11
|
-
/**
|
|
12
|
-
* Names of the workload
|
|
13
|
-
*/
|
|
14
5
|
names?: string;
|
|
15
|
-
/**
|
|
16
|
-
* Namespace of the workload
|
|
17
|
-
*/
|
|
18
6
|
namespace?: string;
|
|
19
7
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@harnessio/react-chaos-manager-client",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.11.0",
|
|
4
4
|
"description": "Harness React Chaos Manager Service Client - APIs integrated with react hooks",
|
|
5
5
|
"author": "Harness Inc",
|
|
6
6
|
"license": "MIT",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"keywords": [],
|
|
25
25
|
"scripts": {
|
|
26
26
|
"prebuild": "rimraf dist",
|
|
27
|
-
"build": "yarn generate && tsc",
|
|
27
|
+
"build": "rm -rf ./src/services && yarn generate && tsc",
|
|
28
28
|
"generate": "oats import --config='./oats.config.ts'",
|
|
29
29
|
"fmt": "prettier --write ./index.ts"
|
|
30
30
|
}
|
package/dist/chaos-manager/src/services/hooks/useCreateChaosExperimentExecutionNodeMutation.d.ts
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
-
import type { ApiRestError } from '../schemas/ApiRestError';
|
|
3
|
-
import type { ModelChaosExecutionNode } from '../schemas/ModelChaosExecutionNode';
|
|
4
|
-
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
5
|
-
export interface CreateChaosExperimentExecutionNodeMutationPathParams {
|
|
6
|
-
experimentId: string;
|
|
7
|
-
experimentRunId: string;
|
|
8
|
-
}
|
|
9
|
-
export type CreateChaosExperimentExecutionNodeRequestBody = ModelChaosExecutionNode[];
|
|
10
|
-
export type CreateChaosExperimentExecutionNodeOkResponse = string;
|
|
11
|
-
export type CreateChaosExperimentExecutionNodeErrorResponse = ApiRestError;
|
|
12
|
-
export interface CreateChaosExperimentExecutionNodeProps extends CreateChaosExperimentExecutionNodeMutationPathParams, Omit<FetcherOptions<unknown, CreateChaosExperimentExecutionNodeRequestBody>, 'url'> {
|
|
13
|
-
body: CreateChaosExperimentExecutionNodeRequestBody;
|
|
14
|
-
}
|
|
15
|
-
export interface CreateChaosExperimentExecutionNodeResponseContainer {
|
|
16
|
-
body: CreateChaosExperimentExecutionNodeOkResponse;
|
|
17
|
-
headers: Headers;
|
|
18
|
-
}
|
|
19
|
-
export declare function createChaosExperimentExecutionNode(props: CreateChaosExperimentExecutionNodeProps): Promise<CreateChaosExperimentExecutionNodeResponseContainer>;
|
|
20
|
-
export type CreateChaosExperimentExecutionNodeMutationProps<T extends keyof CreateChaosExperimentExecutionNodeProps> = Omit<CreateChaosExperimentExecutionNodeProps, T> & Partial<Pick<CreateChaosExperimentExecutionNodeProps, T>>;
|
|
21
|
-
/**
|
|
22
|
-
* Create chaos execution node
|
|
23
|
-
*/
|
|
24
|
-
export declare function useCreateChaosExperimentExecutionNodeMutation<T extends keyof CreateChaosExperimentExecutionNodeProps>(props: Pick<Partial<CreateChaosExperimentExecutionNodeProps>, T>, options?: Omit<UseMutationOptions<CreateChaosExperimentExecutionNodeResponseContainer, CreateChaosExperimentExecutionNodeErrorResponse, CreateChaosExperimentExecutionNodeMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<CreateChaosExperimentExecutionNodeResponseContainer, ApiRestError, CreateChaosExperimentExecutionNodeMutationProps<T>, unknown>;
|
package/dist/chaos-manager/src/services/hooks/useCreateChaosExperimentExecutionNodeMutation.js
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/* eslint-disable */
|
|
2
|
-
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
|
-
// Please do not modify this code directly.
|
|
4
|
-
import { useMutation } from '@tanstack/react-query';
|
|
5
|
-
import { fetcher } from '../../../../custom-fetcher/index.js';
|
|
6
|
-
export function createChaosExperimentExecutionNode(props) {
|
|
7
|
-
return fetcher(Object.assign({ url: `/internal/v2/taskCallback/${props.experimentId}/${props.experimentRunId}`, method: 'POST' }, props));
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* Create chaos execution node
|
|
11
|
-
*/
|
|
12
|
-
export function useCreateChaosExperimentExecutionNodeMutation(props, options) {
|
|
13
|
-
return useMutation((mutateProps) => createChaosExperimentExecutionNode(Object.assign(Object.assign({}, props), mutateProps)), options);
|
|
14
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
-
import type { ModelChaosExecutionNode } from '../schemas/ModelChaosExecutionNode';
|
|
3
|
-
import type { ApiRestError } from '../schemas/ApiRestError';
|
|
4
|
-
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
5
|
-
export interface ExperimentExecutionNodeDetailsQueryPathParams {
|
|
6
|
-
name: string;
|
|
7
|
-
experimentId: string;
|
|
8
|
-
experimentRunId: string;
|
|
9
|
-
}
|
|
10
|
-
export interface ExperimentExecutionNodeDetailsQueryQueryParams {
|
|
11
|
-
accountIdentifier: string;
|
|
12
|
-
organizationIdentifier: string;
|
|
13
|
-
projectIdentifier: string;
|
|
14
|
-
}
|
|
15
|
-
export type ExperimentExecutionNodeDetailsOkResponse = ModelChaosExecutionNode[];
|
|
16
|
-
export type ExperimentExecutionNodeDetailsErrorResponse = ApiRestError;
|
|
17
|
-
export interface ExperimentExecutionNodeDetailsProps extends ExperimentExecutionNodeDetailsQueryPathParams, Omit<FetcherOptions<ExperimentExecutionNodeDetailsQueryQueryParams, unknown>, 'url'> {
|
|
18
|
-
queryParams: ExperimentExecutionNodeDetailsQueryQueryParams;
|
|
19
|
-
}
|
|
20
|
-
export interface ExperimentExecutionNodeDetailsResponseContainer {
|
|
21
|
-
body: ExperimentExecutionNodeDetailsOkResponse;
|
|
22
|
-
headers: Headers;
|
|
23
|
-
}
|
|
24
|
-
export declare function experimentExecutionNodeDetails(props: ExperimentExecutionNodeDetailsProps): Promise<ExperimentExecutionNodeDetailsResponseContainer>;
|
|
25
|
-
/**
|
|
26
|
-
* Get chaos execution node
|
|
27
|
-
*/
|
|
28
|
-
export declare function useExperimentExecutionNodeDetailsQuery(props: ExperimentExecutionNodeDetailsProps, options?: Omit<UseQueryOptions<ExperimentExecutionNodeDetailsResponseContainer, ExperimentExecutionNodeDetailsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ExperimentExecutionNodeDetailsResponseContainer, ApiRestError>;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/* eslint-disable */
|
|
2
|
-
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
|
-
// Please do not modify this code directly.
|
|
4
|
-
import { useQuery } from '@tanstack/react-query';
|
|
5
|
-
import { fetcher } from '../../../../custom-fetcher/index.js';
|
|
6
|
-
export function experimentExecutionNodeDetails(props) {
|
|
7
|
-
return fetcher(Object.assign({ url: `/internal/v2/node/${props.experimentId}/${props.experimentRunId}`, method: 'GET' }, props));
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* Get chaos execution node
|
|
11
|
-
*/
|
|
12
|
-
export function useExperimentExecutionNodeDetailsQuery(props, options) {
|
|
13
|
-
return useQuery([
|
|
14
|
-
'experimentExecutionNodeDetails',
|
|
15
|
-
props.name,
|
|
16
|
-
props.experimentId,
|
|
17
|
-
props.experimentRunId,
|
|
18
|
-
props.queryParams,
|
|
19
|
-
], ({ signal }) => experimentExecutionNodeDetails(Object.assign(Object.assign({}, props), { signal })), options);
|
|
20
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
-
import type { ChaosExecutionNodesChaosExecutionResponse } from '../schemas/ChaosExecutionNodesChaosExecutionResponse';
|
|
3
|
-
import type { ApiRestError } from '../schemas/ApiRestError';
|
|
4
|
-
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
5
|
-
export interface GetChaosPipelineExecutionQueryPathParams {
|
|
6
|
-
experimentId: string;
|
|
7
|
-
experimentRunId: string;
|
|
8
|
-
}
|
|
9
|
-
export interface GetChaosPipelineExecutionQueryQueryParams {
|
|
10
|
-
accountIdentifier: string;
|
|
11
|
-
organizationIdentifier: string;
|
|
12
|
-
projectIdentifier: string;
|
|
13
|
-
}
|
|
14
|
-
export type GetChaosPipelineExecutionOkResponse = ChaosExecutionNodesChaosExecutionResponse;
|
|
15
|
-
export type GetChaosPipelineExecutionErrorResponse = ApiRestError;
|
|
16
|
-
export interface GetChaosPipelineExecutionProps extends GetChaosPipelineExecutionQueryPathParams, Omit<FetcherOptions<GetChaosPipelineExecutionQueryQueryParams, unknown>, 'url'> {
|
|
17
|
-
queryParams: GetChaosPipelineExecutionQueryQueryParams;
|
|
18
|
-
}
|
|
19
|
-
export interface GetChaosPipelineExecutionResponseContainer {
|
|
20
|
-
body: GetChaosPipelineExecutionOkResponse;
|
|
21
|
-
headers: Headers;
|
|
22
|
-
}
|
|
23
|
-
export declare function getChaosPipelineExecution(props: GetChaosPipelineExecutionProps): Promise<GetChaosPipelineExecutionResponseContainer>;
|
|
24
|
-
/**
|
|
25
|
-
* Get a chaos pipeline execution
|
|
26
|
-
*/
|
|
27
|
-
export declare function useGetChaosPipelineExecutionQuery(props: GetChaosPipelineExecutionProps, options?: Omit<UseQueryOptions<GetChaosPipelineExecutionResponseContainer, GetChaosPipelineExecutionErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetChaosPipelineExecutionResponseContainer, ApiRestError>;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/* eslint-disable */
|
|
2
|
-
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
|
-
// Please do not modify this code directly.
|
|
4
|
-
import { useQuery } from '@tanstack/react-query';
|
|
5
|
-
import { fetcher } from '../../../../custom-fetcher/index.js';
|
|
6
|
-
export function getChaosPipelineExecution(props) {
|
|
7
|
-
return fetcher(Object.assign({ url: `/rest/v2/chaos-pipeline/${props.experimentId}/${props.experimentRunId}`, method: 'GET' }, props));
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* Get a chaos pipeline execution
|
|
11
|
-
*/
|
|
12
|
-
export function useGetChaosPipelineExecutionQuery(props, options) {
|
|
13
|
-
return useQuery(['getChaosPipelineExecution', props.experimentId, props.experimentRunId, props.queryParams], ({ signal }) => getChaosPipelineExecution(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
-
import type { ChaosExecutionNodesChaosExecutionNode } from '../schemas/ChaosExecutionNodesChaosExecutionNode';
|
|
3
|
-
import type { ApiRestError } from '../schemas/ApiRestError';
|
|
4
|
-
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
5
|
-
export interface GetChaosPipelineStepDetailsQueryPathParams {
|
|
6
|
-
experimentId: string;
|
|
7
|
-
experimentRunId: string;
|
|
8
|
-
stepName: string;
|
|
9
|
-
}
|
|
10
|
-
export interface GetChaosPipelineStepDetailsQueryQueryParams {
|
|
11
|
-
accountIdentifier: string;
|
|
12
|
-
organizationIdentifier: string;
|
|
13
|
-
projectIdentifier: string;
|
|
14
|
-
}
|
|
15
|
-
export type GetChaosPipelineStepDetailsOkResponse = ChaosExecutionNodesChaosExecutionNode;
|
|
16
|
-
export type GetChaosPipelineStepDetailsErrorResponse = ApiRestError;
|
|
17
|
-
export interface GetChaosPipelineStepDetailsProps extends GetChaosPipelineStepDetailsQueryPathParams, Omit<FetcherOptions<GetChaosPipelineStepDetailsQueryQueryParams, unknown>, 'url'> {
|
|
18
|
-
queryParams: GetChaosPipelineStepDetailsQueryQueryParams;
|
|
19
|
-
}
|
|
20
|
-
export interface GetChaosPipelineStepDetailsResponseContainer {
|
|
21
|
-
body: GetChaosPipelineStepDetailsOkResponse;
|
|
22
|
-
headers: Headers;
|
|
23
|
-
}
|
|
24
|
-
export declare function getChaosPipelineStepDetails(props: GetChaosPipelineStepDetailsProps): Promise<GetChaosPipelineStepDetailsResponseContainer>;
|
|
25
|
-
/**
|
|
26
|
-
* Get a chaos pipeline step execution
|
|
27
|
-
*/
|
|
28
|
-
export declare function useGetChaosPipelineStepDetailsQuery(props: GetChaosPipelineStepDetailsProps, options?: Omit<UseQueryOptions<GetChaosPipelineStepDetailsResponseContainer, GetChaosPipelineStepDetailsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetChaosPipelineStepDetailsResponseContainer, ApiRestError>;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/* eslint-disable */
|
|
2
|
-
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
|
-
// Please do not modify this code directly.
|
|
4
|
-
import { useQuery } from '@tanstack/react-query';
|
|
5
|
-
import { fetcher } from '../../../../custom-fetcher/index.js';
|
|
6
|
-
export function getChaosPipelineStepDetails(props) {
|
|
7
|
-
return fetcher(Object.assign({ url: `/rest/v2/chaos-pipeline/step/${props.experimentId}/${props.experimentRunId}/${props.stepName}`, method: 'GET' }, props));
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* Get a chaos pipeline step execution
|
|
11
|
-
*/
|
|
12
|
-
export function useGetChaosPipelineStepDetailsQuery(props, options) {
|
|
13
|
-
return useQuery([
|
|
14
|
-
'getChaosPipelineStepDetails',
|
|
15
|
-
props.experimentId,
|
|
16
|
-
props.experimentRunId,
|
|
17
|
-
props.stepName,
|
|
18
|
-
props.queryParams,
|
|
19
|
-
], ({ signal }) => getChaosPipelineStepDetails(Object.assign(Object.assign({}, props), { signal })), options);
|
|
20
|
-
}
|
package/dist/chaos-manager/src/services/hooks/useUpdateChaosExperimentExecutionNodeMutation.d.ts
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
-
import type { ApiRestError } from '../schemas/ApiRestError';
|
|
3
|
-
import type { ModelChaosExecutionNode } from '../schemas/ModelChaosExecutionNode';
|
|
4
|
-
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
5
|
-
export interface UpdateChaosExperimentExecutionNodeMutationPathParams {
|
|
6
|
-
name: string;
|
|
7
|
-
experimentId: string;
|
|
8
|
-
experimentRunId: string;
|
|
9
|
-
}
|
|
10
|
-
export interface UpdateChaosExperimentExecutionNodeMutationQueryParams {
|
|
11
|
-
accountIdentifier: string;
|
|
12
|
-
}
|
|
13
|
-
export type UpdateChaosExperimentExecutionNodeRequestBody = ModelChaosExecutionNode;
|
|
14
|
-
export type UpdateChaosExperimentExecutionNodeOkResponse = string;
|
|
15
|
-
export type UpdateChaosExperimentExecutionNodeErrorResponse = ApiRestError;
|
|
16
|
-
export interface UpdateChaosExperimentExecutionNodeProps extends UpdateChaosExperimentExecutionNodeMutationPathParams, Omit<FetcherOptions<UpdateChaosExperimentExecutionNodeMutationQueryParams, UpdateChaosExperimentExecutionNodeRequestBody>, 'url'> {
|
|
17
|
-
queryParams: UpdateChaosExperimentExecutionNodeMutationQueryParams;
|
|
18
|
-
body: UpdateChaosExperimentExecutionNodeRequestBody;
|
|
19
|
-
}
|
|
20
|
-
export interface UpdateChaosExperimentExecutionNodeResponseContainer {
|
|
21
|
-
body: UpdateChaosExperimentExecutionNodeOkResponse;
|
|
22
|
-
headers: Headers;
|
|
23
|
-
}
|
|
24
|
-
export declare function updateChaosExperimentExecutionNode(props: UpdateChaosExperimentExecutionNodeProps): Promise<UpdateChaosExperimentExecutionNodeResponseContainer>;
|
|
25
|
-
export type UpdateChaosExperimentExecutionNodeMutationProps<T extends keyof UpdateChaosExperimentExecutionNodeProps> = Omit<UpdateChaosExperimentExecutionNodeProps, T> & Partial<Pick<UpdateChaosExperimentExecutionNodeProps, T>>;
|
|
26
|
-
/**
|
|
27
|
-
* Update chaos execution node
|
|
28
|
-
*/
|
|
29
|
-
export declare function useUpdateChaosExperimentExecutionNodeMutation<T extends keyof UpdateChaosExperimentExecutionNodeProps>(props: Pick<Partial<UpdateChaosExperimentExecutionNodeProps>, T>, options?: Omit<UseMutationOptions<UpdateChaosExperimentExecutionNodeResponseContainer, UpdateChaosExperimentExecutionNodeErrorResponse, UpdateChaosExperimentExecutionNodeMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateChaosExperimentExecutionNodeResponseContainer, ApiRestError, UpdateChaosExperimentExecutionNodeMutationProps<T>, unknown>;
|
package/dist/chaos-manager/src/services/hooks/useUpdateChaosExperimentExecutionNodeMutation.js
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/* eslint-disable */
|
|
2
|
-
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
|
-
// Please do not modify this code directly.
|
|
4
|
-
import { useMutation } from '@tanstack/react-query';
|
|
5
|
-
import { fetcher } from '../../../../custom-fetcher/index.js';
|
|
6
|
-
export function updateChaosExperimentExecutionNode(props) {
|
|
7
|
-
return fetcher(Object.assign({ url: `/internal/v2/taskCallback/${props.experimentId}/${props.experimentRunId}/${props.name}`, method: 'POST' }, props));
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* Update chaos execution node
|
|
11
|
-
*/
|
|
12
|
-
export function useUpdateChaosExperimentExecutionNodeMutation(props, options) {
|
|
13
|
-
return useMutation((mutateProps) => updateChaosExperimentExecutionNode(Object.assign(Object.assign({}, props), mutateProps)), options);
|
|
14
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { ModelActionData } from '../schemas/ModelActionData';
|
|
2
|
-
import type { ModelFaultData } from '../schemas/ModelFaultData';
|
|
3
|
-
import type { ModelProbeData } from '../schemas/ModelProbeData';
|
|
4
|
-
export interface GithubComHarnessHceSaasHceSdkCommonKubernetesV2ModelChaosData {
|
|
5
|
-
actionData?: ModelActionData;
|
|
6
|
-
faultData?: ModelFaultData;
|
|
7
|
-
probeData?: ModelProbeData;
|
|
8
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import type { GithubComHarnessHceSaasHceSdkCommonKubernetesV2ModelChaosData } from '../schemas/GithubComHarnessHceSaasHceSdkCommonKubernetesV2ModelChaosData';
|
|
2
|
-
import type { ModelErrorData } from '../schemas/ModelErrorData';
|
|
3
|
-
import type { ModelChaosStepStatus } from '../schemas/ModelChaosStepStatus';
|
|
4
|
-
import type { ModelChaosStepType } from '../schemas/ModelChaosStepType';
|
|
5
|
-
export interface ModelChaosExecutionNode {
|
|
6
|
-
chaosData?: GithubComHarnessHceSaasHceSdkCommonKubernetesV2ModelChaosData;
|
|
7
|
-
errorData?: ModelErrorData;
|
|
8
|
-
estimatedTime?: number;
|
|
9
|
-
experimentID?: string;
|
|
10
|
-
experimentRunID?: string;
|
|
11
|
-
finishedAt?: number;
|
|
12
|
-
isRemoved?: boolean;
|
|
13
|
-
lastUpdatedAt?: number;
|
|
14
|
-
startedAt?: number;
|
|
15
|
-
status?: ModelChaosStepStatus;
|
|
16
|
-
stepName?: string;
|
|
17
|
-
stepType?: ModelChaosStepType;
|
|
18
|
-
streamID?: string;
|
|
19
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type ModelChaosStepStatus = 'COMPLETED' | 'COMPLETED_WITH_PROBE_FAILURE' | 'ERROR' | 'FAILED' | 'PASSED' | 'PENDING' | 'RUNNING' | 'SKIPPED' | 'STOPPED';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type ModelChaosStepType = 'ACTION' | 'EXPERIMENT' | 'FAULT' | 'PROBE';
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { ModelHelperPodDetails } from '../schemas/ModelHelperPodDetails';
|
|
2
|
-
import type { V1alpha1TargetDetails } from '../schemas/V1alpha1TargetDetails';
|
|
3
|
-
import type { V1alpha1Targets } from '../schemas/V1alpha1Targets';
|
|
4
|
-
export interface ModelFaultData {
|
|
5
|
-
helperPodDetails?: ModelHelperPodDetails[];
|
|
6
|
-
name?: string;
|
|
7
|
-
namespace?: string;
|
|
8
|
-
targetChaosStatus?: V1alpha1TargetDetails[];
|
|
9
|
-
targets?: V1alpha1Targets[];
|
|
10
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { ModelCommandProbe } from '../schemas/ModelCommandProbe';
|
|
2
|
-
import type { ModelHttpProbe } from '../schemas/ModelHttpProbe';
|
|
3
|
-
import type { ModelPromProbe } from '../schemas/ModelPromProbe';
|
|
4
|
-
export interface ModelProbeIterations {
|
|
5
|
-
commandProbe?: ModelCommandProbe;
|
|
6
|
-
duration?: number;
|
|
7
|
-
httpProbe?: ModelHttpProbe;
|
|
8
|
-
phase?: string;
|
|
9
|
-
promProbe?: ModelPromProbe;
|
|
10
|
-
timestamp?: number;
|
|
11
|
-
}
|