@harnessio/react-chaos-manager-client 0.15.0 → 0.16.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 (79) hide show
  1. package/dist/chaos-manager/src/services/hooks/useCreateFaultTemplateMutation.d.ts +28 -0
  2. package/dist/chaos-manager/src/services/hooks/useCreateFaultTemplateMutation.js +14 -0
  3. package/dist/chaos-manager/src/services/hooks/useDeleteFaultTemplateMutation.d.ts +28 -0
  4. package/dist/chaos-manager/src/services/hooks/useDeleteFaultTemplateMutation.js +14 -0
  5. package/dist/chaos-manager/src/services/hooks/useUpdateFaultTemplateMutation.d.ts +28 -0
  6. package/dist/chaos-manager/src/services/hooks/useUpdateFaultTemplateMutation.js +14 -0
  7. package/dist/chaos-manager/src/services/index.d.ts +36 -4
  8. package/dist/chaos-manager/src/services/index.js +3 -0
  9. package/dist/chaos-manager/src/services/schemas/ChaosfaulttemplateCreateFaultTemplateRequest.d.ts +14 -0
  10. package/dist/chaos-manager/src/services/schemas/ChaosfaulttemplateCreateFaultTemplateResponse.d.ts +16 -0
  11. package/dist/chaos-manager/src/services/schemas/ChaosfaulttemplateGetFaultTemplateResponse.d.ts +2 -0
  12. package/dist/chaos-manager/src/services/schemas/ChaosfaulttemplateUpdateFaultTemplateResponse.d.ts +16 -0
  13. package/dist/chaos-manager/src/services/schemas/ChaosfaulttemplateUpdateFaultTemplateResponse.js +1 -0
  14. package/dist/chaos-manager/src/services/schemas/ChaoshubresourcesChaosHubResource.d.ts +4 -0
  15. package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerApiEmpty.d.ts +3 -0
  16. package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeAppDynamicsProbeInputs.d.ts +5 -0
  17. package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeAppDynamicsProbeInputs.js +1 -0
  18. package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeAppdMetrics.d.ts +4 -0
  19. package/dist/chaos-manager/src/services/schemas/{ProbePrometheusProbeInputs.d.ts → GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbePrometheusProbeInputs.d.ts} +1 -1
  20. package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbePrometheusProbeInputs.js +1 -0
  21. package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeSecretManager.d.ts +3 -0
  22. package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeSecretManager.js +4 -0
  23. package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasHceSdkCommonProbeV1Probe.d.ts +5 -0
  24. package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeAppDynamicsProbeInputs.d.ts +5 -0
  25. package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeAppDynamicsProbeInputs.js +1 -0
  26. package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeAppdMetrics.d.ts +4 -0
  27. package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeAppdMetrics.js +4 -0
  28. package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbePrometheusProbeInputs.d.ts +6 -0
  29. package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbePrometheusProbeInputs.js +1 -0
  30. package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeSecretManager.d.ts +3 -0
  31. package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeSecretManager.js +4 -0
  32. package/dist/chaos-manager/src/services/schemas/K8sfaultApplicationTarget.d.ts +4 -0
  33. package/dist/chaos-manager/src/services/schemas/K8sfaultApplicationTarget.js +4 -0
  34. package/dist/chaos-manager/src/services/schemas/K8sfaultChaosParameter.d.ts +4 -0
  35. package/dist/chaos-manager/src/services/schemas/K8sfaultChaosParameter.js +4 -0
  36. package/dist/chaos-manager/src/services/schemas/K8sfaultChaosSpec.d.ts +39 -0
  37. package/dist/chaos-manager/src/services/schemas/K8sfaultChaosSpec.js +1 -0
  38. package/dist/chaos-manager/src/services/schemas/K8sfaultConfigMapVolume.d.ts +5 -0
  39. package/dist/chaos-manager/src/services/schemas/K8sfaultConfigMapVolume.js +4 -0
  40. package/dist/chaos-manager/src/services/schemas/K8sfaultHostPathVolume.d.ts +7 -0
  41. package/dist/chaos-manager/src/services/schemas/K8sfaultHostPathVolume.js +1 -0
  42. package/dist/chaos-manager/src/services/schemas/K8sfaultK8SFault.d.ts +11 -0
  43. package/dist/chaos-manager/src/services/schemas/K8sfaultK8SFault.js +1 -0
  44. package/dist/chaos-manager/src/services/schemas/K8sfaultK8SFaultSpec.d.ts +6 -0
  45. package/dist/chaos-manager/src/services/schemas/K8sfaultK8SFaultSpec.js +1 -0
  46. package/dist/chaos-manager/src/services/schemas/K8sfaultK8STarget.d.ts +6 -0
  47. package/dist/chaos-manager/src/services/schemas/K8sfaultK8STarget.js +4 -0
  48. package/dist/chaos-manager/src/services/schemas/K8sfaultSecretVolume.d.ts +5 -0
  49. package/dist/chaos-manager/src/services/schemas/K8sfaultSecretVolume.js +4 -0
  50. package/dist/chaos-manager/src/services/schemas/K8sfaultTarget.d.ts +6 -0
  51. package/dist/chaos-manager/src/services/schemas/K8sfaultTarget.js +1 -0
  52. package/dist/chaos-manager/src/services/schemas/ProbeApmProbe.d.ts +4 -4
  53. package/dist/chaos-manager/src/services/schemas/ProbeApmProbeTemplate.d.ts +10 -0
  54. package/dist/chaos-manager/src/services/schemas/ProbeApmProbeTemplate.js +1 -0
  55. package/dist/chaos-manager/src/services/schemas/ProbeApmProbeType.d.ts +1 -0
  56. package/dist/chaos-manager/src/services/schemas/ProbeApmProbeType.js +4 -0
  57. package/dist/chaos-manager/src/services/schemas/ProbeApmtlsConfig.d.ts +4 -4
  58. package/dist/chaos-manager/src/services/schemas/ProbeProbeTemplateProperties.d.ts +2 -0
  59. package/dist/chaos-manager/src/services/schemas/ProbeTlsConfigSm.d.ts +7 -0
  60. package/dist/chaos-manager/src/services/schemas/ProbeTlsConfigSm.js +1 -0
  61. package/dist/chaos-manager/src/services/schemas/V1ApmProbeInputs.d.ts +21 -0
  62. package/dist/chaos-manager/src/services/schemas/V1ApmProbeInputs.js +1 -0
  63. package/dist/chaos-manager/src/services/schemas/V1ApmProbeTlsConfig.d.ts +14 -0
  64. package/dist/chaos-manager/src/services/schemas/V1ApmProbeTlsConfig.js +4 -0
  65. package/dist/chaos-manager/src/services/schemas/V1AppDynamicsInputs.d.ts +15 -0
  66. package/dist/chaos-manager/src/services/schemas/V1AppDynamicsInputs.js +1 -0
  67. package/dist/chaos-manager/src/services/schemas/V1AppdMetrics.d.ts +10 -0
  68. package/dist/chaos-manager/src/services/schemas/V1AppdMetrics.js +4 -0
  69. package/dist/chaos-manager/src/services/schemas/V1PromProbeInputs.d.ts +1 -1
  70. package/dist/chaos-manager/src/services/schemas/V1PrometheusInputs.d.ts +19 -0
  71. package/dist/chaos-manager/src/services/schemas/V1PrometheusInputs.js +1 -0
  72. package/package.json +1 -1
  73. package/dist/chaos-manager/src/services/schemas/ProbeAppDynamicsProbeInputs.d.ts +0 -5
  74. package/dist/chaos-manager/src/services/schemas/ProbeAppdMetrics.d.ts +0 -4
  75. package/dist/chaos-manager/src/services/schemas/ProbeSecretManager.d.ts +0 -3
  76. /package/dist/chaos-manager/src/services/schemas/{ProbeAppDynamicsProbeInputs.js → ChaosfaulttemplateCreateFaultTemplateRequest.js} +0 -0
  77. /package/dist/chaos-manager/src/services/schemas/{ProbePrometheusProbeInputs.js → ChaosfaulttemplateCreateFaultTemplateResponse.js} +0 -0
  78. /package/dist/chaos-manager/src/services/schemas/{ProbeAppdMetrics.js → GithubComHarnessHceSaasGraphqlServerApiEmpty.js} +0 -0
  79. /package/dist/chaos-manager/src/services/schemas/{ProbeSecretManager.js → GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeAppdMetrics.js} +0 -0
