@harnessio/react-chaos-manager-client 1.39.0 → 1.40.1

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 (58) hide show
  1. package/dist/chaos-manager/src/services/hooks/useGetAccountServiceDetailsQuery.d.ts +8 -0
  2. package/dist/chaos-manager/src/services/hooks/useGetAccountServiceUsageStatsQuery.d.ts +6 -0
  3. package/dist/chaos-manager/src/services/hooks/useGetExperimentationActivityReportQuery.d.ts +6 -0
  4. package/dist/chaos-manager/src/services/hooks/useGetFaultTemplateRevisionsQuery.d.ts +2 -0
  5. package/dist/chaos-manager/src/services/hooks/useGetOnboardingExperimentsQuery.d.ts +2 -0
  6. package/dist/chaos-manager/src/services/hooks/useGetOverallServiceUsageStatsQuery.d.ts +6 -0
  7. package/dist/chaos-manager/src/services/hooks/useGetServiceUsageReportQuery.d.ts +6 -0
  8. package/dist/chaos-manager/src/services/hooks/useListActionTemplateQuery.d.ts +2 -0
  9. package/dist/chaos-manager/src/services/hooks/useListActionTemplateRevisionsQuery.d.ts +2 -0
  10. package/dist/chaos-manager/src/services/hooks/useListActionsQuery.d.ts +2 -0
  11. package/dist/chaos-manager/src/services/hooks/useListChaosEnabledInfraV2Query.d.ts +2 -0
  12. package/dist/chaos-manager/src/services/hooks/useListChaosHubQuery.d.ts +2 -0
  13. package/dist/chaos-manager/src/services/hooks/useListChaosV2ExperimentQuery.d.ts +2 -0
  14. package/dist/chaos-manager/src/services/hooks/useListFaultQuery.d.ts +2 -0
  15. package/dist/chaos-manager/src/services/hooks/useListGamedayV2Query.d.ts +2 -0
  16. package/dist/chaos-manager/src/services/hooks/useListHarnessInfraQuery.d.ts +2 -0
  17. package/dist/chaos-manager/src/services/hooks/useListInfraV2Query.d.ts +2 -0
  18. package/dist/chaos-manager/src/services/hooks/useListInputSetQuery.d.ts +2 -0
  19. package/dist/chaos-manager/src/services/hooks/useListMachineChaosInfraQuery.d.ts +2 -0
  20. package/dist/chaos-manager/src/services/hooks/useListProbeTemplateQuery.d.ts +2 -0
  21. package/dist/chaos-manager/src/services/hooks/useListProbesQuery.d.ts +2 -0
  22. package/dist/chaos-manager/src/services/hooks/useListRecommendationsQuery.d.ts +2 -0
  23. package/dist/chaos-manager/src/services/hooks/useListServiceQuery.d.ts +2 -0
  24. package/dist/chaos-manager/src/services/hooks/useListTargetNetworkMapsQuery.d.ts +2 -0
  25. package/dist/chaos-manager/src/services/hooks/useListV2OnboardingQuery.d.ts +2 -0
  26. package/dist/chaos-manager/src/services/index.d.ts +11 -1
  27. package/dist/chaos-manager/src/services/schemas/ActionActionTemplateProperties.d.ts +2 -2
  28. package/dist/chaos-manager/src/services/schemas/ActionsActionType.d.ts +1 -1
  29. package/dist/chaos-manager/src/services/schemas/CommonContainerTemplate.d.ts +38 -0
  30. package/dist/chaos-manager/src/services/schemas/CommonNodeAffinity.d.ts +6 -0
  31. package/dist/chaos-manager/src/services/schemas/CommonNodeAffinity.js +1 -0
  32. package/dist/chaos-manager/src/services/schemas/CommonPreferredNodeSelector.d.ts +9 -0
  33. package/dist/chaos-manager/src/services/schemas/CommonPreferredNodeSelector.js +4 -0
  34. package/dist/chaos-manager/src/services/schemas/CommonRequiredNodeSelector.d.ts +8 -0
  35. package/dist/chaos-manager/src/services/schemas/CommonRequiredNodeSelector.js +4 -0
  36. package/dist/chaos-manager/src/services/schemas/CommonResourceRequirements.d.ts +8 -0
  37. package/dist/chaos-manager/src/services/schemas/CommonResourceRequirements.js +4 -0
  38. package/dist/chaos-manager/src/services/schemas/CommonVolume.d.ts +14 -0
  39. package/dist/chaos-manager/src/services/schemas/CommonVolume.js +1 -0
  40. package/dist/chaos-manager/src/services/schemas/CommonVolumeInputTemplate.d.ts +8 -0
  41. package/dist/chaos-manager/src/services/schemas/CommonVolumeInputTemplate.js +4 -0
  42. package/dist/chaos-manager/src/services/schemas/CommonVolumeType.d.ts +1 -0
  43. package/dist/chaos-manager/src/services/schemas/CommonVolumeType.js +4 -0
  44. package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasHceSdkCommonProbeV1Probe.d.ts +5 -0
  45. package/dist/chaos-manager/src/services/schemas/IntstrType.d.ts +3 -0
  46. package/dist/chaos-manager/src/services/schemas/ProbeContainerProbe.d.ts +49 -0
  47. package/dist/chaos-manager/src/services/schemas/ProbeContainerProbe.js +1 -0
  48. package/dist/chaos-manager/src/services/schemas/ProbeContainerProbeTemplate.d.ts +40 -0
  49. package/dist/chaos-manager/src/services/schemas/ProbeContainerProbeTemplate.js +1 -0
  50. package/dist/chaos-manager/src/services/schemas/ProbeProbeTemplateProperties.d.ts +2 -0
  51. package/dist/chaos-manager/src/services/schemas/ProbeProbeType.d.ts +1 -1
  52. package/dist/chaos-manager/src/services/schemas/TypesCreateProbeResponse.d.ts +2 -0
  53. package/dist/chaos-manager/src/services/schemas/TypesProbeType.d.ts +1 -1
  54. package/dist/chaos-manager/src/services/schemas/V1ContainerProbeInputs.d.ts +43 -0
  55. package/dist/chaos-manager/src/services/schemas/V1ContainerProbeInputs.js +1 -0
  56. package/package.json +1 -1
  57. package/dist/chaos-manager/src/services/schemas/ActionSourceActionTemplate.d.ts +0 -17
  58. /package/dist/chaos-manager/src/services/schemas/{ActionSourceActionTemplate.js → CommonContainerTemplate.js} +0 -0
