@harnessio/react-chaos-manager-client 0.10.0 → 0.12.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 (232) hide show
  1. package/dist/chaos-manager/src/services/hooks/useCreateChaosHubMutation.d.ts +1 -4
  2. package/dist/chaos-manager/src/services/hooks/useCreateProbeTemplateMutation.d.ts +26 -0
  3. package/dist/chaos-manager/src/services/hooks/useCreateProbeTemplateMutation.js +14 -0
  4. package/dist/chaos-manager/src/services/hooks/useDeleteActionMutation.d.ts +1 -1
  5. package/dist/chaos-manager/src/services/hooks/useDeleteActionMutation.js +1 -1
  6. package/dist/chaos-manager/src/services/hooks/useDeleteActionTemplateMutation.d.ts +28 -0
  7. package/dist/chaos-manager/src/services/hooks/useDeleteActionTemplateMutation.js +14 -0
  8. package/dist/chaos-manager/src/services/hooks/useDeleteProbeTemplateMutation.d.ts +28 -0
  9. package/dist/chaos-manager/src/services/hooks/useDeleteProbeTemplateMutation.js +14 -0
  10. package/dist/chaos-manager/src/services/hooks/useGetProbeTemplateQuery.d.ts +28 -0
  11. package/dist/chaos-manager/src/services/hooks/useGetProbeTemplateQuery.js +14 -0
  12. package/dist/chaos-manager/src/services/hooks/useImportProbeMutation.d.ts +27 -0
  13. package/dist/chaos-manager/src/services/hooks/useImportProbeMutation.js +14 -0
  14. package/dist/chaos-manager/src/services/hooks/useListActionTemplateQuery.d.ts +2 -2
  15. package/dist/chaos-manager/src/services/hooks/useListActionsQuery.d.ts +1 -1
  16. package/dist/chaos-manager/src/services/hooks/useListChaosHubQuery.d.ts +1 -1
  17. package/dist/chaos-manager/src/services/hooks/useListFaultQuery.d.ts +28 -0
  18. package/dist/chaos-manager/src/services/hooks/useListFaultQuery.js +14 -0
  19. package/dist/chaos-manager/src/services/hooks/useListProbeTemplateQuery.d.ts +36 -0
  20. package/dist/chaos-manager/src/services/hooks/useListProbeTemplateQuery.js +14 -0
  21. package/dist/chaos-manager/src/services/hooks/useListVariablesInProbeTemplateQuery.d.ts +28 -0
  22. package/dist/chaos-manager/src/services/hooks/useListVariablesInProbeTemplateQuery.js +14 -0
  23. package/dist/chaos-manager/src/services/hooks/useStopChaosV2ExperimentMutation.d.ts +1 -0
  24. package/dist/chaos-manager/src/services/hooks/useUpdateProbeTemplateMutation.d.ts +30 -0
  25. package/dist/chaos-manager/src/services/hooks/useUpdateProbeTemplateMutation.js +14 -0
  26. package/dist/chaos-manager/src/services/index.d.ts +75 -60
  27. package/dist/chaos-manager/src/services/index.js +9 -5
  28. package/dist/chaos-manager/src/services/schemas/ActionActionTemplateProperties.d.ts +6 -0
  29. package/dist/chaos-manager/src/services/schemas/{ActionsActionRunProperties.d.ts → ActionActionTemplateRunProperties.d.ts} +2 -2
  30. package/dist/chaos-manager/src/services/schemas/ActionCustomScriptActionTemplate.d.ts +5 -0
  31. package/dist/chaos-manager/src/services/schemas/ActionDelayActionTemplate.d.ts +3 -0
  32. package/dist/chaos-manager/src/services/schemas/ActionsActionResponse.d.ts +5 -6
  33. package/dist/chaos-manager/src/services/schemas/ChaosExecutionNodesChaosStepStatus.d.ts +1 -1
  34. package/dist/chaos-manager/src/services/schemas/ChaosExecutionNodesFaultData.d.ts +2 -2
  35. package/dist/chaos-manager/src/services/schemas/ChaosExecutionNodesFaultDetails.d.ts +5 -0
  36. package/dist/chaos-manager/src/services/schemas/ChaosactiontemplateChaosActionTemplate.d.ts +7 -4
  37. package/dist/chaos-manager/src/services/schemas/ChaosfaulttemplateActionTemplate.d.ts +4 -4
  38. package/dist/chaos-manager/src/services/schemas/Chaoshubv2ChaosHubResponse.d.ts +0 -6
  39. package/dist/chaos-manager/src/services/schemas/Chaoshubv2GetHubResponse.d.ts +0 -6
  40. package/dist/chaos-manager/src/services/schemas/ChaosprobetemplateGetProbeTemplateResponse.d.ts +5 -0
  41. package/dist/chaos-manager/src/services/schemas/ChaosprobetemplateListProbeTemplateResponse.d.ts +9 -0
  42. package/dist/chaos-manager/src/services/schemas/ChaosprobetemplateProbeTemplate.d.ts +17 -0
  43. package/dist/chaos-manager/src/services/schemas/ChaosprobetemplateProbeTemplateCount.d.ts +5 -0
  44. package/dist/chaos-manager/src/services/schemas/ChaosprobetemplateProbeTemplateVariables.d.ts +6 -0
  45. package/dist/chaos-manager/src/services/schemas/DatabaseAgentConfiguration.d.ts +3 -0
  46. package/dist/chaos-manager/src/services/schemas/DatabaseDiscoveredServiceCollection.d.ts +4 -0
  47. package/dist/chaos-manager/src/services/schemas/DatabaseNetworkMapEntity.d.ts +3 -0
  48. package/dist/chaos-manager/src/services/schemas/DatabaseNetworkMapEntityKubernetesInfo.d.ts +2 -0
  49. package/dist/chaos-manager/src/services/schemas/DatabaseServiceCollection.d.ts +4 -0
  50. package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerPkgActionsAction.d.ts +4 -6
  51. package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbActionsAction.d.ts +4 -6
  52. package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbChaosprobetemplateChaosProbeTemplate.d.ts +40 -0
  53. package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeDatadogSyntheticsTestType.d.ts +1 -0
  54. package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeGet.d.ts +5 -0
  55. package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeHeaders.d.ts +4 -0
  56. package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeIdentifier.d.ts +14 -0
  57. package/dist/chaos-manager/src/services/schemas/{TypesPost.d.ts → GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbePost.d.ts} +1 -1
  58. package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeDatadogSyntheticsTestType.d.ts +1 -0
  59. package/dist/chaos-manager/src/services/schemas/{ProbeGet.d.ts → GithubComHarnessHceSaasHceSdkTemplateSchemaProbeGet.d.ts} +1 -1
  60. package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeHeaders.d.ts +4 -0
  61. package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeIdentifier.d.ts +5 -0
  62. package/dist/chaos-manager/src/services/schemas/{ProbePost.d.ts → GithubComHarnessHceSaasHceSdkTemplateSchemaProbePost.d.ts} +1 -1
  63. package/dist/chaos-manager/src/services/schemas/GithubComWingsSoftwareDdcrPkgTypesChaosInputs.d.ts +5 -31
  64. package/dist/chaos-manager/src/services/schemas/GithubComWingsSoftwareDdcrPkgTypesDefinition.d.ts +0 -6
  65. package/dist/chaos-manager/src/services/schemas/ModelAnnotation.d.ts +8 -0
  66. package/dist/chaos-manager/src/services/schemas/ModelChart.d.ts +10 -0
  67. package/dist/chaos-manager/src/services/schemas/ModelExperiments.d.ts +5 -0
  68. package/dist/chaos-manager/src/services/schemas/ModelFaultList.d.ts +8 -0
  69. package/dist/chaos-manager/src/services/schemas/ModelLink.d.ts +4 -0
  70. package/dist/chaos-manager/src/services/schemas/ModelMaintainer.d.ts +10 -0
  71. package/dist/chaos-manager/src/services/schemas/ModelMetadata.d.ts +6 -0
  72. package/dist/chaos-manager/src/services/schemas/ModelPackageInformation.d.ts +5 -0
  73. package/dist/chaos-manager/src/services/schemas/ModelProvider.d.ts +3 -0
  74. package/dist/chaos-manager/src/services/schemas/ModelSpec.d.ts +19 -0
  75. package/dist/chaos-manager/src/services/schemas/NetworkmapTargetServiceDetails.d.ts +9 -3
  76. package/dist/chaos-manager/src/services/schemas/NetworkmapTargetServiceDetails.js +0 -3
  77. package/dist/chaos-manager/src/services/schemas/{TypesAuthorization.d.ts → ProbeAuthorizationTemplate.d.ts} +1 -1
  78. package/dist/chaos-manager/src/services/schemas/ProbeCmdProbeTemplate.d.ts +6 -0
  79. package/dist/chaos-manager/src/services/schemas/ProbeComparatorTemplate.d.ts +5 -0
  80. package/dist/chaos-manager/src/services/schemas/ProbeDatadogMetricsTemplate.d.ts +6 -0
  81. package/dist/chaos-manager/src/services/schemas/ProbeDatadogProbe.d.ts +2 -2
  82. package/dist/chaos-manager/src/services/schemas/ProbeDatadogProbeTemplate.d.ts +8 -0
  83. package/dist/chaos-manager/src/services/schemas/ProbeDynatraceMetricsTemplate.d.ts +4 -0
  84. package/dist/chaos-manager/src/services/schemas/ProbeDynatraceProbe.d.ts +2 -2
  85. package/dist/chaos-manager/src/services/schemas/ProbeDynatraceProbeTemplate.d.ts +9 -0
  86. package/dist/chaos-manager/src/services/schemas/ProbeEvaluationWindow.d.ts +10 -0
  87. package/dist/chaos-manager/src/services/schemas/ProbeEvaluationWindowTemplate.d.ts +4 -0
  88. package/dist/chaos-manager/src/services/schemas/ProbeHttpProbe.d.ts +4 -4
  89. package/dist/chaos-manager/src/services/schemas/ProbeHttpProbeTemplate.d.ts +11 -0
  90. package/dist/chaos-manager/src/services/schemas/ProbeInfrastructureType.d.ts +1 -0
  91. package/dist/chaos-manager/src/services/schemas/ProbeK8SProbe.d.ts +2 -2
  92. package/dist/chaos-manager/src/services/schemas/{TypesK8SProbe.d.ts → ProbeK8SProbeTemplate.d.ts} +1 -1
  93. package/dist/chaos-manager/src/services/schemas/ProbeKubernetesCmdProbe.d.ts +3 -4
  94. package/dist/chaos-manager/src/services/schemas/ProbeLinuxCmdProbe.d.ts +3 -4
  95. package/dist/chaos-manager/src/services/schemas/ProbeMethod.d.ts +4 -4
  96. package/dist/chaos-manager/src/services/schemas/ProbeMethodTemplate.d.ts +6 -0
  97. package/dist/chaos-manager/src/services/schemas/ProbeProbeTemplateProperties.d.ts +16 -0
  98. package/dist/chaos-manager/src/services/schemas/{TypesRunProperties.d.ts → ProbeProbeTemplateRunProperties.d.ts} +3 -3
  99. package/dist/chaos-manager/src/services/schemas/ProbeProbeType.d.ts +1 -0
  100. package/dist/chaos-manager/src/services/schemas/ProbePromProbe.d.ts +2 -2
  101. package/dist/chaos-manager/src/services/schemas/ProbePromProbeTemplate.d.ts +11 -0
  102. package/dist/chaos-manager/src/services/schemas/ProbeSloProbe.d.ts +6 -6
  103. package/dist/chaos-manager/src/services/schemas/ProbeSloProbeTemplate.d.ts +12 -0
  104. package/dist/chaos-manager/src/services/schemas/ProbeSloSourceMetadata.d.ts +11 -0
  105. package/dist/chaos-manager/src/services/schemas/ProbeSloSourceMetadata.js +1 -0
  106. package/dist/chaos-manager/src/services/schemas/ProbeSloSourceMetadataTemplate.d.ts +5 -0
  107. package/dist/chaos-manager/src/services/schemas/ProbeSloSourceMetadataTemplate.js +1 -0
  108. package/dist/chaos-manager/src/services/schemas/ProbeSyntheticsTest.d.ts +2 -2
  109. package/dist/chaos-manager/src/services/schemas/ProbeSyntheticsTestTemplate.d.ts +5 -0
  110. package/dist/chaos-manager/src/services/schemas/ProbeSyntheticsTestTemplate.js +1 -0
  111. package/dist/chaos-manager/src/services/schemas/{GithubComHarnessHceSaasGraphqlServerPkgChaosV2ProbesTypesTlsConfig.d.ts → ProbeTlsConfigTemplate.d.ts} +1 -1
  112. package/dist/chaos-manager/src/services/schemas/ProbeTlsConfigTemplate.js +4 -0
  113. package/dist/chaos-manager/src/services/schemas/TypesApplication.d.ts +4 -0
  114. package/dist/chaos-manager/src/services/schemas/TypesApplication.js +4 -0
  115. package/dist/chaos-manager/src/services/schemas/TypesCleanupPolicy.d.ts +1 -0
  116. package/dist/chaos-manager/src/services/schemas/TypesCleanupPolicy.js +4 -0
  117. package/dist/chaos-manager/src/services/schemas/TypesConfigMap.d.ts +0 -9
  118. package/dist/chaos-manager/src/services/schemas/TypesExperimentComponents.d.ts +0 -39
  119. package/dist/chaos-manager/src/services/schemas/TypesGetProbeResponse.d.ts +4 -16
  120. package/dist/chaos-manager/src/services/schemas/TypesHostFile.d.ts +0 -12
  121. package/dist/chaos-manager/src/services/schemas/TypesImportProbeTemplateRequest.d.ts +11 -0
  122. package/dist/chaos-manager/src/services/schemas/TypesImportProbeTemplateRequest.js +4 -0
  123. package/dist/chaos-manager/src/services/schemas/TypesProbeRequest.d.ts +4 -16
  124. package/dist/chaos-manager/src/services/schemas/TypesProjectedVolumes.d.ts +0 -12
  125. package/dist/chaos-manager/src/services/schemas/TypesSecret.d.ts +0 -9
  126. package/dist/chaos-manager/src/services/schemas/TypesSecurityContext.d.ts +0 -6
  127. package/dist/chaos-manager/src/services/schemas/TypesSelector.d.ts +0 -3
  128. package/dist/chaos-manager/src/services/schemas/TypesSidecar.d.ts +0 -15
  129. package/dist/chaos-manager/src/services/schemas/TypesStatusCheckTimeout.d.ts +0 -6
  130. package/dist/chaos-manager/src/services/schemas/TypesTargets.d.ts +2 -3
  131. package/dist/chaos-manager/src/services/schemas/TypesWorkload.d.ts +0 -12
  132. package/package.json +1 -1
  133. package/dist/chaos-manager/src/services/hooks/useCreateChaosExperimentExecutionNodeMutation.d.ts +0 -24
  134. package/dist/chaos-manager/src/services/hooks/useCreateChaosExperimentExecutionNodeMutation.js +0 -14
  135. package/dist/chaos-manager/src/services/hooks/useExperimentExecutionNodeDetailsQuery.d.ts +0 -28
  136. package/dist/chaos-manager/src/services/hooks/useExperimentExecutionNodeDetailsQuery.js +0 -20
  137. package/dist/chaos-manager/src/services/hooks/useGetChaosPipelineExecutionQuery.d.ts +0 -27
  138. package/dist/chaos-manager/src/services/hooks/useGetChaosPipelineExecutionQuery.js +0 -14
  139. package/dist/chaos-manager/src/services/hooks/useGetChaosPipelineStepDetailsQuery.d.ts +0 -28
  140. package/dist/chaos-manager/src/services/hooks/useGetChaosPipelineStepDetailsQuery.js +0 -20
  141. package/dist/chaos-manager/src/services/hooks/useUpdateChaosExperimentExecutionNodeMutation.d.ts +0 -29
  142. package/dist/chaos-manager/src/services/hooks/useUpdateChaosExperimentExecutionNodeMutation.js +0 -14
  143. package/dist/chaos-manager/src/services/schemas/ActionsActionDetails.d.ts +0 -7
  144. package/dist/chaos-manager/src/services/schemas/ChaosHubStatus.d.ts +0 -1
  145. package/dist/chaos-manager/src/services/schemas/ChaosactiontemplateActionProperties.d.ts +0 -7
  146. package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasHceSdkCommonKubernetesV2ModelChaosData.d.ts +0 -8
  147. package/dist/chaos-manager/src/services/schemas/ModelActionData.d.ts +0 -3
  148. package/dist/chaos-manager/src/services/schemas/ModelChaosExecutionNode.d.ts +0 -19
  149. package/dist/chaos-manager/src/services/schemas/ModelChaosStepStatus.d.ts +0 -1
  150. package/dist/chaos-manager/src/services/schemas/ModelChaosStepType.d.ts +0 -1
  151. package/dist/chaos-manager/src/services/schemas/ModelCommandProbe.d.ts +0 -3
  152. package/dist/chaos-manager/src/services/schemas/ModelErrorData.d.ts +0 -4
  153. package/dist/chaos-manager/src/services/schemas/ModelFaultData.d.ts +0 -10
  154. package/dist/chaos-manager/src/services/schemas/ModelHelperPodDetails.d.ts +0 -4
  155. package/dist/chaos-manager/src/services/schemas/ModelHttpProbe.d.ts +0 -5
  156. package/dist/chaos-manager/src/services/schemas/ModelProbeData.d.ts +0 -8
  157. package/dist/chaos-manager/src/services/schemas/ModelProbeIterations.d.ts +0 -11
  158. package/dist/chaos-manager/src/services/schemas/ModelPromProbe.d.ts +0 -3
  159. package/dist/chaos-manager/src/services/schemas/ProbeDatadogSyntheticsTestType.d.ts +0 -1
  160. package/dist/chaos-manager/src/services/schemas/ProbeHeaders.d.ts +0 -4
  161. package/dist/chaos-manager/src/services/schemas/TypesCmdProbe.d.ts +0 -9
  162. package/dist/chaos-manager/src/services/schemas/TypesDatadogProbe.d.ts +0 -8
  163. package/dist/chaos-manager/src/services/schemas/TypesDynatraceProbe.d.ts +0 -9
  164. package/dist/chaos-manager/src/services/schemas/TypesFault.d.ts +0 -21
  165. package/dist/chaos-manager/src/services/schemas/TypesFaultRef.d.ts +0 -14
  166. package/dist/chaos-manager/src/services/schemas/TypesGet.d.ts +0 -5
  167. package/dist/chaos-manager/src/services/schemas/TypesHeaders.d.ts +0 -4
  168. package/dist/chaos-manager/src/services/schemas/TypesHttpProbe.d.ts +0 -11
  169. package/dist/chaos-manager/src/services/schemas/TypesMethod.d.ts +0 -6
  170. package/dist/chaos-manager/src/services/schemas/TypesPromProbe.d.ts +0 -11
  171. package/dist/chaos-manager/src/services/schemas/TypesSloProbe.d.ts +0 -12
  172. package/dist/chaos-manager/src/services/schemas/V1alpha1ConfigMapKeySelector.d.ts +0 -18
  173. package/dist/chaos-manager/src/services/schemas/V1alpha1ConfigMapVolumeSource.d.ts +0 -37
  174. package/dist/chaos-manager/src/services/schemas/V1alpha1EnvVar.d.ts +0 -24
  175. package/dist/chaos-manager/src/services/schemas/V1alpha1EnvVarSource.d.ts +0 -21
  176. package/dist/chaos-manager/src/services/schemas/V1alpha1KeyToPath.d.ts +0 -23
  177. package/dist/chaos-manager/src/services/schemas/V1alpha1ObjectFieldSelector.d.ts +0 -11
  178. package/dist/chaos-manager/src/services/schemas/V1alpha1SecretKeySelector.d.ts +0 -18
  179. package/dist/chaos-manager/src/services/schemas/V1alpha1SecretVolumeSource.d.ts +0 -36
  180. package/dist/chaos-manager/src/services/schemas/V1alpha1SourceDetails.d.ts +0 -48
  181. package/dist/chaos-manager/src/services/schemas/V1alpha1TargetDetails.d.ts +0 -5
  182. package/dist/chaos-manager/src/services/schemas/V1alpha1Targets.d.ts +0 -8
  183. package/dist/chaos-manager/src/services/schemas/V1alpha1Volume.d.ts +0 -21
  184. /package/dist/chaos-manager/src/services/schemas/{ActionsActionDetails.js → ActionActionTemplateProperties.js} +0 -0
  185. /package/dist/chaos-manager/src/services/schemas/{ActionsActionRunProperties.js → ActionActionTemplateRunProperties.js} +0 -0
  186. /package/dist/chaos-manager/src/services/schemas/{ChaosHubStatus.js → ActionCustomScriptActionTemplate.js} +0 -0
  187. /package/dist/chaos-manager/src/services/schemas/{GithubComHarnessHceSaasGraphqlServerPkgChaosV2ProbesTypesTlsConfig.js → ActionDelayActionTemplate.js} +0 -0
  188. /package/dist/chaos-manager/src/services/schemas/{ChaosactiontemplateActionProperties.js → ChaosExecutionNodesFaultDetails.js} +0 -0
  189. /package/dist/chaos-manager/src/services/schemas/{GithubComHarnessHceSaasHceSdkCommonKubernetesV2ModelChaosData.js → ChaosprobetemplateGetProbeTemplateResponse.js} +0 -0
  190. /package/dist/chaos-manager/src/services/schemas/{ModelChaosExecutionNode.js → ChaosprobetemplateListProbeTemplateResponse.js} +0 -0
  191. /package/dist/chaos-manager/src/services/schemas/{ModelFaultData.js → ChaosprobetemplateProbeTemplate.js} +0 -0
  192. /package/dist/chaos-manager/src/services/schemas/{ModelProbeData.js → ChaosprobetemplateProbeTemplateCount.js} +0 -0
  193. /package/dist/chaos-manager/src/services/schemas/{ModelProbeIterations.js → ChaosprobetemplateProbeTemplateVariables.js} +0 -0
  194. /package/dist/chaos-manager/src/services/schemas/{TypesCmdProbe.js → GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbChaosprobetemplateChaosProbeTemplate.js} +0 -0
  195. /package/dist/chaos-manager/src/services/schemas/{ModelActionData.js → GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeDatadogSyntheticsTestType.js} +0 -0
  196. /package/dist/chaos-manager/src/services/schemas/{ModelChaosStepStatus.js → GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeGet.js} +0 -0
  197. /package/dist/chaos-manager/src/services/schemas/{ModelChaosStepType.js → GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeHeaders.js} +0 -0
  198. /package/dist/chaos-manager/src/services/schemas/{ModelCommandProbe.js → GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbeIdentifier.js} +0 -0
  199. /package/dist/chaos-manager/src/services/schemas/{ModelErrorData.js → GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbProbePost.js} +0 -0
  200. /package/dist/chaos-manager/src/services/schemas/{ModelHelperPodDetails.js → GithubComHarnessHceSaasHceSdkTemplateSchemaProbeDatadogSyntheticsTestType.js} +0 -0
  201. /package/dist/chaos-manager/src/services/schemas/{ModelHttpProbe.js → GithubComHarnessHceSaasHceSdkTemplateSchemaProbeGet.js} +0 -0
  202. /package/dist/chaos-manager/src/services/schemas/{ModelPromProbe.js → GithubComHarnessHceSaasHceSdkTemplateSchemaProbeHeaders.js} +0 -0
  203. /package/dist/chaos-manager/src/services/schemas/{ProbeDatadogSyntheticsTestType.js → GithubComHarnessHceSaasHceSdkTemplateSchemaProbeIdentifier.js} +0 -0
  204. /package/dist/chaos-manager/src/services/schemas/{ProbeGet.js → GithubComHarnessHceSaasHceSdkTemplateSchemaProbePost.js} +0 -0
  205. /package/dist/chaos-manager/src/services/schemas/{ProbeHeaders.js → ModelAnnotation.js} +0 -0
  206. /package/dist/chaos-manager/src/services/schemas/{TypesDatadogProbe.js → ModelChart.js} +0 -0
  207. /package/dist/chaos-manager/src/services/schemas/{ProbePost.js → ModelExperiments.js} +0 -0
  208. /package/dist/chaos-manager/src/services/schemas/{TypesAuthorization.js → ModelFaultList.js} +0 -0
  209. /package/dist/chaos-manager/src/services/schemas/{TypesFaultRef.js → ModelLink.js} +0 -0
  210. /package/dist/chaos-manager/src/services/schemas/{TypesGet.js → ModelMaintainer.js} +0 -0
  211. /package/dist/chaos-manager/src/services/schemas/{TypesDynatraceProbe.js → ModelMetadata.js} +0 -0
  212. /package/dist/chaos-manager/src/services/schemas/{TypesFault.js → ModelPackageInformation.js} +0 -0
  213. /package/dist/chaos-manager/src/services/schemas/{TypesHeaders.js → ModelProvider.js} +0 -0
  214. /package/dist/chaos-manager/src/services/schemas/{TypesHttpProbe.js → ModelSpec.js} +0 -0
  215. /package/dist/chaos-manager/src/services/schemas/{TypesK8SProbe.js → ProbeAuthorizationTemplate.js} +0 -0
  216. /package/dist/chaos-manager/src/services/schemas/{TypesMethod.js → ProbeCmdProbeTemplate.js} +0 -0
  217. /package/dist/chaos-manager/src/services/schemas/{TypesPost.js → ProbeComparatorTemplate.js} +0 -0
  218. /package/dist/chaos-manager/src/services/schemas/{TypesPromProbe.js → ProbeDatadogMetricsTemplate.js} +0 -0
  219. /package/dist/chaos-manager/src/services/schemas/{TypesSloProbe.js → ProbeDatadogProbeTemplate.js} +0 -0
  220. /package/dist/chaos-manager/src/services/schemas/{TypesRunProperties.js → ProbeDynatraceMetricsTemplate.js} +0 -0
  221. /package/dist/chaos-manager/src/services/schemas/{V1alpha1ConfigMapVolumeSource.js → ProbeDynatraceProbeTemplate.js} +0 -0
  222. /package/dist/chaos-manager/src/services/schemas/{V1alpha1ConfigMapKeySelector.js → ProbeEvaluationWindow.js} +0 -0
  223. /package/dist/chaos-manager/src/services/schemas/{V1alpha1KeyToPath.js → ProbeEvaluationWindowTemplate.js} +0 -0
  224. /package/dist/chaos-manager/src/services/schemas/{V1alpha1EnvVar.js → ProbeHttpProbeTemplate.js} +0 -0
  225. /package/dist/chaos-manager/src/services/schemas/{V1alpha1ObjectFieldSelector.js → ProbeInfrastructureType.js} +0 -0
  226. /package/dist/chaos-manager/src/services/schemas/{V1alpha1SecretKeySelector.js → ProbeK8SProbeTemplate.js} +0 -0
  227. /package/dist/chaos-manager/src/services/schemas/{V1alpha1EnvVarSource.js → ProbeMethodTemplate.js} +0 -0
  228. /package/dist/chaos-manager/src/services/schemas/{V1alpha1SecretVolumeSource.js → ProbeProbeTemplateProperties.js} +0 -0
  229. /package/dist/chaos-manager/src/services/schemas/{V1alpha1TargetDetails.js → ProbeProbeTemplateRunProperties.js} +0 -0
  230. /package/dist/chaos-manager/src/services/schemas/{V1alpha1Targets.js → ProbeProbeType.js} +0 -0
  231. /package/dist/chaos-manager/src/services/schemas/{V1alpha1SourceDetails.js → ProbePromProbeTemplate.js} +0 -0
  232. /package/dist/chaos-manager/src/services/schemas/{V1alpha1Volume.js → ProbeSloProbeTemplate.js} +0 -0