@@ -0,0 +1,28 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { ChaosfaulttemplateCreateFaultTemplateResponse } from '../schemas/ChaosfaulttemplateCreateFaultTemplateResponse';
3
+ import type { ApiRestError } from '../schemas/ApiRestError';
4
+ import type { ChaosfaulttemplateCreateFaultTemplateRequest } from '../schemas/ChaosfaulttemplateCreateFaultTemplateRequest';
5
+ import { FetcherOptions } from '../../../../custom-fetcher/index.js';
6
+ export interface CreateFaultTemplateMutationQueryParams {
7
+ accountIdentifier: string;
8
+ organizationIdentifier: string;
9
+ projectIdentifier: string;
10
+ hubIdentity: string;
11
+ }
12
+ export type CreateFaultTemplateRequestBody = ChaosfaulttemplateCreateFaultTemplateRequest;
13
+ export type CreateFaultTemplateOkResponse = ChaosfaulttemplateCreateFaultTemplateResponse;
14
+ export type CreateFaultTemplateErrorResponse = ApiRestError;
15
+ export interface CreateFaultTemplateProps extends Omit<FetcherOptions<CreateFaultTemplateMutationQueryParams, CreateFaultTemplateRequestBody>, 'url'> {
16
+ queryParams: CreateFaultTemplateMutationQueryParams;
17
+ body: CreateFaultTemplateRequestBody;
18
+ }
19
+ export interface CreateFaultTemplateResponseContainer {
20
+ body: CreateFaultTemplateOkResponse;
21
+ headers: Headers;
22
+ }
23
+ export declare function createFaultTemplate(props: CreateFaultTemplateProps): Promise<CreateFaultTemplateResponseContainer>;
24
+ export type CreateFaultTemplateMutationProps<T extends keyof CreateFaultTemplateProps> = Omit<CreateFaultTemplateProps, T> & Partial<Pick<CreateFaultTemplateProps, T>>;
25
+ /**
26
+ * Create fault templates in a hub based on tag
27
+ */
28
+ export declare function useCreateFaultTemplateMutation<T extends keyof CreateFaultTemplateProps>(props: Pick<Partial<CreateFaultTemplateProps>, T>, options?: Omit<UseMutationOptions<CreateFaultTemplateResponseContainer, CreateFaultTemplateErrorResponse, CreateFaultTemplateMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<CreateFaultTemplateResponseContainer, ApiRestError, CreateFaultTemplateMutationProps<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 createFaultTemplate(props) {
7
+ return fetcher(Object.assign({ url: `/rest/templates/faults`, method: 'POST' }, props));
8
+ }
9
+ /**
10
+ * Create fault templates in a hub based on tag
11
+ */
12
+ export function useCreateFaultTemplateMutation(props, options) {
13
+ return useMutation((mutateProps) => createFaultTemplate(Object.assign(Object.assign({}, props), mutateProps)), options);
14
+ }
@@ -0,0 +1,28 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { GithubComHarnessHceSaasGraphqlServerApiEmpty } from '../schemas/GithubComHarnessHceSaasGraphqlServerApiEmpty';
3
+ import type { ApiRestError } from '../schemas/ApiRestError';
4
+ import { FetcherOptions } from '../../../../custom-fetcher/index.js';
5
+ export interface DeleteFaultTemplateMutationPathParams {
6
+ faultName: string;
7
+ }
8
+ export interface DeleteFaultTemplateMutationQueryParams {
9
+ accountIdentifier: string;
10
+ organizationIdentifier: string;
11
+ projectIdentifier: string;
12
+ hubIdentity: string;
13
+ }
14
+ export type DeleteFaultTemplateOkResponse = GithubComHarnessHceSaasGraphqlServerApiEmpty;
15
+ export type DeleteFaultTemplateErrorResponse = ApiRestError;
16
+ export interface DeleteFaultTemplateProps extends DeleteFaultTemplateMutationPathParams, Omit<FetcherOptions<DeleteFaultTemplateMutationQueryParams, unknown>, 'url'> {
17
+ queryParams: DeleteFaultTemplateMutationQueryParams;
18
+ }
19
+ export interface DeleteFaultTemplateResponseContainer {
20
+ body: DeleteFaultTemplateOkResponse;
21
+ headers: Headers;
22
+ }
23
+ export declare function deleteFaultTemplate(props: DeleteFaultTemplateProps): Promise<DeleteFaultTemplateResponseContainer>;
24
+ export type DeleteFaultTemplateMutationProps<T extends keyof DeleteFaultTemplateProps> = Omit<DeleteFaultTemplateProps, T> & Partial<Pick<DeleteFaultTemplateProps, T>>;
25
+ /**
26
+ * Delete the fault templates in a hub based on tag
27
+ */
28
+ export declare function useDeleteFaultTemplateMutation<T extends keyof DeleteFaultTemplateProps>(props: Pick<Partial<DeleteFaultTemplateProps>, T>, options?: Omit<UseMutationOptions<DeleteFaultTemplateResponseContainer, DeleteFaultTemplateErrorResponse, DeleteFaultTemplateMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<DeleteFaultTemplateResponseContainer, ApiRestError, DeleteFaultTemplateMutationProps<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 deleteFaultTemplate(props) {
7
+ return fetcher(Object.assign({ url: `/rest/templates/faults/${props.faultName}`, method: 'DELETE' }, props));
8
+ }
9
+ /**
10
+ * Delete the fault templates in a hub based on tag
11
+ */
12
+ export function useDeleteFaultTemplateMutation(props, options) {
13
+ return useMutation((mutateProps) => deleteFaultTemplate(Object.assign(Object.assign({}, props), mutateProps)), options);
14
+ }
@@ -0,0 +1,28 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { ChaosfaulttemplateUpdateFaultTemplateResponse } from '../schemas/ChaosfaulttemplateUpdateFaultTemplateResponse';
3
+ import type { ApiRestError } from '../schemas/ApiRestError';
4
+ import { FetcherOptions } from '../../../../custom-fetcher/index.js';
5
+ export interface UpdateFaultTemplateMutationPathParams {
6
+ faultName: string;
7
+ }
8
+ export interface UpdateFaultTemplateMutationQueryParams {
9
+ accountIdentifier: string;
10
+ organizationIdentifier: string;
11
+ projectIdentifier: string;
12
+ hubIdentity: string;
13
+ }
14
+ export type UpdateFaultTemplateOkResponse = ChaosfaulttemplateUpdateFaultTemplateResponse;
15
+ export type UpdateFaultTemplateErrorResponse = ApiRestError;
16
+ export interface UpdateFaultTemplateProps extends UpdateFaultTemplateMutationPathParams, Omit<FetcherOptions<UpdateFaultTemplateMutationQueryParams, unknown>, 'url'> {
17
+ queryParams: UpdateFaultTemplateMutationQueryParams;
18
+ }
19
+ export interface UpdateFaultTemplateResponseContainer {
20
+ body: UpdateFaultTemplateOkResponse;
21
+ headers: Headers;
22
+ }
23
+ export declare function updateFaultTemplate(props: UpdateFaultTemplateProps): Promise<UpdateFaultTemplateResponseContainer>;
24
+ export type UpdateFaultTemplateMutationProps<T extends keyof UpdateFaultTemplateProps> = Omit<UpdateFaultTemplateProps, T> & Partial<Pick<UpdateFaultTemplateProps, T>>;
25
+ /**
26
+ * Update the fault templates in a hub based on tag
27
+ */
28
+ export declare function useUpdateFaultTemplateMutation<T extends keyof UpdateFaultTemplateProps>(props: Pick<Partial<UpdateFaultTemplateProps>, T>, options?: Omit<UseMutationOptions<UpdateFaultTemplateResponseContainer, UpdateFaultTemplateErrorResponse, UpdateFaultTemplateMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateFaultTemplateResponseContainer, ApiRestError, UpdateFaultTemplateMutationProps<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 updateFaultTemplate(props) {
7
+ return fetcher(Object.assign({ url: `/rest/templates/faults/${props.faultName}`, method: 'PUT' }, props));
8
+ }
9
+ /**
10
+ * Update the fault templates in a hub based on tag
11
+ */
12
+ export function useUpdateFaultTemplateMutation(props, options) {
13
+ return useMutation((mutateProps) => updateFaultTemplate(Object.assign(Object.assign({}, props), mutateProps)), options);
14
+ }
@@ -14,6 +14,8 @@ export type { CreateChaosExperimentPipelineErrorResponse, CreateChaosExperimentP
14
14
  export { createChaosExperimentPipeline, useCreateChaosExperimentPipelineMutation, } from './hooks/useCreateChaosExperimentPipelineMutation';
15
15
  export type { CreateChaosHubErrorResponse, CreateChaosHubMutationProps, CreateChaosHubMutationQueryParams, CreateChaosHubOkResponse, CreateChaosHubProps, CreateChaosHubRequestBody, } from './hooks/useCreateChaosHubMutation';
16
16
  export { createChaosHub, useCreateChaosHubMutation } from './hooks/useCreateChaosHubMutation';
17
+ export type { CreateFaultTemplateErrorResponse, CreateFaultTemplateMutationProps, CreateFaultTemplateMutationQueryParams, CreateFaultTemplateOkResponse, CreateFaultTemplateProps, CreateFaultTemplateRequestBody, } from './hooks/useCreateFaultTemplateMutation';
18
+ export { createFaultTemplate, useCreateFaultTemplateMutation, } from './hooks/useCreateFaultTemplateMutation';
17
19
  export type { CreateGamedayRunV2ErrorResponse, CreateGamedayRunV2MutationPathParams, CreateGamedayRunV2MutationProps, CreateGamedayRunV2MutationQueryParams, CreateGamedayRunV2OkResponse, CreateGamedayRunV2Props, } from './hooks/useCreateGamedayRunV2Mutation';
18
20
  export { createGamedayRunV2, useCreateGamedayRunV2Mutation, } from './hooks/useCreateGamedayRunV2Mutation';
19
21
  export type { CreateGamedayV2ErrorResponse, CreateGamedayV2MutationProps, CreateGamedayV2MutationQueryParams, CreateGamedayV2OkResponse, CreateGamedayV2Props, CreateGamedayV2RequestBody, } from './hooks/useCreateGamedayV2Mutation';
@@ -36,6 +38,8 @@ export type { DeleteChaosV2ExperimentErrorResponse, DeleteChaosV2ExperimentMutat
36
38
  export { deleteChaosV2Experiment, useDeleteChaosV2ExperimentMutation, } from './hooks/useDeleteChaosV2ExperimentMutation';
37
39
  export type { DeleteEventWatcherErrorResponse, DeleteEventWatcherMutationPathParams, DeleteEventWatcherMutationProps, DeleteEventWatcherMutationQueryParams, DeleteEventWatcherOkResponse, DeleteEventWatcherProps, } from './hooks/useDeleteEventWatcherMutation';
38
40
  export { deleteEventWatcher, useDeleteEventWatcherMutation, } from './hooks/useDeleteEventWatcherMutation';
41
+ export type { DeleteFaultTemplateErrorResponse, DeleteFaultTemplateMutationPathParams, DeleteFaultTemplateMutationProps, DeleteFaultTemplateMutationQueryParams, DeleteFaultTemplateOkResponse, DeleteFaultTemplateProps, } from './hooks/useDeleteFaultTemplateMutation';
42
+ export { deleteFaultTemplate, useDeleteFaultTemplateMutation, } from './hooks/useDeleteFaultTemplateMutation';
39
43
  export type { DeleteGamedayV2ErrorResponse, DeleteGamedayV2MutationPathParams, DeleteGamedayV2MutationProps, DeleteGamedayV2MutationQueryParams, DeleteGamedayV2OkResponse, DeleteGamedayV2Props, } from './hooks/useDeleteGamedayV2Mutation';
40
44
  export { deleteGamedayV2, useDeleteGamedayV2Mutation } from './hooks/useDeleteGamedayV2Mutation';
41
45
  export type { DeleteInfraV2ErrorResponse, DeleteInfraV2MutationPathParams, DeleteInfraV2MutationProps, DeleteInfraV2MutationQueryParams, DeleteInfraV2OkResponse, DeleteInfraV2Props, } from './hooks/useDeleteInfraV2Mutation';
@@ -230,6 +234,8 @@ export type { UpdateChaosV2CronExperimentErrorResponse, UpdateChaosV2CronExperim
230
234
  export { updateChaosV2CronExperiment, useUpdateChaosV2CronExperimentMutation, } from './hooks/useUpdateChaosV2CronExperimentMutation';
231
235
  export type { UpdateEmissaryErrorResponse, UpdateEmissaryMutationPathParams, UpdateEmissaryMutationProps, UpdateEmissaryMutationQueryParams, UpdateEmissaryOkResponse, UpdateEmissaryProps, UpdateEmissaryRequestBody, } from './hooks/useUpdateEmissaryMutation';
232
236
  export { updateEmissary, useUpdateEmissaryMutation } from './hooks/useUpdateEmissaryMutation';
237
+ export type { UpdateFaultTemplateErrorResponse, UpdateFaultTemplateMutationPathParams, UpdateFaultTemplateMutationProps, UpdateFaultTemplateMutationQueryParams, UpdateFaultTemplateOkResponse, UpdateFaultTemplateProps, } from './hooks/useUpdateFaultTemplateMutation';
238
+ export { updateFaultTemplate, useUpdateFaultTemplateMutation, } from './hooks/useUpdateFaultTemplateMutation';
233
239
  export type { UpdateGamedayRunPrerequisitesV2ErrorResponse, UpdateGamedayRunPrerequisitesV2MutationPathParams, UpdateGamedayRunPrerequisitesV2MutationProps, UpdateGamedayRunPrerequisitesV2MutationQueryParams, UpdateGamedayRunPrerequisitesV2OkResponse, UpdateGamedayRunPrerequisitesV2Props, UpdateGamedayRunPrerequisitesV2RequestBody, } from './hooks/useUpdateGamedayRunPrerequisitesV2Mutation';
234
240
  export { updateGamedayRunPrerequisitesV2, useUpdateGamedayRunPrerequisitesV2Mutation, } from './hooks/useUpdateGamedayRunPrerequisitesV2Mutation';
235
241
  export type { UpdateGamedayRunStakeHolderActionsV2ErrorResponse, UpdateGamedayRunStakeHolderActionsV2MutationPathParams, UpdateGamedayRunStakeHolderActionsV2MutationProps, UpdateGamedayRunStakeHolderActionsV2MutationQueryParams, UpdateGamedayRunStakeHolderActionsV2OkResponse, UpdateGamedayRunStakeHolderActionsV2Props, UpdateGamedayRunStakeHolderActionsV2RequestBody, } from './hooks/useUpdateGamedayRunStakeHolderActionsV2Mutation';
@@ -316,11 +322,14 @@ export type { ChaosactiontemplateActionsTemplateCount } from './schemas/Chaosact
316
322
  export type { ChaosactiontemplateChaosActionTemplate } from './schemas/ChaosactiontemplateChaosActionTemplate';
317
323
  export type { ChaosfaulttemplateActionTemplate } from './schemas/ChaosfaulttemplateActionTemplate';
318
324
  export type { ChaosfaulttemplateActionTemplateVariables } from './schemas/ChaosfaulttemplateActionTemplateVariables';
325
+ export type { ChaosfaulttemplateCreateFaultTemplateRequest } from './schemas/ChaosfaulttemplateCreateFaultTemplateRequest';
326
+ export type { ChaosfaulttemplateCreateFaultTemplateResponse } from './schemas/ChaosfaulttemplateCreateFaultTemplateResponse';
319
327
  export type { ChaosfaulttemplateFaultTemplateVariables } from './schemas/ChaosfaulttemplateFaultTemplateVariables';
320
328
  export type { ChaosfaulttemplateGetActionTemplateResponse } from './schemas/ChaosfaulttemplateGetActionTemplateResponse';
321
329
  export type { ChaosfaulttemplateGetFaultTemplateResponse } from './schemas/ChaosfaulttemplateGetFaultTemplateResponse';
322
330
  export type { ChaosfaulttemplateListActionTemplateResponse } from './schemas/ChaosfaulttemplateListActionTemplateResponse';
323
331
  export type { ChaosfaulttemplateListFaultTemplateResponse } from './schemas/ChaosfaulttemplateListFaultTemplateResponse';
332
+ export type { ChaosfaulttemplateUpdateFaultTemplateResponse } from './schemas/ChaosfaulttemplateUpdateFaultTemplateResponse';
324
333
  export type { ChaoshubFaultCategoryCount } from './schemas/ChaoshubFaultCategoryCount';
325
334
  export type { ChaoshubListFaultsResponse } from './schemas/ChaoshubListFaultsResponse';
326
335
  export type { ChaoshubresourcesChaosHubResource } from './schemas/ChaoshubresourcesChaosHubResource';
@@ -380,6 +389,7 @@ export type { Gamedayrunv2ApprovalStatus } from './schemas/Gamedayrunv2ApprovalS
380
389
  export type { Gamedayrunv2PrerequisiteStatus } from './schemas/Gamedayrunv2PrerequisiteStatus';
381
390
  export type { Gamedayv2GamedayRunStatus } from './schemas/Gamedayv2GamedayRunStatus';
382
391
  export type { Gamedayv2StakeHolderRole } from './schemas/Gamedayv2StakeHolderRole';
392
+ export type { GithubComHarnessHceSaasGraphqlServerApiEmpty } from './schemas/GithubComHarnessHceSaasGraphqlServerApiEmpty';
383
393
  export type { GithubComHarnessHceSaasGraphqlServerApiPagination } from './schemas/GithubComHarnessHceSaasGraphqlServerApiPagination';
384
394
  export type { GithubComHarnessHceSaasGraphqlServerGraphModelIdentifiers } from './schemas/GithubComHarnessHceSaasGraphqlServerGraphModelIdentifiers';
385
395
  export type { GithubComHarnessHceSaasGraphqlServerGraphModelInfraFilterInput } from './schemas/GithubComHarnessHceSaasGraphqlServerGraphModelInfraFilterInput';
@@ -390,22 +400,30 @@ export type { GithubComHarnessHceSaasGraphqlServerPkgChaosV2ProbesTypesProbeVerd
390
400
  export type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbActionsAction } from './schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbActionsAction';
391
401
  export type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbChaosfaulttemplateChaosFaultTemplate } from './schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbChaosfaulttemplateChaosFaultTemplate';
392
402
  export type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbChaosprobetemplateChaosProbeTemplate } from './schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbChaosprobetemplateChaosProbeTemplate';
403
+ export type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeAppDynamicsProbeInputs } from './schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeAppDynamicsProbeInputs';
404
+ export type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeAppdMetrics } from './schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeAppdMetrics';
393
405
  export type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeDatadogSyntheticsTestType } from './schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeDatadogSyntheticsTestType';
394
406
  export type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeGet } from './schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeGet';
