@harnessio/react-chaos-manager-client 0.16.3 → 1.0.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.
Files changed (77) hide show
  1. package/dist/chaos-manager/src/services/hooks/useCreateChaosExperimentExecutionNodeMutation.d.ts +24 -0
  2. package/dist/chaos-manager/src/services/hooks/useCreateChaosExperimentExecutionNodeMutation.js +14 -0
  3. package/dist/chaos-manager/src/services/hooks/useExperimentExecutionNodeDetailsQuery.d.ts +28 -0
  4. package/dist/chaos-manager/src/services/hooks/useExperimentExecutionNodeDetailsQuery.js +20 -0
  5. package/dist/chaos-manager/src/services/hooks/useGetChaosPipelineExecutionQuery.d.ts +27 -0
  6. package/dist/chaos-manager/src/services/hooks/useGetChaosPipelineExecutionQuery.js +14 -0
  7. package/dist/chaos-manager/src/services/hooks/useGetChaosPipelineStepDetailsQuery.d.ts +28 -0
  8. package/dist/chaos-manager/src/services/hooks/useGetChaosPipelineStepDetailsQuery.js +20 -0
  9. package/dist/chaos-manager/src/services/hooks/useUpdateChaosExperimentExecutionNodeMutation.d.ts +29 -0
  10. package/dist/chaos-manager/src/services/hooks/useUpdateChaosExperimentExecutionNodeMutation.js +14 -0
  11. package/dist/chaos-manager/src/services/index.d.ts +36 -0
  12. package/dist/chaos-manager/src/services/index.js +5 -0
  13. package/dist/chaos-manager/src/services/schemas/ActionActionTemplateProperties.d.ts +2 -0
  14. package/dist/chaos-manager/src/services/schemas/ActionCustomScriptActionTemplate.d.ts +1 -1
  15. package/dist/chaos-manager/src/services/schemas/ActionSourceActionTemplate.d.ts +16 -0
  16. package/dist/chaos-manager/src/services/schemas/ActionSourceActionTemplate.js +4 -0
  17. package/dist/chaos-manager/src/services/schemas/ExecutionActionData.d.ts +3 -0
  18. package/dist/chaos-manager/src/services/schemas/ExecutionActionData.js +4 -0
  19. package/dist/chaos-manager/src/services/schemas/ExecutionChaosData.d.ts +8 -0
  20. package/dist/chaos-manager/src/services/schemas/ExecutionChaosData.js +1 -0
  21. package/dist/chaos-manager/src/services/schemas/ExecutionChaosExecutionNode.d.ts +21 -0
  22. package/dist/chaos-manager/src/services/schemas/ExecutionChaosExecutionNode.js +1 -0
  23. package/dist/chaos-manager/src/services/schemas/ExecutionChaosStepStatus.d.ts +1 -0
  24. package/dist/chaos-manager/src/services/schemas/ExecutionChaosStepStatus.js +4 -0
  25. package/dist/chaos-manager/src/services/schemas/ExecutionChaosStepType.d.ts +1 -0
  26. package/dist/chaos-manager/src/services/schemas/ExecutionChaosStepType.js +4 -0
  27. package/dist/chaos-manager/src/services/schemas/ExecutionCommandProbe.d.ts +3 -0
  28. package/dist/chaos-manager/src/services/schemas/ExecutionCommandProbe.js +4 -0
  29. package/dist/chaos-manager/src/services/schemas/ExecutionErrorData.d.ts +4 -0
  30. package/dist/chaos-manager/src/services/schemas/ExecutionErrorData.js +4 -0
  31. package/dist/chaos-manager/src/services/schemas/ExecutionFaultData.d.ts +6 -0
  32. package/dist/chaos-manager/src/services/schemas/ExecutionFaultData.js +1 -0
  33. package/dist/chaos-manager/src/services/schemas/ExecutionHelperPodDetails.d.ts +4 -0
  34. package/dist/chaos-manager/src/services/schemas/ExecutionHelperPodDetails.js +4 -0
  35. package/dist/chaos-manager/src/services/schemas/ExecutionHttpProbe.d.ts +5 -0
  36. package/dist/chaos-manager/src/services/schemas/ExecutionHttpProbe.js +4 -0
  37. package/dist/chaos-manager/src/services/schemas/ExecutionInfraType.d.ts +1 -0
  38. package/dist/chaos-manager/src/services/schemas/ExecutionInfraType.js +4 -0
  39. package/dist/chaos-manager/src/services/schemas/ExecutionKubernetesFaultData.d.ts +10 -0
  40. package/dist/chaos-manager/src/services/schemas/ExecutionKubernetesFaultData.js +1 -0
  41. package/dist/chaos-manager/src/services/schemas/ExecutionMachineChaosFaultData.d.ts +3 -0
  42. package/dist/chaos-manager/src/services/schemas/ExecutionMachineChaosFaultData.js +4 -0
  43. package/dist/chaos-manager/src/services/schemas/ExecutionProbeData.d.ts +8 -0
  44. package/dist/chaos-manager/src/services/schemas/ExecutionProbeData.js +1 -0
  45. package/dist/chaos-manager/src/services/schemas/ExecutionProbeIterations.d.ts +14 -0
  46. package/dist/chaos-manager/src/services/schemas/ExecutionProbeIterations.js +1 -0
  47. package/dist/chaos-manager/src/services/schemas/ExecutionPromProbe.d.ts +3 -0
  48. package/dist/chaos-manager/src/services/schemas/ExecutionPromProbe.js +4 -0
  49. package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeAppdMetrics.d.ts +1 -1
  50. package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeSplunkObservabilityMetrics.d.ts +4 -0
  51. package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeSplunkObservabilityMetrics.js +4 -0
  52. package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeSplunkObservabilityProbeInputs.d.ts +5 -0
  53. package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeSplunkObservabilityProbeInputs.js +1 -0
  54. package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeSplunkObservabilityMetrics.d.ts +4 -0
  55. package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeSplunkObservabilityMetrics.js +4 -0
  56. package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeSplunkObservabilityProbeInputs.d.ts +5 -0
  57. package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeSplunkObservabilityProbeInputs.js +1 -0
  58. package/dist/chaos-manager/src/services/schemas/GithubComWingsSoftwareDdcrPkgTypesChaosInputs.d.ts +1 -1
  59. package/dist/chaos-manager/src/services/schemas/GithubComWingsSoftwareDdcrPkgTypesDefinition.d.ts +6 -0
  60. package/dist/chaos-manager/src/services/schemas/ProbeApmProbe.d.ts +2 -0
  61. package/dist/chaos-manager/src/services/schemas/ProbeApmProbeTemplate.d.ts +2 -0
  62. package/dist/chaos-manager/src/services/schemas/ProbeApmProbeType.d.ts +1 -1
  63. package/dist/chaos-manager/src/services/schemas/TypesExperimentComponents.d.ts +2 -0
  64. package/dist/chaos-manager/src/services/schemas/TypesHelperConfig.d.ts +35 -0
  65. package/dist/chaos-manager/src/services/schemas/TypesHelperConfig.js +1 -0
  66. package/dist/chaos-manager/src/services/schemas/TypesSelector.d.ts +3 -0
  67. package/dist/chaos-manager/src/services/schemas/TypesWorkload.d.ts +12 -0
  68. package/dist/chaos-manager/src/services/schemas/V1ApmProbeInputs.d.ts +5 -0
  69. package/dist/chaos-manager/src/services/schemas/V1SplunkObservabilityInputs.d.ts +15 -0
  70. package/dist/chaos-manager/src/services/schemas/V1SplunkObservabilityInputs.js +1 -0
  71. package/dist/chaos-manager/src/services/schemas/V1SplunkObservabilityMetrics.d.ts +10 -0
  72. package/dist/chaos-manager/src/services/schemas/V1SplunkObservabilityMetrics.js +4 -0
  73. package/dist/chaos-manager/src/services/schemas/V1alpha1TargetDetails.d.ts +5 -0
  74. package/dist/chaos-manager/src/services/schemas/V1alpha1TargetDetails.js +4 -0
  75. package/dist/chaos-manager/src/services/schemas/V1alpha1Targets.d.ts +8 -0
  76. package/dist/chaos-manager/src/services/schemas/V1alpha1Targets.js +4 -0
  77. package/package.json +1 -1