@@ -1,19 +1,7 @@
1
1
  import type { TypesWorkloadKind } from '../schemas/TypesWorkloadKind';
2
2
  export interface TypesWorkload {
3
- /**
4
- * Kind of the workload
5
- */
6
3
  kind?: TypesWorkloadKind;
7
- /**
8
- * Labels of the workload
9
- */
10
4
  labels?: string;
11
- /**
12
- * Names of the workload
13
- */
14
5
  names?: string;
15
- /**
16
- * Namespace of the workload
17
- */
18
6
  namespace?: string;
19
7
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-chaos-manager-client",
3
- "version": "0.10.0",
3
+ "version": "0.12.0",
4
4
  "description": "Harness React Chaos Manager Service Client - APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",
@@ -1,24 +0,0 @@
1
- import { UseMutationOptions } from '@tanstack/react-query';
2
- import type { ApiRestError } from '../schemas/ApiRestError';
3
- import type { ModelChaosExecutionNode } from '../schemas/ModelChaosExecutionNode';
4
- import { FetcherOptions } from '../../../../custom-fetcher/index.js';
5
- export interface CreateChaosExperimentExecutionNodeMutationPathParams {
6
- experimentId: string;
7
- experimentRunId: string;
8
- }
9
- export type CreateChaosExperimentExecutionNodeRequestBody = ModelChaosExecutionNode[];
10
- export type CreateChaosExperimentExecutionNodeOkResponse = string;
11
- export type CreateChaosExperimentExecutionNodeErrorResponse = ApiRestError;
12
- export interface CreateChaosExperimentExecutionNodeProps extends CreateChaosExperimentExecutionNodeMutationPathParams, Omit<FetcherOptions<unknown, CreateChaosExperimentExecutionNodeRequestBody>, 'url'> {
13
- body: CreateChaosExperimentExecutionNodeRequestBody;
14
- }
15
- export interface CreateChaosExperimentExecutionNodeResponseContainer {
16
- body: CreateChaosExperimentExecutionNodeOkResponse;
17
- headers: Headers;
18
- }
19
- export declare function createChaosExperimentExecutionNode(props: CreateChaosExperimentExecutionNodeProps): Promise<CreateChaosExperimentExecutionNodeResponseContainer>;
20
- export type CreateChaosExperimentExecutionNodeMutationProps<T extends keyof CreateChaosExperimentExecutionNodeProps> = Omit<CreateChaosExperimentExecutionNodeProps, T> & Partial<Pick<CreateChaosExperimentExecutionNodeProps, T>>;
21
- /**
22
- * Create chaos execution node
23
- */
24
- export declare function useCreateChaosExperimentExecutionNodeMutation<T extends keyof CreateChaosExperimentExecutionNodeProps>(props: Pick<Partial<CreateChaosExperimentExecutionNodeProps>, T>, options?: Omit<UseMutationOptions<CreateChaosExperimentExecutionNodeResponseContainer, CreateChaosExperimentExecutionNodeErrorResponse, CreateChaosExperimentExecutionNodeMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<CreateChaosExperimentExecutionNodeResponseContainer, ApiRestError, CreateChaosExperimentExecutionNodeMutationProps<T>, unknown>;
@@ -1,14 +0,0 @@
1
- /* eslint-disable */
2
- // This code is autogenerated using @harnessio/oats-cli.
3
- // Please do not modify this code directly.
4
- import { useMutation } from '@tanstack/react-query';
5
- import { fetcher } from '../../../../custom-fetcher/index.js';
6
- export function createChaosExperimentExecutionNode(props) {
7
- return fetcher(Object.assign({ url: `/internal/v2/taskCallback/${props.experimentId}/${props.experimentRunId}`, method: 'POST' }, props));
8
- }
9
- /**
10
- * Create chaos execution node
11
- */
12
- export function useCreateChaosExperimentExecutionNodeMutation(props, options) {
13
- return useMutation((mutateProps) => createChaosExperimentExecutionNode(Object.assign(Object.assign({}, props), mutateProps)), options);
14
- }
@@ -1,28 +0,0 @@
1
- import { UseQueryOptions } from '@tanstack/react-query';
2
- import type { ModelChaosExecutionNode } from '../schemas/ModelChaosExecutionNode';
3
- import type { ApiRestError } from '../schemas/ApiRestError';
4
- import { FetcherOptions } from '../../../../custom-fetcher/index.js';
5
- export interface ExperimentExecutionNodeDetailsQueryPathParams {
6
- name: string;
7
- experimentId: string;
8
- experimentRunId: string;
9
- }
10
- export interface ExperimentExecutionNodeDetailsQueryQueryParams {
11
- accountIdentifier: string;
12
- organizationIdentifier: string;
13
- projectIdentifier: string;
14
- }
15
- export type ExperimentExecutionNodeDetailsOkResponse = ModelChaosExecutionNode[];
16
- export type ExperimentExecutionNodeDetailsErrorResponse = ApiRestError;
17
- export interface ExperimentExecutionNodeDetailsProps extends ExperimentExecutionNodeDetailsQueryPathParams, Omit<FetcherOptions<ExperimentExecutionNodeDetailsQueryQueryParams, unknown>, 'url'> {
18
- queryParams: ExperimentExecutionNodeDetailsQueryQueryParams;
19
- }
20
- export interface ExperimentExecutionNodeDetailsResponseContainer {
21
- body: ExperimentExecutionNodeDetailsOkResponse;
22
- headers: Headers;
23
- }
24
- export declare function experimentExecutionNodeDetails(props: ExperimentExecutionNodeDetailsProps): Promise<ExperimentExecutionNodeDetailsResponseContainer>;
25
- /**
26
- * Get chaos execution node
27
- */
28
- export declare function useExperimentExecutionNodeDetailsQuery(props: ExperimentExecutionNodeDetailsProps, options?: Omit<UseQueryOptions<ExperimentExecutionNodeDetailsResponseContainer, ExperimentExecutionNodeDetailsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ExperimentExecutionNodeDetailsResponseContainer, ApiRestError>;
@@ -1,20 +0,0 @@
1
- /* eslint-disable */
2
- // This code is autogenerated using @harnessio/oats-cli.
3
- // Please do not modify this code directly.
4
- import { useQuery } from '@tanstack/react-query';
5
- import { fetcher } from '../../../../custom-fetcher/index.js';
6
- export function experimentExecutionNodeDetails(props) {
7
- return fetcher(Object.assign({ url: `/internal/v2/node/${props.experimentId}/${props.experimentRunId}`, method: 'GET' }, props));
8
- }
9
- /**
10
- * Get chaos execution node
11
- */
12
- export function useExperimentExecutionNodeDetailsQuery(props, options) {
13
- return useQuery([
14
- 'experimentExecutionNodeDetails',
15
- props.name,
16
- props.experimentId,
17
- props.experimentRunId,
18
- props.queryParams,
19
- ], ({ signal }) => experimentExecutionNodeDetails(Object.assign(Object.assign({}, props), { signal })), options);
20
- }
@@ -1,27 +0,0 @@
1
- import { UseQueryOptions } from '@tanstack/react-query';
2
- import type { ChaosExecutionNodesChaosExecutionResponse } from '../schemas/ChaosExecutionNodesChaosExecutionResponse';
3
- import type { ApiRestError } from '../schemas/ApiRestError';
4
- import { FetcherOptions } from '../../../../custom-fetcher/index.js';
5
- export interface GetChaosPipelineExecutionQueryPathParams {
6
- experimentId: string;
7
- experimentRunId: string;
8
- }
9
- export interface GetChaosPipelineExecutionQueryQueryParams {
10
- accountIdentifier: string;
11
- organizationIdentifier: string;
12
- projectIdentifier: string;
13
- }
14
- export type GetChaosPipelineExecutionOkResponse = ChaosExecutionNodesChaosExecutionResponse;
15
- export type GetChaosPipelineExecutionErrorResponse = ApiRestError;
16
- export interface GetChaosPipelineExecutionProps extends GetChaosPipelineExecutionQueryPathParams, Omit<FetcherOptions<GetChaosPipelineExecutionQueryQueryParams, unknown>, 'url'> {
17
- queryParams: GetChaosPipelineExecutionQueryQueryParams;
18
- }
19
- export interface GetChaosPipelineExecutionResponseContainer {
20
- body: GetChaosPipelineExecutionOkResponse;
21
- headers: Headers;
22
- }
23
- export declare function getChaosPipelineExecution(props: GetChaosPipelineExecutionProps): Promise<GetChaosPipelineExecutionResponseContainer>;
24
- /**
25
- * Get a chaos pipeline execution
26
- */
27
- export declare function useGetChaosPipelineExecutionQuery(props: GetChaosPipelineExecutionProps, options?: Omit<UseQueryOptions<GetChaosPipelineExecutionResponseContainer, GetChaosPipelineExecutionErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetChaosPipelineExecutionResponseContainer, ApiRestError>;
@@ -1,14 +0,0 @@
1
- /* eslint-disable */
2
- // This code is autogenerated using @harnessio/oats-cli.
3
- // Please do not modify this code directly.
4
- import { useQuery } from '@tanstack/react-query';
5
- import { fetcher } from '../../../../custom-fetcher/index.js';
6
- export function getChaosPipelineExecution(props) {
7
- return fetcher(Object.assign({ url: `/rest/v2/chaos-pipeline/${props.experimentId}/${props.experimentRunId}`, method: 'GET' }, props));
8
- }
9
- /**
10
- * Get a chaos pipeline execution
11
- */
12
- export function useGetChaosPipelineExecutionQuery(props, options) {
13
- return useQuery(['getChaosPipelineExecution', props.experimentId, props.experimentRunId, props.queryParams], ({ signal }) => getChaosPipelineExecution(Object.assign(Object.assign({}, props), { signal })), options);
14
- }
@@ -1,28 +0,0 @@
1
- import { UseQueryOptions } from '@tanstack/react-query';
2
- import type { ChaosExecutionNodesChaosExecutionNode } from '../schemas/ChaosExecutionNodesChaosExecutionNode';
3
- import type { ApiRestError } from '../schemas/ApiRestError';
4
- import { FetcherOptions } from '../../../../custom-fetcher/index.js';
5
- export interface GetChaosPipelineStepDetailsQueryPathParams {
6
- experimentId: string;
7
- experimentRunId: string;
8
- stepName: string;
9
- }
10
- export interface GetChaosPipelineStepDetailsQueryQueryParams {
11
- accountIdentifier: string;
12
- organizationIdentifier: string;
13
- projectIdentifier: string;
14
- }
15
- export type GetChaosPipelineStepDetailsOkResponse = ChaosExecutionNodesChaosExecutionNode;
16
- export type GetChaosPipelineStepDetailsErrorResponse = ApiRestError;
17
- export interface GetChaosPipelineStepDetailsProps extends GetChaosPipelineStepDetailsQueryPathParams, Omit<FetcherOptions<GetChaosPipelineStepDetailsQueryQueryParams, unknown>, 'url'> {
18
- queryParams: GetChaosPipelineStepDetailsQueryQueryParams;
19
- }
20
- export interface GetChaosPipelineStepDetailsResponseContainer {
21
- body: GetChaosPipelineStepDetailsOkResponse;
22
- headers: Headers;
23
- }
24
- export declare function getChaosPipelineStepDetails(props: GetChaosPipelineStepDetailsProps): Promise<GetChaosPipelineStepDetailsResponseContainer>;
25
- /**
26
- * Get a chaos pipeline step execution
27
- */
28
- export declare function useGetChaosPipelineStepDetailsQuery(props: GetChaosPipelineStepDetailsProps, options?: Omit<UseQueryOptions<GetChaosPipelineStepDetailsResponseContainer, GetChaosPipelineStepDetailsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetChaosPipelineStepDetailsResponseContainer, ApiRestError>;
@@ -1,20 +0,0 @@
1
- /* eslint-disable */
2
- // This code is autogenerated using @harnessio/oats-cli.
3
- // Please do not modify this code directly.
4
- import { useQuery } from '@tanstack/react-query';
5
- import { fetcher } from '../../../../custom-fetcher/index.js';
6
- export function getChaosPipelineStepDetails(props) {
7
- return fetcher(Object.assign({ url: `/rest/v2/chaos-pipeline/step/${props.experimentId}/${props.experimentRunId}/${props.stepName}`, method: 'GET' }, props));
8
- }
9
- /**
10
- * Get a chaos pipeline step execution
11
- */
12
- export function useGetChaosPipelineStepDetailsQuery(props, options) {
13
- return useQuery([
14
- 'getChaosPipelineStepDetails',
15
- props.experimentId,
16
- props.experimentRunId,
17
- props.stepName,
18
- props.queryParams,
19
- ], ({ signal }) => getChaosPipelineStepDetails(Object.assign(Object.assign({}, props), { signal })), options);
20
- }
@@ -1,29 +0,0 @@
1
- import { UseMutationOptions } from '@tanstack/react-query';
2
- import type { ApiRestError } from '../schemas/ApiRestError';
3
- import type { ModelChaosExecutionNode } from '../schemas/ModelChaosExecutionNode';
4
- import { FetcherOptions } from '../../../../custom-fetcher/index.js';
5
- export interface UpdateChaosExperimentExecutionNodeMutationPathParams {
6
- name: string;
7
- experimentId: string;
8
- experimentRunId: string;
9
- }
10
- export interface UpdateChaosExperimentExecutionNodeMutationQueryParams {
11
- accountIdentifier: string;
12
- }
13
- export type UpdateChaosExperimentExecutionNodeRequestBody = ModelChaosExecutionNode;
14
- export type UpdateChaosExperimentExecutionNodeOkResponse = string;
15
- export type UpdateChaosExperimentExecutionNodeErrorResponse = ApiRestError;
16
- export interface UpdateChaosExperimentExecutionNodeProps extends UpdateChaosExperimentExecutionNodeMutationPathParams, Omit<FetcherOptions<UpdateChaosExperimentExecutionNodeMutationQueryParams, UpdateChaosExperimentExecutionNodeRequestBody>, 'url'> {
17
- queryParams: UpdateChaosExperimentExecutionNodeMutationQueryParams;
18
- body: UpdateChaosExperimentExecutionNodeRequestBody;
19
- }
20
- export interface UpdateChaosExperimentExecutionNodeResponseContainer {
21
- body: UpdateChaosExperimentExecutionNodeOkResponse;
22
- headers: Headers;
23
- }
24
- export declare function updateChaosExperimentExecutionNode(props: UpdateChaosExperimentExecutionNodeProps): Promise<UpdateChaosExperimentExecutionNodeResponseContainer>;
25
- export type UpdateChaosExperimentExecutionNodeMutationProps<T extends keyof UpdateChaosExperimentExecutionNodeProps> = Omit<UpdateChaosExperimentExecutionNodeProps, T> & Partial<Pick<UpdateChaosExperimentExecutionNodeProps, T>>;
26
- /**
27
- * Update chaos execution node
28
- */
29
- export declare function useUpdateChaosExperimentExecutionNodeMutation<T extends keyof UpdateChaosExperimentExecutionNodeProps>(props: Pick<Partial<UpdateChaosExperimentExecutionNodeProps>, T>, options?: Omit<UseMutationOptions<UpdateChaosExperimentExecutionNodeResponseContainer, UpdateChaosExperimentExecutionNodeErrorResponse, UpdateChaosExperimentExecutionNodeMutationProps<T>>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateChaosExperimentExecutionNodeResponseContainer, ApiRestError, UpdateChaosExperimentExecutionNodeMutationProps<T>, unknown>;
@@ -1,14 +0,0 @@
1
- /* eslint-disable */
2
- // This code is autogenerated using @harnessio/oats-cli.
3
- // Please do not modify this code directly.
4
- import { useMutation } from '@tanstack/react-query';
5
- import { fetcher } from '../../../../custom-fetcher/index.js';
6
- export function updateChaosExperimentExecutionNode(props) {
7
- return fetcher(Object.assign({ url: `/internal/v2/taskCallback/${props.experimentId}/${props.experimentRunId}/${props.name}`, method: 'POST' }, props));
8
- }
9
- /**
10
- * Update chaos execution node
11
- */
12
- export function useUpdateChaosExperimentExecutionNodeMutation(props, options) {
13
- return useMutation((mutateProps) => updateChaosExperimentExecutionNode(Object.assign(Object.assign({}, props), mutateProps)), options);
14
- }
@@ -1,7 +0,0 @@
1
- import type { V1EnvVar } from '../schemas/V1EnvVar';
2
- export interface ActionsActionDetails {
3
- args?: string[];
4
- command?: string[];
5
- duration?: string;
6
- env?: V1EnvVar[];
7
- }
@@ -1 +0,0 @@
1
- export type ChaosHubStatus = 'Active' | 'Errored' | 'Pending' | 'Updating';
@@ -1,7 +0,0 @@
1
- import type { V1EnvVar } from '../schemas/V1EnvVar';
2
- export interface ChaosactiontemplateActionProperties {
3
- args?: string[];
4
- command?: string[];
5
- duration?: string;
6
- env?: V1EnvVar[];
7
- }
@@ -1,8 +0,0 @@
1
- import type { ModelActionData } from '../schemas/ModelActionData';
2
- import type { ModelFaultData } from '../schemas/ModelFaultData';
3
- import type { ModelProbeData } from '../schemas/ModelProbeData';
4
- export interface GithubComHarnessHceSaasHceSdkCommonKubernetesV2ModelChaosData {
5
- actionData?: ModelActionData;
6
- faultData?: ModelFaultData;
7
- probeData?: ModelProbeData;
8
- }
@@ -1,3 +0,0 @@
1
- export interface ModelActionData {
2
- name?: string;
3
- }
@@ -1,19 +0,0 @@
1
- import type { GithubComHarnessHceSaasHceSdkCommonKubernetesV2ModelChaosData } from '../schemas/GithubComHarnessHceSaasHceSdkCommonKubernetesV2ModelChaosData';
2
- import type { ModelErrorData } from '../schemas/ModelErrorData';
3
- import type { ModelChaosStepStatus } from '../schemas/ModelChaosStepStatus';
4
- import type { ModelChaosStepType } from '../schemas/ModelChaosStepType';
5
- export interface ModelChaosExecutionNode {
6
- chaosData?: GithubComHarnessHceSaasHceSdkCommonKubernetesV2ModelChaosData;
7
- errorData?: ModelErrorData;
8
- estimatedTime?: number;
9
- experimentID?: string;
10
- experimentRunID?: string;
11
- finishedAt?: number;
12
- isRemoved?: boolean;
13
- lastUpdatedAt?: number;
14
- startedAt?: number;
15
- status?: ModelChaosStepStatus;
16
- stepName?: string;
17
- stepType?: ModelChaosStepType;
18
- streamID?: string;
19
- }
@@ -1 +0,0 @@
1
- export type ModelChaosStepStatus = 'COMPLETED' | 'COMPLETED_WITH_PROBE_FAILURE' | 'ERROR' | 'FAILED' | 'PASSED' | 'PENDING' | 'RUNNING' | 'SKIPPED' | 'STOPPED';
@@ -1 +0,0 @@
1
- export type ModelChaosStepType = 'ACTION' | 'EXPERIMENT' | 'FAULT' | 'PROBE';
@@ -1,3 +0,0 @@
1
- export interface ModelCommandProbe {
2
- output?: number[];
3
- }
@@ -1,4 +0,0 @@
1
- export interface ModelErrorData {
2
- code?: string;
3
- message?: string;
4
- }
@@ -1,10 +0,0 @@
1
- import type { ModelHelperPodDetails } from '../schemas/ModelHelperPodDetails';
2
- import type { V1alpha1TargetDetails } from '../schemas/V1alpha1TargetDetails';
3
- import type { V1alpha1Targets } from '../schemas/V1alpha1Targets';
4
- export interface ModelFaultData {
5
- helperPodDetails?: ModelHelperPodDetails[];
6
- name?: string;
7
- namespace?: string;
8
- targetChaosStatus?: V1alpha1TargetDetails[];
9
- targets?: V1alpha1Targets[];
10
- }
@@ -1,4 +0,0 @@
1
- export interface ModelHelperPodDetails {
2
- logStreamID?: string;
3
- name?: string;
4
- }
@@ -1,5 +0,0 @@
1
- export interface ModelHttpProbe {
2
- responseBody?: number[];
3
- responseTime?: number;
4
- statusCode?: number;
5
- }
@@ -1,8 +0,0 @@
1
- import type { ModelProbeIterations } from '../schemas/ModelProbeIterations';
2
- export interface ModelProbeData {
3
- description?: string;
4
- iterations?: ModelProbeIterations[];
5
- name?: string;
6
- probeType?: string;
7
- weightage?: number;
8
- }
@@ -1,11 +0,0 @@
1
- import type { ModelCommandProbe } from '../schemas/ModelCommandProbe';
2
- import type { ModelHttpProbe } from '../schemas/ModelHttpProbe';
3
- import type { ModelPromProbe } from '../schemas/ModelPromProbe';
4
- export interface ModelProbeIterations {
5
- commandProbe?: ModelCommandProbe;
6
- duration?: number;
7
- httpProbe?: ModelHttpProbe;
8
- phase?: string;
9
- promProbe?: ModelPromProbe;
10
- timestamp?: number;
11
- }
@@ -1,3 +0,0 @@
1
- export interface ModelPromProbe {
2
- metrics?: string;
3
- }
@@ -1 +0,0 @@
1
- export type ProbeDatadogSyntheticsTestType = 'api' | 'browser';
@@ -1,4 +0,0 @@
1
- export interface ProbeHeaders {
2
- key?: string;
3
- value?: string;
4
- }
@@ -1,9 +0,0 @@
1
- import type { ProbeComparator } from '../schemas/ProbeComparator';
2
- export interface TypesCmdProbe {
3
- command?: string;
4
- comparator?: ProbeComparator;
5
- /**
6
- * To handle different types in Kubernetes and Linux
7
- */
8
- source?: string;
9
- }
@@ -1,8 +0,0 @@
1
- import type { ProbeDatadogMetrics } from '../schemas/ProbeDatadogMetrics';
2
- import type { ProbeSyntheticsTest } from '../schemas/ProbeSyntheticsTest';
3
- export interface TypesDatadogProbe {
4
- datadogCredentialsSecretName?: string;
5
- datadogSite?: string;
6
- metrics?: ProbeDatadogMetrics;
7
- syntheticsTest?: ProbeSyntheticsTest;
8
- }
@@ -1,9 +0,0 @@
1
- import type { ProbeComparator } from '../schemas/ProbeComparator';
2
- import type { ProbeMetrics } from '../schemas/ProbeMetrics';
3
- export interface TypesDynatraceProbe {
4
- apiTokenSecretName?: string;
5
- comparator?: ProbeComparator;
6
- endpoint?: string;
7
- metrics?: ProbeMetrics;
8
- timeFrame?: string;
9
- }
@@ -1,21 +0,0 @@
1
- import type { GithubComWingsSoftwareDdcrPkgTypesDefinition } from '../schemas/GithubComWingsSoftwareDdcrPkgTypesDefinition';
2
- import type { TypesFaultRef } from '../schemas/TypesFaultRef';
3
- import type { TemplateVariableMinimum } from '../schemas/TemplateVariableMinimum';
4
- export interface TypesFault {
5
- /**
6
- * Definition of the fault
7
- */
8
- definition?: GithubComWingsSoftwareDdcrPkgTypesDefinition;
9
- /**
10
- * FaultRef to store the fault reference
11
- */
12
- faultRef?: TypesFaultRef;
13
- /**
14
- * Name of the fault
15
- */
16
- name?: string;
17
- /**
18
- * Variables to store the variables
19
- */
20
- values?: TemplateVariableMinimum[];
21
- }
@@ -1,14 +0,0 @@
1
- export interface TypesFaultRef {
2
- /**
3
- * HubRef of the fault reference
4
- */
5
- hubRef?: string;
6
- /**
7
- * Name of the fault reference
8
- */
9
- name?: string;
10
- /**
11
- * Revision of the fault reference
12
- */
13
- revision?: number;
14
- }
@@ -1,5 +0,0 @@
1
- export interface TypesGet {
2
- criteria?: string;
3
- responseBody?: string;
4
- responseCode?: string;
5
- }
@@ -1,4 +0,0 @@
1
- export interface TypesHeaders {
2
- key?: string;
3
- value?: string;
4
- }
@@ -1,11 +0,0 @@
1
- import type { TypesAuthorization } from '../schemas/TypesAuthorization';
2
- import type { TypesHeaders } from '../schemas/TypesHeaders';
3
- import type { TypesMethod } from '../schemas/TypesMethod';
4
- import type { GithubComHarnessHceSaasGraphqlServerPkgChaosV2ProbesTypesTlsConfig } from '../schemas/GithubComHarnessHceSaasGraphqlServerPkgChaosV2ProbesTypesTlsConfig';
5
- export interface TypesHttpProbe {
6
- auth?: TypesAuthorization;
7
- headers?: TypesHeaders[];
8
- method?: TypesMethod;
9
- tlsConfig?: GithubComHarnessHceSaasGraphqlServerPkgChaosV2ProbesTypesTlsConfig;
10
- url?: string;
11
- }
@@ -1,6 +0,0 @@
1
- import type { TypesGet } from '../schemas/TypesGet';
2
- import type { TypesPost } from '../schemas/TypesPost';
3
- export interface TypesMethod {
4
- get?: TypesGet;
5
- post?: TypesPost;
6
- }
@@ -1,11 +0,0 @@
1
- import type { TypesAuthorization } from '../schemas/TypesAuthorization';
2
- import type { ProbeComparator } from '../schemas/ProbeComparator';
3
- import type { GithubComHarnessHceSaasGraphqlServerPkgChaosV2ProbesTypesTlsConfig } from '../schemas/GithubComHarnessHceSaasGraphqlServerPkgChaosV2ProbesTypesTlsConfig';
4
- export interface TypesPromProbe {
5
- auth?: TypesAuthorization;
6
- comparator?: ProbeComparator;
7
- endpoint?: string;
8
- query?: string;
9
- queryPath?: string;
10
- tlsConfig?: GithubComHarnessHceSaasGraphqlServerPkgChaosV2ProbesTypesTlsConfig;
11
- }
@@ -1,12 +0,0 @@
1
- import type { ProbeComparator } from '../schemas/ProbeComparator';
2
- import type { V1EvaluationWindow } from '../schemas/V1EvaluationWindow';
3
- import type { V1SloSourceMetadata } from '../schemas/V1SloSourceMetadata';
4
- export interface TypesSloProbe {
5
- comparator?: ProbeComparator;
6
- evaluationTimeout?: string;
7
- evaluationWindow?: V1EvaluationWindow;
8
- insecureSkipVerify?: boolean;
9
- platformEndpoint?: string;
10
- sloIdentifier?: string;
11
- sloSourceMetadata?: V1SloSourceMetadata;
12
- }
@@ -1,18 +0,0 @@
1
- export interface V1alpha1ConfigMapKeySelector {
2
- /**
3
- * The key to select.
4
- */
5
- key?: string;
6
- /**
7
- * Name of the referent.
8
- * More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
9
- * TODO: Add other useful fields. apiVersion, kind, uid?
10
- * +optional
11
- */
12
- name?: string;
13
- /**
14
- * Specify whether the ConfigMap or its key must be defined
15
- * +optional
16
- */
17
- optional?: boolean;
18
- }
@@ -1,37 +0,0 @@
1
- import type { V1alpha1KeyToPath } from '../schemas/V1alpha1KeyToPath';
2
- export interface V1alpha1ConfigMapVolumeSource {
3
- /**
4
- * Optional: mode bits used to set permissions on created files by default.
5
- * Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511.
6
- * YAML accepts both octal and decimal values, JSON requires decimal values for mode bits.
7
- * Defaults to 0644.
8
- * Directories within the path are not affected by this setting.
9
- * This might be in conflict with other options that affect the file
10
- * mode, like fsGroup, and the result can be other mode bits set.
11
- * +optional
12
- */
13
- defaultMode?: number;
14
- /**
15
- * If unspecified, each key-value pair in the Data field of the referenced
16
- * ConfigMap will be projected into the volume as a file whose name is the
17
- * key and content is the value. If specified, the listed keys will be
18
- * projected into the specified paths, and unlisted keys will not be
19
- * present. If a key is specified which is not present in the ConfigMap,
20
- * the volume setup will error unless it is marked optional. Paths must be
21
- * relative and may not contain the '..' path or start with '..'.
22
- * +optional
23
- */
24
- items?: V1alpha1KeyToPath[];
25
- /**
26
- * Name of the referent.
27
- * More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
28
- * TODO: Add other useful fields. apiVersion, kind, uid?
29
- * +optional
30
- */
31
- name?: string;
32
- /**
33
- * Specify whether the ConfigMap or its keys must be defined
34
- * +optional
35
- */
36
- optional?: boolean;
37
- }
@@ -1,24 +0,0 @@
1
- import type { V1alpha1EnvVarSource } from '../schemas/V1alpha1EnvVarSource';
2
- export interface V1alpha1EnvVar {
3
- /**
4
- * Name of the environment variable. Must be a C_IDENTIFIER.
5
- */
6
- name?: string;
7
- /**
8
- * Variable references $(VAR_NAME) are expanded
9
- * using the previous defined environment variables in the container and
10
- * any service environment variables. If a variable cannot be resolved,
11
- * the reference in the input string will be unchanged. The $(VAR_NAME)
12
- * syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped
13
- * references will never be expanded, regardless of whether the variable
14
- * exists or not.
15
- * Defaults to "".
16
- * +optional
17
- */
18
- value?: string;
19
- /**
20
- * Source for the environment variable's value. Cannot be used if value is not empty.
21
- * +optional
22
- */
23
- valueFrom?: V1alpha1EnvVarSource;
24
- }