395
407
  export type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeHeaders } from './schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeHeaders';
396
408
  export type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeIdentifier } from './schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeIdentifier';
397
409
  export type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbePost } from './schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbePost';
410
+ export type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbePrometheusProbeInputs } from './schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbePrometheusProbeInputs';
411
+ export type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeSecretManager } from './schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeSecretManager';
398
412
  export type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbRecommendationNode } from './schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbRecommendationNode';
399
413
  export type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbRecommendationRecommendation } from './schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbRecommendationRecommendation';
400
414
  export type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbRecommendationRecommendationTargetType } from './schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbRecommendationRecommendationTargetType';
401
415
  export type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbRecommendationTarget } from './schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbRecommendationTarget';
402
416
  export type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbRecommendationWorkload } from './schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbRecommendationWorkload';
403
417
  export type { GithubComHarnessHceSaasHceSdkCommonProbeV1Probe } from './schemas/GithubComHarnessHceSaasHceSdkCommonProbeV1Probe';
418
+ export type { GithubComHarnessHceSaasHceSdkTemplateSchemaProbeAppDynamicsProbeInputs } from './schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeAppDynamicsProbeInputs';
419
+ export type { GithubComHarnessHceSaasHceSdkTemplateSchemaProbeAppdMetrics } from './schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeAppdMetrics';
404
420
  export type { GithubComHarnessHceSaasHceSdkTemplateSchemaProbeDatadogSyntheticsTestType } from './schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeDatadogSyntheticsTestType';
