@harnessio/react-chaos-manager-client 1.39.0 → 1.40.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/useGetAccountServiceDetailsQuery.d.ts +8 -0
- package/dist/chaos-manager/src/services/hooks/useGetAccountServiceUsageStatsQuery.d.ts +6 -0
- package/dist/chaos-manager/src/services/hooks/useGetExperimentationActivityReportQuery.d.ts +6 -0
- package/dist/chaos-manager/src/services/hooks/useGetFaultTemplateRevisionsQuery.d.ts +2 -0
- package/dist/chaos-manager/src/services/hooks/useGetOnboardingExperimentsQuery.d.ts +2 -0
- package/dist/chaos-manager/src/services/hooks/useGetOverallServiceUsageStatsQuery.d.ts +6 -0
- package/dist/chaos-manager/src/services/hooks/useGetServiceUsageReportQuery.d.ts +6 -0
- package/dist/chaos-manager/src/services/hooks/useListActionTemplateQuery.d.ts +2 -0
- package/dist/chaos-manager/src/services/hooks/useListActionTemplateRevisionsQuery.d.ts +2 -0
- package/dist/chaos-manager/src/services/hooks/useListActionsQuery.d.ts +2 -0
- package/dist/chaos-manager/src/services/hooks/useListChaosEnabledInfraV2Query.d.ts +2 -0
- package/dist/chaos-manager/src/services/hooks/useListChaosHubQuery.d.ts +2 -0
- package/dist/chaos-manager/src/services/hooks/useListChaosV2ExperimentQuery.d.ts +2 -0
- package/dist/chaos-manager/src/services/hooks/useListFaultQuery.d.ts +2 -0
- package/dist/chaos-manager/src/services/hooks/useListGamedayV2Query.d.ts +2 -0
- package/dist/chaos-manager/src/services/hooks/useListHarnessInfraQuery.d.ts +2 -0
- package/dist/chaos-manager/src/services/hooks/useListInfraV2Query.d.ts +2 -0
- package/dist/chaos-manager/src/services/hooks/useListInputSetQuery.d.ts +2 -0
- package/dist/chaos-manager/src/services/hooks/useListMachineChaosInfraQuery.d.ts +2 -0
- package/dist/chaos-manager/src/services/hooks/useListProbeTemplateQuery.d.ts +2 -0
- package/dist/chaos-manager/src/services/hooks/useListProbesQuery.d.ts +2 -0
- package/dist/chaos-manager/src/services/hooks/useListRecommendationsQuery.d.ts +2 -0
- package/dist/chaos-manager/src/services/hooks/useListServiceQuery.d.ts +2 -0
- package/dist/chaos-manager/src/services/hooks/useListTargetNetworkMapsQuery.d.ts +2 -0
- package/dist/chaos-manager/src/services/hooks/useListV2OnboardingQuery.d.ts +2 -0
- package/dist/chaos-manager/src/services/index.d.ts +10 -1
- package/dist/chaos-manager/src/services/schemas/ActionActionTemplateProperties.d.ts +2 -2
- package/dist/chaos-manager/src/services/schemas/ActionsActionType.d.ts +1 -1
- package/dist/chaos-manager/src/services/schemas/CommonContainerTemplate.d.ts +38 -0
- package/dist/chaos-manager/src/services/schemas/CommonNodeAffinity.d.ts +7 -0
- package/dist/chaos-manager/src/services/schemas/CommonNodeAffinity.js +1 -0
- package/dist/chaos-manager/src/services/schemas/CommonPreferredNodeSelector.d.ts +9 -0
- package/dist/chaos-manager/src/services/schemas/CommonPreferredNodeSelector.js +4 -0
- package/dist/chaos-manager/src/services/schemas/CommonResourceRequirements.d.ts +8 -0
- package/dist/chaos-manager/src/services/schemas/CommonResourceRequirements.js +4 -0
- package/dist/chaos-manager/src/services/schemas/CommonVolume.d.ts +14 -0
- package/dist/chaos-manager/src/services/schemas/CommonVolume.js +1 -0
- package/dist/chaos-manager/src/services/schemas/CommonVolumeInputTemplate.d.ts +8 -0
- package/dist/chaos-manager/src/services/schemas/CommonVolumeInputTemplate.js +4 -0
- package/dist/chaos-manager/src/services/schemas/CommonVolumeType.d.ts +1 -0
- package/dist/chaos-manager/src/services/schemas/CommonVolumeType.js +4 -0
- package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasHceSdkCommonProbeV1Probe.d.ts +5 -0
- package/dist/chaos-manager/src/services/schemas/IntstrType.d.ts +3 -0
- package/dist/chaos-manager/src/services/schemas/ProbeContainerProbe.d.ts +49 -0
- package/dist/chaos-manager/src/services/schemas/ProbeContainerProbe.js +1 -0
- package/dist/chaos-manager/src/services/schemas/ProbeContainerProbeTemplate.d.ts +40 -0
- package/dist/chaos-manager/src/services/schemas/ProbeContainerProbeTemplate.js +1 -0
- package/dist/chaos-manager/src/services/schemas/ProbeProbeTemplateProperties.d.ts +2 -0
- package/dist/chaos-manager/src/services/schemas/ProbeProbeType.d.ts +1 -1
- package/dist/chaos-manager/src/services/schemas/TypesCreateProbeResponse.d.ts +2 -0
- package/dist/chaos-manager/src/services/schemas/TypesProbeType.d.ts +1 -1
- package/dist/chaos-manager/src/services/schemas/V1ContainerProbeInputs.d.ts +43 -0
- package/dist/chaos-manager/src/services/schemas/V1ContainerProbeInputs.js +1 -0
- package/package.json +1 -1
- package/dist/chaos-manager/src/services/schemas/ActionSourceActionTemplate.d.ts +0 -17
- /package/dist/chaos-manager/src/services/schemas/{ActionSourceActionTemplate.js → CommonContainerTemplate.js} +0 -0
|
@@ -6,14 +6,22 @@ export interface GetAccountServiceDetailsQueryPathParams {
|
|
|
6
6
|
}
|
|
7
7
|
export interface GetAccountServiceDetailsQueryQueryParams {
|
|
8
8
|
/**
|
|
9
|
+
* @format int64
|
|
9
10
|
* @default 0
|
|
10
11
|
*/
|
|
11
12
|
page: number;
|
|
12
13
|
/**
|
|
14
|
+
* @format int64
|
|
13
15
|
* @default 10
|
|
14
16
|
*/
|
|
15
17
|
limit: number;
|
|
18
|
+
/**
|
|
19
|
+
* @format int64
|
|
20
|
+
*/
|
|
16
21
|
startTime: number;
|
|
22
|
+
/**
|
|
23
|
+
* @format int64
|
|
24
|
+
*/
|
|
17
25
|
endTime: number;
|
|
18
26
|
service?: string;
|
|
19
27
|
serviceType?: string;
|
|
@@ -6,7 +6,13 @@ export interface GetAccountServiceUsageStatsQueryPathParams {
|
|
|
6
6
|
}
|
|
7
7
|
export interface GetAccountServiceUsageStatsQueryQueryParams {
|
|
8
8
|
groupBy: string;
|
|
9
|
+
/**
|
|
10
|
+
* @format int64
|
|
11
|
+
*/
|
|
9
12
|
startTime: number;
|
|
13
|
+
/**
|
|
14
|
+
* @format int64
|
|
15
|
+
*/
|
|
10
16
|
endTime: number;
|
|
11
17
|
cumulative?: boolean;
|
|
12
18
|
}
|
|
@@ -4,7 +4,13 @@ export interface GetExperimentationActivityReportQueryPathParams {
|
|
|
4
4
|
accountID: string;
|
|
5
5
|
}
|
|
6
6
|
export interface GetExperimentationActivityReportQueryQueryParams {
|
|
7
|
+
/**
|
|
8
|
+
* @format int64
|
|
9
|
+
*/
|
|
7
10
|
startTime: number;
|
|
11
|
+
/**
|
|
12
|
+
* @format int64
|
|
13
|
+
*/
|
|
8
14
|
endTime: number;
|
|
9
15
|
cumulate?: boolean;
|
|
10
16
|
}
|
|
@@ -11,10 +11,12 @@ export interface GetOnboardingExperimentsQueryQueryParams {
|
|
|
11
11
|
organizationIdentifier?: string;
|
|
12
12
|
projectIdentifier?: string;
|
|
13
13
|
/**
|
|
14
|
+
* @format int64
|
|
14
15
|
* @default 0
|
|
15
16
|
*/
|
|
16
17
|
page: number;
|
|
17
18
|
/**
|
|
19
|
+
* @format int64
|
|
18
20
|
* @default 5
|
|
19
21
|
*/
|
|
20
22
|
limit: number;
|
|
@@ -5,7 +5,13 @@ export interface GetOverallServiceUsageStatsQueryPathParams {
|
|
|
5
5
|
accountID: string;
|
|
6
6
|
}
|
|
7
7
|
export interface GetOverallServiceUsageStatsQueryQueryParams {
|
|
8
|
+
/**
|
|
9
|
+
* @format int64
|
|
10
|
+
*/
|
|
8
11
|
startTime: number;
|
|
12
|
+
/**
|
|
13
|
+
* @format int64
|
|
14
|
+
*/
|
|
9
15
|
endTime: number;
|
|
10
16
|
}
|
|
11
17
|
export type GetOverallServiceUsageStatsOkResponse = ChaosserviceusageOverallServiceUsageStats;
|
|
@@ -4,7 +4,13 @@ export interface GetServiceUsageReportQueryPathParams {
|
|
|
4
4
|
accountID: string;
|
|
5
5
|
}
|
|
6
6
|
export interface GetServiceUsageReportQueryQueryParams {
|
|
7
|
+
/**
|
|
8
|
+
* @format int64
|
|
9
|
+
*/
|
|
7
10
|
startTime: number;
|
|
11
|
+
/**
|
|
12
|
+
* @format int64
|
|
13
|
+
*/
|
|
8
14
|
endTime: number;
|
|
9
15
|
cumulate?: boolean;
|
|
10
16
|
}
|
|
@@ -11,10 +11,12 @@ export interface ListActionTemplateRevisionsQueryQueryParams {
|
|
|
11
11
|
projectIdentifier: string;
|
|
12
12
|
hubIdentity: string;
|
|
13
13
|
/**
|
|
14
|
+
* @format int64
|
|
14
15
|
* @default 0
|
|
15
16
|
*/
|
|
16
17
|
page: number;
|
|
17
18
|
/**
|
|
19
|
+
* @format int64
|
|
18
20
|
* @default 15
|
|
19
21
|
*/
|
|
20
22
|
limit: number;
|
|
@@ -9,10 +9,12 @@ export interface ListChaosEnabledInfraV2QueryQueryParams {
|
|
|
9
9
|
projectIdentifier: string;
|
|
10
10
|
environmentIdentifier?: string;
|
|
11
11
|
/**
|
|
12
|
+
* @format int64
|
|
12
13
|
* @default 0
|
|
13
14
|
*/
|
|
14
15
|
page: number;
|
|
15
16
|
/**
|
|
17
|
+
* @format int64
|
|
16
18
|
* @default 10
|
|
17
19
|
*/
|
|
18
20
|
limit: number;
|
|
@@ -10,10 +10,12 @@ export interface ListInfraV2QueryQueryParams {
|
|
|
10
10
|
includeLegacyInfra?: boolean;
|
|
11
11
|
environmentIdentifier?: string;
|
|
12
12
|
/**
|
|
13
|
+
* @format int64
|
|
13
14
|
* @default 0
|
|
14
15
|
*/
|
|
15
16
|
page: number;
|
|
16
17
|
/**
|
|
18
|
+
* @format int64
|
|
17
19
|
* @default 10
|
|
18
20
|
*/
|
|
19
21
|
limit: number;
|
|
@@ -8,10 +8,12 @@ export interface ListTargetNetworkMapsQueryQueryParams {
|
|
|
8
8
|
organizationIdentifier: string;
|
|
9
9
|
projectIdentifier: string;
|
|
10
10
|
/**
|
|
11
|
+
* @format int64
|
|
11
12
|
* @default 0
|
|
12
13
|
*/
|
|
13
14
|
page: number;
|
|
14
15
|
/**
|
|
16
|
+
* @format int64
|
|
15
17
|
* @default 10
|
|
16
18
|
*/
|
|
17
19
|
limit: number;
|
|
@@ -4,10 +4,12 @@ import type { ApiRestError } from '../schemas/ApiRestError';
|
|
|
4
4
|
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
5
5
|
export interface ListV2OnboardingQueryQueryParams {
|
|
6
6
|
/**
|
|
7
|
+
* @format int64
|
|
7
8
|
* @default 0
|
|
8
9
|
*/
|
|
9
10
|
page: number;
|
|
10
11
|
/**
|
|
12
|
+
* @format int64
|
|
11
13
|
* @default 10
|
|
12
14
|
*/
|
|
13
15
|
limit: number;
|
|
@@ -402,7 +402,6 @@ export type { ActionActionTemplateRunProperties } from './schemas/ActionActionTe
|
|
|
402
402
|
export type { ActionCustomScriptActionTemplate } from './schemas/ActionCustomScriptActionTemplate';
|
|
403
403
|
export type { ActionDelayActionTemplate } from './schemas/ActionDelayActionTemplate';
|
|
404
404
|
export type { ActionEnv } from './schemas/ActionEnv';
|
|
405
|
-
export type { ActionSourceActionTemplate } from './schemas/ActionSourceActionTemplate';
|
|
406
405
|
export type { ActionsActionResponse } from './schemas/ActionsActionResponse';
|
|
407
406
|
export type { ActionsActionType } from './schemas/ActionsActionType';
|
|
408
407
|
export type { ActionsExecutedByExperiment } from './schemas/ActionsExecutedByExperiment';
|
|
@@ -542,9 +541,16 @@ export type { ChaosserviceusageServiceDataResponse } from './schemas/Chaosservic
|
|
|
542
541
|
export type { ChaosserviceusageServiceType } from './schemas/ChaosserviceusageServiceType';
|
|
543
542
|
export type { ChaosserviceusageStatsByType } from './schemas/ChaosserviceusageStatsByType';
|
|
544
543
|
export type { ChaosserviceusageUsageStats } from './schemas/ChaosserviceusageUsageStats';
|
|
544
|
+
export type { CommonContainerTemplate } from './schemas/CommonContainerTemplate';
|
|
545
545
|
export type { CommonImportType } from './schemas/CommonImportType';
|
|
546
|
+
export type { CommonNodeAffinity } from './schemas/CommonNodeAffinity';
|
|
547
|
+
export type { CommonPreferredNodeSelector } from './schemas/CommonPreferredNodeSelector';
|
|
548
|
+
export type { CommonResourceRequirements } from './schemas/CommonResourceRequirements';
|
|
546
549
|
export type { CommonTypesExperimentRunStats } from './schemas/CommonTypesExperimentRunStats';
|
|
547
550
|
export type { CommonTypesExperimentRunsData } from './schemas/CommonTypesExperimentRunsData';
|
|
551
|
+
export type { CommonVolume } from './schemas/CommonVolume';
|
|
552
|
+
export type { CommonVolumeInputTemplate } from './schemas/CommonVolumeInputTemplate';
|
|
553
|
+
export type { CommonVolumeType } from './schemas/CommonVolumeType';
|
|
548
554
|
export type { DatabaseAgentConfiguration } from './schemas/DatabaseAgentConfiguration';
|
|
549
555
|
export type { DatabaseConnection } from './schemas/DatabaseConnection';
|
|
550
556
|
export type { DatabaseConnectionType } from './schemas/DatabaseConnectionType';
|
|
@@ -876,6 +882,8 @@ export type { ProbeAuthorizationTemplate } from './schemas/ProbeAuthorizationTem
|
|
|
876
882
|
export type { ProbeCmdProbeTemplate } from './schemas/ProbeCmdProbeTemplate';
|
|
877
883
|
export type { ProbeComparator } from './schemas/ProbeComparator';
|
|
878
884
|
export type { ProbeComparatorTemplate } from './schemas/ProbeComparatorTemplate';
|
|
885
|
+
export type { ProbeContainerProbe } from './schemas/ProbeContainerProbe';
|
|
886
|
+
export type { ProbeContainerProbeTemplate } from './schemas/ProbeContainerProbeTemplate';
|
|
879
887
|
export type { ProbeDatadogMetrics } from './schemas/ProbeDatadogMetrics';
|
|
880
888
|
export type { ProbeDatadogMetricsTemplate } from './schemas/ProbeDatadogMetricsTemplate';
|
|
881
889
|
export type { ProbeDatadogProbe } from './schemas/ProbeDatadogProbe';
|
|
@@ -1053,6 +1061,7 @@ export type { V1ConfigMapEnvSource } from './schemas/V1ConfigMapEnvSource';
|
|
|
1053
1061
|
export type { V1ConfigMapKeySelector } from './schemas/V1ConfigMapKeySelector';
|
|
1054
1062
|
export type { V1ConfigMapProjection } from './schemas/V1ConfigMapProjection';
|
|
1055
1063
|
export type { V1ConfigMapVolumeSource } from './schemas/V1ConfigMapVolumeSource';
|
|
1064
|
+
export type { V1ContainerProbeInputs } from './schemas/V1ContainerProbeInputs';
|
|
1056
1065
|
export type { V1CsiVolumeSource } from './schemas/V1CsiVolumeSource';
|
|
1057
1066
|
export type { V1DatadogMetrics } from './schemas/V1DatadogMetrics';
|
|
1058
1067
|
export type { V1DownwardApiProjection } from './schemas/V1DownwardApiProjection';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import type { CommonContainerTemplate } from '../schemas/CommonContainerTemplate';
|
|
1
2
|
import type { ActionCustomScriptActionTemplate } from '../schemas/ActionCustomScriptActionTemplate';
|
|
2
3
|
import type { ActionDelayActionTemplate } from '../schemas/ActionDelayActionTemplate';
|
|
3
|
-
import type { ActionSourceActionTemplate } from '../schemas/ActionSourceActionTemplate';
|
|
4
4
|
export interface ActionActionTemplateProperties {
|
|
5
|
+
containerAction?: CommonContainerTemplate;
|
|
5
6
|
customScriptAction?: ActionCustomScriptActionTemplate;
|
|
6
7
|
delayAction?: ActionDelayActionTemplate;
|
|
7
|
-
sourceAction?: ActionSourceActionTemplate;
|
|
8
8
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type ActionsActionType = 'customScript' | 'delay';
|
|
1
|
+
export type ActionsActionType = 'container' | 'customScript' | 'delay';
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import type { CommonNodeAffinity } from '../schemas/CommonNodeAffinity';
|
|
2
|
+
import type { V1SecurityContext } from '../schemas/V1SecurityContext';
|
|
3
|
+
import type { K8sIoApiCoreV1EnvVar } from '../schemas/K8sIoApiCoreV1EnvVar';
|
|
4
|
+
import type { V1PullPolicy } from '../schemas/V1PullPolicy';
|
|
5
|
+
import type { V1PodSecurityContext } from '../schemas/V1PodSecurityContext';
|
|
6
|
+
import type { CommonResourceRequirements } from '../schemas/CommonResourceRequirements';
|
|
7
|
+
import type { V1Toleration } from '../schemas/V1Toleration';
|
|
8
|
+
import type { V1VolumeMount } from '../schemas/V1VolumeMount';
|
|
9
|
+
import type { CommonVolume } from '../schemas/CommonVolume';
|
|
10
|
+
export interface CommonContainerTemplate {
|
|
11
|
+
affinity?: CommonNodeAffinity;
|
|
12
|
+
annotations?: {
|
|
13
|
+
[key: string]: string;
|
|
14
|
+
};
|
|
15
|
+
args?: string[];
|
|
16
|
+
command?: string[];
|
|
17
|
+
containerSecurityContext?: V1SecurityContext;
|
|
18
|
+
env?: K8sIoApiCoreV1EnvVar[];
|
|
19
|
+
hostIPC?: boolean;
|
|
20
|
+
hostNetwork?: boolean;
|
|
21
|
+
hostPID?: boolean;
|
|
22
|
+
image?: string;
|
|
23
|
+
imagePullPolicy?: V1PullPolicy;
|
|
24
|
+
imagePullSecrets?: string[];
|
|
25
|
+
labels?: {
|
|
26
|
+
[key: string]: string;
|
|
27
|
+
};
|
|
28
|
+
namespace?: string;
|
|
29
|
+
nodeSelector?: {
|
|
30
|
+
[key: string]: string;
|
|
31
|
+
};
|
|
32
|
+
podSecurityContext?: V1PodSecurityContext;
|
|
33
|
+
resources?: CommonResourceRequirements;
|
|
34
|
+
serviceAccountName?: string;
|
|
35
|
+
tolerations?: V1Toleration[];
|
|
36
|
+
volumeMounts?: V1VolumeMount[];
|
|
37
|
+
volumes?: CommonVolume[];
|
|
38
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { CommonVolumeInputTemplate } from '../schemas/CommonVolumeInputTemplate';
|
|
2
|
+
import type { V1EmptyDirVolumeSource } from '../schemas/V1EmptyDirVolumeSource';
|
|
3
|
+
import type { V1HostPathVolumeSource } from '../schemas/V1HostPathVolumeSource';
|
|
4
|
+
import type { V1PersistentVolumeClaimVolumeSource } from '../schemas/V1PersistentVolumeClaimVolumeSource';
|
|
5
|
+
import type { CommonVolumeType } from '../schemas/CommonVolumeType';
|
|
6
|
+
export interface CommonVolume {
|
|
7
|
+
configMap?: CommonVolumeInputTemplate;
|
|
8
|
+
emptyDir?: V1EmptyDirVolumeSource;
|
|
9
|
+
hostPath?: V1HostPathVolumeSource;
|
|
10
|
+
name?: string;
|
|
11
|
+
persistentVolumeClaim?: V1PersistentVolumeClaimVolumeSource;
|
|
12
|
+
secret?: CommonVolumeInputTemplate;
|
|
13
|
+
type?: CommonVolumeType;
|
|
14
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type CommonVolumeType = 'ConfigMap' | 'EmptyDir' | 'HostPath' | 'PersistentVolumeClaim' | 'Secret';
|
package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasHceSdkCommonProbeV1Probe.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { V1ApmProbeInputs } from '../schemas/V1ApmProbeInputs';
|
|
2
2
|
import type { GithubComHarnessHceSaasHceSdkCommonProbeV1CmdProbeInputs } from '../schemas/GithubComHarnessHceSaasHceSdkCommonProbeV1CmdProbeInputs';
|
|
3
|
+
import type { V1ContainerProbeInputs } from '../schemas/V1ContainerProbeInputs';
|
|
3
4
|
import type { GithubComHarnessHceSaasHceSdkCommonProbeV1DatadogProbeInputs } from '../schemas/GithubComHarnessHceSaasHceSdkCommonProbeV1DatadogProbeInputs';
|
|
4
5
|
import type { GithubComHarnessHceSaasHceSdkCommonProbeV1DynatraceProbeInputs } from '../schemas/GithubComHarnessHceSaasHceSdkCommonProbeV1DynatraceProbeInputs';
|
|
5
6
|
import type { GithubComHarnessHceSaasHceSdkCommonProbeV1HttpProbeInputs } from '../schemas/GithubComHarnessHceSaasHceSdkCommonProbeV1HttpProbeInputs';
|
|
@@ -17,6 +18,10 @@ export interface GithubComHarnessHceSaasHceSdkCommonProbeV1Probe {
|
|
|
17
18
|
* inputs needed for the cmd probe
|
|
18
19
|
*/
|
|
19
20
|
'cmdProbe/inputs'?: GithubComHarnessHceSaasHceSdkCommonProbeV1CmdProbeInputs;
|
|
21
|
+
/**
|
|
22
|
+
* ContainerInputs contains the inputs required for container probe
|
|
23
|
+
*/
|
|
24
|
+
'containerProbe/inputs'?: V1ContainerProbeInputs;
|
|
20
25
|
/**
|
|
21
26
|
* Data contains the manifest/data for the resource, which need to be created
|
|
22
27
|
* it supported for create operation only
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import type { CommonNodeAffinity } from '../schemas/CommonNodeAffinity';
|
|
2
|
+
import type { ProbeComparator } from '../schemas/ProbeComparator';
|
|
3
|
+
import type { V1SecurityContext } from '../schemas/V1SecurityContext';
|
|
4
|
+
import type { K8sIoApiCoreV1EnvVar } from '../schemas/K8sIoApiCoreV1EnvVar';
|
|
5
|
+
import type { V1PullPolicy } from '../schemas/V1PullPolicy';
|
|
6
|
+
import type { V1PodSecurityContext } from '../schemas/V1PodSecurityContext';
|
|
7
|
+
import type { CommonResourceRequirements } from '../schemas/CommonResourceRequirements';
|
|
8
|
+
import type { V1Toleration } from '../schemas/V1Toleration';
|
|
9
|
+
import type { V1VolumeMount } from '../schemas/V1VolumeMount';
|
|
10
|
+
import type { CommonVolume } from '../schemas/CommonVolume';
|
|
11
|
+
export interface ProbeContainerProbe {
|
|
12
|
+
affinity?: CommonNodeAffinity;
|
|
13
|
+
annotations?: {
|
|
14
|
+
[key: string]: string;
|
|
15
|
+
};
|
|
16
|
+
args?: string[];
|
|
17
|
+
attempt?: {};
|
|
18
|
+
command?: string[];
|
|
19
|
+
comparator?: ProbeComparator;
|
|
20
|
+
containerSecurityContext?: V1SecurityContext;
|
|
21
|
+
env?: K8sIoApiCoreV1EnvVar[];
|
|
22
|
+
hostIPC?: boolean;
|
|
23
|
+
hostNetwork?: boolean;
|
|
24
|
+
hostPID?: boolean;
|
|
25
|
+
image?: string;
|
|
26
|
+
imagePullPolicy?: V1PullPolicy;
|
|
27
|
+
imagePullSecrets?: string[];
|
|
28
|
+
initialDelay?: string;
|
|
29
|
+
initialDelaySeconds?: {};
|
|
30
|
+
interval?: string;
|
|
31
|
+
labels?: {
|
|
32
|
+
[key: string]: string;
|
|
33
|
+
};
|
|
34
|
+
namespace?: string;
|
|
35
|
+
nodeSelector?: {
|
|
36
|
+
[key: string]: string;
|
|
37
|
+
};
|
|
38
|
+
podSecurityContext?: V1PodSecurityContext;
|
|
39
|
+
pollingInterval?: string;
|
|
40
|
+
probeTimeout?: string;
|
|
41
|
+
resources?: CommonResourceRequirements;
|
|
42
|
+
retry?: {};
|
|
43
|
+
serviceAccountName?: string;
|
|
44
|
+
stopOnFailure?: boolean;
|
|
45
|
+
tolerations?: V1Toleration[];
|
|
46
|
+
verbosity?: string;
|
|
47
|
+
volumeMounts?: V1VolumeMount[];
|
|
48
|
+
volumes?: CommonVolume[];
|
|
49
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import type { CommonNodeAffinity } from '../schemas/CommonNodeAffinity';
|
|
2
|
+
import type { ProbeComparatorTemplate } from '../schemas/ProbeComparatorTemplate';
|
|
3
|
+
import type { V1SecurityContext } from '../schemas/V1SecurityContext';
|
|
4
|
+
import type { K8sIoApiCoreV1EnvVar } from '../schemas/K8sIoApiCoreV1EnvVar';
|
|
5
|
+
import type { V1PullPolicy } from '../schemas/V1PullPolicy';
|
|
6
|
+
import type { V1PodSecurityContext } from '../schemas/V1PodSecurityContext';
|
|
7
|
+
import type { CommonResourceRequirements } from '../schemas/CommonResourceRequirements';
|
|
8
|
+
import type { V1Toleration } from '../schemas/V1Toleration';
|
|
9
|
+
import type { V1VolumeMount } from '../schemas/V1VolumeMount';
|
|
10
|
+
import type { CommonVolume } from '../schemas/CommonVolume';
|
|
11
|
+
export interface ProbeContainerProbeTemplate {
|
|
12
|
+
affinity?: CommonNodeAffinity;
|
|
13
|
+
annotations?: {
|
|
14
|
+
[key: string]: string;
|
|
15
|
+
};
|
|
16
|
+
args?: string[];
|
|
17
|
+
command?: string[];
|
|
18
|
+
comparator?: ProbeComparatorTemplate;
|
|
19
|
+
containerSecurityContext?: V1SecurityContext;
|
|
20
|
+
env?: K8sIoApiCoreV1EnvVar[];
|
|
21
|
+
hostIPC?: boolean;
|
|
22
|
+
hostNetwork?: boolean;
|
|
23
|
+
hostPID?: boolean;
|
|
24
|
+
image?: string;
|
|
25
|
+
imagePullPolicy?: V1PullPolicy;
|
|
26
|
+
imagePullSecrets?: string[];
|
|
27
|
+
labels?: {
|
|
28
|
+
[key: string]: string;
|
|
29
|
+
};
|
|
30
|
+
namespace?: string;
|
|
31
|
+
nodeSelector?: {
|
|
32
|
+
[key: string]: string;
|
|
33
|
+
};
|
|
34
|
+
podSecurityContext?: V1PodSecurityContext;
|
|
35
|
+
resources?: CommonResourceRequirements;
|
|
36
|
+
serviceAccountName?: string;
|
|
37
|
+
tolerations?: V1Toleration[];
|
|
38
|
+
volumeMounts?: V1VolumeMount[];
|
|
39
|
+
volumes?: CommonVolume[];
|
|
40
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { ProbeApmProbeTemplate } from '../schemas/ProbeApmProbeTemplate';
|
|
2
2
|
import type { ProbeCmdProbeTemplate } from '../schemas/ProbeCmdProbeTemplate';
|
|
3
|
+
import type { ProbeContainerProbeTemplate } from '../schemas/ProbeContainerProbeTemplate';
|
|
3
4
|
import type { ProbeDatadogProbeTemplate } from '../schemas/ProbeDatadogProbeTemplate';
|
|
4
5
|
import type { ProbeDynatraceProbeTemplate } from '../schemas/ProbeDynatraceProbeTemplate';
|
|
5
6
|
import type { ProbeHttpProbeTemplate } from '../schemas/ProbeHttpProbeTemplate';
|
|
@@ -9,6 +10,7 @@ import type { ProbeSloProbeTemplate } from '../schemas/ProbeSloProbeTemplate';
|
|
|
9
10
|
export interface ProbeProbeTemplateProperties {
|
|
10
11
|
apmProbe?: ProbeApmProbeTemplate;
|
|
11
12
|
cmdProbe?: ProbeCmdProbeTemplate;
|
|
13
|
+
containerProbe?: ProbeContainerProbeTemplate;
|
|
12
14
|
datadogProbe?: ProbeDatadogProbeTemplate;
|
|
13
15
|
dynatraceProbe?: ProbeDynatraceProbeTemplate;
|
|
14
16
|
httpProbe?: ProbeHttpProbeTemplate;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type ProbeProbeType = 'cmdProbe' | 'datadogProbe' | 'dynatraceProbe' | 'httpProbe' | 'k8sProbe' | 'promProbe' | 'sloProbe';
|
|
1
|
+
export type ProbeProbeType = 'cmdProbe' | 'containerProbe' | 'datadogProbe' | 'dynatraceProbe' | 'httpProbe' | 'k8sProbe' | 'promProbe' | 'sloProbe';
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { ProbeApmProbe } from '../schemas/ProbeApmProbe';
|
|
2
2
|
import type { ProbeHttpProbe } from '../schemas/ProbeHttpProbe';
|
|
3
|
+
import type { ProbeContainerProbe } from '../schemas/ProbeContainerProbe';
|
|
3
4
|
import type { ProbeK8SProbe } from '../schemas/ProbeK8SProbe';
|
|
4
5
|
import type { ProbeKubernetesCmdProbe } from '../schemas/ProbeKubernetesCmdProbe';
|
|
5
6
|
import type { ProbeDatadogProbe } from '../schemas/ProbeDatadogProbe';
|
|
@@ -12,6 +13,7 @@ import type { ProbeWindowsCmdProbe } from '../schemas/ProbeWindowsCmdProbe';
|
|
|
12
13
|
export interface TypesCreateProbeResponse {
|
|
13
14
|
apmProperties?: ProbeApmProbe;
|
|
14
15
|
containerHttpProperties?: ProbeHttpProbe;
|
|
16
|
+
containerProbeProperties?: ProbeContainerProbe;
|
|
15
17
|
description?: string;
|
|
16
18
|
k8sProperties?: ProbeK8SProbe;
|
|
17
19
|
kubernetesCmdProperties?: ProbeKubernetesCmdProbe;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type TypesProbeType = 'apmProbe' | 'cmdProbe' | 'datadogProbe' | 'dynatraceProbe' | 'httpProbe' | 'k8sProbe' | 'promProbe' | 'sloProbe';
|
|
1
|
+
export type TypesProbeType = 'apmProbe' | 'cmdProbe' | 'containerProbe' | 'datadogProbe' | 'dynatraceProbe' | 'httpProbe' | 'k8sProbe' | 'promProbe' | 'sloProbe';
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import type { CommonNodeAffinity } from '../schemas/CommonNodeAffinity';
|
|
2
|
+
import type { GithubComHarnessHceSaasHceSdkCommonProbeV1ComparatorInfo } from '../schemas/GithubComHarnessHceSaasHceSdkCommonProbeV1ComparatorInfo';
|
|
3
|
+
import type { V1SecurityContext } from '../schemas/V1SecurityContext';
|
|
4
|
+
import type { K8sIoApiCoreV1EnvVar } from '../schemas/K8sIoApiCoreV1EnvVar';
|
|
5
|
+
import type { V1PullPolicy } from '../schemas/V1PullPolicy';
|
|
6
|
+
import type { V1PodSecurityContext } from '../schemas/V1PodSecurityContext';
|
|
7
|
+
import type { CommonResourceRequirements } from '../schemas/CommonResourceRequirements';
|
|
8
|
+
import type { V1Toleration } from '../schemas/V1Toleration';
|
|
9
|
+
import type { V1VolumeMount } from '../schemas/V1VolumeMount';
|
|
10
|
+
import type { CommonVolume } from '../schemas/CommonVolume';
|
|
11
|
+
export interface V1ContainerProbeInputs {
|
|
12
|
+
affinity?: CommonNodeAffinity;
|
|
13
|
+
annotations?: {
|
|
14
|
+
[key: string]: string;
|
|
15
|
+
};
|
|
16
|
+
args?: string[];
|
|
17
|
+
command?: string[];
|
|
18
|
+
/**
|
|
19
|
+
* Comparator check for the correctness of the probe output
|
|
20
|
+
*/
|
|
21
|
+
comparator?: GithubComHarnessHceSaasHceSdkCommonProbeV1ComparatorInfo;
|
|
22
|
+
containerSecurityContext?: V1SecurityContext;
|
|
23
|
+
env?: K8sIoApiCoreV1EnvVar[];
|
|
24
|
+
hostIPC?: boolean;
|
|
25
|
+
hostNetwork?: boolean;
|
|
26
|
+
hostPID?: boolean;
|
|
27
|
+
image?: string;
|
|
28
|
+
imagePullPolicy?: V1PullPolicy;
|
|
29
|
+
imagePullSecrets?: string[];
|
|
30
|
+
labels?: {
|
|
31
|
+
[key: string]: string;
|
|
32
|
+
};
|
|
33
|
+
namespace?: string;
|
|
34
|
+
nodeSelector?: {
|
|
35
|
+
[key: string]: string;
|
|
36
|
+
};
|
|
37
|
+
podSecurityContext?: V1PodSecurityContext;
|
|
38
|
+
resources?: CommonResourceRequirements;
|
|
39
|
+
serviceAccountName?: string;
|
|
40
|
+
tolerations?: V1Toleration[];
|
|
41
|
+
volumeMounts?: V1VolumeMount[];
|
|
42
|
+
volumes?: CommonVolume[];
|
|
43
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import type { ActionEnv } from '../schemas/ActionEnv';
|
|
2
|
-
export interface ActionSourceActionTemplate {
|
|
3
|
-
args?: {};
|
|
4
|
-
command?: {};
|
|
5
|
-
env?: ActionEnv[];
|
|
6
|
-
image?: string;
|
|
7
|
-
imagePullPolicy?: string;
|
|
8
|
-
imagePullSecrets?: {};
|
|
9
|
-
inheritInputs?: boolean;
|
|
10
|
-
nodeSelector?: {};
|
|
11
|
-
privileged?: boolean;
|
|
12
|
-
resources?: {};
|
|
13
|
-
serviceAccountName?: string;
|
|
14
|
-
tolerations?: {};
|
|
15
|
-
volumeMount?: {};
|
|
16
|
-
volumes?: {};
|
|
17
|
-
}
|
|
File without changes
|