@harnessio/react-chaos-manager-client 0.8.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.
- package/dist/chaos-manager/src/services/hooks/useGetChaosV2ExperimentRunInternalApiMutation.d.ts +31 -0
- package/dist/chaos-manager/src/services/hooks/useGetChaosV2ExperimentRunInternalApiMutation.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useGetExperimentRunTimelineViewQuery.d.ts +28 -0
- package/dist/chaos-manager/src/services/hooks/useGetExperimentRunTimelineViewQuery.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useGetInfraTokenQuery.d.ts +27 -0
- package/dist/chaos-manager/src/services/hooks/useGetInfraTokenQuery.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useListApplicationQuery.d.ts +27 -0
- package/dist/chaos-manager/src/services/hooks/useListApplicationQuery.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useListFunctionQuery.d.ts +28 -0
- package/dist/chaos-manager/src/services/hooks/useListFunctionQuery.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useRunChaosV2InternalApiMutation.d.ts +30 -0
- package/dist/chaos-manager/src/services/hooks/useRunChaosV2InternalApiMutation.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useUpdateEmissaryMutation.d.ts +31 -0
- package/dist/chaos-manager/src/services/hooks/useUpdateEmissaryMutation.js +14 -0
- package/dist/chaos-manager/src/services/index.d.ts +98 -0
- package/dist/chaos-manager/src/services/index.js +7 -0
- package/dist/chaos-manager/src/services/schemas/ApplicationchaostargetListApplicationResponse.d.ts +3 -0
- package/dist/chaos-manager/src/services/schemas/ApplicationchaostargetListApplicationResponse.js +4 -0
- package/dist/chaos-manager/src/services/schemas/ApplicationchaostargetListFunctionResponse.d.ts +3 -0
- package/dist/chaos-manager/src/services/schemas/ApplicationchaostargetListFunctionResponse.js +4 -0
- package/dist/chaos-manager/src/services/schemas/ChaosExecutionNodesActionData.d.ts +3 -0
- package/dist/chaos-manager/src/services/schemas/ChaosExecutionNodesActionData.js +4 -0
- package/dist/chaos-manager/src/services/schemas/ChaosExecutionNodesChaosData.d.ts +8 -0
- package/dist/chaos-manager/src/services/schemas/ChaosExecutionNodesChaosData.js +1 -0
- package/dist/chaos-manager/src/services/schemas/ChaosExecutionNodesChaosExecutionNode.d.ts +23 -0
- package/dist/chaos-manager/src/services/schemas/ChaosExecutionNodesChaosExecutionNode.js +1 -0
- package/dist/chaos-manager/src/services/schemas/ChaosExecutionNodesChaosExecutionResponse.d.ts +23 -0
- package/dist/chaos-manager/src/services/schemas/ChaosExecutionNodesChaosExecutionResponse.js +1 -0
- package/dist/chaos-manager/src/services/schemas/ChaosExecutionNodesChaosStepStatus.d.ts +1 -0
- package/dist/chaos-manager/src/services/schemas/ChaosExecutionNodesChaosStepStatus.js +4 -0
- package/dist/chaos-manager/src/services/schemas/ChaosExecutionNodesChaosStepType.d.ts +1 -0
- package/dist/chaos-manager/src/services/schemas/ChaosExecutionNodesChaosStepType.js +4 -0
- package/dist/chaos-manager/src/services/schemas/ChaosExecutionNodesCommandProbe.d.ts +3 -0
- package/dist/chaos-manager/src/services/schemas/ChaosExecutionNodesCommandProbe.js +4 -0
- package/dist/chaos-manager/src/services/schemas/ChaosExecutionNodesErrorData.d.ts +4 -0
- package/dist/chaos-manager/src/services/schemas/ChaosExecutionNodesErrorData.js +4 -0
- package/dist/chaos-manager/src/services/schemas/ChaosExecutionNodesFaultData.d.ts +8 -0
- package/dist/chaos-manager/src/services/schemas/ChaosExecutionNodesFaultData.js +1 -0
- package/dist/chaos-manager/src/services/schemas/ChaosExecutionNodesFaultDetails.d.ts +5 -0
- package/dist/chaos-manager/src/services/schemas/ChaosExecutionNodesFaultDetails.js +1 -0
- package/dist/chaos-manager/src/services/schemas/ChaosExecutionNodesHelperPodDetails.d.ts +4 -0
- package/dist/chaos-manager/src/services/schemas/ChaosExecutionNodesHelperPodDetails.js +4 -0
- package/dist/chaos-manager/src/services/schemas/ChaosExecutionNodesHttpProbe.d.ts +5 -0
- package/dist/chaos-manager/src/services/schemas/ChaosExecutionNodesHttpProbe.js +4 -0
- package/dist/chaos-manager/src/services/schemas/ChaosExecutionNodesProbeData.d.ts +12 -0
- package/dist/chaos-manager/src/services/schemas/ChaosExecutionNodesProbeData.js +1 -0
- package/dist/chaos-manager/src/services/schemas/ChaosExecutionNodesProbeIterations.d.ts +11 -0
- package/dist/chaos-manager/src/services/schemas/ChaosExecutionNodesProbeIterations.js +1 -0
- package/dist/chaos-manager/src/services/schemas/ChaosExecutionNodesPromProbe.d.ts +3 -0
- package/dist/chaos-manager/src/services/schemas/ChaosExecutionNodesPromProbe.js +4 -0
- package/dist/chaos-manager/src/services/schemas/ChaosInfrastructureV2ChaosInfraV2.d.ts +1 -0
- package/dist/chaos-manager/src/services/schemas/ChaosInfrastructureV2K8sInfraV2SpecIdentifiers.d.ts +1 -1
- package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasHceSdkCommonProbeV1Probe.d.ts +65 -0
- package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasHceSdkCommonProbeV1Probe.js +1 -0
- package/dist/chaos-manager/src/services/schemas/GithubComWingsSoftwareDdcrPkgTypesChaosInputs.d.ts +23 -0
- package/dist/chaos-manager/src/services/schemas/GithubComWingsSoftwareDdcrPkgTypesChaosInputs.js +1 -0
- package/dist/chaos-manager/src/services/schemas/GithubComWingsSoftwareDdcrPkgTypesDefinition.d.ts +6 -0
- package/dist/chaos-manager/src/services/schemas/GithubComWingsSoftwareDdcrPkgTypesDefinition.js +1 -0
- package/dist/chaos-manager/src/services/schemas/K8sinfraGetInfraTokenResponse.d.ts +3 -0
- package/dist/chaos-manager/src/services/schemas/K8sinfraGetInfraTokenResponse.js +4 -0
- package/dist/chaos-manager/src/services/schemas/K8sinfraUpdateEmissaryUrlRequest.d.ts +3 -0
- package/dist/chaos-manager/src/services/schemas/K8sinfraUpdateEmissaryUrlRequest.js +4 -0
- package/dist/chaos-manager/src/services/schemas/K8sinfraUpdateEmissaryUrlResponse.d.ts +3 -0
- package/dist/chaos-manager/src/services/schemas/K8sinfraUpdateEmissaryUrlResponse.js +4 -0
- package/dist/chaos-manager/src/services/schemas/ModelConditionDetails.d.ts +7 -0
- package/dist/chaos-manager/src/services/schemas/ModelConditionDetails.js +1 -0
- package/dist/chaos-manager/src/services/schemas/ModelInfrastructure.d.ts +87 -0
- package/dist/chaos-manager/src/services/schemas/ModelInfrastructure.js +1 -0
- package/dist/chaos-manager/src/services/schemas/ModelProbeMap.d.ts +4 -0
- package/dist/chaos-manager/src/services/schemas/ModelProbeMap.js +4 -0
- package/dist/chaos-manager/src/services/schemas/ModelRecurrence.d.ts +6 -0
- package/dist/chaos-manager/src/services/schemas/ModelRecurrence.js +1 -0
- package/dist/chaos-manager/src/services/schemas/ModelRecurrenceSpec.d.ts +4 -0
- package/dist/chaos-manager/src/services/schemas/ModelRecurrenceSpec.js +4 -0
- package/dist/chaos-manager/src/services/schemas/ModelRecurrenceType.d.ts +1 -0
- package/dist/chaos-manager/src/services/schemas/ModelRecurrenceType.js +4 -0
- package/dist/chaos-manager/src/services/schemas/ModelRuleDetails.d.ts +11 -0
- package/dist/chaos-manager/src/services/schemas/ModelRuleDetails.js +1 -0
- package/dist/chaos-manager/src/services/schemas/ModelSecurityGovernance.d.ts +11 -0
- package/dist/chaos-manager/src/services/schemas/ModelSecurityGovernance.js +1 -0
- package/dist/chaos-manager/src/services/schemas/ModelSecurityGovernanceNodeData.d.ts +6 -0
- package/dist/chaos-manager/src/services/schemas/ModelSecurityGovernanceNodeData.js +1 -0
- package/dist/chaos-manager/src/services/schemas/ModelSecurityGovernancePhase.d.ts +1 -0
- package/dist/chaos-manager/src/services/schemas/ModelSecurityGovernancePhase.js +4 -0
- package/dist/chaos-manager/src/services/schemas/ModelTimeWindow.d.ts +8 -0
- package/dist/chaos-manager/src/services/schemas/ModelTimeWindow.js +1 -0
- package/dist/chaos-manager/src/services/schemas/ModelWeightages.d.ts +10 -0
- package/dist/chaos-manager/src/services/schemas/ModelWeightages.js +4 -0
- package/dist/chaos-manager/src/services/schemas/ModelWorkflowRun.d.ts +141 -0
- package/dist/chaos-manager/src/services/schemas/ModelWorkflowRun.js +1 -0
- package/dist/chaos-manager/src/services/schemas/TemplateVariable.d.ts +2 -1
- package/dist/chaos-manager/src/services/schemas/TypesApplication.d.ts +4 -0
- package/dist/chaos-manager/src/services/schemas/TypesApplication.js +4 -0
- package/dist/chaos-manager/src/services/schemas/TypesCleanupPolicy.d.ts +1 -0
- package/dist/chaos-manager/src/services/schemas/TypesCleanupPolicy.js +4 -0
- package/dist/chaos-manager/src/services/schemas/TypesConfigMap.d.ts +5 -0
- package/dist/chaos-manager/src/services/schemas/TypesConfigMap.js +4 -0
- package/dist/chaos-manager/src/services/schemas/TypesExperimentComponents.d.ts +27 -0
- package/dist/chaos-manager/src/services/schemas/TypesExperimentComponents.js +1 -0
- package/dist/chaos-manager/src/services/schemas/TypesHostFile.d.ts +7 -0
- package/dist/chaos-manager/src/services/schemas/TypesHostFile.js +1 -0
- package/dist/chaos-manager/src/services/schemas/TypesInternalExperimentRunRequest.d.ts +8 -0
- package/dist/chaos-manager/src/services/schemas/TypesInternalExperimentRunRequest.js +1 -0
- package/dist/chaos-manager/src/services/schemas/TypesProjectedVolumes.d.ts +7 -0
- package/dist/chaos-manager/src/services/schemas/TypesProjectedVolumes.js +1 -0
- package/dist/chaos-manager/src/services/schemas/TypesSecret.d.ts +5 -0
- package/dist/chaos-manager/src/services/schemas/TypesSecret.js +4 -0
- package/dist/chaos-manager/src/services/schemas/TypesSecurityContext.d.ts +6 -0
- package/dist/chaos-manager/src/services/schemas/TypesSecurityContext.js +1 -0
- package/dist/chaos-manager/src/services/schemas/TypesSelector.d.ts +4 -0
- package/dist/chaos-manager/src/services/schemas/TypesSelector.js +1 -0
- package/dist/chaos-manager/src/services/schemas/TypesSidecar.d.ts +11 -0
- package/dist/chaos-manager/src/services/schemas/TypesSidecar.js +1 -0
- package/dist/chaos-manager/src/services/schemas/TypesStatusCheckTimeout.d.ts +4 -0
- package/dist/chaos-manager/src/services/schemas/TypesStatusCheckTimeout.js +4 -0
- package/dist/chaos-manager/src/services/schemas/TypesTargets.d.ts +6 -0
- package/dist/chaos-manager/src/services/schemas/TypesTargets.js +1 -0
- package/dist/chaos-manager/src/services/schemas/TypesWorkload.d.ts +7 -0
- package/dist/chaos-manager/src/services/schemas/TypesWorkload.js +1 -0
- package/dist/chaos-manager/src/services/schemas/TypesWorkloadKind.d.ts +1 -0
- package/dist/chaos-manager/src/services/schemas/TypesWorkloadKind.js +4 -0
- package/dist/chaos-manager/src/services/schemas/V1Authorization.d.ts +5 -0
- package/dist/chaos-manager/src/services/schemas/V1Authorization.js +4 -0
- package/dist/chaos-manager/src/services/schemas/V1Capabilities.d.ts +12 -0
- package/dist/chaos-manager/src/services/schemas/V1Capabilities.js +4 -0
- package/dist/chaos-manager/src/services/schemas/V1CmdProbeInputs.d.ts +17 -0
- package/dist/chaos-manager/src/services/schemas/V1CmdProbeInputs.js +1 -0
- package/dist/chaos-manager/src/services/schemas/V1ComparatorInfo.d.ts +17 -0
- package/dist/chaos-manager/src/services/schemas/V1ComparatorInfo.js +4 -0
- package/dist/chaos-manager/src/services/schemas/V1ConfigMapEnvSource.d.ts +14 -0
- package/dist/chaos-manager/src/services/schemas/V1ConfigMapEnvSource.js +4 -0
- package/dist/chaos-manager/src/services/schemas/V1DatadogMetrics.d.ts +15 -0
- package/dist/chaos-manager/src/services/schemas/V1DatadogMetrics.js +1 -0
- package/dist/chaos-manager/src/services/schemas/V1DatadogProbeInputs.d.ts +20 -0
- package/dist/chaos-manager/src/services/schemas/V1DatadogProbeInputs.js +1 -0
- package/dist/chaos-manager/src/services/schemas/V1DatadogSyntheticsTestType.d.ts +1 -0
- package/dist/chaos-manager/src/services/schemas/V1DatadogSyntheticsTestType.js +4 -0
- package/dist/chaos-manager/src/services/schemas/V1DynatraceProbeInputs.d.ts +24 -0
- package/dist/chaos-manager/src/services/schemas/V1DynatraceProbeInputs.js +1 -0
- package/dist/chaos-manager/src/services/schemas/V1EnvFromSource.d.ts +19 -0
- package/dist/chaos-manager/src/services/schemas/V1EnvFromSource.js +1 -0
- package/dist/chaos-manager/src/services/schemas/V1GetMethod.d.ts +15 -0
- package/dist/chaos-manager/src/services/schemas/V1GetMethod.js +4 -0
- package/dist/chaos-manager/src/services/schemas/V1HttpMethod.d.ts +6 -0
- package/dist/chaos-manager/src/services/schemas/V1HttpMethod.js +1 -0
- package/dist/chaos-manager/src/services/schemas/V1HttpProbeInputs.d.ts +31 -0
- package/dist/chaos-manager/src/services/schemas/V1HttpProbeInputs.js +1 -0
- package/dist/chaos-manager/src/services/schemas/V1K8sProbeInputs.d.ts +40 -0
- package/dist/chaos-manager/src/services/schemas/V1K8sProbeInputs.js +4 -0
- package/dist/chaos-manager/src/services/schemas/V1Metrics.d.ts +10 -0
- package/dist/chaos-manager/src/services/schemas/V1Metrics.js +4 -0
- package/dist/chaos-manager/src/services/schemas/V1NewrelicMetrics.d.ts +19 -0
- package/dist/chaos-manager/src/services/schemas/V1NewrelicMetrics.js +1 -0
- package/dist/chaos-manager/src/services/schemas/V1NewrelicProbeInputs.d.ts +19 -0
- package/dist/chaos-manager/src/services/schemas/V1NewrelicProbeInputs.js +1 -0
- package/dist/chaos-manager/src/services/schemas/V1PodFsGroupChangePolicy.d.ts +1 -0
- package/dist/chaos-manager/src/services/schemas/V1PodFsGroupChangePolicy.js +4 -0
- package/dist/chaos-manager/src/services/schemas/V1PodSecurityContext.d.ts +92 -0
- package/dist/chaos-manager/src/services/schemas/V1PodSecurityContext.js +1 -0
- package/dist/chaos-manager/src/services/schemas/V1PostMethod.d.ts +27 -0
- package/dist/chaos-manager/src/services/schemas/V1PostMethod.js +4 -0
- package/dist/chaos-manager/src/services/schemas/V1ProcMountType.d.ts +1 -0
- package/dist/chaos-manager/src/services/schemas/V1ProcMountType.js +4 -0
- package/dist/chaos-manager/src/services/schemas/V1PromProbeInputs.d.ts +29 -0
- package/dist/chaos-manager/src/services/schemas/V1PromProbeInputs.js +1 -0
- package/dist/chaos-manager/src/services/schemas/V1RunProperty.d.ts +42 -0
- package/dist/chaos-manager/src/services/schemas/V1RunProperty.js +4 -0
- package/dist/chaos-manager/src/services/schemas/V1SeLinuxOptions.d.ts +22 -0
- package/dist/chaos-manager/src/services/schemas/V1SeLinuxOptions.js +4 -0
- package/dist/chaos-manager/src/services/schemas/V1SeccompProfile.d.ts +21 -0
- package/dist/chaos-manager/src/services/schemas/V1SeccompProfile.js +1 -0
- package/dist/chaos-manager/src/services/schemas/V1SeccompProfileType.d.ts +1 -0
- package/dist/chaos-manager/src/services/schemas/V1SeccompProfileType.js +4 -0
- package/dist/chaos-manager/src/services/schemas/V1SecretEnvSource.d.ts +14 -0
- package/dist/chaos-manager/src/services/schemas/V1SecretEnvSource.js +4 -0
- package/dist/chaos-manager/src/services/schemas/V1SecurityContext.d.ts +92 -0
- package/dist/chaos-manager/src/services/schemas/V1SecurityContext.js +1 -0
- package/dist/chaos-manager/src/services/schemas/V1SloProbeInputs.d.ts +34 -0
- package/dist/chaos-manager/src/services/schemas/V1SloProbeInputs.js +1 -0
- package/dist/chaos-manager/src/services/schemas/V1SyntheticsTest.d.ts +11 -0
- package/dist/chaos-manager/src/services/schemas/V1SyntheticsTest.js +1 -0
- package/dist/chaos-manager/src/services/schemas/V1Sysctl.d.ts +10 -0
- package/dist/chaos-manager/src/services/schemas/V1Sysctl.js +4 -0
- package/dist/chaos-manager/src/services/schemas/V1TlsConfig.d.ts +22 -0
- package/dist/chaos-manager/src/services/schemas/V1TlsConfig.js +4 -0
- package/dist/chaos-manager/src/services/schemas/V1WindowsSecurityContextOptions.d.ts +22 -0
- package/dist/chaos-manager/src/services/schemas/V1WindowsSecurityContextOptions.js +4 -0
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
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 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -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 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type TypesWorkloadKind = 'daemonSet' | 'deployment' | 'deploymentconfig' | 'pod' | 'rollout' | 'statefulset';
|
|
@@ -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 @@
|
|
|
1
|
+
export {};
|
|
@@ -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,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,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 @@
|
|
|
1
|
+
export {};
|
|
@@ -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 {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type V1DatadogSyntheticsTestType = 'api' | 'browser';
|
|
@@ -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 @@
|
|
|
1
|
+
export {};
|
|
@@ -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 @@
|
|
|
1
|
+
export {};
|
|
@@ -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 @@
|
|
|
1
|
+
export {};
|
|
@@ -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 @@
|
|
|
1
|
+
export {};
|
|
@@ -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,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 @@
|
|
|
1
|
+
export {};
|
|
@@ -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 {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type V1PodFsGroupChangePolicy = 'Always' | 'OnRootMismatch';
|
|
@@ -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 @@
|
|
|
1
|
+
export {};
|
|
@@ -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
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type V1ProcMountType = 'Default' | 'Unmasked';
|