405
421
  export type { GithubComHarnessHceSaasHceSdkTemplateSchemaProbeGet } from './schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeGet';
406
422
  export type { GithubComHarnessHceSaasHceSdkTemplateSchemaProbeHeaders } from './schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeHeaders';
407
423
  export type { GithubComHarnessHceSaasHceSdkTemplateSchemaProbeIdentifier } from './schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeIdentifier';
408
424
  export type { GithubComHarnessHceSaasHceSdkTemplateSchemaProbePost } from './schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbePost';
425
+ export type { GithubComHarnessHceSaasHceSdkTemplateSchemaProbePrometheusProbeInputs } from './schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbePrometheusProbeInputs';
426
+ export type { GithubComHarnessHceSaasHceSdkTemplateSchemaProbeSecretManager } from './schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeSecretManager';
409
427
  export type { GithubComHarnessHceSaasHceSdkTypesApiK8sifsImageRegistryScopedIdentifiers } from './schemas/GithubComHarnessHceSaasHceSdkTypesApiK8sifsImageRegistryScopedIdentifiers';
410
428
  export type { GithubComWingsSoftwareDdcrPkgTypesChaosInputs } from './schemas/GithubComWingsSoftwareDdcrPkgTypesChaosInputs';
411
429
  export type { GithubComWingsSoftwareDdcrPkgTypesDefinition } from './schemas/GithubComWingsSoftwareDdcrPkgTypesDefinition';