@@ -6,14 +6,22 @@ export interface GetAccountServiceDetailsQueryPathParams {
6
6
  }
7
7
  export interface GetAccountServiceDetailsQueryQueryParams {
8
8
  /**
9
+ * @format int64
9
10
  * @default 0
10
11
  */
11
12
  page: number;
12
13
  /**
14
+ * @format int64
13
15
  * @default 10
14
16
  */
15
17
  limit: number;
18
+ /**
19
+ * @format int64
20
+ */
16
21
  startTime: number;
22
+ /**
23
+ * @format int64
24
+ */
17
25
  endTime: number;
18
26
  service?: string;
19
27
  serviceType?: string;
@@ -6,7 +6,13 @@ export interface GetAccountServiceUsageStatsQueryPathParams {
6
6
  }
7
7
  export interface GetAccountServiceUsageStatsQueryQueryParams {
8
8
  groupBy: string;
9
+ /**
10
+ * @format int64
11
+ */
9
12
  startTime: number;
13
+ /**
14
+ * @format int64
15
+ */
10
16
  endTime: number;
11
17
  cumulative?: boolean;
12
18
  }
@@ -4,7 +4,13 @@ export interface GetExperimentationActivityReportQueryPathParams {
4
4
  accountID: string;
5
5
  }
6
6
  export interface GetExperimentationActivityReportQueryQueryParams {
7
+ /**
8
+ * @format int64
9
+ */
7
10
  startTime: number;
11
+ /**
12
+ * @format int64
13
+ */
8
14
  endTime: number;
9
15
  cumulate?: boolean;
10
16
  }
@@ -12,10 +12,12 @@ export interface GetFaultTemplateRevisionsQueryQueryParams {
12
12
  hubIdentity: string;
13
13
  correlationID?: string;
14
14
  /**
15
+ * @format int64
15
16
  * @default 0
16
17
  */
17
18
  page: number;
18
19
  /**
20
+ * @format int64
19
21
  * @default 15
20
22
  */
21
23
  limit: number;
@@ -11,10 +11,12 @@ export interface GetOnboardingExperimentsQueryQueryParams {
11
11
  organizationIdentifier?: string;
12
12
  projectIdentifier?: string;
13
13
  /**
14
+ * @format int64
14
15
  * @default 0
15
16
  */
16
17
  page: number;
17
18
  /**
19
+ * @format int64
18
20
  * @default 5
19
21
  */
20
22
  limit: number;
@@ -5,7 +5,13 @@ export interface GetOverallServiceUsageStatsQueryPathParams {
5
5
  accountID: string;
6
6
  }
7
7
  export interface GetOverallServiceUsageStatsQueryQueryParams {
8
+ /**
9
+ * @format int64
10
+ */
8
11
  startTime: number;
12
+ /**
13
+ * @format int64
14
+ */
9
15
  endTime: number;
10
16
  }
11
17
  export type GetOverallServiceUsageStatsOkResponse = ChaosserviceusageOverallServiceUsageStats;
@@ -4,7 +4,13 @@ export interface GetServiceUsageReportQueryPathParams {
4
4
  accountID: string;
5
5
  }
6
6
  export interface GetServiceUsageReportQueryQueryParams {
7
+ /**
8
+ * @format int64
9
+ */
7
10
  startTime: number;
11
+ /**
12
+ * @format int64
13
+ */
8
14
  endTime: number;
9
15
  cumulate?: boolean;
10
16
  }
@@ -8,10 +8,12 @@ export interface ListActionTemplateQueryQueryParams {
8
8
  projectIdentifier: string;
9
9
  hubIdentity: string;
10
10
  /**
11
+ * @format int64
11
12
  * @default 0
12
13
  */
13
14
  page: number;
14
15
  /**
16
+ * @format int64
15
17
  * @default 15
16
18
  */
17
19
  limit: number;
@@ -11,10 +11,12 @@ export interface ListActionTemplateRevisionsQueryQueryParams {
11
11
  projectIdentifier: string;
12
12
  hubIdentity: string;
13
13
  /**
14
+ * @format int64
14
15
  * @default 0
15
16
  */
16
17
  page: number;
17
18
  /**
19
+ * @format int64
18
20
  * @default 15
19
21
  */
20
22
  limit: number;
@@ -9,10 +9,12 @@ export interface ListActionsQueryQueryParams {
9
9
  hubIdentity?: string;
10
10
  search: string;
11
11
  /**
12
+ * @format int64
12
13
  * @default 0
13
14
  */
14
15
  page: number;
15
16
  /**
17
+ * @format int64
16
18
  * @default 15
17
19
  */
18
20
  limit: number;
@@ -9,10 +9,12 @@ export interface ListChaosEnabledInfraV2QueryQueryParams {
9
9
  projectIdentifier: string;
10
10
  environmentIdentifier?: string;
11
11
  /**
12
+ * @format int64
12
13
  * @default 0
13
14
  */
14
15
  page: number;
15
16
  /**
17
+ * @format int64
16
18
  * @default 10
17
19
  */
18
20
  limit: number;
@@ -9,10 +9,12 @@ export interface ListChaosHubQueryQueryParams {
9
9
  search: string;
10
10
  includeAllScope: boolean;
11
11
  /**
12
+ * @format int64
12
13
  * @default 0
13
14
  */
14
15
  page: number;
15
16
  /**
17
+ * @format int64
16
18
  * @default 15
17
19
  */
18
20
  limit: number;
@@ -7,10 +7,12 @@ export interface ListChaosV2ExperimentQueryQueryParams {
7
7
  organizationIdentifier: string;
8
8
  projectIdentifier: string;
9
9
  /**
10
+ * @format int64
10
11
  * @default 0
11
12
  */
12
13
  page: number;
13
14
  /**
15
+ * @format int64
14
16
  * @default 10
15
17
  */
16
18
  limit: number;
@@ -12,10 +12,12 @@ export interface ListFaultQueryQueryParams {
12
12
  entityType?: string;
13
13
  search: string;
14
14
  /**
15
+ * @format int64
15
16
  * @default 0
16
17
  */
17
18
  page: number;
18
19
  /**
20
+ * @format int64
19
21
  * @default 15
20
22
  */
21
23
  limit: number;
@@ -7,10 +7,12 @@ export interface ListGamedayV2QueryQueryParams {
7
7
  organizationIdentifier: string;
8
8
  projectIdentifier: string;
9
9
  /**
10
+ * @format int64
10
11
  * @default 0
11
12
  */
12
13
  page: number;
13
14
  /**
15
+ * @format int64
14
16
  * @default 10
15
17
  */
16
18
  limit: number;
@@ -8,10 +8,12 @@ export interface ListHarnessInfraQueryQueryParams {
8
8
  projectIdentifier: string;
9
9
  environmentIdentifier: string;
10
10
  /**
11
+ * @format int64
11
12
  * @default 0
12
13
  */
13
14
  page: number;
14
15
  /**
16
+ * @format int64
15
17
  * @default 10
16
18
  */
17
19
  limit: number;
@@ -10,10 +10,12 @@ export interface ListInfraV2QueryQueryParams {
10
10
  includeLegacyInfra?: boolean;
11
11
  environmentIdentifier?: string;
12
12
  /**
13
+ * @format int64
13
14
  * @default 0
14
15
  */
15
16
  page: number;
16
17
  /**
18
+ * @format int64
17
19
  * @default 10
18
20
  */
19
21
  limit: number;
@@ -10,10 +10,12 @@ export interface ListInputSetQueryQueryParams {
10
10
  organizationIdentifier: string;
11
11
  projectIdentifier: string;
12
12
  /**
13
+ * @format int64
13
14
  * @default 0
14
15
  */
15
16
  page: number;
16
17
  /**
18
+ * @format int64
17
19
  * @default 15
18
20
  */
19
21
  limit: number;
@@ -10,10 +10,12 @@ export interface ListMachineChaosInfraQueryQueryParams {
10
10
  minimalResponse?: boolean;
11
11
  infraType: string;
12
12
  /**
13
+ * @format int64
13
14
  * @default 0
14
15
  */
15
16
  page: number;
16
17
  /**
18
+ * @format int64
17
19
  * @default 10
18
20
  */
19
21
  limit: number;
@@ -8,10 +8,12 @@ export interface ListProbeTemplateQueryQueryParams {
8
8
  projectIdentifier: string;
9
9
  hubIdentity: string;
10
10
  /**
11
+ * @format int64
11
12
  * @default 0
12
13
  */
13
14
  page: number;
14
15
  /**
16
+ * @format int64
15
17
  * @default 15
16
18
  */
17
19
  limit: number;
@@ -13,10 +13,12 @@ export interface ListProbesQueryQueryParams {
13
13
  probeIDs?: string;
14
14
  infraType?: string;
15
15
  /**
16
+ * @format int64
16
17
  * @default 1
17
18
  */
18
19
  page?: number;
19
20
  /**
21
+ * @format int64
20
22
  * @default 50
21
23
  */
22
24
  limit?: number;
@@ -7,10 +7,12 @@ export interface ListRecommendationsQueryQueryParams {
7
7
  organizationIdentifier: string;
8
8
  projectIdentifier: string;
9
9
  /**
10
+ * @format int64
10
11
  * @default 0
11
12
  */
12
13
  page: number;
13
14
  /**
15
+ * @format int64
14
16
  * @default 15
15
17
  */
16
18
  limit: number;
@@ -12,10 +12,12 @@ export interface ListServiceQueryQueryParams {
12
12
  environmentIdentifier: string;
13
13
  infraId: string;
14
14
  /**
15
+ * @format int64
15
16
  * @default 0
16
17
  */
17
18
  page: number;
18
19
  /**
20
+ * @format int64
19
21
  * @default 10
20
22
  */
21
23
  limit: number;
@@ -8,10 +8,12 @@ export interface ListTargetNetworkMapsQueryQueryParams {
8
8
  organizationIdentifier: string;
9
9
  projectIdentifier: string;
10
10
  /**
11
+ * @format int64
11
12
  * @default 0
12
13
  */
13
14
  page: number;
14
15
  /**
16
+ * @format int64
15
17
  * @default 10
16
18
  */
17
19
  limit: number;
@@ -4,10 +4,12 @@ import type { ApiRestError } from '../schemas/ApiRestError';
4
4
  import { FetcherOptions } from '../../../../custom-fetcher/index.js';
5
5
  export interface ListV2OnboardingQueryQueryParams {
6
6
  /**
7
+ * @format int64
7
8
  * @default 0
8
9
  */
9
10
  page: number;
10
11
  /**
12
+ * @format int64
11
13
  * @default 10
12
14
  */
13
15
  limit: number;
@@ -402,7 +402,6 @@ export type { ActionActionTemplateRunProperties } from './schemas/ActionActionTe
402
402
  export type { ActionCustomScriptActionTemplate } from './schemas/ActionCustomScriptActionTemplate';
403
403
  export type { ActionDelayActionTemplate } from './schemas/ActionDelayActionTemplate';
404
404
  export type { ActionEnv } from './schemas/ActionEnv';
405
- export type { ActionSourceActionTemplate } from './schemas/ActionSourceActionTemplate';
406
405
  export type { ActionsActionResponse } from './schemas/ActionsActionResponse';
407
406
  export type { ActionsActionType } from './schemas/ActionsActionType';
408
407
  export type { ActionsExecutedByExperiment } from './schemas/ActionsExecutedByExperiment';
@@ -542,9 +541,17 @@ export type { ChaosserviceusageServiceDataResponse } from './schemas/Chaosservic
542
541
  export type { ChaosserviceusageServiceType } from './schemas/ChaosserviceusageServiceType';
543
542
  export type { ChaosserviceusageStatsByType } from './schemas/ChaosserviceusageStatsByType';
544
543
  export type { ChaosserviceusageUsageStats } from './schemas/ChaosserviceusageUsageStats';
544
+ export type { CommonContainerTemplate } from './schemas/CommonContainerTemplate';
545
545
  export type { CommonImportType } from './schemas/CommonImportType';
546
+ export type { CommonNodeAffinity } from './schemas/CommonNodeAffinity';
547
+ export type { CommonPreferredNodeSelector } from './schemas/CommonPreferredNodeSelector';
548
+ export type { CommonRequiredNodeSelector } from './schemas/CommonRequiredNodeSelector';
549
+ export type { CommonResourceRequirements } from './schemas/CommonResourceRequirements';
546
550
  export type { CommonTypesExperimentRunStats } from './schemas/CommonTypesExperimentRunStats';
547
551
  export type { CommonTypesExperimentRunsData } from './schemas/CommonTypesExperimentRunsData';
552
+ export type { CommonVolume } from './schemas/CommonVolume';
553
+ export type { CommonVolumeInputTemplate } from './schemas/CommonVolumeInputTemplate';
554
+ export type { CommonVolumeType } from './schemas/CommonVolumeType';
548
555
  export type { DatabaseAgentConfiguration } from './schemas/DatabaseAgentConfiguration';
549
556
  export type { DatabaseConnection } from './schemas/DatabaseConnection';
550
557
  export type { DatabaseConnectionType } from './schemas/DatabaseConnectionType';
@@ -876,6 +883,8 @@ export type { ProbeAuthorizationTemplate } from './schemas/ProbeAuthorizationTem
876
883
  export type { ProbeCmdProbeTemplate } from './schemas/ProbeCmdProbeTemplate';
877
884
  export type { ProbeComparator } from './schemas/ProbeComparator';
878
885
  export type { ProbeComparatorTemplate } from './schemas/ProbeComparatorTemplate';
886
+ export type { ProbeContainerProbe } from './schemas/ProbeContainerProbe';
887
+ export type { ProbeContainerProbeTemplate } from './schemas/ProbeContainerProbeTemplate';
879
888
  export type { ProbeDatadogMetrics } from './schemas/ProbeDatadogMetrics';
880
889
  export type { ProbeDatadogMetricsTemplate } from './schemas/ProbeDatadogMetricsTemplate';
881
890
  export type { ProbeDatadogProbe } from './schemas/ProbeDatadogProbe';
@@ -1053,6 +1062,7 @@ export type { V1ConfigMapEnvSource } from './schemas/V1ConfigMapEnvSource';
1053
1062
  export type { V1ConfigMapKeySelector } from './schemas/V1ConfigMapKeySelector';
1054
1063
  export type { V1ConfigMapProjection } from './schemas/V1ConfigMapProjection';
1055
1064
  export type { V1ConfigMapVolumeSource } from './schemas/V1ConfigMapVolumeSource';
1065
+ export type { V1ContainerProbeInputs } from './schemas/V1ContainerProbeInputs';
1056
1066
  export type { V1CsiVolumeSource } from './schemas/V1CsiVolumeSource';
1057
1067
  export type { V1DatadogMetrics } from './schemas/V1DatadogMetrics';
1058
1068
  export type { V1DownwardApiProjection } from './schemas/V1DownwardApiProjection';
@@ -1,8 +1,8 @@
1
+ import type { CommonContainerTemplate } from '../schemas/CommonContainerTemplate';
1
2
  import type { ActionCustomScriptActionTemplate } from '../schemas/ActionCustomScriptActionTemplate';
2
3
  import type { ActionDelayActionTemplate } from '../schemas/ActionDelayActionTemplate';
3
- import type { ActionSourceActionTemplate } from '../schemas/ActionSourceActionTemplate';
4
4
  export interface ActionActionTemplateProperties {
5
+ containerAction?: CommonContainerTemplate;
5
6
  customScriptAction?: ActionCustomScriptActionTemplate;
6
7
  delayAction?: ActionDelayActionTemplate;
7
- sourceAction?: ActionSourceActionTemplate;
8
8
  }
@@ -1 +1 @@
1
- export type ActionsActionType = 'customScript' | 'delay';
1
+ export type ActionsActionType = 'container' | 'customScript' | 'delay';
@@ -0,0 +1,38 @@
1
+ import type { CommonNodeAffinity } from '../schemas/CommonNodeAffinity';
2
+ import type { V1SecurityContext } from '../schemas/V1SecurityContext';
3
+ import type { K8sIoApiCoreV1EnvVar } from '../schemas/K8sIoApiCoreV1EnvVar';
4
+ import type { V1PullPolicy } from '../schemas/V1PullPolicy';
5
+ import type { V1PodSecurityContext } from '../schemas/V1PodSecurityContext';
6
+ import type { CommonResourceRequirements } from '../schemas/CommonResourceRequirements';
7
+ import type { V1Toleration } from '../schemas/V1Toleration';
8
+ import type { V1VolumeMount } from '../schemas/V1VolumeMount';
9
+ import type { CommonVolume } from '../schemas/CommonVolume';
10
+ export interface CommonContainerTemplate {
11
+ affinity?: CommonNodeAffinity;
12
+ annotations?: {
13
+ [key: string]: string;
14
+ };
15
+ args?: string;
16
+ command?: string[];
17
+ containerSecurityContext?: V1SecurityContext;
18
+ env?: K8sIoApiCoreV1EnvVar[];
19
+ hostIPC?: boolean;
20
+ hostNetwork?: boolean;
21
+ hostPID?: boolean;
22
+ image?: string;
23
+ imagePullPolicy?: V1PullPolicy;
24
+ imagePullSecrets?: string[];
25
+ labels?: {
26
+ [key: string]: string;
27
+ };
28
+ namespace?: string;
29
+ nodeSelector?: {
30
+ [key: string]: string;
31
+ };
32
+ podSecurityContext?: V1PodSecurityContext;
33
+ resources?: CommonResourceRequirements;
34
+ serviceAccountName?: string;
35
+ tolerations?: V1Toleration[];
36
+ volumeMounts?: V1VolumeMount[];
37
+ volumes?: CommonVolume[];
38
+ }
@@ -0,0 +1,6 @@
1
+ import type { CommonPreferredNodeSelector } from '../schemas/CommonPreferredNodeSelector';
2
+ import type { CommonRequiredNodeSelector } from '../schemas/CommonRequiredNodeSelector';
3
+ export interface CommonNodeAffinity {
4
+ preferred?: CommonPreferredNodeSelector[];
5
+ required?: CommonRequiredNodeSelector[];
6
+ }
@@ -0,0 +1,9 @@
1
+ export interface CommonPreferredNodeSelector {
2
+ key?: string;
3
+ /**
4
+ * default: In
5
+ */
6
+ operator?: string;
7
+ values?: string;
8
+ weight?: string;
9
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1,8 @@
1
+ export interface CommonRequiredNodeSelector {
2
+ key?: string;
3
+ /**
4
+ * default: In
5
+ */
6
+ operator?: string;
7
+ values?: string;
8
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1,8 @@
1
+ export interface CommonResourceRequirements {
2
+ limits?: {
3
+ [key: string]: string;
4
+ };
5
+ requests?: {
6
+ [key: string]: string;
7
+ };
8
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1,14 @@
1
+ import type { CommonVolumeInputTemplate } from '../schemas/CommonVolumeInputTemplate';
2
+ import type { V1EmptyDirVolumeSource } from '../schemas/V1EmptyDirVolumeSource';
3
+ import type { V1HostPathVolumeSource } from '../schemas/V1HostPathVolumeSource';
4
+ import type { V1PersistentVolumeClaimVolumeSource } from '../schemas/V1PersistentVolumeClaimVolumeSource';
5
+ import type { CommonVolumeType } from '../schemas/CommonVolumeType';
6
+ export interface CommonVolume {
7
+ configMap?: CommonVolumeInputTemplate;
8
+ emptyDir?: V1EmptyDirVolumeSource;
9
+ hostPath?: V1HostPathVolumeSource;
10
+ name?: string;
11
+ persistentVolumeClaim?: V1PersistentVolumeClaimVolumeSource;
12
+ secret?: CommonVolumeInputTemplate;
13
+ type?: CommonVolumeType;
14
+ }
@@ -0,0 +1,8 @@
1
+ export interface CommonVolumeInputTemplate {
2
+ defaultMode?: string;
3
+ items?: {
4
+ [key: string]: string;
5
+ };
6
+ name?: string;
7
+ optional?: boolean;
8
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1 @@
1
+ export type CommonVolumeType = 'ConfigMap' | 'EmptyDir' | 'HostPath' | 'PersistentVolumeClaim' | 'Secret';
@@ -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,5 +1,6 @@
1
1
  import type { V1ApmProbeInputs } from '../schemas/V1ApmProbeInputs';
2
2
  import type { GithubComHarnessHceSaasHceSdkCommonProbeV1CmdProbeInputs } from '../schemas/GithubComHarnessHceSaasHceSdkCommonProbeV1CmdProbeInputs';
3
+ import type { V1ContainerProbeInputs } from '../schemas/V1ContainerProbeInputs';
3
4
  import type { GithubComHarnessHceSaasHceSdkCommonProbeV1DatadogProbeInputs } from '../schemas/GithubComHarnessHceSaasHceSdkCommonProbeV1DatadogProbeInputs';
4
5
  import type { GithubComHarnessHceSaasHceSdkCommonProbeV1DynatraceProbeInputs } from '../schemas/GithubComHarnessHceSaasHceSdkCommonProbeV1DynatraceProbeInputs';
5
6
  import type { GithubComHarnessHceSaasHceSdkCommonProbeV1HttpProbeInputs } from '../schemas/GithubComHarnessHceSaasHceSdkCommonProbeV1HttpProbeInputs';
@@ -17,6 +18,10 @@ export interface GithubComHarnessHceSaasHceSdkCommonProbeV1Probe {
17
18
  * inputs needed for the cmd probe
18
19
  */
19
20
  'cmdProbe/inputs'?: GithubComHarnessHceSaasHceSdkCommonProbeV1CmdProbeInputs;
21
+ /**
22
+ * ContainerInputs contains the inputs required for container probe
23
+ */
24
+ 'containerProbe/inputs'?: V1ContainerProbeInputs;
20
25
  /**
21
26
  * Data contains the manifest/data for the resource, which need to be created
22
27
  * it supported for create operation only
@@ -1 +1,4 @@
1
+ /**
2
+ * @format int64
3
+ */
1
4
  export type IntstrType = number;
@@ -0,0 +1,49 @@
1
+ import type { CommonNodeAffinity } from '../schemas/CommonNodeAffinity';
2
+ import type { ProbeComparator } from '../schemas/ProbeComparator';
3
+ import type { V1SecurityContext } from '../schemas/V1SecurityContext';
4
+ import type { K8sIoApiCoreV1EnvVar } from '../schemas/K8sIoApiCoreV1EnvVar';
5
+ import type { V1PullPolicy } from '../schemas/V1PullPolicy';
6
+ import type { V1PodSecurityContext } from '../schemas/V1PodSecurityContext';
7
+ import type { CommonResourceRequirements } from '../schemas/CommonResourceRequirements';
8
+ import type { V1Toleration } from '../schemas/V1Toleration';
9
+ import type { V1VolumeMount } from '../schemas/V1VolumeMount';
10
+ import type { CommonVolume } from '../schemas/CommonVolume';
11
+ export interface ProbeContainerProbe {
12
+ affinity?: CommonNodeAffinity;
13
+ annotations?: {
14
+ [key: string]: string;
15
+ };
16
+ args?: string;
17
+ attempt?: {};
18
+ command?: string[];
19
+ comparator?: ProbeComparator;
20
+ containerSecurityContext?: V1SecurityContext;
21
+ env?: K8sIoApiCoreV1EnvVar[];
22
+ hostIPC?: boolean;
23
+ hostNetwork?: boolean;
24
+ hostPID?: boolean;
25
+ image?: string;
26
+ imagePullPolicy?: V1PullPolicy;
27
+ imagePullSecrets?: string[];
28
+ initialDelay?: string;
29
+ initialDelaySeconds?: {};
30
+ interval?: string;
31
+ labels?: {
32
+ [key: string]: string;
33
+ };
34
+ namespace?: string;
35
+ nodeSelector?: {
36
+ [key: string]: string;
37
+ };
38
+ podSecurityContext?: V1PodSecurityContext;
39
+ pollingInterval?: string;
40
+ probeTimeout?: string;
41
+ resources?: CommonResourceRequirements;
42
+ retry?: {};
43
+ serviceAccountName?: string;
44
+ stopOnFailure?: boolean;
45
+ tolerations?: V1Toleration[];
46
+ verbosity?: string;
47
+ volumeMounts?: V1VolumeMount[];
48
+ volumes?: CommonVolume[];
49
+ }
@@ -0,0 +1,40 @@
1
+ import type { CommonNodeAffinity } from '../schemas/CommonNodeAffinity';
2
+ import type { ProbeComparatorTemplate } from '../schemas/ProbeComparatorTemplate';
3
+ import type { V1SecurityContext } from '../schemas/V1SecurityContext';
4
+ import type { K8sIoApiCoreV1EnvVar } from '../schemas/K8sIoApiCoreV1EnvVar';
5
+ import type { V1PullPolicy } from '../schemas/V1PullPolicy';
6
+ import type { V1PodSecurityContext } from '../schemas/V1PodSecurityContext';
7
+ import type { CommonResourceRequirements } from '../schemas/CommonResourceRequirements';
8
+ import type { V1Toleration } from '../schemas/V1Toleration';
9
+ import type { V1VolumeMount } from '../schemas/V1VolumeMount';
10
+ import type { CommonVolume } from '../schemas/CommonVolume';
11
+ export interface ProbeContainerProbeTemplate {
12
+ affinity?: CommonNodeAffinity;
13
+ annotations?: {
14
+ [key: string]: string;
15
+ };
16
+ args?: string;
17
+ command?: string[];
18
+ comparator?: ProbeComparatorTemplate;
19
+ containerSecurityContext?: V1SecurityContext;
20
+ env?: K8sIoApiCoreV1EnvVar[];
21
+ hostIPC?: boolean;
22
+ hostNetwork?: boolean;
23
+ hostPID?: boolean;
24
+ image?: string;
25
+ imagePullPolicy?: V1PullPolicy;
26
+ imagePullSecrets?: string[];
27
+ labels?: {
28
+ [key: string]: string;
29
+ };
30
+ namespace?: string;
31
+ nodeSelector?: {
32
+ [key: string]: string;
33
+ };
34
+ podSecurityContext?: V1PodSecurityContext;
35
+ resources?: CommonResourceRequirements;
36
+ serviceAccountName?: string;
37
+ tolerations?: V1Toleration[];
38
+ volumeMounts?: V1VolumeMount[];
39
+ volumes?: CommonVolume[];
40
+ }
@@ -1,5 +1,6 @@
1
1
  import type { ProbeApmProbeTemplate } from '../schemas/ProbeApmProbeTemplate';
2
2
  import type { ProbeCmdProbeTemplate } from '../schemas/ProbeCmdProbeTemplate';
3
+ import type { ProbeContainerProbeTemplate } from '../schemas/ProbeContainerProbeTemplate';
3
4
  import type { ProbeDatadogProbeTemplate } from '../schemas/ProbeDatadogProbeTemplate';
4
5
  import type { ProbeDynatraceProbeTemplate } from '../schemas/ProbeDynatraceProbeTemplate';
5
6
  import type { ProbeHttpProbeTemplate } from '../schemas/ProbeHttpProbeTemplate';
@@ -9,6 +10,7 @@ import type { ProbeSloProbeTemplate } from '../schemas/ProbeSloProbeTemplate';
9
10
  export interface ProbeProbeTemplateProperties {
10
11
  apmProbe?: ProbeApmProbeTemplate;
11
12
  cmdProbe?: ProbeCmdProbeTemplate;
13
+ containerProbe?: ProbeContainerProbeTemplate;
12
14
  datadogProbe?: ProbeDatadogProbeTemplate;
13
15
  dynatraceProbe?: ProbeDynatraceProbeTemplate;
14
16
  httpProbe?: ProbeHttpProbeTemplate;
@@ -1 +1 @@
1
- export type ProbeProbeType = 'cmdProbe' | 'datadogProbe' | 'dynatraceProbe' | 'httpProbe' | 'k8sProbe' | 'promProbe' | 'sloProbe';
1
+ export type ProbeProbeType = 'cmdProbe' | 'containerProbe' | 'datadogProbe' | 'dynatraceProbe' | 'httpProbe' | 'k8sProbe' | 'promProbe' | 'sloProbe';
@@ -1,5 +1,6 @@
1
1
  import type { ProbeApmProbe } from '../schemas/ProbeApmProbe';
2
2
  import type { ProbeHttpProbe } from '../schemas/ProbeHttpProbe';
3
+ import type { ProbeContainerProbe } from '../schemas/ProbeContainerProbe';
3
4
  import type { ProbeK8SProbe } from '../schemas/ProbeK8SProbe';
4
5
  import type { ProbeKubernetesCmdProbe } from '../schemas/ProbeKubernetesCmdProbe';
5
6
  import type { ProbeDatadogProbe } from '../schemas/ProbeDatadogProbe';
@@ -12,6 +13,7 @@ import type { ProbeWindowsCmdProbe } from '../schemas/ProbeWindowsCmdProbe';
12
13
  export interface TypesCreateProbeResponse {
13
14
  apmProperties?: ProbeApmProbe;
14
15
  containerHttpProperties?: ProbeHttpProbe;
16
+ containerProbeProperties?: ProbeContainerProbe;
15
17
  description?: string;
16
18
  k8sProperties?: ProbeK8SProbe;
17
19
  kubernetesCmdProperties?: ProbeKubernetesCmdProbe;
@@ -1 +1 @@
1
- export type TypesProbeType = 'apmProbe' | 'cmdProbe' | 'datadogProbe' | 'dynatraceProbe' | 'httpProbe' | 'k8sProbe' | 'promProbe' | 'sloProbe';
1
+ export type TypesProbeType = 'apmProbe' | 'cmdProbe' | 'containerProbe' | 'datadogProbe' | 'dynatraceProbe' | 'httpProbe' | 'k8sProbe' | 'promProbe' | 'sloProbe';
@@ -0,0 +1,43 @@
1
+ import type { CommonNodeAffinity } from '../schemas/CommonNodeAffinity';
2
+ import type { GithubComHarnessHceSaasHceSdkCommonProbeV1ComparatorInfo } from '../schemas/GithubComHarnessHceSaasHceSdkCommonProbeV1ComparatorInfo';
3
+ import type { V1SecurityContext } from '../schemas/V1SecurityContext';
4
+ import type { K8sIoApiCoreV1EnvVar } from '../schemas/K8sIoApiCoreV1EnvVar';
5
+ import type { V1PullPolicy } from '../schemas/V1PullPolicy';
6
+ import type { V1PodSecurityContext } from '../schemas/V1PodSecurityContext';
7
+ import type { CommonResourceRequirements } from '../schemas/CommonResourceRequirements';
8
+ import type { V1Toleration } from '../schemas/V1Toleration';
9
+ import type { V1VolumeMount } from '../schemas/V1VolumeMount';
10
+ import type { CommonVolume } from '../schemas/CommonVolume';
11
+ export interface V1ContainerProbeInputs {
12
+ affinity?: CommonNodeAffinity;
13
+ annotations?: {
14
+ [key: string]: string;
15
+ };
16
+ args?: string;
17
+ command?: string[];
18
+ /**
19
+ * Comparator check for the correctness of the probe output
20
+ */
21
+ comparator?: GithubComHarnessHceSaasHceSdkCommonProbeV1ComparatorInfo;
22
+ containerSecurityContext?: V1SecurityContext;
23
+ env?: K8sIoApiCoreV1EnvVar[];
24
+ hostIPC?: boolean;
25
+ hostNetwork?: boolean;
26
+ hostPID?: boolean;
27
+ image?: string;
28
+ imagePullPolicy?: V1PullPolicy;
29
+ imagePullSecrets?: string[];
30
+ labels?: {
31
+ [key: string]: string;
32
+ };
33
+ namespace?: string;
34
+ nodeSelector?: {
35
+ [key: string]: string;
36
+ };
37
+ podSecurityContext?: V1PodSecurityContext;
38
+ resources?: CommonResourceRequirements;
39
+ serviceAccountName?: string;
40
+ tolerations?: V1Toleration[];
41
+ volumeMounts?: V1VolumeMount[];
42
+ volumes?: CommonVolume[];
43
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-chaos-manager-client",
3
- "version": "1.39.0",
3
+ "version": "1.40.1",
4
4
  "description": "Harness React Chaos Manager Service Client - APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",
@@ -1,17 +0,0 @@
1
- import type { ActionEnv } from '../schemas/ActionEnv';
2
- export interface ActionSourceActionTemplate {
3
- args?: {};
4
- command?: {};
5
- env?: ActionEnv[];
6
- image?: string;
7
- imagePullPolicy?: string;
8
- imagePullSecrets?: {};
9
- inheritInputs?: boolean;
10
- nodeSelector?: {};
11
- privileged?: boolean;
12
- resources?: {};
13
- serviceAccountName?: string;
14
- tolerations?: {};
15
- volumeMount?: {};
16
- volumes?: {};
17
- }