@@ -0,0 +1,24 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { ApiRestError } from '../schemas/ApiRestError';
3
+ import type { ExecutionChaosExecutionNode } from '../schemas/ExecutionChaosExecutionNode';
4
+ import { FetcherOptions } from '../../../../custom-fetcher/index.js';
5
+ export interface CreateChaosExperimentExecutionNodeMutationPathParams {
6
+ experimentId: string;
7
+ experimentRunId: string;
8
+ }
9
+ export type CreateChaosExperimentExecutionNodeRequestBody = ExecutionChaosExecutionNode[];
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>;
@@ -0,0 +1,14 @@
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/execution-node/${props.experimentId}/${props.experimentRunId}`, method: 'PUT' }, 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
+ }
@@ -0,0 +1,28 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { ExecutionChaosExecutionNode } from '../schemas/ExecutionChaosExecutionNode';
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 = ExecutionChaosExecutionNode[];
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>;
@@ -0,0 +1,20 @@
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/execution-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
+ }
@@ -0,0 +1,27 @@
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>;
@@ -0,0 +1,14 @@
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
+ }
@@ -0,0 +1,28 @@
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>;
@@ -0,0 +1,20 @@
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
+ }
@@ -0,0 +1,29 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { ApiRestError } from '../schemas/ApiRestError';
3
+ import type { ExecutionChaosExecutionNode } from '../schemas/ExecutionChaosExecutionNode';
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 = ExecutionChaosExecutionNode;
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>;
@@ -0,0 +1,14 @@
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/execution-node/${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
+ }
@@ -10,6 +10,8 @@ export type { CreateActionErrorResponse, CreateActionMutationProps, CreateAction
10
10
  export { createAction, useCreateActionMutation } from './hooks/useCreateActionMutation';
11
11
  export type { CreateActionTemplateErrorResponse, CreateActionTemplateMutationProps, CreateActionTemplateMutationQueryParams, CreateActionTemplateOkResponse, CreateActionTemplateProps, CreateActionTemplateRequestBody, } from './hooks/useCreateActionTemplateMutation';
12
12
  export { createActionTemplate, useCreateActionTemplateMutation, } from './hooks/useCreateActionTemplateMutation';
13
+ export type { CreateChaosExperimentExecutionNodeErrorResponse, CreateChaosExperimentExecutionNodeMutationPathParams, CreateChaosExperimentExecutionNodeMutationProps, CreateChaosExperimentExecutionNodeOkResponse, CreateChaosExperimentExecutionNodeProps, CreateChaosExperimentExecutionNodeRequestBody, } from './hooks/useCreateChaosExperimentExecutionNodeMutation';
14
+ export { createChaosExperimentExecutionNode, useCreateChaosExperimentExecutionNodeMutation, } from './hooks/useCreateChaosExperimentExecutionNodeMutation';
13
15
  export type { CreateChaosExperimentPipelineErrorResponse, CreateChaosExperimentPipelineMutationProps, CreateChaosExperimentPipelineMutationQueryParams, CreateChaosExperimentPipelineOkResponse, CreateChaosExperimentPipelineProps, CreateChaosExperimentPipelineRequestBody, } from './hooks/useCreateChaosExperimentPipelineMutation';
14
16
  export { createChaosExperimentPipeline, useCreateChaosExperimentPipelineMutation, } from './hooks/useCreateChaosExperimentPipelineMutation';
15
17
  export type { CreateChaosHubErrorResponse, CreateChaosHubMutationProps, CreateChaosHubMutationQueryParams, CreateChaosHubOkResponse, CreateChaosHubProps, CreateChaosHubRequestBody, } from './hooks/useCreateChaosHubMutation';
@@ -54,6 +56,8 @@ export type { DeleteTargetNetworkMapErrorResponse, DeleteTargetNetworkMapMutatio
54
56
  export { deleteTargetNetworkMap, useDeleteTargetNetworkMapMutation, } from './hooks/useDeleteTargetNetworkMapMutation';
55
57
  export type { EnableProbeErrorResponse, EnableProbeMutationPathParams, EnableProbeMutationProps, EnableProbeMutationQueryParams, EnableProbeOkResponse, EnableProbeProps, EnableProbeRequestBody, } from './hooks/useEnableProbeMutation';
56
58
  export { enableProbe, useEnableProbeMutation } from './hooks/useEnableProbeMutation';
59
+ export type { ExperimentExecutionNodeDetailsErrorResponse, ExperimentExecutionNodeDetailsOkResponse, ExperimentExecutionNodeDetailsProps, ExperimentExecutionNodeDetailsQueryPathParams, ExperimentExecutionNodeDetailsQueryQueryParams, } from './hooks/useExperimentExecutionNodeDetailsQuery';
60
+ export { experimentExecutionNodeDetails, useExperimentExecutionNodeDetailsQuery, } from './hooks/useExperimentExecutionNodeDetailsQuery';
57
61
  export type { GetAccountServiceDetailsErrorResponse, GetAccountServiceDetailsOkResponse, GetAccountServiceDetailsProps, GetAccountServiceDetailsQueryPathParams, GetAccountServiceDetailsQueryQueryParams, } from './hooks/useGetAccountServiceDetailsQuery';
58
62
  export { getAccountServiceDetails, useGetAccountServiceDetailsQuery, } from './hooks/useGetAccountServiceDetailsQuery';
59
63
  export type { GetAccountServiceUsageStatsErrorResponse, GetAccountServiceUsageStatsOkResponse, GetAccountServiceUsageStatsProps, GetAccountServiceUsageStatsQueryPathParams, GetAccountServiceUsageStatsQueryQueryParams, } from './hooks/useGetAccountServiceUsageStatsQuery';
@@ -72,6 +76,10 @@ export type { GetChaosExperimentRunReportErrorResponse, GetChaosExperimentRunRep
72
76
  export { getChaosExperimentRunReport, useGetChaosExperimentRunReportQuery, } from './hooks/useGetChaosExperimentRunReportQuery';
73
77
  export type { GetChaosHubErrorResponse, GetChaosHubOkResponse, GetChaosHubProps, GetChaosHubQueryPathParams, GetChaosHubQueryQueryParams, } from './hooks/useGetChaosHubQuery';
74
78
  export { getChaosHub, useGetChaosHubQuery } from './hooks/useGetChaosHubQuery';
79
+ export type { GetChaosPipelineExecutionErrorResponse, GetChaosPipelineExecutionOkResponse, GetChaosPipelineExecutionProps, GetChaosPipelineExecutionQueryPathParams, GetChaosPipelineExecutionQueryQueryParams, } from './hooks/useGetChaosPipelineExecutionQuery';
80
+ export { getChaosPipelineExecution, useGetChaosPipelineExecutionQuery, } from './hooks/useGetChaosPipelineExecutionQuery';
81
+ export type { GetChaosPipelineStepDetailsErrorResponse, GetChaosPipelineStepDetailsOkResponse, GetChaosPipelineStepDetailsProps, GetChaosPipelineStepDetailsQueryPathParams, GetChaosPipelineStepDetailsQueryQueryParams, } from './hooks/useGetChaosPipelineStepDetailsQuery';
82
+ export { getChaosPipelineStepDetails, useGetChaosPipelineStepDetailsQuery, } from './hooks/useGetChaosPipelineStepDetailsQuery';
75
83
  export type { GetChaosV2ExperimentErrorResponse, GetChaosV2ExperimentOkResponse, GetChaosV2ExperimentProps, GetChaosV2ExperimentQueryPathParams, GetChaosV2ExperimentQueryQueryParams, } from './hooks/useGetChaosV2ExperimentQuery';
76
84
  export { getChaosV2Experiment, useGetChaosV2ExperimentQuery, } from './hooks/useGetChaosV2ExperimentQuery';
77
85
  export type { GetChaosV2ExperimentRunInternalApiErrorResponse, GetChaosV2ExperimentRunInternalApiMutationPathParams, GetChaosV2ExperimentRunInternalApiMutationProps, GetChaosV2ExperimentRunInternalApiMutationQueryParams, GetChaosV2ExperimentRunInternalApiOkResponse, GetChaosV2ExperimentRunInternalApiProps, GetChaosV2ExperimentRunInternalApiRequestBody, } from './hooks/useGetChaosV2ExperimentRunInternalApiMutation';
@@ -220,6 +228,8 @@ export type { UpdateActionErrorResponse, UpdateActionMutationPathParams, UpdateA
220
228
  export { updateAction, useUpdateActionMutation } from './hooks/useUpdateActionMutation';
221
229
  export type { UpdateActionTemplateErrorResponse, UpdateActionTemplateMutationPathParams, UpdateActionTemplateMutationProps, UpdateActionTemplateMutationQueryParams, UpdateActionTemplateOkResponse, UpdateActionTemplateProps, UpdateActionTemplateRequestBody, } from './hooks/useUpdateActionTemplateMutation';
222
230
  export { updateActionTemplate, useUpdateActionTemplateMutation, } from './hooks/useUpdateActionTemplateMutation';
231
+ export type { UpdateChaosExperimentExecutionNodeErrorResponse, UpdateChaosExperimentExecutionNodeMutationPathParams, UpdateChaosExperimentExecutionNodeMutationProps, UpdateChaosExperimentExecutionNodeMutationQueryParams, UpdateChaosExperimentExecutionNodeOkResponse, UpdateChaosExperimentExecutionNodeProps, UpdateChaosExperimentExecutionNodeRequestBody, } from './hooks/useUpdateChaosExperimentExecutionNodeMutation';
232
+ export { updateChaosExperimentExecutionNode, useUpdateChaosExperimentExecutionNodeMutation, } from './hooks/useUpdateChaosExperimentExecutionNodeMutation';
223
233
  export type { UpdateChaosHubErrorResponse, UpdateChaosHubMutationPathParams, UpdateChaosHubMutationProps, UpdateChaosHubMutationQueryParams, UpdateChaosHubOkResponse, UpdateChaosHubProps, UpdateChaosHubRequestBody, } from './hooks/useUpdateChaosHubMutation';
224
234
  export { updateChaosHub, useUpdateChaosHubMutation } from './hooks/useUpdateChaosHubMutation';
225
235
  export type { UpdateChaosV2CronExperimentErrorResponse, UpdateChaosV2CronExperimentMutationProps, UpdateChaosV2CronExperimentMutationQueryParams, UpdateChaosV2CronExperimentOkResponse, UpdateChaosV2CronExperimentProps, UpdateChaosV2CronExperimentRequestBody, } from './hooks/useUpdateChaosV2CronExperimentMutation';
@@ -255,6 +265,7 @@ export type { ActionActionTemplateProperties } from './schemas/ActionActionTempl
255
265
  export type { ActionActionTemplateRunProperties } from './schemas/ActionActionTemplateRunProperties';
256
266
  export type { ActionCustomScriptActionTemplate } from './schemas/ActionCustomScriptActionTemplate';
257
267
  export type { ActionDelayActionTemplate } from './schemas/ActionDelayActionTemplate';
268
+ export type { ActionSourceActionTemplate } from './schemas/ActionSourceActionTemplate';
258
269
  export type { ActionsActionResponse } from './schemas/ActionsActionResponse';
259
270
  export type { ActionsActionType } from './schemas/ActionsActionType';
260
271
  export type { ActionsExecutedByExperiment } from './schemas/ActionsExecutedByExperiment';
@@ -368,6 +379,22 @@ export type { DatabaseResourceList } from './schemas/DatabaseResourceList';
368
379
  export type { DatabaseResourceRequirements } from './schemas/DatabaseResourceRequirements';
369
380
  export type { DatabaseServiceCollection } from './schemas/DatabaseServiceCollection';
370
381
  export type { DatabaseServiceIdentity } from './schemas/DatabaseServiceIdentity';
382
+ export type { ExecutionActionData } from './schemas/ExecutionActionData';
383
+ export type { ExecutionChaosData } from './schemas/ExecutionChaosData';
384
+ export type { ExecutionChaosExecutionNode } from './schemas/ExecutionChaosExecutionNode';
385
+ export type { ExecutionChaosStepStatus } from './schemas/ExecutionChaosStepStatus';
386
+ export type { ExecutionChaosStepType } from './schemas/ExecutionChaosStepType';
387
+ export type { ExecutionCommandProbe } from './schemas/ExecutionCommandProbe';
388
+ export type { ExecutionErrorData } from './schemas/ExecutionErrorData';
389
+ export type { ExecutionFaultData } from './schemas/ExecutionFaultData';
390
+ export type { ExecutionHelperPodDetails } from './schemas/ExecutionHelperPodDetails';
391
+ export type { ExecutionHttpProbe } from './schemas/ExecutionHttpProbe';
392
+ export type { ExecutionInfraType } from './schemas/ExecutionInfraType';
393
+ export type { ExecutionKubernetesFaultData } from './schemas/ExecutionKubernetesFaultData';
394
+ export type { ExecutionMachineChaosFaultData } from './schemas/ExecutionMachineChaosFaultData';
395
+ export type { ExecutionProbeData } from './schemas/ExecutionProbeData';
396
+ export type { ExecutionProbeIterations } from './schemas/ExecutionProbeIterations';
397
+ export type { ExecutionPromProbe } from './schemas/ExecutionPromProbe';
371
398
  export type { ExperimentSaveChaosExperimentResponse } from './schemas/ExperimentSaveChaosExperimentResponse';
372
399
  export type { Gamedayrunv2ApprovalStatus } from './schemas/Gamedayrunv2ApprovalStatus';
373
400
  export type { Gamedayrunv2PrerequisiteStatus } from './schemas/Gamedayrunv2PrerequisiteStatus';
@@ -393,6 +420,8 @@ export type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeIdentif
393
420
  export type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbePost } from './schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbePost';
394
421
  export type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbePrometheusProbeInputs } from './schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbePrometheusProbeInputs';
395
422
  export type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeSecretManager } from './schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeSecretManager';
423
+ export type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeSplunkObservabilityMetrics } from './schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeSplunkObservabilityMetrics';
424
+ export type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeSplunkObservabilityProbeInputs } from './schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeSplunkObservabilityProbeInputs';
396
425
  export type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbRecommendationNode } from './schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbRecommendationNode';
397
426
  export type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbRecommendationRecommendation } from './schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbRecommendationRecommendation';
398
427
  export type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbRecommendationRecommendationTargetType } from './schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbRecommendationRecommendationTargetType';
@@ -408,6 +437,8 @@ export type { GithubComHarnessHceSaasHceSdkTemplateSchemaProbeIdentifier } from
408
437
  export type { GithubComHarnessHceSaasHceSdkTemplateSchemaProbePost } from './schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbePost';
409
438
  export type { GithubComHarnessHceSaasHceSdkTemplateSchemaProbePrometheusProbeInputs } from './schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbePrometheusProbeInputs';
410
439
  export type { GithubComHarnessHceSaasHceSdkTemplateSchemaProbeSecretManager } from './schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeSecretManager';
440
+ export type { GithubComHarnessHceSaasHceSdkTemplateSchemaProbeSplunkObservabilityMetrics } from './schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeSplunkObservabilityMetrics';
441
+ export type { GithubComHarnessHceSaasHceSdkTemplateSchemaProbeSplunkObservabilityProbeInputs } from './schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeSplunkObservabilityProbeInputs';
411
442
  export type { GithubComHarnessHceSaasHceSdkTypesApiK8sifsImageRegistryScopedIdentifiers } from './schemas/GithubComHarnessHceSaasHceSdkTypesApiK8sifsImageRegistryScopedIdentifiers';
412
443
  export type { GithubComWingsSoftwareDdcrPkgTypesChaosInputs } from './schemas/GithubComWingsSoftwareDdcrPkgTypesChaosInputs';
413
444
  export type { GithubComWingsSoftwareDdcrPkgTypesDefinition } from './schemas/GithubComWingsSoftwareDdcrPkgTypesDefinition';
@@ -634,6 +665,7 @@ export type { TypesGamedayV2 } from './schemas/TypesGamedayV2';
634
665
  export type { TypesGetGamedayExperimentResponse } from './schemas/TypesGetGamedayExperimentResponse';
635
666
  export type { TypesGetGamedayResponse } from './schemas/TypesGetGamedayResponse';
636
667
  export type { TypesGetProbeResponse } from './schemas/TypesGetProbeResponse';
668
+ export type { TypesHelperConfig } from './schemas/TypesHelperConfig';
637
669
  export type { TypesHostFile } from './schemas/TypesHostFile';
638
670
  export type { TypesImportProbeTemplateRequest } from './schemas/TypesImportProbeTemplateRequest';
639
671
  export type { TypesInfrastructureType } from './schemas/TypesInfrastructureType';
@@ -796,6 +828,8 @@ export type { V1SessionAffinityConfig } from './schemas/V1SessionAffinityConfig'
796
828
  export type { V1SloProbeInputs } from './schemas/V1SloProbeInputs';
797
829
  export type { V1SloSourceMetadata } from './schemas/V1SloSourceMetadata';
798
830
  export type { V1SourceDetails } from './schemas/V1SourceDetails';
831
+ export type { V1SplunkObservabilityInputs } from './schemas/V1SplunkObservabilityInputs';
832
+ export type { V1SplunkObservabilityMetrics } from './schemas/V1SplunkObservabilityMetrics';
799
833
  export type { V1StorageMedium } from './schemas/V1StorageMedium';
800
834
  export type { V1StorageOsVolumeSource } from './schemas/V1StorageOsVolumeSource';
801
835
  export type { V1SyntheticsTest } from './schemas/V1SyntheticsTest';
@@ -810,6 +844,8 @@ export type { V1VolumeMount } from './schemas/V1VolumeMount';
810
844
  export type { V1VolumeProjection } from './schemas/V1VolumeProjection';
811
845
  export type { V1VsphereVirtualDiskVolumeSource } from './schemas/V1VsphereVirtualDiskVolumeSource';
812
846
  export type { V1WindowsSecurityContextOptions } from './schemas/V1WindowsSecurityContextOptions';
847
+ export type { V1alpha1TargetDetails } from './schemas/V1alpha1TargetDetails';
848
+ export type { V1alpha1Targets } from './schemas/V1alpha1Targets';
813
849
  export type { V2OnboardingAgentData } from './schemas/V2OnboardingAgentData';
814
850
  export type { V2OnboardingAgentDetails } from './schemas/V2OnboardingAgentDetails';
815
851
  export type { V2OnboardingAutoCreatedNetworkMapStatus } from './schemas/V2OnboardingAutoCreatedNetworkMapStatus';
@@ -4,6 +4,7 @@ export { bulkExperimentTagAdd, useBulkExperimentTagAddMutation, } from './hooks/
4
4
  export { canRetryExperimentCreation, useCanRetryExperimentCreationQuery, } from './hooks/useCanRetryExperimentCreationQuery';
5
5
  export { createAction, useCreateActionMutation } from './hooks/useCreateActionMutation';
6
6
  export { createActionTemplate, useCreateActionTemplateMutation, } from './hooks/useCreateActionTemplateMutation';
7
+ export { createChaosExperimentExecutionNode, useCreateChaosExperimentExecutionNodeMutation, } from './hooks/useCreateChaosExperimentExecutionNodeMutation';
7
8
  export { createChaosExperimentPipeline, useCreateChaosExperimentPipelineMutation, } from './hooks/useCreateChaosExperimentPipelineMutation';
8
9
  export { createChaosHub, useCreateChaosHubMutation } from './hooks/useCreateChaosHubMutation';
9
10
  export { createFaultTemplate, useCreateFaultTemplateMutation, } from './hooks/useCreateFaultTemplateMutation';
@@ -26,6 +27,7 @@ export { deleteProbeTemplate, useDeleteProbeTemplateMutation, } from './hooks/us
26
27
  export { deleteRecommendation, useDeleteRecommendationMutation, } from './hooks/useDeleteRecommendationMutation';
27
28
  export { deleteTargetNetworkMap, useDeleteTargetNetworkMapMutation, } from './hooks/useDeleteTargetNetworkMapMutation';
28
29
  export { enableProbe, useEnableProbeMutation } from './hooks/useEnableProbeMutation';
30
+ export { experimentExecutionNodeDetails, useExperimentExecutionNodeDetailsQuery, } from './hooks/useExperimentExecutionNodeDetailsQuery';
29
31
  export { getAccountServiceDetails, useGetAccountServiceDetailsQuery, } from './hooks/useGetAccountServiceDetailsQuery';
30
32
  export { getAccountServiceUsageStats, useGetAccountServiceUsageStatsQuery, } from './hooks/useGetAccountServiceUsageStatsQuery';
31
33
  export { getActionManifest, useGetActionManifestQuery } from './hooks/useGetActionManifestQuery';
@@ -35,6 +37,8 @@ export { getActionTemplateRevisionDifference, useGetActionTemplateRevisionDiffer
35
37
  export { getChaosDashboard, useGetChaosDashboardQuery } from './hooks/useGetChaosDashboardQuery';
36
38
  export { getChaosExperimentRunReport, useGetChaosExperimentRunReportQuery, } from './hooks/useGetChaosExperimentRunReportQuery';
37
39
  export { getChaosHub, useGetChaosHubQuery } from './hooks/useGetChaosHubQuery';
40
+ export { getChaosPipelineExecution, useGetChaosPipelineExecutionQuery, } from './hooks/useGetChaosPipelineExecutionQuery';
41
+ export { getChaosPipelineStepDetails, useGetChaosPipelineStepDetailsQuery, } from './hooks/useGetChaosPipelineStepDetailsQuery';
38
42
  export { getChaosV2Experiment, useGetChaosV2ExperimentQuery, } from './hooks/useGetChaosV2ExperimentQuery';
39
43
  export { getChaosV2ExperimentRunInternalApi, useGetChaosV2ExperimentRunInternalApiMutation, } from './hooks/useGetChaosV2ExperimentRunInternalApiMutation';
40
44
  export { getChaosV2ExperimentRun, useGetChaosV2ExperimentRunQuery, } from './hooks/useGetChaosV2ExperimentRunQuery';
@@ -109,6 +113,7 @@ export { stopChaosV2Experiment, useStopChaosV2ExperimentMutation, } from './hook
109
113
  export { stopOnboardingExperiments, useStopOnboardingExperimentsMutation, } from './hooks/useStopOnboardingExperimentsMutation';
110
114
  export { updateAction, useUpdateActionMutation } from './hooks/useUpdateActionMutation';
111
115
  export { updateActionTemplate, useUpdateActionTemplateMutation, } from './hooks/useUpdateActionTemplateMutation';
116
+ export { updateChaosExperimentExecutionNode, useUpdateChaosExperimentExecutionNodeMutation, } from './hooks/useUpdateChaosExperimentExecutionNodeMutation';
112
117
  export { updateChaosHub, useUpdateChaosHubMutation } from './hooks/useUpdateChaosHubMutation';
113
118
  export { updateChaosV2CronExperiment, useUpdateChaosV2CronExperimentMutation, } from './hooks/useUpdateChaosV2CronExperimentMutation';
114
119
  export { updateEmissary, useUpdateEmissaryMutation } from './hooks/useUpdateEmissaryMutation';
@@ -1,6 +1,8 @@
1
1
  import type { ActionCustomScriptActionTemplate } from '../schemas/ActionCustomScriptActionTemplate';
2
2
  import type { ActionDelayActionTemplate } from '../schemas/ActionDelayActionTemplate';
3
+ import type { ActionSourceActionTemplate } from '../schemas/ActionSourceActionTemplate';
3
4
  export interface ActionActionTemplateProperties {
4
5
  customScriptAction?: ActionCustomScriptActionTemplate;
5
6
  delayAction?: ActionDelayActionTemplate;
7
+ sourceAction?: ActionSourceActionTemplate;
6
8
  }
@@ -1,5 +1,5 @@
1
1
  export interface ActionCustomScriptActionTemplate {
2
2
  args?: string[];
3
- command?: string[];
3
+ command?: string;
4
4
  env?: {};
5
5
  }
@@ -0,0 +1,16 @@
1
+ export interface ActionSourceActionTemplate {
2
+ args?: {};
3
+ command?: {};
4
+ env?: {};
5
+ image?: string;
6
+ imagePullPolicy?: string;
7
+ imagePullSecrets?: {};
8
+ inheritInputs?: boolean;
9
+ nodeSelector?: {};
10
+ privileged?: boolean;
11
+ resources?: {};
12
+ serviceAccountName?: string;
13
+ tolerations?: {};
14
+ volumeMount?: {};
15
+ volumes?: {};
16
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1,3 @@
1
+ export interface ExecutionActionData {
2
+ name?: string;
3
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1,8 @@
1
+ import type { ExecutionActionData } from '../schemas/ExecutionActionData';
2
+ import type { ExecutionFaultData } from '../schemas/ExecutionFaultData';
3
+ import type { ExecutionProbeData } from '../schemas/ExecutionProbeData';
4
+ export interface ExecutionChaosData {
5
+ actionData?: ExecutionActionData;
6
+ faultData?: ExecutionFaultData;
7
+ probeData?: ExecutionProbeData;
8
+ }
@@ -0,0 +1,21 @@
1
+ import type { ExecutionChaosData } from '../schemas/ExecutionChaosData';
2
+ import type { ExecutionErrorData } from '../schemas/ExecutionErrorData';
3
+ import type { ExecutionInfraType } from '../schemas/ExecutionInfraType';
4
+ import type { ExecutionChaosStepStatus } from '../schemas/ExecutionChaosStepStatus';
5
+ import type { ExecutionChaosStepType } from '../schemas/ExecutionChaosStepType';
6
+ export interface ExecutionChaosExecutionNode {
7
+ chaosData?: ExecutionChaosData;
8
+ errorData?: ExecutionErrorData;
9
+ estimatedTime?: number;
10
+ experimentID?: string;
11
+ experimentRunID?: string;
12
+ finishedAt?: number;
13
+ infraType?: ExecutionInfraType;
14
+ isRemoved?: boolean;
15
+ lastUpdatedAt?: number;
16
+ startedAt?: number;
17
+ status?: ExecutionChaosStepStatus;
18
+ stepName?: string;
19
+ stepType?: ExecutionChaosStepType;
20
+ streamID?: string;
21
+ }
@@ -0,0 +1 @@
1
+ export type ExecutionChaosStepStatus = 'COMPLETED' | 'COMPLETED_WITH_PROBE_FAILURE' | 'ERROR' | 'FAILED' | 'PASSED' | 'PENDING' | 'RUNNING' | 'SKIPPED' | 'STOPPED';
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1 @@
1
+ export type ExecutionChaosStepType = 'ACTION' | 'EXPERIMENT' | 'FAULT' | 'PROBE';
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1,3 @@
1
+ export interface ExecutionCommandProbe {
2
+ output?: number[];
3
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1,4 @@
1
+ export interface ExecutionErrorData {
2
+ code?: string;
3
+ message?: string;
4
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1,6 @@
1
+ import type { ExecutionKubernetesFaultData } from '../schemas/ExecutionKubernetesFaultData';
2
+ import type { ExecutionMachineChaosFaultData } from '../schemas/ExecutionMachineChaosFaultData';
3
+ export interface ExecutionFaultData {
4
+ kubernetesFaultData?: ExecutionKubernetesFaultData;
5
+ machineChaosFaultData?: ExecutionMachineChaosFaultData;
6
+ }
@@ -0,0 +1,4 @@
1
+ export interface ExecutionHelperPodDetails {
2
+ logStreamID?: string;
3
+ name?: string;
4
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1,5 @@
1
+ export interface ExecutionHttpProbe {
2
+ responseBody?: number[];
3
+ responseTime?: number;
4
+ statusCode?: number;
5
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1 @@
1
+ export type ExecutionInfraType = 'CloudFoundry' | 'Container' | 'Kubernetes' | 'Linux' | 'Windows';
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1,10 @@
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
+ }
@@ -0,0 +1,3 @@
1
+ export interface ExecutionMachineChaosFaultData {
2
+ name?: string;
3
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1,8 @@
1
+ import type { ExecutionProbeIterations } from '../schemas/ExecutionProbeIterations';
2
+ export interface ExecutionProbeData {
3
+ description?: string;
4
+ iterations?: ExecutionProbeIterations[];
5
+ name?: string;
6
+ probeType?: string;
7
+ weightage?: number;
8
+ }
@@ -0,0 +1,14 @@
1
+ import type { ExecutionCommandProbe } from '../schemas/ExecutionCommandProbe';
2
+ import type { ExecutionHttpProbe } from '../schemas/ExecutionHttpProbe';
3
+ import type { ExecutionPromProbe } from '../schemas/ExecutionPromProbe';
4
+ export interface ExecutionProbeIterations {
5
+ commandProbe?: ExecutionCommandProbe;
6
+ duration?: number;
7
+ /**
8
+ * TODO: Add other probe result spec
9
+ */
10
+ httpProbe?: ExecutionHttpProbe;
11
+ phase?: string;
12
+ promProbe?: ExecutionPromProbe;
13
+ timestamp?: number;
14
+ }
@@ -0,0 +1,3 @@
1
+ export interface ExecutionPromProbe {
2
+ metrics?: string;
3
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -1,4 +1,4 @@
1
1
  export interface GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeAppdMetrics {
2
- durationInMin?: number;
2
+ durationInMin?: {};
3
3
  metricsFullPath?: string;
4
4
  }
@@ -0,0 +1,4 @@
1
+ export interface GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeSplunkObservabilityMetrics {
2
+ durationInMin?: {};
3
+ query?: string;
4
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1,5 @@
1
+ import type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeSplunkObservabilityMetrics } from '../schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeSplunkObservabilityMetrics';
2
+ export interface GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeSplunkObservabilityProbeInputs {
3
+ connectorID?: string;
4
+ splunkObservabilityMetrics?: GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeSplunkObservabilityMetrics;
5
+ }
@@ -0,0 +1,4 @@
1
+ export interface GithubComHarnessHceSaasHceSdkTemplateSchemaProbeSplunkObservabilityMetrics {
2
+ durationInMin?: {};
3
+ query?: string;
4
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1,5 @@
1
+ import type { GithubComHarnessHceSaasHceSdkTemplateSchemaProbeSplunkObservabilityMetrics } from '../schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeSplunkObservabilityMetrics';
2
+ export interface GithubComHarnessHceSaasHceSdkTemplateSchemaProbeSplunkObservabilityProbeInputs {
3
+ connectorID?: string;
4
+ splunkObservabilityMetrics?: GithubComHarnessHceSaasHceSdkTemplateSchemaProbeSplunkObservabilityMetrics;
5
+ }
@@ -11,7 +11,7 @@ export interface GithubComWingsSoftwareDdcrPkgTypesChaosInputs {
11
11
  components?: TypesExperimentComponents;
12
12
  defaultHealthCheck?: boolean;
13
13
  env?: V1EnvVar[];
14
- experiment?: string;
14
+ fault?: string;
15
15
  image?: string;
16
16
  imagePullPolicy?: V1PullPolicy;
17
17
  labels?: {
@@ -1,6 +1,12 @@
1
1
  import type { GithubComWingsSoftwareDdcrPkgTypesChaosInputs } from '../schemas/GithubComWingsSoftwareDdcrPkgTypesChaosInputs';
2
2
  import type { TypesTargets } from '../schemas/TypesTargets';
3
3
  export interface GithubComWingsSoftwareDdcrPkgTypesDefinition {
4
+ /**
5
+ * Chaos to store the chaos inputs
6
+ */
4
7
  chaos?: GithubComWingsSoftwareDdcrPkgTypesChaosInputs;
8
+ /**
9
+ * Type of the fault
10
+ */
5
11
  targets?: TypesTargets;
6
12
  }
@@ -1,6 +1,7 @@
1
1
  import type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeAppDynamicsProbeInputs } from '../schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeAppDynamicsProbeInputs';
2
2
  import type { ProbeComparator } from '../schemas/ProbeComparator';
3
3
  import type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbePrometheusProbeInputs } from '../schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbePrometheusProbeInputs';
4
+ import type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeSplunkObservabilityProbeInputs } from '../schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeSplunkObservabilityProbeInputs';
4
5
  export interface ProbeApmProbe {
5
6
  appDynamicsProbeInputs?: GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeAppDynamicsProbeInputs;
6
7
  attempt?: {};
@@ -12,6 +13,7 @@ export interface ProbeApmProbe {
12
13
  probeTimeout?: string;
13
14
  prometheusProbeInputs?: GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbePrometheusProbeInputs;
14
15
  retry?: {};
16
+ splunkObservabilityProbeInputs?: GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeSplunkObservabilityProbeInputs;
15
17
  stopOnFailure?: boolean;
16
18
  type?: string;
17
19
  verbosity?: string;
@@ -1,10 +1,12 @@
1
1
  import type { GithubComHarnessHceSaasHceSdkTemplateSchemaProbeAppDynamicsProbeInputs } from '../schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeAppDynamicsProbeInputs';
2
2
  import type { ProbeComparatorTemplate } from '../schemas/ProbeComparatorTemplate';
3
3
  import type { GithubComHarnessHceSaasHceSdkTemplateSchemaProbePrometheusProbeInputs } from '../schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbePrometheusProbeInputs';
4
+ import type { GithubComHarnessHceSaasHceSdkTemplateSchemaProbeSplunkObservabilityProbeInputs } from '../schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeSplunkObservabilityProbeInputs';
4
5
  import type { ProbeApmProbeType } from '../schemas/ProbeApmProbeType';
5
6
  export interface ProbeApmProbeTemplate {
6
7
  appDynamicsProbeInputs?: GithubComHarnessHceSaasHceSdkTemplateSchemaProbeAppDynamicsProbeInputs;
7
8
  comparator?: ProbeComparatorTemplate;
8
9
  prometheusProbeInputs?: GithubComHarnessHceSaasHceSdkTemplateSchemaProbePrometheusProbeInputs;
10
+ splunkObservabilityProbeInputs?: GithubComHarnessHceSaasHceSdkTemplateSchemaProbeSplunkObservabilityProbeInputs;
9
11
  type?: ProbeApmProbeType;
10
12
  }
@@ -1 +1 @@
1
- export type ProbeApmProbeType = 'AppDynamics' | 'Prometheus';
1
+ export type ProbeApmProbeType = 'AppDynamics' | 'Prometheus' | 'SplunkObservability';
@@ -1,4 +1,5 @@
1
1
  import type { TypesConfigMap } from '../schemas/TypesConfigMap';
2
+ import type { TypesHelperConfig } from '../schemas/TypesHelperConfig';
2
3
  import type { TypesHostFile } from '../schemas/TypesHostFile';
3
4
  import type { V1LocalObjectReference } from '../schemas/V1LocalObjectReference';
4
5
  import type { TypesProjectedVolumes } from '../schemas/TypesProjectedVolumes';
@@ -10,6 +11,7 @@ import type { TypesStatusCheckTimeout } from '../schemas/TypesStatusCheckTimeout
10
11
  import type { V1Toleration } from '../schemas/V1Toleration';
11
12
  export interface TypesExperimentComponents {
12
13
  configMaps?: TypesConfigMap[];
14
+ helper?: TypesHelperConfig;
13
15
  hostFileVolumes?: TypesHostFile[];
14
16
  hostPID?: boolean;
15
17
  imagePullSecrets?: V1LocalObjectReference[];
@@ -0,0 +1,35 @@
1
+ import type { TypesConfigMap } from '../schemas/TypesConfigMap';
2
+ import type { V1EnvVar } from '../schemas/V1EnvVar';
3
+ import type { TypesHostFile } from '../schemas/TypesHostFile';
4
+ import type { V1PullPolicy } from '../schemas/V1PullPolicy';
5
+ import type { V1LocalObjectReference } from '../schemas/V1LocalObjectReference';
6
+ import type { V1ResourceRequirements } from '../schemas/V1ResourceRequirements';
7
+ import type { TypesSecret } from '../schemas/TypesSecret';
8
+ import type { TypesSecurityContext } from '../schemas/TypesSecurityContext';
9
+ import type { V1Toleration } from '../schemas/V1Toleration';
10
+ export interface TypesHelperConfig {
11
+ annotations?: {
12
+ [key: string]: string;
13
+ };
14
+ args?: string[];
15
+ command?: string[];
16
+ configMaps?: TypesConfigMap[];
17
+ env?: V1EnvVar[];
18
+ hostFileVolumes?: TypesHostFile[];
19
+ hostIPC?: boolean;
20
+ hostNetwork?: boolean;
21
+ hostPID?: boolean;
22
+ image?: string;
23
+ imagePullPolicy?: V1PullPolicy;
24
+ imagePullSecrets?: V1LocalObjectReference[];
25
+ labels?: {
26
+ [key: string]: string;
27
+ };
28
+ nodeSelector?: {
29
+ [key: string]: string;
30
+ };
31
+ resources?: V1ResourceRequirements;
32
+ secrets?: TypesSecret[];
33
+ securityContext?: TypesSecurityContext;
34
+ tolerations?: V1Toleration[];
35
+ }
@@ -1,4 +1,7 @@
1
1
  import type { TypesWorkload } from '../schemas/TypesWorkload';
2
2
  export interface TypesSelector {
3
+ /**
4
+ * Workloads to store the workloads
5
+ */
3
6
  workloads?: TypesWorkload[];
4
7
  }
@@ -1,7 +1,19 @@
1
1
  import type { TypesWorkloadKind } from '../schemas/TypesWorkloadKind';
2
2
  export interface TypesWorkload {
3
+ /**
4
+ * Kind of the workload
5
+ */
3
6
  kind?: TypesWorkloadKind;
7
+ /**
8
+ * Labels of the workload
9
+ */
4
10
  labels?: string;
11
+ /**
12
+ * Names of the workload
13
+ */
5
14
  names?: string;
15
+ /**
16
+ * Namespace of the workload
17
+ */
6
18
  namespace?: string;
7
19
  }
@@ -1,6 +1,7 @@
1
1
  import type { V1AppDynamicsInputs } from '../schemas/V1AppDynamicsInputs';
2
2
  import type { V1ComparatorInfo } from '../schemas/V1ComparatorInfo';
3
3
  import type { V1PrometheusInputs } from '../schemas/V1PrometheusInputs';
4
+ import type { V1SplunkObservabilityInputs } from '../schemas/V1SplunkObservabilityInputs';
4
5
  export interface V1ApmProbeInputs {
5
6
  /**
6
7
  * AppDynamicsInputs contains the inputs required for AppDynamics probe
@@ -14,6 +15,10 @@ export interface V1ApmProbeInputs {
14
15
  * PrometheusInputs contains the inputs required for prometheus probe
15
16
  */
16
17
  prometheusInputs?: V1PrometheusInputs;
18
+ /**
19
+ * SplunkObservabilityInputs contains the inputs required for Splunk Observability probe
20
+ */
21
+ splunkObservabilityInputs?: V1SplunkObservabilityInputs;
17
22
  /**
18
23
  * Type for the prometheus probe
19
24
  */
@@ -0,0 +1,15 @@
1
+ import type { V1SplunkObservabilityMetrics } from '../schemas/V1SplunkObservabilityMetrics';
2
+ export interface V1SplunkObservabilityInputs {
3
+ /**
4
+ * AuthSecretName secret name for the authentication
5
+ */
6
+ authSecretName?: string;
7
+ /**
8
+ * Endpoint for the Splunk Observability probe
9
+ */
10
+ endpoint?: string;
11
+ /**
12
+ * SplunkObservabilityMetrics contains the splunk observability metrics
13
+ */
14
+ splunkObservabilityMetrics?: V1SplunkObservabilityMetrics;
15
+ }
@@ -0,0 +1,10 @@
1
+ export interface V1SplunkObservabilityMetrics {
2
+ /**
3
+ * DurationInMin contains the duration in minutes
4
+ */
5
+ durationInMin?: number;
6
+ /**
7
+ * Query contains the query for the metrics
8
+ */
9
+ query?: string;
10
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1,5 @@
1
+ export interface V1alpha1TargetDetails {
2
+ chaosStatus?: string;
3
+ kind?: string;
4
+ name?: string;
5
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1,8 @@
1
+ export interface V1alpha1Targets {
2
+ ID?: string;
3
+ kind?: string;
4
+ name?: string;
5
+ namespace?: string;
6
+ subType?: string;
7
+ type?: string;
8
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-chaos-manager-client",
3
- "version": "0.16.3",
3
+ "version": "1.0.0",
4
4
  "description": "Harness React Chaos Manager Service Client - APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",