@@ -459,6 +477,16 @@ export type { InputsetsUpdateInputSetResponse } from './schemas/InputsetsUpdateI
459
477
  export type { IntstrIntOrString } from './schemas/IntstrIntOrString';
460
478
  export type { IntstrType } from './schemas/IntstrType';
461
479
  export type { K8sIoApimachineryPkgApisMetaV1ConditionStatus } from './schemas/K8sIoApimachineryPkgApisMetaV1ConditionStatus';
480
+ export type { K8sfaultApplicationTarget } from './schemas/K8sfaultApplicationTarget';
481
+ export type { K8sfaultChaosParameter } from './schemas/K8sfaultChaosParameter';
482
+ export type { K8sfaultChaosSpec } from './schemas/K8sfaultChaosSpec';
483
+ export type { K8sfaultConfigMapVolume } from './schemas/K8sfaultConfigMapVolume';
484
+ export type { K8sfaultHostPathVolume } from './schemas/K8sfaultHostPathVolume';
485
+ export type { K8sfaultK8SFault } from './schemas/K8sfaultK8SFault';
486
+ export type { K8sfaultK8SFaultSpec } from './schemas/K8sfaultK8SFaultSpec';
487
+ export type { K8sfaultK8STarget } from './schemas/K8sfaultK8STarget';
488
+ export type { K8sfaultSecretVolume } from './schemas/K8sfaultSecretVolume';
489
+ export type { K8sfaultTarget } from './schemas/K8sfaultTarget';
462
490
  export type { K8sinfraGetInfraTokenResponse } from './schemas/K8sinfraGetInfraTokenResponse';
463
491
  export type { K8sinfraUpdateEmissaryUrlRequest } from './schemas/K8sinfraUpdateEmissaryUrlRequest';
464
492
  export type { K8sinfraUpdateEmissaryUrlResponse } from './schemas/K8sinfraUpdateEmissaryUrlResponse';
@@ -505,9 +533,9 @@ export type { PipelinesChaosPipelineInput } from './schemas/PipelinesChaosPipeli
505
533
  export type { PipelinesCreatePipelineResponse } from './schemas/PipelinesCreatePipelineResponse';
506
534
  export type { PipelinesExperimentSpec } from './schemas/PipelinesExperimentSpec';
507
535
  export type { ProbeApmProbe } from './schemas/ProbeApmProbe';
536
+ export type { ProbeApmProbeTemplate } from './schemas/ProbeApmProbeTemplate';
537
+ export type { ProbeApmProbeType } from './schemas/ProbeApmProbeType';
508
538
  export type { ProbeApmtlsConfig } from './schemas/ProbeApmtlsConfig';
509
- export type { ProbeAppDynamicsProbeInputs } from './schemas/ProbeAppDynamicsProbeInputs';
510
- export type { ProbeAppdMetrics } from './schemas/ProbeAppdMetrics';
511
539
  export type { ProbeAuthorization } from './schemas/ProbeAuthorization';
512
540
  export type { ProbeAuthorizationTemplate } from './schemas/ProbeAuthorizationTemplate';
513
541
  export type { ProbeCmdProbeTemplate } from './schemas/ProbeCmdProbeTemplate';
@@ -537,8 +565,6 @@ export type { ProbeProbeTemplateRunProperties } from './schemas/ProbeProbeTempla
537
565
  export type { ProbeProbeType } from './schemas/ProbeProbeType';
538
566
  export type { ProbePromProbe } from './schemas/ProbePromProbe';
539
567
  export type { ProbePromProbeTemplate } from './schemas/ProbePromProbeTemplate';
540
- export type { ProbePrometheusProbeInputs } from './schemas/ProbePrometheusProbeInputs';
541
- export type { ProbeSecretManager } from './schemas/ProbeSecretManager';
542
568
  export type { ProbeSloProbe } from './schemas/ProbeSloProbe';
543
569
  export type { ProbeSloProbeTemplate } from './schemas/ProbeSloProbeTemplate';
544
570
  export type { ProbeSloSourceMetadata } from './schemas/ProbeSloSourceMetadata';
@@ -546,6 +572,7 @@ export type { ProbeSloSourceMetadataTemplate } from './schemas/ProbeSloSourceMet
546
572
  export type { ProbeSyntheticsTest } from './schemas/ProbeSyntheticsTest';
547
573
  export type { ProbeSyntheticsTestTemplate } from './schemas/ProbeSyntheticsTestTemplate';
548
574
  export type { ProbeTlsConfig } from './schemas/ProbeTlsConfig';
575
+ export type { ProbeTlsConfigSm } from './schemas/ProbeTlsConfigSm';
549
576
  export type { ProbeTlsConfigTemplate } from './schemas/ProbeTlsConfigTemplate';
550
577
  export type { RecommendationConfigScannerEvents } from './schemas/RecommendationConfigScannerEvents';
551
578
  export type { RecommendationEventRequest } from './schemas/RecommendationEventRequest';
@@ -669,6 +696,10 @@ export type { TypesUserDetails } from './schemas/TypesUserDetails';
669
696
  export type { TypesWeightages } from './schemas/TypesWeightages';
670
697
  export type { TypesWorkload } from './schemas/TypesWorkload';
671
698
  export type { TypesWorkloadKind } from './schemas/TypesWorkloadKind';
699
+ export type { V1ApmProbeInputs } from './schemas/V1ApmProbeInputs';
700
+ export type { V1ApmProbeTlsConfig } from './schemas/V1ApmProbeTlsConfig';
701
+ export type { V1AppDynamicsInputs } from './schemas/V1AppDynamicsInputs';
702
+ export type { V1AppdMetrics } from './schemas/V1AppdMetrics';
672
703
  export type { V1Authorization } from './schemas/V1Authorization';
673
704
  export type { V1AwsElasticBlockStoreVolumeSource } from './schemas/V1AwsElasticBlockStoreVolumeSource';
674
705
  export type { V1AzureDataDiskCachingMode } from './schemas/V1AzureDataDiskCachingMode';
@@ -750,6 +781,7 @@ export type { V1PostMethod } from './schemas/V1PostMethod';
750
781
  export type { V1ProcMountType } from './schemas/V1ProcMountType';
751
782
  export type { V1ProjectedVolumeSource } from './schemas/V1ProjectedVolumeSource';
752
783
  export type { V1PromProbeInputs } from './schemas/V1PromProbeInputs';
784
+ export type { V1PrometheusInputs } from './schemas/V1PrometheusInputs';
753
785
  export type { V1Protocol } from './schemas/V1Protocol';
754
786
  export type { V1PullPolicy } from './schemas/V1PullPolicy';
755
787
  export type { V1QuobyteVolumeSource } from './schemas/V1QuobyteVolumeSource';
@@ -6,6 +6,7 @@ export { createAction, useCreateActionMutation } from './hooks/useCreateActionMu
6
6
  export { createActionTemplate, useCreateActionTemplateMutation, } from './hooks/useCreateActionTemplateMutation';
7
7
  export { createChaosExperimentPipeline, useCreateChaosExperimentPipelineMutation, } from './hooks/useCreateChaosExperimentPipelineMutation';
8
8
  export { createChaosHub, useCreateChaosHubMutation } from './hooks/useCreateChaosHubMutation';
9
+ export { createFaultTemplate, useCreateFaultTemplateMutation, } from './hooks/useCreateFaultTemplateMutation';
9
10
  export { createGamedayRunV2, useCreateGamedayRunV2Mutation, } from './hooks/useCreateGamedayRunV2Mutation';
