@harnessio/react-chaos-manager-client 0.7.0 → 0.9.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 (193) hide show
  1. package/dist/chaos-manager/src/services/hooks/useCreateInputSetMutation.d.ts +1 -0
  2. package/dist/chaos-manager/src/services/hooks/useDeleteInputSetMutation.d.ts +1 -0
  3. package/dist/chaos-manager/src/services/hooks/useGetChaosV2ExperimentRunInternalApiMutation.d.ts +31 -0
  4. package/dist/chaos-manager/src/services/hooks/useGetChaosV2ExperimentRunInternalApiMutation.js +14 -0
  5. package/dist/chaos-manager/src/services/hooks/useGetExperimentRunTimelineViewQuery.d.ts +28 -0
  6. package/dist/chaos-manager/src/services/hooks/useGetExperimentRunTimelineViewQuery.js +14 -0
  7. package/dist/chaos-manager/src/services/hooks/useGetExperimentRunsOverviewStatsQuery.d.ts +10 -1
  8. package/dist/chaos-manager/src/services/hooks/useGetExperimentRunsOverviewStatsQuery.js +1 -1
  9. package/dist/chaos-manager/src/services/hooks/useGetInfraTokenQuery.d.ts +27 -0
  10. package/dist/chaos-manager/src/services/hooks/useGetInfraTokenQuery.js +14 -0
  11. package/dist/chaos-manager/src/services/hooks/useListApplicationQuery.d.ts +27 -0
  12. package/dist/chaos-manager/src/services/hooks/useListApplicationQuery.js +14 -0
  13. package/dist/chaos-manager/src/services/hooks/useListFunctionQuery.d.ts +28 -0
  14. package/dist/chaos-manager/src/services/hooks/useListFunctionQuery.js +14 -0
  15. package/dist/chaos-manager/src/services/hooks/useRunChaosV2InternalApiMutation.d.ts +30 -0
  16. package/dist/chaos-manager/src/services/hooks/useRunChaosV2InternalApiMutation.js +14 -0
  17. package/dist/chaos-manager/src/services/hooks/useUpdateEmissaryMutation.d.ts +31 -0
  18. package/dist/chaos-manager/src/services/hooks/useUpdateEmissaryMutation.js +14 -0
  19. package/dist/chaos-manager/src/services/hooks/useUpdateInputSetMutation.d.ts +1 -0
  20. package/dist/chaos-manager/src/services/index.d.ts +99 -1
  21. package/dist/chaos-manager/src/services/index.js +7 -0
  22. package/dist/chaos-manager/src/services/schemas/ApplicationchaostargetListApplicationResponse.d.ts +3 -0
  23. package/dist/chaos-manager/src/services/schemas/ApplicationchaostargetListApplicationResponse.js +4 -0
  24. package/dist/chaos-manager/src/services/schemas/ApplicationchaostargetListFunctionResponse.d.ts +3 -0
  25. package/dist/chaos-manager/src/services/schemas/ApplicationchaostargetListFunctionResponse.js +4 -0
  26. package/dist/chaos-manager/src/services/schemas/ChaosExecutionNodesActionData.d.ts +3 -0
  27. package/dist/chaos-manager/src/services/schemas/ChaosExecutionNodesActionData.js +4 -0
  28. package/dist/chaos-manager/src/services/schemas/ChaosExecutionNodesChaosData.d.ts +8 -0
  29. package/dist/chaos-manager/src/services/schemas/ChaosExecutionNodesChaosData.js +1 -0
  30. package/dist/chaos-manager/src/services/schemas/ChaosExecutionNodesChaosExecutionNode.d.ts +23 -0
  31. package/dist/chaos-manager/src/services/schemas/ChaosExecutionNodesChaosExecutionNode.js +1 -0
  32. package/dist/chaos-manager/src/services/schemas/ChaosExecutionNodesChaosExecutionResponse.d.ts +23 -0
  33. package/dist/chaos-manager/src/services/schemas/ChaosExecutionNodesChaosExecutionResponse.js +1 -0
  34. package/dist/chaos-manager/src/services/schemas/ChaosExecutionNodesChaosStepStatus.d.ts +1 -0
  35. package/dist/chaos-manager/src/services/schemas/ChaosExecutionNodesChaosStepStatus.js +4 -0
  36. package/dist/chaos-manager/src/services/schemas/ChaosExecutionNodesChaosStepType.d.ts +1 -0
  37. package/dist/chaos-manager/src/services/schemas/ChaosExecutionNodesChaosStepType.js +4 -0
  38. package/dist/chaos-manager/src/services/schemas/ChaosExecutionNodesCommandProbe.d.ts +3 -0
  39. package/dist/chaos-manager/src/services/schemas/ChaosExecutionNodesCommandProbe.js +4 -0
  40. package/dist/chaos-manager/src/services/schemas/ChaosExecutionNodesErrorData.d.ts +4 -0
  41. package/dist/chaos-manager/src/services/schemas/ChaosExecutionNodesErrorData.js +4 -0
  42. package/dist/chaos-manager/src/services/schemas/ChaosExecutionNodesFaultData.d.ts +8 -0
  43. package/dist/chaos-manager/src/services/schemas/ChaosExecutionNodesFaultData.js +1 -0
  44. package/dist/chaos-manager/src/services/schemas/ChaosExecutionNodesFaultDetails.d.ts +5 -0
  45. package/dist/chaos-manager/src/services/schemas/ChaosExecutionNodesFaultDetails.js +1 -0
  46. package/dist/chaos-manager/src/services/schemas/ChaosExecutionNodesHelperPodDetails.d.ts +4 -0
  47. package/dist/chaos-manager/src/services/schemas/ChaosExecutionNodesHelperPodDetails.js +4 -0
  48. package/dist/chaos-manager/src/services/schemas/ChaosExecutionNodesHttpProbe.d.ts +5 -0
  49. package/dist/chaos-manager/src/services/schemas/ChaosExecutionNodesHttpProbe.js +4 -0
  50. package/dist/chaos-manager/src/services/schemas/ChaosExecutionNodesProbeData.d.ts +12 -0
  51. package/dist/chaos-manager/src/services/schemas/ChaosExecutionNodesProbeData.js +1 -0
  52. package/dist/chaos-manager/src/services/schemas/ChaosExecutionNodesProbeIterations.d.ts +11 -0
  53. package/dist/chaos-manager/src/services/schemas/ChaosExecutionNodesProbeIterations.js +1 -0
  54. package/dist/chaos-manager/src/services/schemas/ChaosExecutionNodesPromProbe.d.ts +3 -0
  55. package/dist/chaos-manager/src/services/schemas/ChaosExecutionNodesPromProbe.js +4 -0
  56. package/dist/chaos-manager/src/services/schemas/ChaosInfrastructureV2ChaosInfraV2.d.ts +1 -0
  57. package/dist/chaos-manager/src/services/schemas/ChaosInfrastructureV2K8sInfraV2SpecIdentifiers.d.ts +1 -1
  58. package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasHceSdkCommonProbeV1Probe.d.ts +65 -0
  59. package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasHceSdkCommonProbeV1Probe.js +1 -0
  60. package/dist/chaos-manager/src/services/schemas/GithubComWingsSoftwareDdcrPkgTypesChaosInputs.d.ts +23 -0
  61. package/dist/chaos-manager/src/services/schemas/GithubComWingsSoftwareDdcrPkgTypesChaosInputs.js +1 -0
  62. package/dist/chaos-manager/src/services/schemas/GithubComWingsSoftwareDdcrPkgTypesDefinition.d.ts +6 -0
  63. package/dist/chaos-manager/src/services/schemas/GithubComWingsSoftwareDdcrPkgTypesDefinition.js +1 -0
  64. package/dist/chaos-manager/src/services/schemas/K8sinfraGetInfraTokenResponse.d.ts +3 -0
  65. package/dist/chaos-manager/src/services/schemas/K8sinfraGetInfraTokenResponse.js +4 -0
  66. package/dist/chaos-manager/src/services/schemas/K8sinfraUpdateEmissaryUrlRequest.d.ts +3 -0
  67. package/dist/chaos-manager/src/services/schemas/K8sinfraUpdateEmissaryUrlRequest.js +4 -0
  68. package/dist/chaos-manager/src/services/schemas/K8sinfraUpdateEmissaryUrlResponse.d.ts +3 -0
  69. package/dist/chaos-manager/src/services/schemas/K8sinfraUpdateEmissaryUrlResponse.js +4 -0
  70. package/dist/chaos-manager/src/services/schemas/ModelConditionDetails.d.ts +7 -0
  71. package/dist/chaos-manager/src/services/schemas/ModelConditionDetails.js +1 -0
  72. package/dist/chaos-manager/src/services/schemas/ModelInfrastructure.d.ts +87 -0
  73. package/dist/chaos-manager/src/services/schemas/ModelInfrastructure.js +1 -0
  74. package/dist/chaos-manager/src/services/schemas/ModelProbeMap.d.ts +4 -0
  75. package/dist/chaos-manager/src/services/schemas/ModelProbeMap.js +4 -0
  76. package/dist/chaos-manager/src/services/schemas/ModelRecurrence.d.ts +6 -0
  77. package/dist/chaos-manager/src/services/schemas/ModelRecurrence.js +1 -0
  78. package/dist/chaos-manager/src/services/schemas/ModelRecurrenceSpec.d.ts +4 -0
  79. package/dist/chaos-manager/src/services/schemas/ModelRecurrenceSpec.js +4 -0
  80. package/dist/chaos-manager/src/services/schemas/ModelRecurrenceType.d.ts +1 -0
  81. package/dist/chaos-manager/src/services/schemas/ModelRecurrenceType.js +4 -0
  82. package/dist/chaos-manager/src/services/schemas/ModelRuleDetails.d.ts +11 -0
  83. package/dist/chaos-manager/src/services/schemas/ModelRuleDetails.js +1 -0
  84. package/dist/chaos-manager/src/services/schemas/ModelSecurityGovernance.d.ts +11 -0
  85. package/dist/chaos-manager/src/services/schemas/ModelSecurityGovernance.js +1 -0
  86. package/dist/chaos-manager/src/services/schemas/ModelSecurityGovernanceNodeData.d.ts +6 -0
  87. package/dist/chaos-manager/src/services/schemas/ModelSecurityGovernanceNodeData.js +1 -0
  88. package/dist/chaos-manager/src/services/schemas/ModelSecurityGovernancePhase.d.ts +1 -0
  89. package/dist/chaos-manager/src/services/schemas/ModelSecurityGovernancePhase.js +4 -0
  90. package/dist/chaos-manager/src/services/schemas/ModelTimeWindow.d.ts +8 -0
  91. package/dist/chaos-manager/src/services/schemas/ModelTimeWindow.js +1 -0
  92. package/dist/chaos-manager/src/services/schemas/ModelWeightages.d.ts +10 -0
  93. package/dist/chaos-manager/src/services/schemas/ModelWeightages.js +4 -0
  94. package/dist/chaos-manager/src/services/schemas/ModelWorkflowRun.d.ts +141 -0
  95. package/dist/chaos-manager/src/services/schemas/ModelWorkflowRun.js +1 -0
  96. package/dist/chaos-manager/src/services/schemas/TemplateVariable.d.ts +2 -1
  97. package/dist/chaos-manager/src/services/schemas/TypesApplication.d.ts +4 -0
  98. package/dist/chaos-manager/src/services/schemas/TypesApplication.js +4 -0
  99. package/dist/chaos-manager/src/services/schemas/TypesCleanupPolicy.d.ts +1 -0
  100. package/dist/chaos-manager/src/services/schemas/TypesCleanupPolicy.js +4 -0
  101. package/dist/chaos-manager/src/services/schemas/TypesConfigMap.d.ts +5 -0
  102. package/dist/chaos-manager/src/services/schemas/TypesConfigMap.js +4 -0
  103. package/dist/chaos-manager/src/services/schemas/TypesExperimentComponents.d.ts +27 -0
  104. package/dist/chaos-manager/src/services/schemas/TypesExperimentComponents.js +1 -0
  105. package/dist/chaos-manager/src/services/schemas/TypesHostFile.d.ts +7 -0
  106. package/dist/chaos-manager/src/services/schemas/TypesHostFile.js +1 -0
  107. package/dist/chaos-manager/src/services/schemas/TypesInternalExperimentRunRequest.d.ts +8 -0
  108. package/dist/chaos-manager/src/services/schemas/TypesInternalExperimentRunRequest.js +1 -0
  109. package/dist/chaos-manager/src/services/schemas/TypesProjectedVolumes.d.ts +7 -0
  110. package/dist/chaos-manager/src/services/schemas/TypesProjectedVolumes.js +1 -0
  111. package/dist/chaos-manager/src/services/schemas/TypesSecret.d.ts +5 -0
  112. package/dist/chaos-manager/src/services/schemas/TypesSecret.js +4 -0
  113. package/dist/chaos-manager/src/services/schemas/TypesSecurityContext.d.ts +6 -0
  114. package/dist/chaos-manager/src/services/schemas/TypesSecurityContext.js +1 -0
  115. package/dist/chaos-manager/src/services/schemas/TypesSelector.d.ts +4 -0
  116. package/dist/chaos-manager/src/services/schemas/TypesSelector.js +1 -0
  117. package/dist/chaos-manager/src/services/schemas/TypesSidecar.d.ts +11 -0
  118. package/dist/chaos-manager/src/services/schemas/TypesSidecar.js +1 -0
  119. package/dist/chaos-manager/src/services/schemas/TypesStatusCheckTimeout.d.ts +4 -0
  120. package/dist/chaos-manager/src/services/schemas/TypesStatusCheckTimeout.js +4 -0
  121. package/dist/chaos-manager/src/services/schemas/TypesTargets.d.ts +6 -0
  122. package/dist/chaos-manager/src/services/schemas/TypesTargets.js +1 -0
  123. package/dist/chaos-manager/src/services/schemas/TypesWorkload.d.ts +7 -0
  124. package/dist/chaos-manager/src/services/schemas/TypesWorkload.js +1 -0
  125. package/dist/chaos-manager/src/services/schemas/TypesWorkloadKind.d.ts +1 -0
  126. package/dist/chaos-manager/src/services/schemas/TypesWorkloadKind.js +4 -0
  127. package/dist/chaos-manager/src/services/schemas/V1Authorization.d.ts +5 -0
  128. package/dist/chaos-manager/src/services/schemas/V1Authorization.js +4 -0
  129. package/dist/chaos-manager/src/services/schemas/V1Capabilities.d.ts +12 -0
  130. package/dist/chaos-manager/src/services/schemas/V1Capabilities.js +4 -0
  131. package/dist/chaos-manager/src/services/schemas/V1CmdProbeInputs.d.ts +17 -0
  132. package/dist/chaos-manager/src/services/schemas/V1CmdProbeInputs.js +1 -0
  133. package/dist/chaos-manager/src/services/schemas/V1ComparatorInfo.d.ts +17 -0
  134. package/dist/chaos-manager/src/services/schemas/V1ComparatorInfo.js +4 -0
  135. package/dist/chaos-manager/src/services/schemas/V1ConfigMapEnvSource.d.ts +14 -0
  136. package/dist/chaos-manager/src/services/schemas/V1ConfigMapEnvSource.js +4 -0
  137. package/dist/chaos-manager/src/services/schemas/V1DatadogMetrics.d.ts +15 -0
  138. package/dist/chaos-manager/src/services/schemas/V1DatadogMetrics.js +1 -0
  139. package/dist/chaos-manager/src/services/schemas/V1DatadogProbeInputs.d.ts +20 -0
  140. package/dist/chaos-manager/src/services/schemas/V1DatadogProbeInputs.js +1 -0
  141. package/dist/chaos-manager/src/services/schemas/V1DatadogSyntheticsTestType.d.ts +1 -0
  142. package/dist/chaos-manager/src/services/schemas/V1DatadogSyntheticsTestType.js +4 -0
  143. package/dist/chaos-manager/src/services/schemas/V1DynatraceProbeInputs.d.ts +24 -0
  144. package/dist/chaos-manager/src/services/schemas/V1DynatraceProbeInputs.js +1 -0
  145. package/dist/chaos-manager/src/services/schemas/V1EnvFromSource.d.ts +19 -0
  146. package/dist/chaos-manager/src/services/schemas/V1EnvFromSource.js +1 -0
  147. package/dist/chaos-manager/src/services/schemas/V1GetMethod.d.ts +15 -0
  148. package/dist/chaos-manager/src/services/schemas/V1GetMethod.js +4 -0
  149. package/dist/chaos-manager/src/services/schemas/V1HttpMethod.d.ts +6 -0
  150. package/dist/chaos-manager/src/services/schemas/V1HttpMethod.js +1 -0
  151. package/dist/chaos-manager/src/services/schemas/V1HttpProbeInputs.d.ts +31 -0
  152. package/dist/chaos-manager/src/services/schemas/V1HttpProbeInputs.js +1 -0
  153. package/dist/chaos-manager/src/services/schemas/V1K8sProbeInputs.d.ts +40 -0
  154. package/dist/chaos-manager/src/services/schemas/V1K8sProbeInputs.js +4 -0
  155. package/dist/chaos-manager/src/services/schemas/V1Metrics.d.ts +10 -0
  156. package/dist/chaos-manager/src/services/schemas/V1Metrics.js +4 -0
  157. package/dist/chaos-manager/src/services/schemas/V1NewrelicMetrics.d.ts +19 -0
  158. package/dist/chaos-manager/src/services/schemas/V1NewrelicMetrics.js +1 -0
  159. package/dist/chaos-manager/src/services/schemas/V1NewrelicProbeInputs.d.ts +19 -0
  160. package/dist/chaos-manager/src/services/schemas/V1NewrelicProbeInputs.js +1 -0
  161. package/dist/chaos-manager/src/services/schemas/V1PodFsGroupChangePolicy.d.ts +1 -0
  162. package/dist/chaos-manager/src/services/schemas/V1PodFsGroupChangePolicy.js +4 -0
  163. package/dist/chaos-manager/src/services/schemas/V1PodSecurityContext.d.ts +92 -0
  164. package/dist/chaos-manager/src/services/schemas/V1PodSecurityContext.js +1 -0
  165. package/dist/chaos-manager/src/services/schemas/V1PostMethod.d.ts +27 -0
  166. package/dist/chaos-manager/src/services/schemas/V1PostMethod.js +4 -0
  167. package/dist/chaos-manager/src/services/schemas/V1ProcMountType.d.ts +1 -0
  168. package/dist/chaos-manager/src/services/schemas/V1ProcMountType.js +4 -0
  169. package/dist/chaos-manager/src/services/schemas/V1PromProbeInputs.d.ts +29 -0
  170. package/dist/chaos-manager/src/services/schemas/V1PromProbeInputs.js +1 -0
  171. package/dist/chaos-manager/src/services/schemas/V1RunProperty.d.ts +42 -0
  172. package/dist/chaos-manager/src/services/schemas/V1RunProperty.js +4 -0
  173. package/dist/chaos-manager/src/services/schemas/V1SeLinuxOptions.d.ts +22 -0
  174. package/dist/chaos-manager/src/services/schemas/V1SeLinuxOptions.js +4 -0
  175. package/dist/chaos-manager/src/services/schemas/V1SeccompProfile.d.ts +21 -0
  176. package/dist/chaos-manager/src/services/schemas/V1SeccompProfile.js +1 -0
  177. package/dist/chaos-manager/src/services/schemas/V1SeccompProfileType.d.ts +1 -0
  178. package/dist/chaos-manager/src/services/schemas/V1SeccompProfileType.js +4 -0
  179. package/dist/chaos-manager/src/services/schemas/V1SecretEnvSource.d.ts +14 -0
  180. package/dist/chaos-manager/src/services/schemas/V1SecretEnvSource.js +4 -0
  181. package/dist/chaos-manager/src/services/schemas/V1SecurityContext.d.ts +92 -0
  182. package/dist/chaos-manager/src/services/schemas/V1SecurityContext.js +1 -0
  183. package/dist/chaos-manager/src/services/schemas/V1SloProbeInputs.d.ts +34 -0
  184. package/dist/chaos-manager/src/services/schemas/V1SloProbeInputs.js +1 -0
  185. package/dist/chaos-manager/src/services/schemas/V1SyntheticsTest.d.ts +11 -0
  186. package/dist/chaos-manager/src/services/schemas/V1SyntheticsTest.js +1 -0
  187. package/dist/chaos-manager/src/services/schemas/V1Sysctl.d.ts +10 -0
  188. package/dist/chaos-manager/src/services/schemas/V1Sysctl.js +4 -0
  189. package/dist/chaos-manager/src/services/schemas/V1TlsConfig.d.ts +22 -0
  190. package/dist/chaos-manager/src/services/schemas/V1TlsConfig.js +4 -0
  191. package/dist/chaos-manager/src/services/schemas/V1WindowsSecurityContextOptions.d.ts +22 -0
  192. package/dist/chaos-manager/src/services/schemas/V1WindowsSecurityContextOptions.js +4 -0
  193. package/package.json +1 -1
