@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,8 @@
1
+ import type { TemplateChaosExperimentInputsetSpec } from '../schemas/TemplateChaosExperimentInputsetSpec';
2
+ export interface TypesInternalExperimentRunRequest {
3
+ email?: string;
4
+ inputsetIdentity?: string;
5
+ runtimeInputs?: TemplateChaosExperimentInputsetSpec;
6
+ userID?: string;
7
+ username?: string;
8
+ }
@@ -0,0 +1,7 @@
1
+ import type { V1ProjectedVolumeSource } from '../schemas/V1ProjectedVolumeSource';
2
+ export interface TypesProjectedVolumes {
3
+ mountPath?: string;
4
+ name?: string;
5
+ projected?: V1ProjectedVolumeSource;
6
+ readOnly?: boolean;
7
+ }
@@ -0,0 +1,5 @@
1
+ export interface TypesSecret {
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,6 @@
1
+ import type { V1SecurityContext } from '../schemas/V1SecurityContext';
2
+ import type { V1PodSecurityContext } from '../schemas/V1PodSecurityContext';
3
+ export interface TypesSecurityContext {
4
+ containerSecurityContext?: V1SecurityContext;
5
+ podSecurityContext?: V1PodSecurityContext;
6
+ }
@@ -0,0 +1,4 @@
1
+ import type { TypesWorkload } from '../schemas/TypesWorkload';
2
+ export interface TypesSelector {
3
+ workloads?: TypesWorkload[];
4
+ }
@@ -0,0 +1,11 @@
1
+ import type { V1EnvVar } from '../schemas/V1EnvVar';
2
+ import type { V1EnvFromSource } from '../schemas/V1EnvFromSource';
3
+ import type { V1PullPolicy } from '../schemas/V1PullPolicy';
4
+ import type { TypesSecret } from '../schemas/TypesSecret';
5
+ export interface TypesSidecar {
6
+ env?: V1EnvVar[];
7
+ envFrom?: V1EnvFromSource[];
8
+ image?: string;
9
+ imagePullPolicy?: V1PullPolicy;
10
+ secrets?: TypesSecret[];
11
+ }
@@ -0,0 +1,4 @@
1
+ export interface TypesStatusCheckTimeout {
2
+ delay?: number;
3
+ timeout?: 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,6 @@
1
+ import type { TypesApplication } from '../schemas/TypesApplication';
2
+ import type { TypesSelector } from '../schemas/TypesSelector';
3
+ export interface TypesTargets {
4
+ application?: TypesApplication;
5
+ selectors?: TypesSelector;
6
+ }
@@ -0,0 +1,7 @@
1
+ import type { TypesWorkloadKind } from '../schemas/TypesWorkloadKind';
2
+ export interface TypesWorkload {
3
+ kind?: TypesWorkloadKind;
4
+ labels?: string;
5
+ names?: string;
6
+ namespace?: string;
7
+ }
@@ -0,0 +1 @@
1
+ export type TypesWorkloadKind = 'daemonSet' | 'deployment' | 'deploymentconfig' | 'pod' | 'rollout' | 'statefulset';
@@ -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 V1Authorization {
2
+ credentials?: string;
3
+ credentialsFile?: string;
4
+ type?: 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,12 @@
1
+ export interface V1Capabilities {
2
+ /**
3
+ * Added capabilities
4
+ * +optional
5
+ */
6
+ add?: string[];
7
+ /**
8
+ * Removed capabilities
9
+ * +optional
10
+ */
11
+ drop?: string[];
12
+ }
@@ -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,17 @@
1
+ import type { V1ComparatorInfo } from '../schemas/V1ComparatorInfo';
2
+ import type { V1SourceDetails } from '../schemas/V1SourceDetails';
3
+ export interface V1CmdProbeInputs {
4
+ /**
5
+ * Command need to be executed for the probe
6
+ */
7
+ command?: string;
8
+ /**
9
+ * Comparator check for the correctness of the probe output
10
+ */
11
+ comparator?: V1ComparatorInfo;
12
+ /**
13
+ * The source where we have to run the command
14
+ * It will run in inline(inside experiment itself) mode if source is nil
15
+ */
16
+ source?: V1SourceDetails;
17
+ }
@@ -0,0 +1,17 @@
1
+ export interface V1ComparatorInfo {
2
+ /**
3
+ * Criteria for matching data
4
+ * it supports >=, <=, ==, >, <, != for int and float
5
+ * it supports equal, notEqual, contains for string
6
+ */
7
+ criteria?: string;
8
+ /**
9
+ * Type of data
10
+ * it can be int, float, string
11
+ */
12
+ type?: string;
13
+ /**
14
+ * Value contains relative value for criteria
15
+ */
16
+ value?: string;
17
+ }
@@ -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
+ export interface V1ConfigMapEnvSource {
2
+ /**
3
+ * Name of the referent.
4
+ * More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
5
+ * TODO: Add other useful fields. apiVersion, kind, uid?
6
+ * +optional
7
+ */
8
+ name?: string;
9
+ /**
10
+ * Specify whether the ConfigMap must be defined
11
+ * +optional
12
+ */
13
+ optional?: boolean;
14
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1,15 @@
1
+ import type { V1ComparatorInfo } from '../schemas/V1ComparatorInfo';
2
+ export interface V1DatadogMetrics {
3
+ /**
4
+ * Comparator check for the correctness of the probe output
5
+ */
6
+ comparator?: V1ComparatorInfo;
7
+ /**
8
+ * Raw query string
9
+ */
10
+ query?: string;
11
+ /**
12
+ * Timeframe of the metrics
13
+ */
14
+ timeFrame?: string;
15
+ }
@@ -0,0 +1,20 @@
1
+ import type { V1DatadogMetrics } from '../schemas/V1DatadogMetrics';
2
+ import type { V1SyntheticsTest } from '../schemas/V1SyntheticsTest';
3
+ export interface V1DatadogProbeInputs {
4
+ /**
5
+ * name of the kubernetes secret containing the Datadog credntials
6
+ */
7
+ datadogCredentialsSecretName?: string;
8
+ /**
9
+ * datadog site URL identifier
10
+ */
11
+ datadogSite?: string;
12
+ /**
13
+ * metrics parameters
14
+ */
15
+ metrics?: V1DatadogMetrics;
16
+ /**
17
+ * synthetics test parameters
18
+ */
19
+ syntheticsTest?: V1SyntheticsTest;
20
+ }
@@ -0,0 +1 @@
1
+ export type V1DatadogSyntheticsTestType = 'api' | 'browser';
@@ -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,24 @@
1
+ import type { V1ComparatorInfo } from '../schemas/V1ComparatorInfo';
2
+ import type { V1Metrics } from '../schemas/V1Metrics';
3
+ export interface V1DynatraceProbeInputs {
4
+ /**
5
+ * APITokenSecretName for authenticating with the Dynatrace platform
6
+ */
7
+ apiTokenSecretName?: string;
8
+ /**
9
+ * Comparator check for the correctness of the probe output
10
+ */
11
+ comparator?: V1ComparatorInfo;
12
+ /**
13
+ * Endpoint of the Dynatrace probe
14
+ */
15
+ endpoint?: string;
16
+ /**
17
+ * Raw metrcis details of the Dynatrace probe
18
+ */
19
+ metrics?: V1Metrics;
20
+ /**
21
+ * Timeframe of the metrics
22
+ */
23
+ timeFrame?: string;
24
+ }
@@ -0,0 +1,19 @@
1
+ import type { V1ConfigMapEnvSource } from '../schemas/V1ConfigMapEnvSource';
2
+ import type { V1SecretEnvSource } from '../schemas/V1SecretEnvSource';
3
+ export interface V1EnvFromSource {
4
+ /**
5
+ * The ConfigMap to select from
6
+ * +optional
7
+ */
8
+ configMapRef?: V1ConfigMapEnvSource;
9
+ /**
10
+ * An optional identifier to prepend to each key in the ConfigMap. Must be a C_IDENTIFIER.
11
+ * +optional
12
+ */
13
+ prefix?: string;
14
+ /**
15
+ * The Secret to select from
16
+ * +optional
17
+ */
18
+ secretRef?: V1SecretEnvSource;
19
+ }
@@ -0,0 +1,15 @@
1
+ export interface V1GetMethod {
2
+ /**
3
+ * Criteria for matching data
4
+ * it supports == != operations
5
+ */
6
+ criteria?: string;
7
+ /**
8
+ * ResponseBody contains the response body for the http get request
9
+ */
10
+ responseBody?: string;
11
+ /**
12
+ * Value contains relative value for criteria
13
+ */
14
+ responseCode?: string;
15
+ }
@@ -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 { V1GetMethod } from '../schemas/V1GetMethod';
2
+ import type { V1PostMethod } from '../schemas/V1PostMethod';
3
+ export interface V1HttpMethod {
4
+ get?: V1GetMethod;
5
+ post?: V1PostMethod;
6
+ }
@@ -0,0 +1,31 @@
1
+ import type { V1Authorization } from '../schemas/V1Authorization';
2
+ import type { V1HttpMethod } from '../schemas/V1HttpMethod';
3
+ import type { V1TlsConfig } from '../schemas/V1TlsConfig';
4
+ export interface V1HttpProbeInputs {
5
+ /**
6
+ * Auth contains the authentication details for the http probe
7
+ */
8
+ auth?: V1Authorization;
9
+ /**
10
+ * Headers contains the request headers
11
+ */
12
+ headers?: {
13
+ [key: string]: string;
14
+ };
15
+ /**
16
+ * InsecureSkipVerify flag to skip certificate checks
17
+ */
18
+ insecureSkipVerify?: boolean;
19
+ /**
20
+ * Method define the http method, it can be get or post
21
+ */
22
+ method?: V1HttpMethod;
23
+ /**
24
+ * TLSConfig contains the tls configuration for the http probe
25
+ */
26
+ tlsConfig?: V1TlsConfig;
27
+ /**
28
+ * URL which needs to curl, to check the status
29
+ */
30
+ url?: string;
31
+ }
@@ -0,0 +1,40 @@
1
+ export interface V1K8sProbeInputs {
2
+ /**
3
+ * Data contains the manifest/data for the resource, which need to be created
4
+ * it supported for create operation only
5
+ */
6
+ data?: string;
7
+ /**
8
+ * fieldselector to get the resource using fields selector
9
+ */
10
+ fieldSelector?: string;
11
+ /**
12
+ * group of the resource
13
+ */
14
+ group?: string;
15
+ /**
16
+ * labelselector to get the resource using labels selector
17
+ */
18
+ labelSelector?: string;
19
+ /**
20
+ * namespace of the resource
21
+ */
22
+ namespace?: string;
23
+ /**
24
+ * Operation performed by the k8s probe
25
+ * it can be create, delete, present, absent
26
+ */
27
+ operation?: string;
28
+ /**
29
+ * kind of resource
30
+ */
31
+ resource?: string;
32
+ /**
33
+ * ResourceNames to get the resources using their list of comma separated names
34
+ */
35
+ resourceNames?: string;
36
+ /**
37
+ * apiversion of the resource
38
+ */
39
+ version?: string;
40
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1,10 @@
1
+ export interface V1Metrics {
2
+ /**
3
+ * Entity Selector of the metrics
4
+ */
5
+ entitySelector?: string;
6
+ /**
7
+ * Query to get Dynatrace metrics
8
+ */
9
+ metricsSelector?: string;
10
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1,19 @@
1
+ import type { V1ComparatorInfo } from '../schemas/V1ComparatorInfo';
2
+ export interface V1NewrelicMetrics {
3
+ /**
4
+ * Comparator check for the correctness of the probe output
5
+ */
6
+ comparator?: V1ComparatorInfo;
7
+ /**
8
+ * Mode on which metrcis will get evaluated(min/max/mean)
9
+ */
10
+ metricsEvaluationMode?: string;
11
+ /**
12
+ * NRQL query string
13
+ */
14
+ query?: string;
15
+ /**
16
+ * NRQL Metrics that will get evaluated
17
+ */
18
+ queryMetrics?: string;
19
+ }
@@ -0,0 +1,19 @@
1
+ import type { V1NewrelicMetrics } from '../schemas/V1NewrelicMetrics';
2
+ export interface V1NewrelicProbeInputs {
3
+ /**
4
+ * Newrelic accountId
5
+ */
6
+ accountId?: string;
7
+ /**
8
+ * APITokenSecretName for authenticating with the Newrelic platform
9
+ */
10
+ apiTokenSecretName?: string;
11
+ /**
12
+ * newrelic site URL identifier
13
+ */
14
+ endpoint?: string;
15
+ /**
16
+ * Newrelic metrics parameters
17
+ */
18
+ newrelicMetrics?: V1NewrelicMetrics;
19
+ }
@@ -0,0 +1 @@
1
+ export type V1PodFsGroupChangePolicy = 'Always' | 'OnRootMismatch';
@@ -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,92 @@
1
+ import type { V1PodFsGroupChangePolicy } from '../schemas/V1PodFsGroupChangePolicy';
2
+ import type { V1SeLinuxOptions } from '../schemas/V1SeLinuxOptions';
3
+ import type { V1SeccompProfile } from '../schemas/V1SeccompProfile';
4
+ import type { V1Sysctl } from '../schemas/V1Sysctl';
5
+ import type { V1WindowsSecurityContextOptions } from '../schemas/V1WindowsSecurityContextOptions';
6
+ export interface V1PodSecurityContext {
7
+ /**
8
+ * A special supplemental group that applies to all containers in a pod.
9
+ * Some volume types allow the Kubelet to change the ownership of that volume
10
+ * to be owned by the pod:
11
+ *
12
+ * 1. The owning GID will be the FSGroup
13
+ * 2. The setgid bit is set (new files created in the volume will be owned by FSGroup)
14
+ * 3. The permission bits are OR'd with rw-rw----
15
+ *
16
+ * If unset, the Kubelet will not modify the ownership and permissions of any volume.
17
+ * +optional
18
+ */
19
+ fsGroup?: number;
20
+ /**
21
+ * fsGroupChangePolicy defines behavior of changing ownership and permission of the volume
22
+ * before being exposed inside Pod. This field will only apply to
23
+ * volume types which support fsGroup based ownership(and permissions).
24
+ * It will have no effect on ephemeral volume types such as: secret, configmaps
25
+ * and emptydir.
26
+ * Valid values are "OnRootMismatch" and "Always". If not specified, "Always" is used.
27
+ * +optional
28
+ */
29
+ fsGroupChangePolicy?: V1PodFsGroupChangePolicy;
30
+ /**
31
+ * The GID to run the entrypoint of the container process.
32
+ * Uses runtime default if unset.
33
+ * May also be set in SecurityContext. If set in both SecurityContext and
34
+ * PodSecurityContext, the value specified in SecurityContext takes precedence
35
+ * for that container.
36
+ * +optional
37
+ */
38
+ runAsGroup?: number;
39
+ /**
40
+ * Indicates that the container must run as a non-root user.
41
+ * If true, the Kubelet will validate the image at runtime to ensure that it
42
+ * does not run as UID 0 (root) and fail to start the container if it does.
43
+ * If unset or false, no such validation will be performed.
44
+ * May also be set in SecurityContext. If set in both SecurityContext and
45
+ * PodSecurityContext, the value specified in SecurityContext takes precedence.
46
+ * +optional
47
+ */
48
+ runAsNonRoot?: boolean;
49
+ /**
50
+ * The UID to run the entrypoint of the container process.
51
+ * Defaults to user specified in image metadata if unspecified.
52
+ * May also be set in SecurityContext. If set in both SecurityContext and
53
+ * PodSecurityContext, the value specified in SecurityContext takes precedence
54
+ * for that container.
55
+ * +optional
56
+ */
57
+ runAsUser?: number;
58
+ /**
59
+ * The SELinux context to be applied to all containers.
60
+ * If unspecified, the container runtime will allocate a random SELinux context for each
61
+ * container. May also be set in SecurityContext. If set in
62
+ * both SecurityContext and PodSecurityContext, the value specified in SecurityContext
63
+ * takes precedence for that container.
64
+ * +optional
65
+ */
66
+ seLinuxOptions?: V1SeLinuxOptions;
67
+ /**
68
+ * The seccomp options to use by the containers in this pod.
69
+ * +optional
70
+ */
71
+ seccompProfile?: V1SeccompProfile;
72
+ /**
73
+ * A list of groups applied to the first process run in each container, in addition
74
+ * to the container's primary GID. If unspecified, no groups will be added to
75
+ * any container.
76
+ * +optional
77
+ */
78
+ supplementalGroups?: number[];
79
+ /**
80
+ * Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported
81
+ * sysctls (by the container runtime) might fail to launch.
82
+ * +optional
83
+ */
84
+ sysctls?: V1Sysctl[];
85
+ /**
86
+ * The Windows specific settings applied to all containers.
87
+ * If unspecified, the options within a container's SecurityContext will be used.
88
+ * If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.
89
+ * +optional
90
+ */
91
+ windowsOptions?: V1WindowsSecurityContextOptions;
92
+ }
@@ -0,0 +1,27 @@
1
+ export interface V1PostMethod {
2
+ /**
3
+ * Body contains http body for post request
4
+ */
5
+ body?: string;
6
+ /**
7
+ * BodyPath contains filePath, which contains http body
8
+ */
9
+ bodyPath?: string;
10
+ /**
11
+ * ContentType contains content type for http body data
12
+ */
13
+ contentType?: string;
14
+ /**
15
+ * Criteria for matching data
16
+ * it supports == != operations
17
+ */
18
+ criteria?: string;
19
+ /**
20
+ * ResponseBody contains the response body for the http post request
21
+ */
22
+ responseBody?: string;
23
+ /**
24
+ * Value contains relative value for criteria
25
+ */
26
+ responseCode?: string;
27
+ }