10
11
  export { createGamedayV2, useCreateGamedayV2Mutation } from './hooks/useCreateGamedayV2Mutation';
11
12
  export { createInputSet, useCreateInputSetMutation } from './hooks/useCreateInputSetMutation';
@@ -17,6 +18,7 @@ export { deleteAction, useDeleteActionMutation } from './hooks/useDeleteActionMu
17
18
  export { deleteActionTemplate, useDeleteActionTemplateMutation, } from './hooks/useDeleteActionTemplateMutation';
18
19
  export { deleteChaosV2Experiment, useDeleteChaosV2ExperimentMutation, } from './hooks/useDeleteChaosV2ExperimentMutation';
19
20
  export { deleteEventWatcher, useDeleteEventWatcherMutation, } from './hooks/useDeleteEventWatcherMutation';
21
+ export { deleteFaultTemplate, useDeleteFaultTemplateMutation, } from './hooks/useDeleteFaultTemplateMutation';
20
22
  export { deleteGamedayV2, useDeleteGamedayV2Mutation } from './hooks/useDeleteGamedayV2Mutation';
21
23
  export { deleteInfraV2, useDeleteInfraV2Mutation } from './hooks/useDeleteInfraV2Mutation';
22
24
  export { deleteInputSet, useDeleteInputSetMutation } from './hooks/useDeleteInputSetMutation';
@@ -114,6 +116,7 @@ export { updateActionTemplate, useUpdateActionTemplateMutation, } from './hooks/
114
116
  export { updateChaosHub, useUpdateChaosHubMutation } from './hooks/useUpdateChaosHubMutation';
115
117
  export { updateChaosV2CronExperiment, useUpdateChaosV2CronExperimentMutation, } from './hooks/useUpdateChaosV2CronExperimentMutation';
116
118
  export { updateEmissary, useUpdateEmissaryMutation } from './hooks/useUpdateEmissaryMutation';
119
+ export { updateFaultTemplate, useUpdateFaultTemplateMutation, } from './hooks/useUpdateFaultTemplateMutation';
117
120
  export { updateGamedayRunPrerequisitesV2, useUpdateGamedayRunPrerequisitesV2Mutation, } from './hooks/useUpdateGamedayRunPrerequisitesV2Mutation';
118
121
  export { updateGamedayRunStakeHolderActionsV2, useUpdateGamedayRunStakeHolderActionsV2Mutation, } from './hooks/useUpdateGamedayRunStakeHolderActionsV2Mutation';
119
122
  export { updateGamedayRunV2, useUpdateGamedayRunV2Mutation, } from './hooks/useUpdateGamedayRunV2Mutation';
@@ -0,0 +1,14 @@
1
+ import type { K8sfaultK8SFaultSpec } from '../schemas/K8sfaultK8SFaultSpec';
2
+ import type { TemplateVariable } from '../schemas/TemplateVariable';
3
+ export interface ChaosfaulttemplateCreateFaultTemplateRequest {
4
+ description?: string;
5
+ identity?: string;
6
+ infras?: string[];
7
+ keywords?: string[];
8
+ name?: string;
9
+ platforms?: string[];
10
+ revision?: number;
11
+ spec?: K8sfaultK8SFaultSpec;
12
+ tags?: string[];
13
+ variables?: TemplateVariable[];
14
+ }
@@ -0,0 +1,16 @@
1
+ import type { K8sfaultK8SFaultSpec } from '../schemas/K8sfaultK8SFaultSpec';
2
+ import type { TemplateVariable } from '../schemas/TemplateVariable';
3
+ export interface ChaosfaulttemplateCreateFaultTemplateResponse {
4
+ corelationID?: string;
5
+ description?: string;
6
+ hubID?: string;
7
+ identity?: string;
8
+ infras?: string[];
9
+ keywords?: string[];
10
+ name?: string;
11
+ platforms?: string[];
12
+ revision?: number;
13
+ spec?: K8sfaultK8SFaultSpec;
14
+ tags?: string[];
15
+ variables?: TemplateVariable[];
16
+ }
@@ -1,5 +1,7 @@
1
1
  import type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbChaosfaulttemplateChaosFaultTemplate } from '../schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbChaosfaulttemplateChaosFaultTemplate';
2
+ import type { K8sfaultK8SFault } from '../schemas/K8sfaultK8SFault';
2
3
  export interface ChaosfaulttemplateGetFaultTemplateResponse {
3
4
  corelationID?: string;
4
5
  data?: GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbChaosfaulttemplateChaosFaultTemplate;
6
+ typed?: K8sfaultK8SFault;
5
7
  }
@@ -0,0 +1,16 @@
1
+ import type { K8sfaultK8SFaultSpec } from '../schemas/K8sfaultK8SFaultSpec';
2
+ import type { TemplateVariable } from '../schemas/TemplateVariable';
3
+ export interface ChaosfaulttemplateUpdateFaultTemplateResponse {
4
+ corelationID?: string;
5
+ description?: string;
6
+ hubID?: string;
7
+ identity?: string;
8
+ infras?: string[];
9
+ keywords?: string[];
10
+ name?: string;
11
+ platforms?: string[];
12
+ revision?: number;
13
+ spec?: K8sfaultK8SFaultSpec;
14
+ tags?: string[];
15
+ variables?: TemplateVariable[];
16
+ }
@@ -92,6 +92,10 @@ export interface ChaoshubresourcesChaosHubResource {
92
92
  * Type: fault or experiment or probes
93
93
  */
94
94
  resourceType?: string;
95
+ /**
96
+ * template yaml in encoded form (template.yaml)
97
+ */
98
+ template?: string;
95
99
  updatedAt?: number;
96
100
  updatedBy?: string;
97
101
  }
@@ -0,0 +1,3 @@
1
+ export interface GithubComHarnessHceSaasGraphqlServerApiEmpty {
2
+ [key: string]: any;
3
+ }
@@ -0,0 +1,5 @@
1
+ import type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeAppdMetrics } from '../schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeAppdMetrics';
2
+ export interface GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeAppDynamicsProbeInputs {
3
+ appdMetrics?: GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeAppdMetrics;
4
+ connectorID?: string;
5
+ }
@@ -0,0 +1,4 @@
1
+ export interface GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeAppdMetrics {
2
+ durationInMin?: number;
3
+ metricsFullPath?: string;
4
+ }
@@ -1,5 +1,5 @@
1
1
  import type { ProbeApmtlsConfig } from '../schemas/ProbeApmtlsConfig';