@@ -0,0 +1,3 @@
1
+ export interface ChaosExecutionNodesPromProbe {
2
+ metrics?: string;
3
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -6,6 +6,7 @@ export interface ChaosInfrastructureV2ChaosInfraV2 {
6
6
  createdBy?: string;
7
7
  description?: string;
8
8
  environmentId?: string;
9
+ id?: string;
9
10
  identity?: string;
10
11
  isRemoved?: boolean;
11
12
  kind?: string;
@@ -2,10 +2,10 @@ import type { ChaosInfrastructureV2InfraScope } from '../schemas/ChaosInfrastruc
2
2
  import type { ChaosInfrastructureV2InfraType } from '../schemas/ChaosInfrastructureV2InfraType';
3
3
  export interface ChaosInfrastructureV2K8sInfraV2SpecIdentifiers {
4
4
  discoveryAgentId?: string;
5
+ emissaryURL?: string;
5
6
  namespace?: string;
6
7
  scope?: ChaosInfrastructureV2InfraScope;
7
8
  serviceAccount?: string;
8
- token?: string;
9
9
  type?: ChaosInfrastructureV2InfraType;
10
10
  version?: string;
11
11
  }
@@ -0,0 +1,65 @@
1
+ import type { V1CmdProbeInputs } from '../schemas/V1CmdProbeInputs';
2
+ import type { V1DatadogProbeInputs } from '../schemas/V1DatadogProbeInputs';
3
+ import type { V1DynatraceProbeInputs } from '../schemas/V1DynatraceProbeInputs';
4
+ import type { V1HttpProbeInputs } from '../schemas/V1HttpProbeInputs';
5
+ import type { V1K8sProbeInputs } from '../schemas/V1K8sProbeInputs';
6
+ import type { V1NewrelicProbeInputs } from '../schemas/V1NewrelicProbeInputs';
7
+ import type { V1PromProbeInputs } from '../schemas/V1PromProbeInputs';
8
+ import type { V1RunProperty } from '../schemas/V1RunProperty';
9
+ import type { V1SloProbeInputs } from '../schemas/V1SloProbeInputs';
10
+ export interface GithubComHarnessHceSaasHceSdkCommonProbeV1Probe {
11
+ /**
12
+ * inputs needed for the cmd probe
13
+ */
14
+ 'cmdProbe/inputs'?: V1CmdProbeInputs;
15
+ /**
16
+ * Data contains the manifest/data for the resource, which need to be created
17
+ * it supported for create operation only
18
+ */
19
+ data?: string;
20
+ /**
21
+ * inputs needed for the Datadog probe
22
+ */
23
+ 'datadogProbe/inputs'?: V1DatadogProbeInputs;
24
+ /**
25
+ * inputs needed for the Dynatrace probe
26
+ */
27
+ 'dynatraceProbe/inputs'?: V1DynatraceProbeInputs;
28
+ /**
29
+ * inputs needed for the http probe
30
+ */
31
+ 'httpProbe/inputs'?: V1HttpProbeInputs;
32
+ /**
33
+ * inputs needed for the k8s probe
34
+ */
35
+ 'k8sProbe/inputs'?: V1K8sProbeInputs;
36
+ /**
37
+ * mode for k8s probe
38
+ * it can be SOT, EOT, Edge
39
+ */
40
+ mode?: string;
41
+ /**
42
+ * Name of probe
43
+ */
44
+ name?: string;
45
+ /**
46
+ * inputs needed for the Newrelic probe
47
+ */
48
+ 'newrelicProbe/inputs'?: V1NewrelicProbeInputs;
49
+ /**
50
+ * inputs needed for the prometheus probe
51
+ */
52
+ 'promProbe/inputs'?: V1PromProbeInputs;
53
+ /**
54
+ * RunProperty contains timeout, retry and interval for the probe
55
+ */
56
+ runProperties?: V1RunProperty;
57
+ /**
58
+ * inputs needed for the SLO probe
59
+ */
60
+ 'sloProbe/inputs'?: V1SloProbeInputs;
61
+ /**
62
+ * Type of probe
63
+ */
64
+ type?: string;
65
+ }
@@ -0,0 +1,23 @@
1
+ import type { TypesCleanupPolicy } from '../schemas/TypesCleanupPolicy';
2
+ import type { TypesExperimentComponents } from '../schemas/TypesExperimentComponents';
3
+ import type { V1EnvVar } from '../schemas/V1EnvVar';
4
+ import type { V1PullPolicy } from '../schemas/V1PullPolicy';
5
+ import type { GithubComHarnessHceSaasHceSdkCommonProbeV1Probe } from '../schemas/GithubComHarnessHceSaasHceSdkCommonProbeV1Probe';
6
+ export interface GithubComWingsSoftwareDdcrPkgTypesChaosInputs {
7
+ annotations?: {
8
+ [key: string]: string;
9
+ };
10
+ args?: string[];
11
+ cleanupPolicy?: TypesCleanupPolicy;
12
+ command?: string[];
13
+ components?: TypesExperimentComponents;
14
+ defaultHealthCheck?: boolean;
15
+ env?: V1EnvVar[];
16
+ experiment?: string;
17
+ image?: string;
18
+ imagePullPolicy?: V1PullPolicy;
19
+ labels?: {
20
+ [key: string]: string;
21
+ };
22
+ probes?: GithubComHarnessHceSaasHceSdkCommonProbeV1Probe[];
23
+ }
@@ -0,0 +1,6 @@
1
+ import type { GithubComWingsSoftwareDdcrPkgTypesChaosInputs } from '../schemas/GithubComWingsSoftwareDdcrPkgTypesChaosInputs';
2
+ import type { TypesTargets } from '../schemas/TypesTargets';
3
+ export interface GithubComWingsSoftwareDdcrPkgTypesDefinition {
4
+ chaos?: GithubComWingsSoftwareDdcrPkgTypesChaosInputs;
5
+ targets?: TypesTargets;
6
+ }
@@ -0,0 +1,3 @@
1
+ export interface K8sinfraGetInfraTokenResponse {
2
+ token?: 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,3 @@
1
+ export interface K8sinfraUpdateEmissaryUrlRequest {
2
+ url?: 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,3 @@
1
+ export interface K8sinfraUpdateEmissaryUrlResponse {
2
+ [key: string]: any;
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,7 @@
1
+ import type { ModelSecurityGovernancePhase } from '../schemas/ModelSecurityGovernancePhase';
2
+ export interface ModelConditionDetails {
3
+ conditionId?: string;
4
+ conditionName?: string;
5
+ message?: string;
6
+ phase?: ModelSecurityGovernancePhase;
7
+ }
@@ -0,0 +1,87 @@
1
+ import type { ModelClusterType } from '../schemas/ModelClusterType';
2
+ import type { GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails } from '../schemas/GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails';
3
+ import type { GithubComHarnessHceSaasGraphqlServerGraphModelIdentifiers } from '../schemas/GithubComHarnessHceSaasGraphqlServerGraphModelIdentifiers';
4
+ import type { ModelInfraScope } from '../schemas/ModelInfraScope';
5
+ import type { ModelInfrastructureType } from '../schemas/ModelInfrastructureType';
6
+ export interface ModelInfrastructure {
7
+ /**
8
+ * Cluster type Indicates the type on infrastructure (Kubernetes/openshift)
9
+ */
10
+ clusterType?: ModelClusterType;
11
+ /**
12
+ * Timestamp when the workflow was created
13
+ */
14
+ createdAt?: string;
15
+ /**
16
+ * User who created the workflow
17
+ */
18
+ createdBy?: GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails;
19
+ /**
20
+ * Description of the workflow
21
+ */
22
+ description?: string;
23
+ /**
24
+ * Environment ID where infra is installed
25
+ */
26
+ environmentID?: string;
27
+ /**
28
+ * Harness identifiers
29
+ */
30
+ identifiers?: GithubComHarnessHceSaasGraphqlServerGraphModelIdentifiers;
31
+ /**
32
+ * ID of the infra
33
+ */
34
+ infraID?: string;
35
+ /**
36
+ * Namespace where the infra is being installed
37
+ */
38
+ infraNamespace?: string;
39
+ /**
40
+ * Scope of the infra : ns or cluster
41
+ */
42
+ infraScope?: ModelInfraScope;
43
+ /**
44
+ * Type of infrastructure
45
+ */
46
+ infraType?: ModelInfrastructureType;
47
+ /**
48
+ * Bool value to check if infra is active
49
+ */
50
+ isActive?: boolean;
51
+ /**
52
+ * Bool value to check if infra is confirmed
53
+ */
54
+ isInfraConfirmed?: boolean;
55
+ /**
56
+ * Bool value indicating if the workflow has removed
57
+ */
58
+ isRemoved?: boolean;
59
+ /**
60
+ * Last received heartbeat of infrastructure
61
+ */
62
+ lastHeartbeat?: string;
63
+ /**
64
+ * Name of the workflow
65
+ */
66
+ name?: string;
67
+ /**
68
+ * Time when infra became active
69
+ */
70
+ startTime?: string;
71
+ /**
72
+ * Tags of the workflow
73
+ */
74
+ tags?: string[];
75
+ /**
76
+ * Timestamp when the workflow was last updated
77
+ */
78
+ updatedAt?: string;
79
+ /**
80
+ * Details of the user who updated the workflow
81
+ */
82
+ updatedBy?: GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails;
83
+ /**
84
+ * Version of infrastructure
85
+ */
86
+ version?: string;
87
+ }
@@ -0,0 +1,4 @@
1
+ export interface ModelProbeMap {
2
+ faultName?: string;
3
+ probeName?: 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 { ModelRecurrenceSpec } from '../schemas/ModelRecurrenceSpec';
2
+ import type { ModelRecurrenceType } from '../schemas/ModelRecurrenceType';
3
+ export interface ModelRecurrence {
4
+ spec?: ModelRecurrenceSpec;
5
+ type?: ModelRecurrenceType;
6
+ }
@@ -0,0 +1,4 @@
1
+ export interface ModelRecurrenceSpec {
2
+ until?: number;
3
+ value?: number;
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 @@
1
+ export type ModelRecurrenceType = 'Daily' | 'Monthly' | 'None' | 'Weekly' | 'Yearly';
@@ -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,11 @@
1
+ import type { ModelConditionDetails } from '../schemas/ModelConditionDetails';
2
+ import type { ModelTimeWindow } from '../schemas/ModelTimeWindow';
3
+ export interface ModelRuleDetails {
4
+ conditions?: ModelConditionDetails[];
5
+ description?: string;
6
+ message?: string;
7
+ ruleId?: string;
8
+ ruleName?: string;
9
+ timeWindow?: ModelTimeWindow;
10
+ userGroupIds?: string[];
11
+ }
@@ -0,0 +1,11 @@
1
+ import type { ModelSecurityGovernancePhase } from '../schemas/ModelSecurityGovernancePhase';
2
+ import type { ModelSecurityGovernanceNodeData } from '../schemas/ModelSecurityGovernanceNodeData';
3
+ export interface ModelSecurityGovernance {
4
+ finishedAt?: number;
5
+ message?: string;
6
+ name?: string;
7
+ phase?: ModelSecurityGovernancePhase;
8
+ securityGovernanceNodeData?: ModelSecurityGovernanceNodeData;
9
+ startedAt?: number;
10
+ type?: string;
11
+ }
@@ -0,0 +1,6 @@
1
+ import type { ModelRuleDetails } from '../schemas/ModelRuleDetails';
2
+ export interface ModelSecurityGovernanceNodeData {
3
+ failedRules?: ModelRuleDetails[];
4
+ passedRules?: ModelRuleDetails[];
5
+ skippedRules?: ModelRuleDetails[];
6
+ }
@@ -0,0 +1 @@
1
+ export type ModelSecurityGovernancePhase = 'Failed' | 'Passed';
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1,8 @@
1
+ import type { ModelRecurrence } from '../schemas/ModelRecurrence';
2
+ export interface ModelTimeWindow {
3
+ duration?: string;
4
+ endTime?: number;
5
+ recurrence?: ModelRecurrence;
6
+ startTime?: number;
7
+ timeZone?: string;
8
+ }
@@ -0,0 +1,10 @@
1
+ export interface ModelWeightages {
2
+ /**
3
+ * Name of the experiment
4
+ */
5
+ experimentName?: string;
6
+ /**
7
+ * Weightage of the experiment
8
+ */
9
+ weightage?: number;
10
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1,141 @@
1
+ import type { GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails } from '../schemas/GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails';
2
+ import type { GithubComHarnessHceSaasGraphqlServerGraphModelIdentifiers } from '../schemas/GithubComHarnessHceSaasGraphqlServerGraphModelIdentifiers';
3
+ import type { ModelInfrastructure } from '../schemas/ModelInfrastructure';
4
+ import type { ModelWorkflowRunStatus } from '../schemas/ModelWorkflowRunStatus';
5
+ import type { ModelProbeMap } from '../schemas/ModelProbeMap';
6
+ import type { ModelSecurityGovernance } from '../schemas/ModelSecurityGovernance';
7
+ import type { ModelWeightages } from '../schemas/ModelWeightages';
8
+ export interface ModelWorkflowRun {
9
+ /**
10
+ * Timestamp at which workflow run was created
11
+ */
12
+ createdAt?: string;
13
+ /**
14
+ * User who has created the experiment run
15
+ */
16
+ createdBy?: GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails;
17
+ /**
18
+ * Cron syntax of the workflow schedule
19
+ */
20
+ cronSyntax?: string;
21
+ /**
22
+ * Error Response is the reason why experiment failed to run
23
+ */
24
+ errorResponse?: string;
25
+ /**
26
+ * Stores all the workflow run details related to the nodes of DAG graph and chaos results of the experiments
27
+ */
28
+ executionData?: string;
29
+ /**
30
+ * experimentType is the type of experiment run
31
+ */
32
+ experimentType?: string;
33
+ /**
34
+ * Number of experiments awaited
35
+ */
36
+ experimentsAwaited?: number;
37
+ /**
38
+ * Number of experiments failed
39
+ */
40
+ experimentsFailed?: number;
41
+ /**
42
+ * Number of experiments which are not available
43
+ */
44
+ experimentsNa?: number;
45
+ /**
46
+ * Number of experiments passed
47
+ */
48
+ experimentsPassed?: number;
49
+ /**
50
+ * Number of experiments stopped
51
+ */
52
+ experimentsStopped?: number;
53
+ /**
54
+ * Harness identifiers
55
+ */
56
+ identifiers?: GithubComHarnessHceSaasGraphqlServerGraphModelIdentifiers;
57
+ /**
58
+ * Target infra in which the workflow will run
59
+ */
60
+ infra?: ModelInfrastructure;
61
+ /**
62
+ * If cron is enabled or disabled
63
+ */
64
+ isCronEnabled?: boolean;
65
+ /**
66
+ * Bool value indicating if the workflow run has removed
67
+ */
68
+ isRemoved?: boolean;
69
+ /**
70
+ * Flag to check if single run status is enabled or not
71
+ */
72
+ isSingleRunCronEnabled?: boolean;
73
+ /**
74
+ * Notify ID of the experiment run
75
+ */
76
+ notifyID?: string;
77
+ /**
78
+ * Phase of the workflow run
79
+ */
80
+ phase?: ModelWorkflowRunStatus;
81
+ /**
82
+ * Probe object containing reference of probeIDs
83
+ */
84
+ probe?: ModelProbeMap[];
85
+ /**
86
+ * Resiliency score of the workflow
87
+ */
88
+ resiliencyScore?: number;
89
+ /**
90
+ * runSequence is the sequence number of experiment run
91
+ */
92
+ runSequence?: number;
93
+ /**
94
+ * Security Governance details of the workflow run
95
+ */
96
+ securityGovernance?: ModelSecurityGovernance;
97
+ /**
98
+ * Total number of experiments
99
+ */
100
+ totalExperiments?: number;
101
+ /**
102
+ * Timestamp at which workflow run was last updated
103
+ */
104
+ updatedAt?: string;
105
+ /**
106
+ * User who has updated the workflow
107
+ */
108
+ updatedBy?: GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails;
109
+ /**
110
+ * Array containing weightage and name of each chaos experiment in the workflow
111
+ */
112
+ weightages?: ModelWeightages[];
113
+ /**
114
+ * Description of the workflow
115
+ */
116
+ workflowDescription?: string;
117
+ /**
118
+ * ID of the workflow
119
+ */
120
+ workflowID?: string;
121
+ /**
122
+ * Manifest of the workflow run
123
+ */
124
+ workflowManifest?: string;
125
+ /**
126
+ * Name of the workflow
127
+ */
128
+ workflowName?: string;
129
+ /**
130
+ * ID of the workflow run which is to be queried
131
+ */
132
+ workflowRunID?: string;
133
+ /**
134
+ * Tag of the workflow
135
+ */
136
+ workflowTags?: string[];
137
+ /**
138
+ * Type of the workflow
139
+ */
140
+ workflowType?: string;
141
+ }
@@ -2,10 +2,11 @@ import type { TemplateVariableCategory } from '../schemas/TemplateVariableCatego
2
2
  import type { TemplateVariableType } from '../schemas/TemplateVariableType';
3
3
  export interface TemplateVariable {
4
4
  allowedValues?: Array<{}>;
5
- catagory?: TemplateVariableCategory;
5
+ category?: TemplateVariableCategory;
6
6
  default?: {};
7
7
  description?: string;
8
8
  name?: string;
9
+ path?: string;
9
10
  required?: boolean;
10
11
  tags?: string[];
11
12
  type?: TemplateVariableType;
@@ -0,0 +1,4 @@
1
+ export interface TypesApplication {
2
+ function?: string;
3
+ name?: string;
4
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1 @@
1
+ export type TypesCleanupPolicy = 'delete' | 'retain';
@@ -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 TypesConfigMap {
2
+ defaultMode?: 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,27 @@
1
+ import type { TypesConfigMap } from '../schemas/TypesConfigMap';
2
+ import type { TypesHostFile } from '../schemas/TypesHostFile';
3
+ import type { V1LocalObjectReference } from '../schemas/V1LocalObjectReference';
4
+ import type { TypesProjectedVolumes } from '../schemas/TypesProjectedVolumes';
5
+ import type { V1ResourceRequirements } from '../schemas/V1ResourceRequirements';
6
+ import type { TypesSecret } from '../schemas/TypesSecret';
7
+ import type { TypesSecurityContext } from '../schemas/TypesSecurityContext';
8
+ import type { TypesSidecar } from '../schemas/TypesSidecar';
9
+ import type { TypesStatusCheckTimeout } from '../schemas/TypesStatusCheckTimeout';
10
+ import type { V1Toleration } from '../schemas/V1Toleration';
11
+ export interface TypesExperimentComponents {
12
+ configMaps?: TypesConfigMap[];
13
+ hostFileVolumes?: TypesHostFile[];
14
+ hostPID?: boolean;
15
+ imagePullSecrets?: V1LocalObjectReference[];
16
+ nodeSelector?: {
17
+ [key: string]: string;
18
+ };
19
+ projectedVolumes?: TypesProjectedVolumes[];
20
+ resources?: V1ResourceRequirements;
21
+ secrets?: TypesSecret[];
22
+ securityContext?: TypesSecurityContext;
23
+ sidecar?: TypesSidecar[];
24
+ statusCheckTimeouts?: TypesStatusCheckTimeout;
25
+ terminationGracePeriodSeconds?: number;
26
+ tolerations?: V1Toleration[];
27
+ }
@@ -0,0 +1,7 @@
1
+ import type { V1HostPathType } from '../schemas/V1HostPathType';
2
+ export interface TypesHostFile {
3
+ mountPath?: string;
4
+ name?: string;
5
+ nodePath?: string;
6
+ type?: V1HostPathType;
7
+ }