@harnessio/react-chaos-manager-client 0.16.2 → 0.17.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chaos-manager/src/services/index.d.ts +8 -16
- package/dist/chaos-manager/src/services/index.js +0 -4
- package/dist/chaos-manager/src/services/schemas/ActionActionTemplateProperties.d.ts +2 -0
- package/dist/chaos-manager/src/services/schemas/ActionCustomScriptActionTemplate.d.ts +1 -1
- package/dist/chaos-manager/src/services/schemas/ActionSourceActionTemplate.d.ts +16 -0
- package/dist/chaos-manager/src/services/schemas/ChaoshubListFaultsResponse.d.ts +1 -1
- package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeAppdMetrics.d.ts +1 -1
- package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeSplunkObservabilityMetrics.d.ts +4 -0
- package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeSplunkObservabilityProbeInputs.d.ts +5 -0
- package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeSplunkObservabilityMetrics.d.ts +4 -0
- package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeSplunkObservabilityProbeInputs.d.ts +5 -0
- package/dist/chaos-manager/src/services/schemas/InfraV2KubernetesInfrastructureV2Details.d.ts +1 -0
- package/dist/chaos-manager/src/services/schemas/InfraV2RegisterInfrastructureV2Request.d.ts +1 -0
- package/dist/chaos-manager/src/services/schemas/InfraV2UpdateKubernetesInfrastructureV2Request.d.ts +1 -0
- package/dist/chaos-manager/src/services/schemas/ProbeApmProbe.d.ts +2 -0
- package/dist/chaos-manager/src/services/schemas/ProbeApmProbeTemplate.d.ts +2 -0
- package/dist/chaos-manager/src/services/schemas/ProbeApmProbeType.d.ts +1 -1
- package/dist/chaos-manager/src/services/schemas/RecommendationEventRequest.d.ts +0 -1
- package/dist/chaos-manager/src/services/schemas/ResourceQuantity.d.ts +1 -1
- package/dist/chaos-manager/src/services/schemas/TypesExperimentComponents.d.ts +2 -0
- package/dist/chaos-manager/src/services/schemas/TypesGetProbeResponse.d.ts +0 -1
- package/dist/chaos-manager/src/services/schemas/TypesHelperConfig.d.ts +35 -0
- package/dist/chaos-manager/src/services/schemas/TypesListProbeResponse.d.ts +2 -2
- package/dist/chaos-manager/src/services/schemas/TypesProbeRequest.d.ts +0 -1
- package/dist/chaos-manager/src/services/schemas/V1ApmProbeInputs.d.ts +5 -0
- package/dist/chaos-manager/src/services/schemas/V1SplunkObservabilityInputs.d.ts +15 -0
- package/dist/chaos-manager/src/services/schemas/V1SplunkObservabilityInputs.js +1 -0
- package/dist/chaos-manager/src/services/schemas/V1SplunkObservabilityMetrics.d.ts +10 -0
- package/package.json +1 -1
- package/dist/chaos-manager/src/services/hooks/useDeleteEventWatcherMutation.d.ts +0 -28
- package/dist/chaos-manager/src/services/hooks/useDeleteEventWatcherMutation.js +0 -14
- package/dist/chaos-manager/src/services/hooks/useGetEventWatcherQuery.d.ts +0 -27
- package/dist/chaos-manager/src/services/hooks/useGetEventWatcherQuery.js +0 -14
- package/dist/chaos-manager/src/services/hooks/useListEventWatcherQuery.d.ts +0 -32
- package/dist/chaos-manager/src/services/hooks/useListEventWatcherQuery.js +0 -14
- package/dist/chaos-manager/src/services/hooks/useRegisterEventWatcherMutation.d.ts +0 -28
- package/dist/chaos-manager/src/services/hooks/useRegisterEventWatcherMutation.js +0 -14
- package/dist/chaos-manager/src/services/schemas/EventWatcherDeleteEventWatcherResponse.d.ts +0 -4
- package/dist/chaos-manager/src/services/schemas/EventWatcherEventWatcherDetails.d.ts +0 -52
- package/dist/chaos-manager/src/services/schemas/EventWatcherEventWatcherStatus.d.ts +0 -1
- package/dist/chaos-manager/src/services/schemas/EventWatcherEventWatcherType.d.ts +0 -1
- package/dist/chaos-manager/src/services/schemas/EventWatcherIdentifiers.d.ts +0 -5
- package/dist/chaos-manager/src/services/schemas/EventWatcherListEventWatchersResponse.d.ts +0 -7
- package/dist/chaos-manager/src/services/schemas/EventWatcherRegisterEventWatcherRequest.d.ts +0 -42
- package/dist/chaos-manager/src/services/schemas/EventWatcherRegisterEventWatcherResponse.d.ts +0 -5
- package/dist/chaos-manager/src/services/schemas/EventWatcherRegisterEventWatcherResponse.js +0 -4
- /package/dist/chaos-manager/src/services/schemas/{EventWatcherDeleteEventWatcherResponse.js → ActionSourceActionTemplate.js} +0 -0
- /package/dist/chaos-manager/src/services/schemas/{EventWatcherEventWatcherStatus.js → GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeSplunkObservabilityMetrics.js} +0 -0
- /package/dist/chaos-manager/src/services/schemas/{EventWatcherEventWatcherDetails.js → GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeSplunkObservabilityProbeInputs.js} +0 -0
- /package/dist/chaos-manager/src/services/schemas/{EventWatcherEventWatcherType.js → GithubComHarnessHceSaasHceSdkTemplateSchemaProbeSplunkObservabilityMetrics.js} +0 -0
- /package/dist/chaos-manager/src/services/schemas/{EventWatcherListEventWatchersResponse.js → GithubComHarnessHceSaasHceSdkTemplateSchemaProbeSplunkObservabilityProbeInputs.js} +0 -0
- /package/dist/chaos-manager/src/services/schemas/{EventWatcherRegisterEventWatcherRequest.js → TypesHelperConfig.js} +0 -0
- /package/dist/chaos-manager/src/services/schemas/{EventWatcherIdentifiers.js → V1SplunkObservabilityMetrics.js} +0 -0
|
@@ -36,8 +36,6 @@ export type { DeleteActionTemplateErrorResponse, DeleteActionTemplateMutationPat
|
|
|
36
36
|
export { deleteActionTemplate, useDeleteActionTemplateMutation, } from './hooks/useDeleteActionTemplateMutation';
|
|
37
37
|
export type { DeleteChaosV2ExperimentErrorResponse, DeleteChaosV2ExperimentMutationPathParams, DeleteChaosV2ExperimentMutationProps, DeleteChaosV2ExperimentMutationQueryParams, DeleteChaosV2ExperimentOkResponse, DeleteChaosV2ExperimentProps, } from './hooks/useDeleteChaosV2ExperimentMutation';
|
|
38
38
|
export { deleteChaosV2Experiment, useDeleteChaosV2ExperimentMutation, } from './hooks/useDeleteChaosV2ExperimentMutation';
|
|
39
|
-
export type { DeleteEventWatcherErrorResponse, DeleteEventWatcherMutationPathParams, DeleteEventWatcherMutationProps, DeleteEventWatcherMutationQueryParams, DeleteEventWatcherOkResponse, DeleteEventWatcherProps, } from './hooks/useDeleteEventWatcherMutation';
|
|
40
|
-
export { deleteEventWatcher, useDeleteEventWatcherMutation, } from './hooks/useDeleteEventWatcherMutation';
|
|
41
39
|
export type { DeleteFaultTemplateErrorResponse, DeleteFaultTemplateMutationPathParams, DeleteFaultTemplateMutationProps, DeleteFaultTemplateMutationQueryParams, DeleteFaultTemplateOkResponse, DeleteFaultTemplateProps, } from './hooks/useDeleteFaultTemplateMutation';
|
|
42
40
|
export { deleteFaultTemplate, useDeleteFaultTemplateMutation, } from './hooks/useDeleteFaultTemplateMutation';
|
|
43
41
|
export type { DeleteGamedayV2ErrorResponse, DeleteGamedayV2MutationPathParams, DeleteGamedayV2MutationProps, DeleteGamedayV2MutationQueryParams, DeleteGamedayV2OkResponse, DeleteGamedayV2Props, } from './hooks/useDeleteGamedayV2Mutation';
|
|
@@ -84,8 +82,6 @@ export type { GetChaosV2ExperimentVariablesErrorResponse, GetChaosV2ExperimentVa
|
|
|
84
82
|
export { getChaosV2ExperimentVariables, useGetChaosV2ExperimentVariablesQuery, } from './hooks/useGetChaosV2ExperimentVariablesQuery';
|
|
85
83
|
export type { GetConnectorForInfraErrorResponse, GetConnectorForInfraOkResponse, GetConnectorForInfraProps, GetConnectorForInfraQueryPathParams, GetConnectorForInfraQueryQueryParams, } from './hooks/useGetConnectorForInfraQuery';
|
|
86
84
|
export { getConnectorForInfra, useGetConnectorForInfraQuery, } from './hooks/useGetConnectorForInfraQuery';
|
|
87
|
-
export type { GetEventWatcherErrorResponse, GetEventWatcherOkResponse, GetEventWatcherProps, GetEventWatcherQueryPathParams, GetEventWatcherQueryQueryParams, } from './hooks/useGetEventWatcherQuery';
|
|
88
|
-
export { getEventWatcher, useGetEventWatcherQuery } from './hooks/useGetEventWatcherQuery';
|
|
89
85
|
export type { GetExperimentHelperImageVersionErrorResponse, GetExperimentHelperImageVersionOkResponse, GetExperimentHelperImageVersionProps, } from './hooks/useGetExperimentHelperImageVersionQuery';
|
|
90
86
|
export { getExperimentHelperImageVersion, useGetExperimentHelperImageVersionQuery, } from './hooks/useGetExperimentHelperImageVersionQuery';
|
|
91
87
|
export type { GetExperimentRunTimelineViewErrorResponse, GetExperimentRunTimelineViewOkResponse, GetExperimentRunTimelineViewProps, GetExperimentRunTimelineViewQueryPathParams, GetExperimentRunTimelineViewQueryQueryParams, } from './hooks/useGetExperimentRunTimelineViewQuery';
|
|
@@ -154,8 +150,6 @@ export type { ListChaosHubErrorResponse, ListChaosHubOkResponse, ListChaosHubPro
|
|
|
154
150
|
export { listChaosHub, useListChaosHubQuery } from './hooks/useListChaosHubQuery';
|
|
155
151
|
export type { ListChaosV2ExperimentErrorResponse, ListChaosV2ExperimentOkResponse, ListChaosV2ExperimentProps, ListChaosV2ExperimentQueryQueryParams, } from './hooks/useListChaosV2ExperimentQuery';
|
|
156
152
|
export { listChaosV2Experiment, useListChaosV2ExperimentQuery, } from './hooks/useListChaosV2ExperimentQuery';
|
|
157
|
-
export type { ListEventWatcherErrorResponse, ListEventWatcherOkResponse, ListEventWatcherProps, ListEventWatcherQueryQueryParams, } from './hooks/useListEventWatcherQuery';
|
|
158
|
-
export { listEventWatcher, useListEventWatcherQuery } from './hooks/useListEventWatcherQuery';
|
|
159
153
|
export type { ListExperimentsWithActiveInfrasMinimalNotificationErrorResponse, ListExperimentsWithActiveInfrasMinimalNotificationOkResponse, ListExperimentsWithActiveInfrasMinimalNotificationProps, ListExperimentsWithActiveInfrasMinimalNotificationQueryQueryParams, } from './hooks/useListExperimentsWithActiveInfrasMinimalNotificationQuery';
|
|
160
154
|
export { listExperimentsWithActiveInfrasMinimalNotification, useListExperimentsWithActiveInfrasMinimalNotificationQuery, } from './hooks/useListExperimentsWithActiveInfrasMinimalNotificationQuery';
|
|
161
155
|
export type { ListFaultErrorResponse, ListFaultOkResponse, ListFaultProps, ListFaultQueryQueryParams, } from './hooks/useListFaultQuery';
|
|
@@ -206,8 +200,6 @@ export type { OnboardingConfirmNetworkMapErrorResponse, OnboardingConfirmNetwork
|
|
|
206
200
|
export { onboardingConfirmNetworkMap, useOnboardingConfirmNetworkMapMutation, } from './hooks/useOnboardingConfirmNetworkMapMutation';
|
|
207
201
|
export type { RecommendationEventErrorResponse, RecommendationEventMutationProps, RecommendationEventOkResponse, RecommendationEventProps, RecommendationEventRequestBody, } from './hooks/useRecommendationEventMutation';
|
|
208
202
|
export { recommendationEvent, useRecommendationEventMutation, } from './hooks/useRecommendationEventMutation';
|
|
209
|
-
export type { RegisterEventWatcherErrorResponse, RegisterEventWatcherMutationProps, RegisterEventWatcherMutationQueryParams, RegisterEventWatcherOkResponse, RegisterEventWatcherProps, RegisterEventWatcherRequestBody, } from './hooks/useRegisterEventWatcherMutation';
|
|
210
|
-
export { registerEventWatcher, useRegisterEventWatcherMutation, } from './hooks/useRegisterEventWatcherMutation';
|
|
211
203
|
export type { RegisterInfraV2ErrorResponse, RegisterInfraV2MutationProps, RegisterInfraV2MutationQueryParams, RegisterInfraV2OkResponse, RegisterInfraV2Props, RegisterInfraV2RequestBody, } from './hooks/useRegisterInfraV2Mutation';
|
|
212
204
|
export { registerInfraV2, useRegisterInfraV2Mutation } from './hooks/useRegisterInfraV2Mutation';
|
|
213
205
|
export type { RetryExperimentCreationErrorResponse, RetryExperimentCreationMutationPathParams, RetryExperimentCreationMutationProps, RetryExperimentCreationMutationQueryParams, RetryExperimentCreationOkResponse, RetryExperimentCreationProps, RetryExperimentCreationRequestBody, } from './hooks/useRetryExperimentCreationMutation';
|
|
@@ -263,6 +255,7 @@ export type { ActionActionTemplateProperties } from './schemas/ActionActionTempl
|
|
|
263
255
|
export type { ActionActionTemplateRunProperties } from './schemas/ActionActionTemplateRunProperties';
|
|
264
256
|
export type { ActionCustomScriptActionTemplate } from './schemas/ActionCustomScriptActionTemplate';
|
|
265
257
|
export type { ActionDelayActionTemplate } from './schemas/ActionDelayActionTemplate';
|
|
258
|
+
export type { ActionSourceActionTemplate } from './schemas/ActionSourceActionTemplate';
|
|
266
259
|
export type { ActionsActionResponse } from './schemas/ActionsActionResponse';
|
|
267
260
|
export type { ActionsActionType } from './schemas/ActionsActionType';
|
|
268
261
|
export type { ActionsExecutedByExperiment } from './schemas/ActionsExecutedByExperiment';
|
|
@@ -376,14 +369,6 @@ export type { DatabaseResourceList } from './schemas/DatabaseResourceList';
|
|
|
376
369
|
export type { DatabaseResourceRequirements } from './schemas/DatabaseResourceRequirements';
|
|
377
370
|
export type { DatabaseServiceCollection } from './schemas/DatabaseServiceCollection';
|
|
378
371
|
export type { DatabaseServiceIdentity } from './schemas/DatabaseServiceIdentity';
|
|
379
|
-
export type { EventWatcherDeleteEventWatcherResponse } from './schemas/EventWatcherDeleteEventWatcherResponse';
|
|
380
|
-
export type { EventWatcherEventWatcherDetails } from './schemas/EventWatcherEventWatcherDetails';
|
|
381
|
-
export type { EventWatcherEventWatcherStatus } from './schemas/EventWatcherEventWatcherStatus';
|
|
382
|
-
export type { EventWatcherEventWatcherType } from './schemas/EventWatcherEventWatcherType';
|
|
383
|
-
export type { EventWatcherIdentifiers } from './schemas/EventWatcherIdentifiers';
|
|
384
|
-
export type { EventWatcherListEventWatchersResponse } from './schemas/EventWatcherListEventWatchersResponse';
|
|
385
|
-
export type { EventWatcherRegisterEventWatcherRequest } from './schemas/EventWatcherRegisterEventWatcherRequest';
|
|
386
|
-
export type { EventWatcherRegisterEventWatcherResponse } from './schemas/EventWatcherRegisterEventWatcherResponse';
|
|
387
372
|
export type { ExperimentSaveChaosExperimentResponse } from './schemas/ExperimentSaveChaosExperimentResponse';
|
|
388
373
|
export type { Gamedayrunv2ApprovalStatus } from './schemas/Gamedayrunv2ApprovalStatus';
|
|
389
374
|
export type { Gamedayrunv2PrerequisiteStatus } from './schemas/Gamedayrunv2PrerequisiteStatus';
|
|
@@ -409,6 +394,8 @@ export type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeIdentif
|
|
|
409
394
|
export type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbePost } from './schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbePost';
|
|
410
395
|
export type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbePrometheusProbeInputs } from './schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbePrometheusProbeInputs';
|
|
411
396
|
export type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeSecretManager } from './schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeSecretManager';
|
|
397
|
+
export type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeSplunkObservabilityMetrics } from './schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeSplunkObservabilityMetrics';
|
|
398
|
+
export type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeSplunkObservabilityProbeInputs } from './schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeSplunkObservabilityProbeInputs';
|
|
412
399
|
export type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbRecommendationNode } from './schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbRecommendationNode';
|
|
413
400
|
export type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbRecommendationRecommendation } from './schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbRecommendationRecommendation';
|
|
414
401
|
export type { GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbRecommendationRecommendationTargetType } from './schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbRecommendationRecommendationTargetType';
|
|
@@ -424,6 +411,8 @@ export type { GithubComHarnessHceSaasHceSdkTemplateSchemaProbeIdentifier } from
|
|
|
424
411
|
export type { GithubComHarnessHceSaasHceSdkTemplateSchemaProbePost } from './schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbePost';
|
|
425
412
|
export type { GithubComHarnessHceSaasHceSdkTemplateSchemaProbePrometheusProbeInputs } from './schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbePrometheusProbeInputs';
|
|
426
413
|
export type { GithubComHarnessHceSaasHceSdkTemplateSchemaProbeSecretManager } from './schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeSecretManager';
|
|
414
|
+
export type { GithubComHarnessHceSaasHceSdkTemplateSchemaProbeSplunkObservabilityMetrics } from './schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeSplunkObservabilityMetrics';
|
|
415
|
+
export type { GithubComHarnessHceSaasHceSdkTemplateSchemaProbeSplunkObservabilityProbeInputs } from './schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeSplunkObservabilityProbeInputs';
|
|
427
416
|
export type { GithubComHarnessHceSaasHceSdkTypesApiK8sifsImageRegistryScopedIdentifiers } from './schemas/GithubComHarnessHceSaasHceSdkTypesApiK8sifsImageRegistryScopedIdentifiers';
|
|
428
417
|
export type { GithubComWingsSoftwareDdcrPkgTypesChaosInputs } from './schemas/GithubComWingsSoftwareDdcrPkgTypesChaosInputs';
|
|
429
418
|
export type { GithubComWingsSoftwareDdcrPkgTypesDefinition } from './schemas/GithubComWingsSoftwareDdcrPkgTypesDefinition';
|
|
@@ -650,6 +639,7 @@ export type { TypesGamedayV2 } from './schemas/TypesGamedayV2';
|
|
|
650
639
|
export type { TypesGetGamedayExperimentResponse } from './schemas/TypesGetGamedayExperimentResponse';
|
|
651
640
|
export type { TypesGetGamedayResponse } from './schemas/TypesGetGamedayResponse';
|
|
652
641
|
export type { TypesGetProbeResponse } from './schemas/TypesGetProbeResponse';
|
|
642
|
+
export type { TypesHelperConfig } from './schemas/TypesHelperConfig';
|
|
653
643
|
export type { TypesHostFile } from './schemas/TypesHostFile';
|
|
654
644
|
export type { TypesImportProbeTemplateRequest } from './schemas/TypesImportProbeTemplateRequest';
|
|
655
645
|
export type { TypesInfrastructureType } from './schemas/TypesInfrastructureType';
|
|
@@ -812,6 +802,8 @@ export type { V1SessionAffinityConfig } from './schemas/V1SessionAffinityConfig'
|
|
|
812
802
|
export type { V1SloProbeInputs } from './schemas/V1SloProbeInputs';
|
|
813
803
|
export type { V1SloSourceMetadata } from './schemas/V1SloSourceMetadata';
|
|
814
804
|
export type { V1SourceDetails } from './schemas/V1SourceDetails';
|
|
805
|
+
export type { V1SplunkObservabilityInputs } from './schemas/V1SplunkObservabilityInputs';
|
|
806
|
+
export type { V1SplunkObservabilityMetrics } from './schemas/V1SplunkObservabilityMetrics';
|
|
815
807
|
export type { V1StorageMedium } from './schemas/V1StorageMedium';
|
|
816
808
|
export type { V1StorageOsVolumeSource } from './schemas/V1StorageOsVolumeSource';
|
|
817
809
|
export type { V1SyntheticsTest } from './schemas/V1SyntheticsTest';
|
|
@@ -17,7 +17,6 @@ export { createV2Onboarding, useCreateV2OnboardingMutation, } from './hooks/useC
|
|
|
17
17
|
export { deleteAction, useDeleteActionMutation } from './hooks/useDeleteActionMutation';
|
|
18
18
|
export { deleteActionTemplate, useDeleteActionTemplateMutation, } from './hooks/useDeleteActionTemplateMutation';
|
|
19
19
|
export { deleteChaosV2Experiment, useDeleteChaosV2ExperimentMutation, } from './hooks/useDeleteChaosV2ExperimentMutation';
|
|
20
|
-
export { deleteEventWatcher, useDeleteEventWatcherMutation, } from './hooks/useDeleteEventWatcherMutation';
|
|
21
20
|
export { deleteFaultTemplate, useDeleteFaultTemplateMutation, } from './hooks/useDeleteFaultTemplateMutation';
|
|
22
21
|
export { deleteGamedayV2, useDeleteGamedayV2Mutation } from './hooks/useDeleteGamedayV2Mutation';
|
|
23
22
|
export { deleteInfraV2, useDeleteInfraV2Mutation } from './hooks/useDeleteInfraV2Mutation';
|
|
@@ -41,7 +40,6 @@ export { getChaosV2ExperimentRunInternalApi, useGetChaosV2ExperimentRunInternalA
|
|
|
41
40
|
export { getChaosV2ExperimentRun, useGetChaosV2ExperimentRunQuery, } from './hooks/useGetChaosV2ExperimentRunQuery';
|
|
42
41
|
export { getChaosV2ExperimentVariables, useGetChaosV2ExperimentVariablesQuery, } from './hooks/useGetChaosV2ExperimentVariablesQuery';
|
|
43
42
|
export { getConnectorForInfra, useGetConnectorForInfraQuery, } from './hooks/useGetConnectorForInfraQuery';
|
|
44
|
-
export { getEventWatcher, useGetEventWatcherQuery } from './hooks/useGetEventWatcherQuery';
|
|
45
43
|
export { getExperimentHelperImageVersion, useGetExperimentHelperImageVersionQuery, } from './hooks/useGetExperimentHelperImageVersionQuery';
|
|
46
44
|
export { getExperimentRunTimelineView, useGetExperimentRunTimelineViewQuery, } from './hooks/useGetExperimentRunTimelineViewQuery';
|
|
47
45
|
export { getExperimentRunsOverviewStats, useGetExperimentRunsOverviewStatsQuery, } from './hooks/useGetExperimentRunsOverviewStatsQuery';
|
|
@@ -76,7 +74,6 @@ export { listApplication, useListApplicationQuery } from './hooks/useListApplica
|
|
|
76
74
|
export { listChaosEnabledInfraV2, useListChaosEnabledInfraV2Query, } from './hooks/useListChaosEnabledInfraV2Query';
|
|
77
75
|
export { listChaosHub, useListChaosHubQuery } from './hooks/useListChaosHubQuery';
|
|
78
76
|
export { listChaosV2Experiment, useListChaosV2ExperimentQuery, } from './hooks/useListChaosV2ExperimentQuery';
|
|
79
|
-
export { listEventWatcher, useListEventWatcherQuery } from './hooks/useListEventWatcherQuery';
|
|
80
77
|
export { listExperimentsWithActiveInfrasMinimalNotification, useListExperimentsWithActiveInfrasMinimalNotificationQuery, } from './hooks/useListExperimentsWithActiveInfrasMinimalNotificationQuery';
|
|
81
78
|
export { listFault, useListFaultQuery } from './hooks/useListFaultQuery';
|
|
82
79
|
export { listFaultTemplate, useListFaultTemplateQuery } from './hooks/useListFaultTemplateQuery';
|
|
@@ -102,7 +99,6 @@ export { onboardingConfirmExperimentCreation, useOnboardingConfirmExperimentCrea
|
|
|
102
99
|
export { onboardingConfirmExperimentRun, useOnboardingConfirmExperimentRunMutation, } from './hooks/useOnboardingConfirmExperimentRunMutation';
|
|
103
100
|
export { onboardingConfirmNetworkMap, useOnboardingConfirmNetworkMapMutation, } from './hooks/useOnboardingConfirmNetworkMapMutation';
|
|
104
101
|
export { recommendationEvent, useRecommendationEventMutation, } from './hooks/useRecommendationEventMutation';
|
|
105
|
-
export { registerEventWatcher, useRegisterEventWatcherMutation, } from './hooks/useRegisterEventWatcherMutation';
|
|
106
102
|
export { registerInfraV2, useRegisterInfraV2Mutation } from './hooks/useRegisterInfraV2Mutation';
|
|
107
103
|
export { retryExperimentCreation, useRetryExperimentCreationMutation, } from './hooks/useRetryExperimentCreationMutation';
|
|
108
104
|
export { runChaosV2Experiment, useRunChaosV2ExperimentMutation, } from './hooks/useRunChaosV2ExperimentMutation';
|
|
@@ -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
|
}
|
|
@@ -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
|
+
}
|
|
@@ -3,6 +3,6 @@ import type { ChaoshubresourcesChaosHubResource } from '../schemas/Chaoshubresou
|
|
|
3
3
|
import type { GithubComHarnessHceSaasGraphqlServerApiPagination } from '../schemas/GithubComHarnessHceSaasGraphqlServerApiPagination';
|
|
4
4
|
export interface ChaoshubListFaultsResponse {
|
|
5
5
|
categoryCount?: ChaoshubFaultCategoryCount[];
|
|
6
|
-
|
|
6
|
+
faults?: ChaoshubresourcesChaosHubResource[];
|
|
7
7
|
pagination?: GithubComHarnessHceSaasGraphqlServerApiPagination;
|
|
8
8
|
}
|
|
@@ -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,5 @@
|
|
|
1
|
+
import type { GithubComHarnessHceSaasHceSdkTemplateSchemaProbeSplunkObservabilityMetrics } from '../schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeSplunkObservabilityMetrics';
|
|
2
|
+
export interface GithubComHarnessHceSaasHceSdkTemplateSchemaProbeSplunkObservabilityProbeInputs {
|
|
3
|
+
connectorID?: string;
|
|
4
|
+
splunkObservabilityMetrics?: GithubComHarnessHceSaasHceSdkTemplateSchemaProbeSplunkObservabilityMetrics;
|
|
5
|
+
}
|
package/dist/chaos-manager/src/services/schemas/InfraV2KubernetesInfrastructureV2Details.d.ts
CHANGED
|
@@ -35,6 +35,7 @@ export interface InfraV2KubernetesInfrastructureV2Details {
|
|
|
35
35
|
infraType?: InfraV2InfraType;
|
|
36
36
|
insecureSkipVerify?: boolean;
|
|
37
37
|
installationType?: InfraV2InstallationType;
|
|
38
|
+
isAIEnabled?: boolean;
|
|
38
39
|
isChaosEnabled?: boolean;
|
|
39
40
|
k8sConnectorID?: string;
|
|
40
41
|
label?: {
|
|
@@ -9,6 +9,7 @@ import type { V1Toleration } from '../schemas/V1Toleration';
|
|
|
9
9
|
import type { V1VolumeMount } from '../schemas/V1VolumeMount';
|
|
10
10
|
import type { InfraV2Volumes } from '../schemas/InfraV2Volumes';
|
|
11
11
|
export interface InfraV2RegisterInfrastructureV2Request {
|
|
12
|
+
aiEnabled?: boolean;
|
|
12
13
|
annotation?: {
|
|
13
14
|
[key: string]: string;
|
|
14
15
|
};
|
package/dist/chaos-manager/src/services/schemas/InfraV2UpdateKubernetesInfrastructureV2Request.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ import type { V1Toleration } from '../schemas/V1Toleration';
|
|
|
6
6
|
import type { V1VolumeMount } from '../schemas/V1VolumeMount';
|
|
7
7
|
import type { InfraV2Volumes } from '../schemas/InfraV2Volumes';
|
|
8
8
|
export interface InfraV2UpdateKubernetesInfrastructureV2Request {
|
|
9
|
+
aiEnabled?: boolean;
|
|
9
10
|
annotation?: {
|
|
10
11
|
[key: string]: string;
|
|
11
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';
|
|
@@ -4,7 +4,6 @@ import type { RecommendationProbePayload } from '../schemas/RecommendationProbeP
|
|
|
4
4
|
export interface RecommendationEventRequest {
|
|
5
5
|
environmentID?: string;
|
|
6
6
|
faultPayload?: RecommendationFaultPayload;
|
|
7
|
-
id?: string;
|
|
8
7
|
identifiers?: RecommendationIdentifiers;
|
|
9
8
|
infraID?: string;
|
|
10
9
|
probePayload?: RecommendationProbePayload;
|
|
@@ -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[];
|
|
@@ -9,7 +9,6 @@ export interface TypesGetProbeResponse {
|
|
|
9
9
|
createdAt?: number;
|
|
10
10
|
createdBy?: GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails;
|
|
11
11
|
description?: string;
|
|
12
|
-
identity?: string;
|
|
13
12
|
infrastructureType?: TypesInfrastructureType;
|
|
14
13
|
isEnabled?: boolean;
|
|
15
14
|
name?: string;
|
|
@@ -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,7 +1,7 @@
|
|
|
1
|
-
import type { TypesGetProbeResponse } from '../schemas/TypesGetProbeResponse';
|
|
2
1
|
import type { GithubComHarnessHceSaasGraphqlServerApiPagination } from '../schemas/GithubComHarnessHceSaasGraphqlServerApiPagination';
|
|
2
|
+
import type { TypesGetProbeResponse } from '../schemas/TypesGetProbeResponse';
|
|
3
3
|
export interface TypesListProbeResponse {
|
|
4
|
-
data?: TypesGetProbeResponse[];
|
|
5
4
|
pagination?: GithubComHarnessHceSaasGraphqlServerApiPagination;
|
|
5
|
+
probes?: TypesGetProbeResponse[];
|
|
6
6
|
totalNoOfProbes?: number;
|
|
7
7
|
}
|
|
@@ -6,7 +6,6 @@ import type { TypesProbeType } from '../schemas/TypesProbeType';
|
|
|
6
6
|
import type { TemplateVariable } from '../schemas/TemplateVariable';
|
|
7
7
|
export interface TypesProbeRequest {
|
|
8
8
|
description?: string;
|
|
9
|
-
identity?: string;
|
|
10
9
|
infrastructureType?: TypesInfrastructureType;
|
|
11
10
|
isEnabled?: boolean;
|
|
12
11
|
name?: string;
|
|
@@ -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 @@
|
|
|
1
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
-
import type { EventWatcherDeleteEventWatcherResponse } from '../schemas/EventWatcherDeleteEventWatcherResponse';
|
|
3
|
-
import type { ApiRestError } from '../schemas/ApiRestError';
|
|
4
|
-
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
5
|
-
export interface DeleteEventWatcherMutationPathParams {
|
|
6
|
-
identity: string;
|
|
7
|
-
environmentIdentifier: string;
|
|
8
|
-
}
|
|
9
|
-
export interface DeleteEventWatcherMutationQueryParams {
|
|
10
|
-
accountIdentifier: string;
|
|
11
|
-
organizationIdentifier: string;
|
|
12
|
-
projectIdentifier: string;
|
|
13
|
-
}
|
|
14
|
-
export type DeleteEventWatcherOkResponse = EventWatcherDeleteEventWatcherResponse;
|
|
15
|
-
export type DeleteEventWatcherErrorResponse = ApiRestError;
|
|
16
|
-
export interface DeleteEventWatcherProps extends DeleteEventWatcherMutationPathParams, Omit<FetcherOptions<DeleteEventWatcherMutationQueryParams, unknown>, 'url'> {
|
|
17
|
-
queryParams: DeleteEventWatcherMutationQueryParams;
|
|
18
|
-
}
|
|
19
|
-
export interface DeleteEventWatcherResponseContainer {
|
|
20
|
-
body: DeleteEventWatcherOkResponse;
|
|
21
|
-
headers: Headers;
|
|
22
|
-
}
|
|
23
|
-
export declare function deleteEventWatcher(props: DeleteEventWatcherProps): Promise<DeleteEventWatcherResponseContainer>;
|
|
24
|
-
export type DeleteEventWatcherMutationProps<T extends keyof DeleteEventWatcherProps> = Omit<DeleteEventWatcherProps, T> & Partial<Pick<DeleteEventWatcherProps, T>>;
|
|
25
|
-
/**
|
|
26
|
-
* Delete a event watcher
|
|
27
|
-
*/
|
|
28
|
-
export declare function useDeleteEventWatcherMutation<T extends keyof DeleteEventWatcherProps>(props: Pick<Partial<DeleteEventWatcherProps>, T>, options?: Omit<UseMutationOptions<DeleteEventWatcherResponseContainer, DeleteEventWatcherErrorResponse, DeleteEventWatcherMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<DeleteEventWatcherResponseContainer, ApiRestError, DeleteEventWatcherMutationProps<T>, unknown>;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/* eslint-disable */
|
|
2
|
-
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
|
-
// Please do not modify this code directly.
|
|
4
|
-
import { useMutation } from '@tanstack/react-query';
|
|
5
|
-
import { fetcher } from '../../../../custom-fetcher/index.js';
|
|
6
|
-
export function deleteEventWatcher(props) {
|
|
7
|
-
return fetcher(Object.assign({ url: `/rest/v2/eventwatcher/${props.environmentIdentifier}/${props.identity}`, method: 'DELETE' }, props));
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* Delete a event watcher
|
|
11
|
-
*/
|
|
12
|
-
export function useDeleteEventWatcherMutation(props, options) {
|
|
13
|
-
return useMutation((mutateProps) => deleteEventWatcher(Object.assign(Object.assign({}, props), mutateProps)), options);
|
|
14
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
-
import type { EventWatcherEventWatcherDetails } from '../schemas/EventWatcherEventWatcherDetails';
|
|
3
|
-
import type { ApiRestError } from '../schemas/ApiRestError';
|
|
4
|
-
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
5
|
-
export interface GetEventWatcherQueryPathParams {
|
|
6
|
-
identity: string;
|
|
7
|
-
}
|
|
8
|
-
export interface GetEventWatcherQueryQueryParams {
|
|
9
|
-
accountIdentifier: string;
|
|
10
|
-
organizationIdentifier: string;
|
|
11
|
-
projectIdentifier: string;
|
|
12
|
-
environmentIdentifier: string;
|
|
13
|
-
}
|
|
14
|
-
export type GetEventWatcherOkResponse = EventWatcherEventWatcherDetails;
|
|
15
|
-
export type GetEventWatcherErrorResponse = ApiRestError;
|
|
16
|
-
export interface GetEventWatcherProps extends GetEventWatcherQueryPathParams, Omit<FetcherOptions<GetEventWatcherQueryQueryParams, unknown>, 'url'> {
|
|
17
|
-
queryParams: GetEventWatcherQueryQueryParams;
|
|
18
|
-
}
|
|
19
|
-
export interface GetEventWatcherResponseContainer {
|
|
20
|
-
body: GetEventWatcherOkResponse;
|
|
21
|
-
headers: Headers;
|
|
22
|
-
}
|
|
23
|
-
export declare function getEventWatcher(props: GetEventWatcherProps): Promise<GetEventWatcherResponseContainer>;
|
|
24
|
-
/**
|
|
25
|
-
* Get event watcher
|
|
26
|
-
*/
|
|
27
|
-
export declare function useGetEventWatcherQuery(props: GetEventWatcherProps, options?: Omit<UseQueryOptions<GetEventWatcherResponseContainer, GetEventWatcherErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetEventWatcherResponseContainer, ApiRestError>;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/* eslint-disable */
|
|
2
|
-
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
|
-
// Please do not modify this code directly.
|
|
4
|
-
import { useQuery } from '@tanstack/react-query';
|
|
5
|
-
import { fetcher } from '../../../../custom-fetcher/index.js';
|
|
6
|
-
export function getEventWatcher(props) {
|
|
7
|
-
return fetcher(Object.assign({ url: `/rest/v2/eventwatcher/${props.identity}`, method: 'GET' }, props));
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* Get event watcher
|
|
11
|
-
*/
|
|
12
|
-
export function useGetEventWatcherQuery(props, options) {
|
|
13
|
-
return useQuery(['getEventWatcher', props.identity, props.queryParams], ({ signal }) => getEventWatcher(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
-
import type { EventWatcherListEventWatchersResponse } from '../schemas/EventWatcherListEventWatchersResponse';
|
|
3
|
-
import type { ApiRestError } from '../schemas/ApiRestError';
|
|
4
|
-
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
5
|
-
export interface ListEventWatcherQueryQueryParams {
|
|
6
|
-
accountIdentifier: string;
|
|
7
|
-
organizationIdentifier: string;
|
|
8
|
-
projectIdentifier: string;
|
|
9
|
-
/**
|
|
10
|
-
* @default 0
|
|
11
|
-
*/
|
|
12
|
-
page: number;
|
|
13
|
-
/**
|
|
14
|
-
* @default 10
|
|
15
|
-
*/
|
|
16
|
-
limit: number;
|
|
17
|
-
search?: string;
|
|
18
|
-
}
|
|
19
|
-
export type ListEventWatcherOkResponse = EventWatcherListEventWatchersResponse;
|
|
20
|
-
export type ListEventWatcherErrorResponse = ApiRestError;
|
|
21
|
-
export interface ListEventWatcherProps extends Omit<FetcherOptions<ListEventWatcherQueryQueryParams, unknown>, 'url'> {
|
|
22
|
-
queryParams: ListEventWatcherQueryQueryParams;
|
|
23
|
-
}
|
|
24
|
-
export interface ListEventWatcherResponseContainer {
|
|
25
|
-
body: ListEventWatcherOkResponse;
|
|
26
|
-
headers: Headers;
|
|
27
|
-
}
|
|
28
|
-
export declare function listEventWatcher(props: ListEventWatcherProps): Promise<ListEventWatcherResponseContainer>;
|
|
29
|
-
/**
|
|
30
|
-
* List event watchers
|
|
31
|
-
*/
|
|
32
|
-
export declare function useListEventWatcherQuery(props: ListEventWatcherProps, options?: Omit<UseQueryOptions<ListEventWatcherResponseContainer, ListEventWatcherErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListEventWatcherResponseContainer, ApiRestError>;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/* eslint-disable */
|
|
2
|
-
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
|
-
// Please do not modify this code directly.
|
|
4
|
-
import { useQuery } from '@tanstack/react-query';
|
|
5
|
-
import { fetcher } from '../../../../custom-fetcher/index.js';
|
|
6
|
-
export function listEventWatcher(props) {
|
|
7
|
-
return fetcher(Object.assign({ url: `/rest/v2/eventwatcher`, method: 'GET' }, props));
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* List event watchers
|
|
11
|
-
*/
|
|
12
|
-
export function useListEventWatcherQuery(props, options) {
|
|
13
|
-
return useQuery(['listEventWatcher', props.queryParams], ({ signal }) => listEventWatcher(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
-
import type { EventWatcherRegisterEventWatcherResponse } from '../schemas/EventWatcherRegisterEventWatcherResponse';
|
|
3
|
-
import type { ApiRestError } from '../schemas/ApiRestError';
|
|
4
|
-
import type { EventWatcherRegisterEventWatcherRequest } from '../schemas/EventWatcherRegisterEventWatcherRequest';
|
|
5
|
-
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
6
|
-
export interface RegisterEventWatcherMutationQueryParams {
|
|
7
|
-
correlationID?: string;
|
|
8
|
-
accountIdentifier: string;
|
|
9
|
-
organizationIdentifier: string;
|
|
10
|
-
projectIdentifier: string;
|
|
11
|
-
}
|
|
12
|
-
export type RegisterEventWatcherRequestBody = EventWatcherRegisterEventWatcherRequest;
|
|
13
|
-
export type RegisterEventWatcherOkResponse = EventWatcherRegisterEventWatcherResponse;
|
|
14
|
-
export type RegisterEventWatcherErrorResponse = ApiRestError;
|
|
15
|
-
export interface RegisterEventWatcherProps extends Omit<FetcherOptions<RegisterEventWatcherMutationQueryParams, RegisterEventWatcherRequestBody>, 'url'> {
|
|
16
|
-
queryParams: RegisterEventWatcherMutationQueryParams;
|
|
17
|
-
body: RegisterEventWatcherRequestBody;
|
|
18
|
-
}
|
|
19
|
-
export interface RegisterEventWatcherResponseContainer {
|
|
20
|
-
body: RegisterEventWatcherOkResponse;
|
|
21
|
-
headers: Headers;
|
|
22
|
-
}
|
|
23
|
-
export declare function registerEventWatcher(props: RegisterEventWatcherProps): Promise<RegisterEventWatcherResponseContainer>;
|
|
24
|
-
export type RegisterEventWatcherMutationProps<T extends keyof RegisterEventWatcherProps> = Omit<RegisterEventWatcherProps, T> & Partial<Pick<RegisterEventWatcherProps, T>>;
|
|
25
|
-
/**
|
|
26
|
-
* Register a new event watcher
|
|
27
|
-
*/
|
|
28
|
-
export declare function useRegisterEventWatcherMutation<T extends keyof RegisterEventWatcherProps>(props: Pick<Partial<RegisterEventWatcherProps>, T>, options?: Omit<UseMutationOptions<RegisterEventWatcherResponseContainer, RegisterEventWatcherErrorResponse, RegisterEventWatcherMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<RegisterEventWatcherResponseContainer, ApiRestError, RegisterEventWatcherMutationProps<T>, unknown>;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/* eslint-disable */
|
|
2
|
-
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
|
-
// Please do not modify this code directly.
|
|
4
|
-
import { useMutation } from '@tanstack/react-query';
|
|
5
|
-
import { fetcher } from '../../../../custom-fetcher/index.js';
|
|
6
|
-
export function registerEventWatcher(props) {
|
|
7
|
-
return fetcher(Object.assign({ url: `/rest/eventwatcher/register`, method: 'POST' }, props));
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* Register a new event watcher
|
|
11
|
-
*/
|
|
12
|
-
export function useRegisterEventWatcherMutation(props, options) {
|
|
13
|
-
return useMutation((mutateProps) => registerEventWatcher(Object.assign(Object.assign({}, props), mutateProps)), options);
|
|
14
|
-
}
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import type { InfraV2UserDetails } from '../schemas/InfraV2UserDetails';
|
|
2
|
-
import type { InfraV2Env } from '../schemas/InfraV2Env';
|
|
3
|
-
import type { EventWatcherEventWatcherType } from '../schemas/EventWatcherEventWatcherType';
|
|
4
|
-
import type { EventWatcherIdentifiers } from '../schemas/EventWatcherIdentifiers';
|
|
5
|
-
import type { ImageRegistryImageRegistryV2 } from '../schemas/ImageRegistryImageRegistryV2';
|
|
6
|
-
import type { InfraV2MtlsConfiguration } from '../schemas/InfraV2MtlsConfiguration';
|
|
7
|
-
import type { InfraV2ProxyConfiguration } from '../schemas/InfraV2ProxyConfiguration';
|
|
8
|
-
import type { EventWatcherEventWatcherStatus } from '../schemas/EventWatcherEventWatcherStatus';
|
|
9
|
-
import type { V1Toleration } from '../schemas/V1Toleration';
|
|
10
|
-
import type { V1VolumeMount } from '../schemas/V1VolumeMount';
|
|
11
|
-
import type { InfraV2Volumes } from '../schemas/InfraV2Volumes';
|
|
12
|
-
export interface EventWatcherEventWatcherDetails {
|
|
13
|
-
annotation?: {
|
|
14
|
-
[key: string]: string;
|
|
15
|
-
};
|
|
16
|
-
containers?: string;
|
|
17
|
-
createdAt?: string;
|
|
18
|
-
createdBy?: InfraV2UserDetails;
|
|
19
|
-
deploymentType?: string;
|
|
20
|
-
description?: string;
|
|
21
|
-
env?: InfraV2Env[];
|
|
22
|
-
environmentID?: string;
|
|
23
|
-
eventWatcherID?: string;
|
|
24
|
-
eventWatcherNamespace?: string;
|
|
25
|
-
eventWatcherType?: EventWatcherEventWatcherType;
|
|
26
|
-
identifier?: EventWatcherIdentifiers;
|
|
27
|
-
identity?: string;
|
|
28
|
-
imageRegistry?: ImageRegistryImageRegistryV2;
|
|
29
|
-
insecureSkipVerify?: boolean;
|
|
30
|
-
k8sConnectorID?: string;
|
|
31
|
-
label?: {
|
|
32
|
-
[key: string]: string;
|
|
33
|
-
};
|
|
34
|
-
lastHeartbeat?: number;
|
|
35
|
-
mtls?: InfraV2MtlsConfiguration;
|
|
36
|
-
name?: string;
|
|
37
|
-
nodeSelector?: {
|
|
38
|
-
[key: string]: string;
|
|
39
|
-
};
|
|
40
|
-
proxy?: InfraV2ProxyConfiguration;
|
|
41
|
-
runAsGroup?: number;
|
|
42
|
-
runAsUser?: number;
|
|
43
|
-
serviceAccount?: string;
|
|
44
|
-
status?: EventWatcherEventWatcherStatus;
|
|
45
|
-
tags?: string[];
|
|
46
|
-
tolerations?: V1Toleration[];
|
|
47
|
-
updatedAt?: string;
|
|
48
|
-
updatedBy?: InfraV2UserDetails;
|
|
49
|
-
version?: string;
|
|
50
|
-
volumeMounts?: V1VolumeMount[];
|
|
51
|
-
volumes?: InfraV2Volumes[];
|
|
52
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type EventWatcherEventWatcherStatus = 'ACTIVE' | 'INACTIVE' | 'PENDING';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type EventWatcherEventWatcherType = 'K8sWatcher';
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { EventWatcherEventWatcherDetails } from '../schemas/EventWatcherEventWatcherDetails';
|
|
2
|
-
import type { InfraV2Pagination } from '../schemas/InfraV2Pagination';
|
|
3
|
-
export interface EventWatcherListEventWatchersResponse {
|
|
4
|
-
eventWatchers?: EventWatcherEventWatcherDetails[];
|
|
5
|
-
pagination?: InfraV2Pagination;
|
|
6
|
-
totalNoOfEventWatchers?: number;
|
|
7
|
-
}
|
package/dist/chaos-manager/src/services/schemas/EventWatcherRegisterEventWatcherRequest.d.ts
DELETED
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import type { InfraV2Env } from '../schemas/InfraV2Env';
|
|
2
|
-
import type { EventWatcherEventWatcherType } from '../schemas/EventWatcherEventWatcherType';
|
|
3
|
-
import type { EventWatcherIdentifiers } from '../schemas/EventWatcherIdentifiers';
|
|
4
|
-
import type { ImageRegistryImageRegistryV2 } from '../schemas/ImageRegistryImageRegistryV2';
|
|
5
|
-
import type { InfraV2MtlsConfiguration } from '../schemas/InfraV2MtlsConfiguration';
|
|
6
|
-
import type { InfraV2ProxyConfiguration } from '../schemas/InfraV2ProxyConfiguration';
|
|
7
|
-
import type { V1Toleration } from '../schemas/V1Toleration';
|
|
8
|
-
import type { V1VolumeMount } from '../schemas/V1VolumeMount';
|
|
9
|
-
import type { InfraV2Volumes } from '../schemas/InfraV2Volumes';
|
|
10
|
-
export interface EventWatcherRegisterEventWatcherRequest {
|
|
11
|
-
annotation?: {
|
|
12
|
-
[key: string]: string;
|
|
13
|
-
};
|
|
14
|
-
containers?: string;
|
|
15
|
-
description?: string;
|
|
16
|
-
env?: InfraV2Env[];
|
|
17
|
-
environmentID?: string;
|
|
18
|
-
eventWatcherID?: string;
|
|
19
|
-
eventWatcherNamespace?: string;
|
|
20
|
-
eventWatcherType?: EventWatcherEventWatcherType;
|
|
21
|
-
identifier?: EventWatcherIdentifiers;
|
|
22
|
-
identity?: string;
|
|
23
|
-
imageRegistry?: ImageRegistryImageRegistryV2;
|
|
24
|
-
insecureSkipVerify?: boolean;
|
|
25
|
-
k8sConnectorID?: string;
|
|
26
|
-
label?: {
|
|
27
|
-
[key: string]: string;
|
|
28
|
-
};
|
|
29
|
-
mtls?: InfraV2MtlsConfiguration;
|
|
30
|
-
name?: string;
|
|
31
|
-
nodeSelector?: {
|
|
32
|
-
[key: string]: string;
|
|
33
|
-
};
|
|
34
|
-
proxy?: InfraV2ProxyConfiguration;
|
|
35
|
-
runAsGroup?: number;
|
|
36
|
-
runAsUser?: number;
|
|
37
|
-
serviceAccount?: string;
|
|
38
|
-
tags?: string[];
|
|
39
|
-
tolerations?: V1Toleration[];
|
|
40
|
-
volumeMounts?: V1VolumeMount[];
|
|
41
|
-
volumes?: InfraV2Volumes[];
|
|
42
|
-
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|