@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,29 @@
|
|
|
1
|
+
import type { V1Authorization } from '../schemas/V1Authorization';
|
|
2
|
+
import type { V1ComparatorInfo } from '../schemas/V1ComparatorInfo';
|
|
3
|
+
import type { V1TlsConfig } from '../schemas/V1TlsConfig';
|
|
4
|
+
export interface V1PromProbeInputs {
|
|
5
|
+
/**
|
|
6
|
+
* Auth contains the authentication details for the prometheus probe
|
|
7
|
+
*/
|
|
8
|
+
auth?: V1Authorization;
|
|
9
|
+
/**
|
|
10
|
+
* Comparator check for the correctness of the probe output
|
|
11
|
+
*/
|
|
12
|
+
comparator?: V1ComparatorInfo;
|
|
13
|
+
/**
|
|
14
|
+
* Endpoint for the prometheus probe
|
|
15
|
+
*/
|
|
16
|
+
endpoint?: string;
|
|
17
|
+
/**
|
|
18
|
+
* Query to get promethus metrics
|
|
19
|
+
*/
|
|
20
|
+
query?: string;
|
|
21
|
+
/**
|
|
22
|
+
* QueryPath contains filePath, which contains prometheus query
|
|
23
|
+
*/
|
|
24
|
+
queryPath?: string;
|
|
25
|
+
/**
|
|
26
|
+
* TLSConfig contains the tls configuration for the prometheus probe
|
|
27
|
+
*/
|
|
28
|
+
tlsConfig?: V1TlsConfig;
|
|
29
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
export interface V1RunProperty {
|
|
2
|
+
/**
|
|
3
|
+
* Attempt contains the total attempt count for the probe
|
|
4
|
+
*/
|
|
5
|
+
attempt?: number;
|
|
6
|
+
/**
|
|
7
|
+
* InitialDelay time interval for which probe will wait before run
|
|
8
|
+
*/
|
|
9
|
+
initialDelay?: string;
|
|
10
|
+
/**
|
|
11
|
+
* InitialDelaySeconds time interval for which probe will wait before run
|
|
12
|
+
*/
|
|
13
|
+
initialDelaySeconds?: number;
|
|
14
|
+
/**
|
|
15
|
+
* Interval contains the interval for the probe
|
|
16
|
+
*/
|
|
17
|
+
interval?: string;
|
|
18
|
+
/**
|
|
19
|
+
* ProbePollingInterval contains time interval, for which continuous probe should be sleep
|
|
20
|
+
* after each iteration
|
|
21
|
+
*/
|
|
22
|
+
probePollingInterval?: string;
|
|
23
|
+
/**
|
|
24
|
+
* ProbeTimeout contains timeout for the probe
|
|
25
|
+
*/
|
|
26
|
+
probeTimeout?: string;
|
|
27
|
+
/**
|
|
28
|
+
* Retry contains the retry count for the probe
|
|
29
|
+
*/
|
|
30
|
+
retry?: number;
|
|
31
|
+
/**
|
|
32
|
+
* StopOnFailure contains flag to stop/continue experiment execution, if probe fails
|
|
33
|
+
* it will stop the experiment execution, if provided true
|
|
34
|
+
* it will continue the experiment execution, if provided false or not provided(default case)
|
|
35
|
+
*/
|
|
36
|
+
stopOnFailure?: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* Verbosity contains flag to set the verbosity of probe
|
|
39
|
+
* it support info and debug verbosity
|
|
40
|
+
*/
|
|
41
|
+
verbosity?: string;
|
|
42
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export interface V1SeLinuxOptions {
|
|
2
|
+
/**
|
|
3
|
+
* Level is SELinux level label that applies to the container.
|
|
4
|
+
* +optional
|
|
5
|
+
*/
|
|
6
|
+
level?: string;
|
|
7
|
+
/**
|
|
8
|
+
* Role is a SELinux role label that applies to the container.
|
|
9
|
+
* +optional
|
|
10
|
+
*/
|
|
11
|
+
role?: string;
|
|
12
|
+
/**
|
|
13
|
+
* Type is a SELinux type label that applies to the container.
|
|
14
|
+
* +optional
|
|
15
|
+
*/
|
|
16
|
+
type?: string;
|
|
17
|
+
/**
|
|
18
|
+
* User is a SELinux user label that applies to the container.
|
|
19
|
+
* +optional
|
|
20
|
+
*/
|
|
21
|
+
user?: string;
|
|
22
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { V1SeccompProfileType } from '../schemas/V1SeccompProfileType';
|
|
2
|
+
export interface V1SeccompProfile {
|
|
3
|
+
/**
|
|
4
|
+
* localhostProfile indicates a profile defined in a file on the node should be used.
|
|
5
|
+
* The profile must be preconfigured on the node to work.
|
|
6
|
+
* Must be a descending path, relative to the kubelet's configured seccomp profile location.
|
|
7
|
+
* Must only be set if type is "Localhost".
|
|
8
|
+
* +optional
|
|
9
|
+
*/
|
|
10
|
+
localhostProfile?: string;
|
|
11
|
+
/**
|
|
12
|
+
* type indicates which kind of seccomp profile will be applied.
|
|
13
|
+
* Valid options are:
|
|
14
|
+
*
|
|
15
|
+
* Localhost - a profile defined in a file on the node should be used.
|
|
16
|
+
* RuntimeDefault - the container runtime default profile should be used.
|
|
17
|
+
* Unconfined - no profile should be applied.
|
|
18
|
+
* +unionDiscriminator
|
|
19
|
+
*/
|
|
20
|
+
type?: V1SeccompProfileType;
|
|
21
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type V1SeccompProfileType = 'Localhost' | 'RuntimeDefault' | 'Unconfined';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export interface V1SecretEnvSource {
|
|
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 Secret must be defined
|
|
11
|
+
* +optional
|
|
12
|
+
*/
|
|
13
|
+
optional?: boolean;
|
|
14
|
+
}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import type { V1Capabilities } from '../schemas/V1Capabilities';
|
|
2
|
+
import type { V1ProcMountType } from '../schemas/V1ProcMountType';
|
|
3
|
+
import type { V1SeLinuxOptions } from '../schemas/V1SeLinuxOptions';
|
|
4
|
+
import type { V1SeccompProfile } from '../schemas/V1SeccompProfile';
|
|
5
|
+
import type { V1WindowsSecurityContextOptions } from '../schemas/V1WindowsSecurityContextOptions';
|
|
6
|
+
export interface V1SecurityContext {
|
|
7
|
+
/**
|
|
8
|
+
* AllowPrivilegeEscalation controls whether a process can gain more
|
|
9
|
+
* privileges than its parent process. This bool directly controls if
|
|
10
|
+
* the no_new_privs flag will be set on the container process.
|
|
11
|
+
* AllowPrivilegeEscalation is true always when the container is:
|
|
12
|
+
* 1) run as Privileged
|
|
13
|
+
* 2) has CAP_SYS_ADMIN
|
|
14
|
+
* +optional
|
|
15
|
+
*/
|
|
16
|
+
allowPrivilegeEscalation?: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* The capabilities to add/drop when running containers.
|
|
19
|
+
* Defaults to the default set of capabilities granted by the container runtime.
|
|
20
|
+
* +optional
|
|
21
|
+
*/
|
|
22
|
+
capabilities?: V1Capabilities;
|
|
23
|
+
/**
|
|
24
|
+
* Run container in privileged mode.
|
|
25
|
+
* Processes in privileged containers are essentially equivalent to root on the host.
|
|
26
|
+
* Defaults to false.
|
|
27
|
+
* +optional
|
|
28
|
+
*/
|
|
29
|
+
privileged?: boolean;
|
|
30
|
+
/**
|
|
31
|
+
* procMount denotes the type of proc mount to use for the containers.
|
|
32
|
+
* The default is DefaultProcMount which uses the container runtime defaults for
|
|
33
|
+
* readonly paths and masked paths.
|
|
34
|
+
* This requires the ProcMountType feature flag to be enabled.
|
|
35
|
+
* +optional
|
|
36
|
+
*/
|
|
37
|
+
procMount?: V1ProcMountType;
|
|
38
|
+
/**
|
|
39
|
+
* Whether this container has a read-only root filesystem.
|
|
40
|
+
* Default is false.
|
|
41
|
+
* +optional
|
|
42
|
+
*/
|
|
43
|
+
readOnlyRootFilesystem?: boolean;
|
|
44
|
+
/**
|
|
45
|
+
* The GID to run the entrypoint of the container process.
|
|
46
|
+
* Uses runtime default if unset.
|
|
47
|
+
* May also be set in PodSecurityContext. If set in both SecurityContext and
|
|
48
|
+
* PodSecurityContext, the value specified in SecurityContext takes precedence.
|
|
49
|
+
* +optional
|
|
50
|
+
*/
|
|
51
|
+
runAsGroup?: number;
|
|
52
|
+
/**
|
|
53
|
+
* Indicates that the container must run as a non-root user.
|
|
54
|
+
* If true, the Kubelet will validate the image at runtime to ensure that it
|
|
55
|
+
* does not run as UID 0 (root) and fail to start the container if it does.
|
|
56
|
+
* If unset or false, no such validation will be performed.
|
|
57
|
+
* May also be set in PodSecurityContext. If set in both SecurityContext and
|
|
58
|
+
* PodSecurityContext, the value specified in SecurityContext takes precedence.
|
|
59
|
+
* +optional
|
|
60
|
+
*/
|
|
61
|
+
runAsNonRoot?: boolean;
|
|
62
|
+
/**
|
|
63
|
+
* The UID to run the entrypoint of the container process.
|
|
64
|
+
* Defaults to user specified in image metadata if unspecified.
|
|
65
|
+
* May also be set in PodSecurityContext. If set in both SecurityContext and
|
|
66
|
+
* PodSecurityContext, the value specified in SecurityContext takes precedence.
|
|
67
|
+
* +optional
|
|
68
|
+
*/
|
|
69
|
+
runAsUser?: number;
|
|
70
|
+
/**
|
|
71
|
+
* The SELinux context to be applied to the container.
|
|
72
|
+
* If unspecified, the container runtime will allocate a random SELinux context for each
|
|
73
|
+
* container. May also be set in PodSecurityContext. If set in both SecurityContext and
|
|
74
|
+
* PodSecurityContext, the value specified in SecurityContext takes precedence.
|
|
75
|
+
* +optional
|
|
76
|
+
*/
|
|
77
|
+
seLinuxOptions?: V1SeLinuxOptions;
|
|
78
|
+
/**
|
|
79
|
+
* The seccomp options to use by this container. If seccomp options are
|
|
80
|
+
* provided at both the pod & container level, the container options
|
|
81
|
+
* override the pod options.
|
|
82
|
+
* +optional
|
|
83
|
+
*/
|
|
84
|
+
seccompProfile?: V1SeccompProfile;
|
|
85
|
+
/**
|
|
86
|
+
* The Windows specific settings applied to all containers.
|
|
87
|
+
* If unspecified, the options from the PodSecurityContext 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,34 @@
|
|
|
1
|
+
import type { V1ComparatorInfo } from '../schemas/V1ComparatorInfo';
|
|
2
|
+
import type { V1EvaluationWindow } from '../schemas/V1EvaluationWindow';
|
|
3
|
+
import type { V1SloSourceMetadata } from '../schemas/V1SloSourceMetadata';
|
|
4
|
+
export interface V1SloProbeInputs {
|
|
5
|
+
/**
|
|
6
|
+
* Comparator check for the correctness of the probe output
|
|
7
|
+
*/
|
|
8
|
+
comparator?: V1ComparatorInfo;
|
|
9
|
+
/**
|
|
10
|
+
* EvaluationTimeout is the timeout window in which the SLO metrics
|
|
11
|
+
* will be fetched and will be evaluated
|
|
12
|
+
*/
|
|
13
|
+
evaluationTimeout?: string;
|
|
14
|
+
/**
|
|
15
|
+
* EvaluationWindow is the time period for which the metrics will be evaluated
|
|
16
|
+
*/
|
|
17
|
+
evaluationWindow?: V1EvaluationWindow;
|
|
18
|
+
/**
|
|
19
|
+
* InsecureSkipVerify flag to skip certificate checks
|
|
20
|
+
*/
|
|
21
|
+
insecureSkipVerify?: boolean;
|
|
22
|
+
/**
|
|
23
|
+
* PlatformEndpoint for the monitoring service endpoint
|
|
24
|
+
*/
|
|
25
|
+
platformEndpoint?: string;
|
|
26
|
+
/**
|
|
27
|
+
* SLOIdentifier for fetching the details of the SLO
|
|
28
|
+
*/
|
|
29
|
+
sloIdentifier?: string;
|
|
30
|
+
/**
|
|
31
|
+
* SLOSourceMetadata consists of required metadata details to fetch metric data
|
|
32
|
+
*/
|
|
33
|
+
sloSourceMetadata?: V1SloSourceMetadata;
|
|
34
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { V1DatadogSyntheticsTestType } from '../schemas/V1DatadogSyntheticsTestType';
|
|
2
|
+
export interface V1SyntheticsTest {
|
|
3
|
+
/**
|
|
4
|
+
* public id of the test
|
|
5
|
+
*/
|
|
6
|
+
publicId?: string;
|
|
7
|
+
/**
|
|
8
|
+
* type of the test; supports 'api' and 'browser' only
|
|
9
|
+
*/
|
|
10
|
+
testType?: V1DatadogSyntheticsTestType;
|
|
11
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export interface V1TlsConfig {
|
|
2
|
+
/**
|
|
3
|
+
* The CA cert to use for the targets.
|
|
4
|
+
*/
|
|
5
|
+
caFile?: string;
|
|
6
|
+
/**
|
|
7
|
+
* The client cert file for the targets.
|
|
8
|
+
*/
|
|
9
|
+
certFile?: string;
|
|
10
|
+
/**
|
|
11
|
+
* Disable target certificate validation.
|
|
12
|
+
*/
|
|
13
|
+
insecureSkipVerify?: boolean;
|
|
14
|
+
/**
|
|
15
|
+
* The client key file for the targets.
|
|
16
|
+
*/
|
|
17
|
+
keyFile?: string;
|
|
18
|
+
/**
|
|
19
|
+
* Used to verify the hostname for the targets.
|
|
20
|
+
*/
|
|
21
|
+
serverName?: string;
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export interface V1WindowsSecurityContextOptions {
|
|
2
|
+
/**
|
|
3
|
+
* GMSACredentialSpec is where the GMSA admission webhook
|
|
4
|
+
* (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the
|
|
5
|
+
* GMSA credential spec named by the GMSACredentialSpecName field.
|
|
6
|
+
* +optional
|
|
7
|
+
*/
|
|
8
|
+
gmsaCredentialSpec?: string;
|
|
9
|
+
/**
|
|
10
|
+
* GMSACredentialSpecName is the name of the GMSA credential spec to use.
|
|
11
|
+
* +optional
|
|
12
|
+
*/
|
|
13
|
+
gmsaCredentialSpecName?: string;
|
|
14
|
+
/**
|
|
15
|
+
* The UserName in Windows to run the entrypoint of the container process.
|
|
16
|
+
* Defaults to the user specified in image metadata if unspecified.
|
|
17
|
+
* May also be set in PodSecurityContext. If set in both SecurityContext and
|
|
18
|
+
* PodSecurityContext, the value specified in SecurityContext takes precedence.
|
|
19
|
+
* +optional
|
|
20
|
+
*/
|
|
21
|
+
runAsUserName?: string;
|
|
22
|
+
}
|
package/package.json
CHANGED