2
- export interface ProbePrometheusProbeInputs {
2
+ export interface GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbePrometheusProbeInputs {
3
3
  connectorID?: string;
4
4
  query?: string;
5
5
  tlsConfig?: ProbeApmtlsConfig;
@@ -0,0 +1,3 @@
1
+ export interface GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeSecretManager {
2
+ identifier?: 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,3 +1,4 @@
1
+ import type { V1ApmProbeInputs } from '../schemas/V1ApmProbeInputs';
1
2
  import type { V1CmdProbeInputs } from '../schemas/V1CmdProbeInputs';
2
3
  import type { V1DatadogProbeInputs } from '../schemas/V1DatadogProbeInputs';
3
4
  import type { V1DynatraceProbeInputs } from '../schemas/V1DynatraceProbeInputs';
@@ -8,6 +9,10 @@ import type { V1PromProbeInputs } from '../schemas/V1PromProbeInputs';
8
9
  import type { V1RunProperty } from '../schemas/V1RunProperty';
9
10
  import type { V1SloProbeInputs } from '../schemas/V1SloProbeInputs';
10
11
  export interface GithubComHarnessHceSaasHceSdkCommonProbeV1Probe {
12
+ /**
13
+ * APMProbeInputs contains the inputs required for apm probe
14
+ */
15
+ 'apmProbe/inputs'?: V1ApmProbeInputs;
11
16
  /**
12
17
  * inputs needed for the cmd probe
13
18
  */
@@ -0,0 +1,5 @@
1
+ import type { GithubComHarnessHceSaasHceSdkTemplateSchemaProbeAppdMetrics } from '../schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeAppdMetrics';
2
+ export interface GithubComHarnessHceSaasHceSdkTemplateSchemaProbeAppDynamicsProbeInputs {
3
+ appdMetrics?: GithubComHarnessHceSaasHceSdkTemplateSchemaProbeAppdMetrics;
4
+ connectorID?: string;
5
+ }
@@ -0,0 +1,4 @@
1
+ export interface GithubComHarnessHceSaasHceSdkTemplateSchemaProbeAppdMetrics {
2
+ durationInMin?: {};
3
+ metricsFullPath?: 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 { ProbeTlsConfigSm } from '../schemas/ProbeTlsConfigSm';
2
+ export interface GithubComHarnessHceSaasHceSdkTemplateSchemaProbePrometheusProbeInputs {
3
+ connectorID?: string;
4
+ query?: string;
5
+ tlsConfig?: ProbeTlsConfigSm;
6
+ }
@@ -0,0 +1,3 @@
1
+ export interface GithubComHarnessHceSaasHceSdkTemplateSchemaProbeSecretManager {
2
+ identifier?: 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,4 @@
1
+ export interface K8sfaultApplicationTarget {
2
+ application?: string;
3
+ entrypoint?: 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,4 @@
1
+ export interface K8sfaultChaosParameter {
2
+ name?: string;
3
+ value?: 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,39 @@
1
+ import type { K8sfaultConfigMapVolume } from '../schemas/K8sfaultConfigMapVolume';
2
+ import type { V1SecurityContext } from '../schemas/V1SecurityContext';
3
+ import type { V1EnvVar } from '../schemas/V1EnvVar';
4
+ import type { K8sfaultHostPathVolume } from '../schemas/K8sfaultHostPathVolume';
5
+ import type { V1PullPolicy } from '../schemas/V1PullPolicy';
6
+ import type { K8sfaultChaosParameter } from '../schemas/K8sfaultChaosParameter';
7
+ import type { V1PodSecurityContext } from '../schemas/V1PodSecurityContext';
8
+ import type { V1ResourceRequirements } from '../schemas/V1ResourceRequirements';
9
+ import type { K8sfaultSecretVolume } from '../schemas/K8sfaultSecretVolume';
10
+ import type { V1Toleration } from '../schemas/V1Toleration';
11
+ export interface K8sfaultChaosSpec {
12
+ annotations?: {
13
+ [key: string]: string;
14
+ };
15
+ args?: string[];
16
+ command?: string[];
17
+ configMapVolume?: K8sfaultConfigMapVolume[];
18
+ containerSecurityContext?: V1SecurityContext;
19
+ env?: V1EnvVar[];
20
+ faultName?: string;
21
+ hostIPC?: boolean;
22
+ hostNetwork?: boolean;
23
+ hostPID?: boolean;
24
+ hostPathVolume?: K8sfaultHostPathVolume[];
25
+ image?: string;
26
+ imagePullPolicy?: V1PullPolicy;
27
+ imagePullSecrets?: string[];
28
+ labels?: {
29
+ [key: string]: string;
30
+ };
31
+ nodeSelector?: {
32
+ [key: string]: string;
33
+ };
34
+ params?: K8sfaultChaosParameter[];
35
+ podSecurityContext?: V1PodSecurityContext;
36
+ resourceRequirements?: V1ResourceRequirements;
37
+ secretVolume?: K8sfaultSecretVolume[];
38
+ toleration?: V1Toleration;
39
+ }
@@ -0,0 +1,5 @@
1
+ export interface K8sfaultConfigMapVolume {
2
+ mountMode?: number;
3
+ mountPath?: 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,7 @@
1
+ import type { V1HostPathType } from '../schemas/V1HostPathType';
2
+ export interface K8sfaultHostPathVolume {
3
+ hostPath?: string;
4
+ mountPath?: string;
5
+ name?: string;
6
+ type?: V1HostPathType;
7
+ }
@@ -0,0 +1,11 @@
1
+ import type { K8sfaultK8SFaultSpec } from '../schemas/K8sfaultK8SFaultSpec';
2
+ import type { TemplateVariable } from '../schemas/TemplateVariable';
3
+ export interface K8sfaultK8SFault {
4
+ description?: string;
5
+ identity?: string;
6
+ name?: string;
7
+ revision?: number;
8
+ spec?: K8sfaultK8SFaultSpec;
9
+ tags?: string[];
10
+ variables?: TemplateVariable[];
11
+ }
@@ -0,0 +1,6 @@
1
+ import type { K8sfaultChaosSpec } from '../schemas/K8sfaultChaosSpec';
2
+ import type { K8sfaultTarget } from '../schemas/K8sfaultTarget';
3
+ export interface K8sfaultK8SFaultSpec {
4
+ chaos?: K8sfaultChaosSpec;
5
+ target?: K8sfaultTarget;
6
+ }
@@ -0,0 +1,6 @@
1
+ export interface K8sfaultK8STarget {
2
+ kind?: string;
3
+ labels?: string;
4
+ names?: string;
5
+ namespace?: string;
6
+ }
@@ -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 K8sfaultSecretVolume {
2
+ mountMode?: number;
3
+ mountPath?: 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,6 @@
1
+ import type { K8sfaultApplicationTarget } from '../schemas/K8sfaultApplicationTarget';
2
+ import type { K8sfaultK8STarget } from '../schemas/K8sfaultK8STarget';
3
+ export interface K8sfaultTarget {
4
+ applicationSDK?: K8sfaultApplicationTarget;
5
+ k8sResource?: K8sfaultK8STarget[];
6
+ }
@@ -1,8 +1,8 @@
1
- import type { ProbeAppDynamicsProbeInputs } from '../schemas/ProbeAppDynamicsProbeInputs';
1
+ import type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeAppDynamicsProbeInputs } from '../schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeAppDynamicsProbeInputs';
2
2
  import type { ProbeComparator } from '../schemas/ProbeComparator';
3
- import type { ProbePrometheusProbeInputs } from '../schemas/ProbePrometheusProbeInputs';
3
+ import type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbePrometheusProbeInputs } from '../schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbePrometheusProbeInputs';
4
4
  export interface ProbeApmProbe {
5
- appDynamicsProbeInputs?: ProbeAppDynamicsProbeInputs;
5
+ appDynamicsProbeInputs?: GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeAppDynamicsProbeInputs;
6
6
  attempt?: {};
7
7
  comparator?: ProbeComparator;
8
8
  initialDelay?: string;
@@ -10,7 +10,7 @@ export interface ProbeApmProbe {
10
10
  interval?: string;
11
11
  pollingInterval?: string;
12
12
  probeTimeout?: string;
13
- prometheusProbeInputs?: ProbePrometheusProbeInputs;
13
+ prometheusProbeInputs?: GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbePrometheusProbeInputs;
14
14
  retry?: {};
15
15
  stopOnFailure?: boolean;
16
16
  type?: string;
@@ -0,0 +1,10 @@
1
+ import type { GithubComHarnessHceSaasHceSdkTemplateSchemaProbeAppDynamicsProbeInputs } from '../schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeAppDynamicsProbeInputs';
2
+ import type { ProbeComparatorTemplate } from '../schemas/ProbeComparatorTemplate';
3
+ import type { GithubComHarnessHceSaasHceSdkTemplateSchemaProbePrometheusProbeInputs } from '../schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbePrometheusProbeInputs';
4
+ import type { ProbeApmProbeType } from '../schemas/ProbeApmProbeType';
5
+ export interface ProbeApmProbeTemplate {
6
+ appDynamicsProbeInputs?: GithubComHarnessHceSaasHceSdkTemplateSchemaProbeAppDynamicsProbeInputs;
7
+ comparator?: ProbeComparatorTemplate;
8
+ prometheusProbeInputs?: GithubComHarnessHceSaasHceSdkTemplateSchemaProbePrometheusProbeInputs;
9
+ type?: ProbeApmProbeType;
10
+ }
@@ -0,0 +1 @@
1
+ export type ProbeApmProbeType = 'AppDynamics' | 'Prometheus';
@@ -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,7 +1,7 @@
1
- import type { ProbeSecretManager } from '../schemas/ProbeSecretManager';
1
+ import type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeSecretManager } from '../schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeSecretManager';
2
2
  export interface ProbeApmtlsConfig {
3
- caCrt?: ProbeSecretManager;
4
- clientCrt?: ProbeSecretManager;
3
+ caCrt?: GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeSecretManager;
4
+ clientCrt?: GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeSecretManager;
5
5
  insecureSkipVerify?: boolean;
6
- key?: ProbeSecretManager;
6
+ key?: GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeSecretManager;
7
7
  }
@@ -1,3 +1,4 @@
1
+ import type { ProbeApmProbeTemplate } from '../schemas/ProbeApmProbeTemplate';
1
2
  import type { ProbeCmdProbeTemplate } from '../schemas/ProbeCmdProbeTemplate';
2
3
  import type { ProbeDatadogProbeTemplate } from '../schemas/ProbeDatadogProbeTemplate';
3
4
  import type { ProbeDynatraceProbeTemplate } from '../schemas/ProbeDynatraceProbeTemplate';
@@ -6,6 +7,7 @@ import type { ProbeK8SProbeTemplate } from '../schemas/ProbeK8SProbeTemplate';
6
7
  import type { ProbePromProbeTemplate } from '../schemas/ProbePromProbeTemplate';
7
8
  import type { ProbeSloProbeTemplate } from '../schemas/ProbeSloProbeTemplate';
8
9
  export interface ProbeProbeTemplateProperties {
10
+ apmProbe?: ProbeApmProbeTemplate;
9
11
  cmdProbe?: ProbeCmdProbeTemplate;
10
12
  datadogProbe?: ProbeDatadogProbeTemplate;
11
13
  dynatraceProbe?: ProbeDynatraceProbeTemplate;
@@ -0,0 +1,7 @@
1
+ import type { GithubComHarnessHceSaasHceSdkTemplateSchemaProbeSecretManager } from '../schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeSecretManager';
2
+ export interface ProbeTlsConfigSm {
3
+ caCrt?: GithubComHarnessHceSaasHceSdkTemplateSchemaProbeSecretManager;
4
+ clientCrt?: GithubComHarnessHceSaasHceSdkTemplateSchemaProbeSecretManager;
5
+ insecureSkipVerify?: {};
6
+ key?: GithubComHarnessHceSaasHceSdkTemplateSchemaProbeSecretManager;
7
+ }
@@ -0,0 +1,21 @@
1
+ import type { V1AppDynamicsInputs } from '../schemas/V1AppDynamicsInputs';
2
+ import type { V1ComparatorInfo } from '../schemas/V1ComparatorInfo';
3
+ import type { V1PrometheusInputs } from '../schemas/V1PrometheusInputs';
4
+ export interface V1ApmProbeInputs {
5
+ /**
6
+ * AppDynamicsInputs contains the inputs required for AppDynamics probe
7
+ */
8
+ appDynamicsInputs?: V1AppDynamicsInputs;
9
+ /**
10
+ * Comparator check for the correctness of the probe output
11
+ */
12
+ comparator?: V1ComparatorInfo;
13
+ /**
14
+ * PrometheusInputs contains the inputs required for prometheus probe
15
+ */
16
+ prometheusInputs?: V1PrometheusInputs;
17
+ /**
18
+ * Type for the prometheus probe
19
+ */
20
+ type?: string;
21
+ }
@@ -0,0 +1,14 @@
1
+ export interface V1ApmProbeTlsConfig {
2
+ /**
3
+ * InsecureSkipVerify flag to skip certificate checks
4
+ */
5
+ insecureSkipVerify?: boolean;
6
+ /**
7
+ * SecretName contains the secret name for the TLS configuration
8
+ */
9
+ secretName?: string;
10
+ /**
11
+ * ServerName contains the server name for the TLS configuration
12
+ */
13
+ serverName?: string;
14
+ }
@@ -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,15 @@
1
+ import type { V1AppdMetrics } from '../schemas/V1AppdMetrics';
2
+ export interface V1AppDynamicsInputs {
3
+ /**
4
+ * AppdMetrics contains the appd metrics
5
+ */
6
+ appdMetrics?: V1AppdMetrics;
7
+ /**
8
+ * AuthSecretName secret name for the authentication
9
+ */
10
+ authSecretName?: string;
11
+ /**
12
+ * Endpoint for the AppDynamics probe
13
+ */
14
+ endpoint?: string;
15
+ }
@@ -0,0 +1,10 @@
1
+ export interface V1AppdMetrics {
2
+ /**
3
+ * DurationInMin contains the duration in minutes
4
+ */
5
+ durationInMin?: number;
6
+ /**
7
+ * MetricsFullPath contains the full path of the metrics
8
+ */
9
+ metricsFullPath?: 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 {};
@@ -15,7 +15,7 @@ export interface V1PromProbeInputs {
15
15
  */
16
16
  endpoint?: string;
17
17
  /**
18
- * Query to get promethus metrics
18
+ * Query to get prometheus metrics
19
19
  */
20
20
  query?: string;
21
21
  /**
@@ -0,0 +1,19 @@
1
+ import type { V1ApmProbeTlsConfig } from '../schemas/V1ApmProbeTlsConfig';
2
+ export interface V1PrometheusInputs {
3
+ /**
4
+ * AuthSecretName secret name for the authentication
5
+ */
6
+ authSecretName?: string;
7
+ /**
8
+ * Endpoint for the prometheus probe
9
+ */
10
+ endpoint?: string;
11
+ /**
12
+ * Query to get prometheus metrics
13
+ */
14
+ query?: string;
15
+ /**
16
+ * TLSConfig contains the tls configuration for the prometheus probe
17
+ */
18
+ tlsConfig?: V1ApmProbeTlsConfig;
19
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-chaos-manager-client",
3
- "version": "0.15.0",
3
+ "version": "0.16.0",
4
4
  "description": "Harness React Chaos Manager Service Client - APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",
@@ -1,5 +0,0 @@
1
- import type { ProbeAppdMetrics } from '../schemas/ProbeAppdMetrics';
2
- export interface ProbeAppDynamicsProbeInputs {
3
- appdMetrics?: ProbeAppdMetrics;
4
- connectorID?: string;
5
- }
@@ -1,4 +0,0 @@
1
- export interface ProbeAppdMetrics {
2
- durationInMin?: number;
3
- metricsFullPath?: string;
4
- }
@@ -1,3 +0,0 @@
1
- export interface ProbeSecretManager {
2
- identifier?: string;
3
- }