qovery-ws-typescript-axios 0.1.257 → 0.1.258
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/api.ts +133 -14
- package/dist/api.d.ts +140 -11
- package/dist/api.js +1 -9
- package/dist/esm/api.d.ts +140 -11
- package/dist/esm/api.js +0 -8
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -136,7 +136,7 @@ export interface ClusterComputedStatusDto {
|
|
|
136
136
|
* @type {QoveryClusterKubeVersionStatus}
|
|
137
137
|
* @memberof ClusterComputedStatusDto
|
|
138
138
|
*/
|
|
139
|
-
'kube_version_status': QoveryClusterKubeVersionStatus
|
|
139
|
+
'kube_version_status': QoveryClusterKubeVersionStatus;
|
|
140
140
|
/**
|
|
141
141
|
*
|
|
142
142
|
* @type {{ [key: string]: any; }}
|
|
@@ -537,6 +537,63 @@ export interface EnvironmentStatusDto {
|
|
|
537
537
|
}
|
|
538
538
|
|
|
539
539
|
|
|
540
|
+
/**
|
|
541
|
+
*
|
|
542
|
+
* @export
|
|
543
|
+
* @interface KubeVersionStatusDriftValue
|
|
544
|
+
*/
|
|
545
|
+
export interface KubeVersionStatusDriftValue {
|
|
546
|
+
/**
|
|
547
|
+
*
|
|
548
|
+
* @type {string}
|
|
549
|
+
* @memberof KubeVersionStatusDriftValue
|
|
550
|
+
*/
|
|
551
|
+
'expected_kube_version': string;
|
|
552
|
+
/**
|
|
553
|
+
*
|
|
554
|
+
* @type {string}
|
|
555
|
+
* @memberof KubeVersionStatusDriftValue
|
|
556
|
+
*/
|
|
557
|
+
'kube_version': string;
|
|
558
|
+
/**
|
|
559
|
+
*
|
|
560
|
+
* @type {string}
|
|
561
|
+
* @memberof KubeVersionStatusDriftValue
|
|
562
|
+
*/
|
|
563
|
+
'type': string;
|
|
564
|
+
}
|
|
565
|
+
/**
|
|
566
|
+
*
|
|
567
|
+
* @export
|
|
568
|
+
* @interface KubeVersionStatusOkValue
|
|
569
|
+
*/
|
|
570
|
+
export interface KubeVersionStatusOkValue {
|
|
571
|
+
/**
|
|
572
|
+
*
|
|
573
|
+
* @type {string}
|
|
574
|
+
* @memberof KubeVersionStatusOkValue
|
|
575
|
+
*/
|
|
576
|
+
'kube_version': string;
|
|
577
|
+
/**
|
|
578
|
+
*
|
|
579
|
+
* @type {string}
|
|
580
|
+
* @memberof KubeVersionStatusOkValue
|
|
581
|
+
*/
|
|
582
|
+
'type': string;
|
|
583
|
+
}
|
|
584
|
+
/**
|
|
585
|
+
*
|
|
586
|
+
* @export
|
|
587
|
+
* @interface KubeVersionStatusUnknownValue
|
|
588
|
+
*/
|
|
589
|
+
export interface KubeVersionStatusUnknownValue {
|
|
590
|
+
/**
|
|
591
|
+
*
|
|
592
|
+
* @type {string}
|
|
593
|
+
* @memberof KubeVersionStatusUnknownValue
|
|
594
|
+
*/
|
|
595
|
+
'type': string;
|
|
596
|
+
}
|
|
540
597
|
/**
|
|
541
598
|
*
|
|
542
599
|
* @export
|
|
@@ -637,6 +694,25 @@ export interface MetricsUsageDto {
|
|
|
637
694
|
*/
|
|
638
695
|
'memory_percent_working_set_usage'?: number | null;
|
|
639
696
|
}
|
|
697
|
+
/**
|
|
698
|
+
*
|
|
699
|
+
* @export
|
|
700
|
+
* @interface MissingComponentValue
|
|
701
|
+
*/
|
|
702
|
+
export interface MissingComponentValue {
|
|
703
|
+
/**
|
|
704
|
+
*
|
|
705
|
+
* @type {string}
|
|
706
|
+
* @memberof MissingComponentValue
|
|
707
|
+
*/
|
|
708
|
+
'component_name': string;
|
|
709
|
+
/**
|
|
710
|
+
*
|
|
711
|
+
* @type {string}
|
|
712
|
+
* @memberof MissingComponentValue
|
|
713
|
+
*/
|
|
714
|
+
'type': string;
|
|
715
|
+
}
|
|
640
716
|
/**
|
|
641
717
|
*
|
|
642
718
|
* @export
|
|
@@ -910,6 +986,57 @@ export interface PodDto {
|
|
|
910
986
|
*/
|
|
911
987
|
'ports': Array<number>;
|
|
912
988
|
}
|
|
989
|
+
/**
|
|
990
|
+
*
|
|
991
|
+
* @export
|
|
992
|
+
* @interface PodInErrorValue
|
|
993
|
+
*/
|
|
994
|
+
export interface PodInErrorValue {
|
|
995
|
+
/**
|
|
996
|
+
*
|
|
997
|
+
* @type {string}
|
|
998
|
+
* @memberof PodInErrorValue
|
|
999
|
+
*/
|
|
1000
|
+
'component_name': string;
|
|
1001
|
+
/**
|
|
1002
|
+
*
|
|
1003
|
+
* @type {string}
|
|
1004
|
+
* @memberof PodInErrorValue
|
|
1005
|
+
*/
|
|
1006
|
+
'container_name': string;
|
|
1007
|
+
/**
|
|
1008
|
+
*
|
|
1009
|
+
* @type {QoveryComponentContainerStatusLevel}
|
|
1010
|
+
* @memberof PodInErrorValue
|
|
1011
|
+
*/
|
|
1012
|
+
'level': QoveryComponentContainerStatusLevel;
|
|
1013
|
+
/**
|
|
1014
|
+
*
|
|
1015
|
+
* @type {string}
|
|
1016
|
+
* @memberof PodInErrorValue
|
|
1017
|
+
*/
|
|
1018
|
+
'message'?: string | null;
|
|
1019
|
+
/**
|
|
1020
|
+
*
|
|
1021
|
+
* @type {string}
|
|
1022
|
+
* @memberof PodInErrorValue
|
|
1023
|
+
*/
|
|
1024
|
+
'pod_name': string;
|
|
1025
|
+
/**
|
|
1026
|
+
*
|
|
1027
|
+
* @type {string}
|
|
1028
|
+
* @memberof PodInErrorValue
|
|
1029
|
+
*/
|
|
1030
|
+
'reason'?: string | null;
|
|
1031
|
+
/**
|
|
1032
|
+
*
|
|
1033
|
+
* @type {string}
|
|
1034
|
+
* @memberof PodInErrorValue
|
|
1035
|
+
*/
|
|
1036
|
+
'type': string;
|
|
1037
|
+
}
|
|
1038
|
+
|
|
1039
|
+
|
|
913
1040
|
/**
|
|
914
1041
|
*
|
|
915
1042
|
* @export
|
|
@@ -1060,17 +1187,10 @@ export interface PvcInfoDto {
|
|
|
1060
1187
|
'qovery_service_info'?: PodQoveryServiceInfoDto | null;
|
|
1061
1188
|
}
|
|
1062
1189
|
/**
|
|
1063
|
-
*
|
|
1190
|
+
* @type QoveryClusterKubeVersionStatus
|
|
1064
1191
|
* @export
|
|
1065
|
-
* @enum {string}
|
|
1066
1192
|
*/
|
|
1067
|
-
|
|
1068
|
-
export const QoveryClusterKubeVersionStatus = {
|
|
1069
|
-
UNKNOWN: 'Unknown'
|
|
1070
|
-
} as const;
|
|
1071
|
-
|
|
1072
|
-
export type QoveryClusterKubeVersionStatus = typeof QoveryClusterKubeVersionStatus[keyof typeof QoveryClusterKubeVersionStatus];
|
|
1073
|
-
|
|
1193
|
+
export type QoveryClusterKubeVersionStatus = { type: 'DRIFT' } & KubeVersionStatusDriftValue | { type: 'OK' } & KubeVersionStatusOkValue | { type: 'UNKNOWN' } & KubeVersionStatusUnknownValue;
|
|
1074
1194
|
|
|
1075
1195
|
/**
|
|
1076
1196
|
*
|
|
@@ -1114,12 +1234,11 @@ export type QoveryComponentContainerStatusLevel = typeof QoveryComponentContaine
|
|
|
1114
1234
|
|
|
1115
1235
|
|
|
1116
1236
|
/**
|
|
1117
|
-
*
|
|
1237
|
+
* @type QoveryComponentInFailure
|
|
1118
1238
|
* @export
|
|
1119
|
-
* @interface QoveryComponentInFailure
|
|
1120
1239
|
*/
|
|
1121
|
-
export
|
|
1122
|
-
|
|
1240
|
+
export type QoveryComponentInFailure = { type: 'MISSING_COMPONENT' } & MissingComponentValue | { type: 'POD_IN_ERROR' } & PodInErrorValue;
|
|
1241
|
+
|
|
1123
1242
|
/**
|
|
1124
1243
|
*
|
|
1125
1244
|
* @export
|
package/dist/api.d.ts
CHANGED
|
@@ -122,7 +122,7 @@ export interface ClusterComputedStatusDto {
|
|
|
122
122
|
* @type {QoveryClusterKubeVersionStatus}
|
|
123
123
|
* @memberof ClusterComputedStatusDto
|
|
124
124
|
*/
|
|
125
|
-
'kube_version_status': QoveryClusterKubeVersionStatus
|
|
125
|
+
'kube_version_status': QoveryClusterKubeVersionStatus;
|
|
126
126
|
/**
|
|
127
127
|
*
|
|
128
128
|
* @type {{ [key: string]: any; }}
|
|
@@ -513,6 +513,63 @@ export interface EnvironmentStatusDto {
|
|
|
513
513
|
*/
|
|
514
514
|
'state': ServiceStateDto;
|
|
515
515
|
}
|
|
516
|
+
/**
|
|
517
|
+
*
|
|
518
|
+
* @export
|
|
519
|
+
* @interface KubeVersionStatusDriftValue
|
|
520
|
+
*/
|
|
521
|
+
export interface KubeVersionStatusDriftValue {
|
|
522
|
+
/**
|
|
523
|
+
*
|
|
524
|
+
* @type {string}
|
|
525
|
+
* @memberof KubeVersionStatusDriftValue
|
|
526
|
+
*/
|
|
527
|
+
'expected_kube_version': string;
|
|
528
|
+
/**
|
|
529
|
+
*
|
|
530
|
+
* @type {string}
|
|
531
|
+
* @memberof KubeVersionStatusDriftValue
|
|
532
|
+
*/
|
|
533
|
+
'kube_version': string;
|
|
534
|
+
/**
|
|
535
|
+
*
|
|
536
|
+
* @type {string}
|
|
537
|
+
* @memberof KubeVersionStatusDriftValue
|
|
538
|
+
*/
|
|
539
|
+
'type': string;
|
|
540
|
+
}
|
|
541
|
+
/**
|
|
542
|
+
*
|
|
543
|
+
* @export
|
|
544
|
+
* @interface KubeVersionStatusOkValue
|
|
545
|
+
*/
|
|
546
|
+
export interface KubeVersionStatusOkValue {
|
|
547
|
+
/**
|
|
548
|
+
*
|
|
549
|
+
* @type {string}
|
|
550
|
+
* @memberof KubeVersionStatusOkValue
|
|
551
|
+
*/
|
|
552
|
+
'kube_version': string;
|
|
553
|
+
/**
|
|
554
|
+
*
|
|
555
|
+
* @type {string}
|
|
556
|
+
* @memberof KubeVersionStatusOkValue
|
|
557
|
+
*/
|
|
558
|
+
'type': string;
|
|
559
|
+
}
|
|
560
|
+
/**
|
|
561
|
+
*
|
|
562
|
+
* @export
|
|
563
|
+
* @interface KubeVersionStatusUnknownValue
|
|
564
|
+
*/
|
|
565
|
+
export interface KubeVersionStatusUnknownValue {
|
|
566
|
+
/**
|
|
567
|
+
*
|
|
568
|
+
* @type {string}
|
|
569
|
+
* @memberof KubeVersionStatusUnknownValue
|
|
570
|
+
*/
|
|
571
|
+
'type': string;
|
|
572
|
+
}
|
|
516
573
|
/**
|
|
517
574
|
*
|
|
518
575
|
* @export
|
|
@@ -611,6 +668,25 @@ export interface MetricsUsageDto {
|
|
|
611
668
|
*/
|
|
612
669
|
'memory_percent_working_set_usage'?: number | null;
|
|
613
670
|
}
|
|
671
|
+
/**
|
|
672
|
+
*
|
|
673
|
+
* @export
|
|
674
|
+
* @interface MissingComponentValue
|
|
675
|
+
*/
|
|
676
|
+
export interface MissingComponentValue {
|
|
677
|
+
/**
|
|
678
|
+
*
|
|
679
|
+
* @type {string}
|
|
680
|
+
* @memberof MissingComponentValue
|
|
681
|
+
*/
|
|
682
|
+
'component_name': string;
|
|
683
|
+
/**
|
|
684
|
+
*
|
|
685
|
+
* @type {string}
|
|
686
|
+
* @memberof MissingComponentValue
|
|
687
|
+
*/
|
|
688
|
+
'type': string;
|
|
689
|
+
}
|
|
614
690
|
/**
|
|
615
691
|
*
|
|
616
692
|
* @export
|
|
@@ -886,6 +962,55 @@ export interface PodDto {
|
|
|
886
962
|
*/
|
|
887
963
|
'ports': Array<number>;
|
|
888
964
|
}
|
|
965
|
+
/**
|
|
966
|
+
*
|
|
967
|
+
* @export
|
|
968
|
+
* @interface PodInErrorValue
|
|
969
|
+
*/
|
|
970
|
+
export interface PodInErrorValue {
|
|
971
|
+
/**
|
|
972
|
+
*
|
|
973
|
+
* @type {string}
|
|
974
|
+
* @memberof PodInErrorValue
|
|
975
|
+
*/
|
|
976
|
+
'component_name': string;
|
|
977
|
+
/**
|
|
978
|
+
*
|
|
979
|
+
* @type {string}
|
|
980
|
+
* @memberof PodInErrorValue
|
|
981
|
+
*/
|
|
982
|
+
'container_name': string;
|
|
983
|
+
/**
|
|
984
|
+
*
|
|
985
|
+
* @type {QoveryComponentContainerStatusLevel}
|
|
986
|
+
* @memberof PodInErrorValue
|
|
987
|
+
*/
|
|
988
|
+
'level': QoveryComponentContainerStatusLevel;
|
|
989
|
+
/**
|
|
990
|
+
*
|
|
991
|
+
* @type {string}
|
|
992
|
+
* @memberof PodInErrorValue
|
|
993
|
+
*/
|
|
994
|
+
'message'?: string | null;
|
|
995
|
+
/**
|
|
996
|
+
*
|
|
997
|
+
* @type {string}
|
|
998
|
+
* @memberof PodInErrorValue
|
|
999
|
+
*/
|
|
1000
|
+
'pod_name': string;
|
|
1001
|
+
/**
|
|
1002
|
+
*
|
|
1003
|
+
* @type {string}
|
|
1004
|
+
* @memberof PodInErrorValue
|
|
1005
|
+
*/
|
|
1006
|
+
'reason'?: string | null;
|
|
1007
|
+
/**
|
|
1008
|
+
*
|
|
1009
|
+
* @type {string}
|
|
1010
|
+
* @memberof PodInErrorValue
|
|
1011
|
+
*/
|
|
1012
|
+
'type': string;
|
|
1013
|
+
}
|
|
889
1014
|
/**
|
|
890
1015
|
*
|
|
891
1016
|
* @export
|
|
@@ -1034,14 +1159,16 @@ export interface PvcInfoDto {
|
|
|
1034
1159
|
'qovery_service_info'?: PodQoveryServiceInfoDto | null;
|
|
1035
1160
|
}
|
|
1036
1161
|
/**
|
|
1037
|
-
*
|
|
1162
|
+
* @type QoveryClusterKubeVersionStatus
|
|
1038
1163
|
* @export
|
|
1039
|
-
* @enum {string}
|
|
1040
1164
|
*/
|
|
1041
|
-
export
|
|
1042
|
-
|
|
1043
|
-
}
|
|
1044
|
-
|
|
1165
|
+
export type QoveryClusterKubeVersionStatus = {
|
|
1166
|
+
type: 'DRIFT';
|
|
1167
|
+
} & KubeVersionStatusDriftValue | {
|
|
1168
|
+
type: 'OK';
|
|
1169
|
+
} & KubeVersionStatusOkValue | {
|
|
1170
|
+
type: 'UNKNOWN';
|
|
1171
|
+
} & KubeVersionStatusUnknownValue;
|
|
1045
1172
|
/**
|
|
1046
1173
|
*
|
|
1047
1174
|
* @export
|
|
@@ -1078,12 +1205,14 @@ export declare const QoveryComponentContainerStatusLevel: {
|
|
|
1078
1205
|
};
|
|
1079
1206
|
export type QoveryComponentContainerStatusLevel = typeof QoveryComponentContainerStatusLevel[keyof typeof QoveryComponentContainerStatusLevel];
|
|
1080
1207
|
/**
|
|
1081
|
-
*
|
|
1208
|
+
* @type QoveryComponentInFailure
|
|
1082
1209
|
* @export
|
|
1083
|
-
* @interface QoveryComponentInFailure
|
|
1084
1210
|
*/
|
|
1085
|
-
export
|
|
1086
|
-
|
|
1211
|
+
export type QoveryComponentInFailure = {
|
|
1212
|
+
type: 'MISSING_COMPONENT';
|
|
1213
|
+
} & MissingComponentValue | {
|
|
1214
|
+
type: 'POD_IN_ERROR';
|
|
1215
|
+
} & PodInErrorValue;
|
|
1087
1216
|
/**
|
|
1088
1217
|
*
|
|
1089
1218
|
* @export
|
package/dist/api.js
CHANGED
|
@@ -22,7 +22,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
22
22
|
});
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.ShellApi = exports.ShellApiFactory = exports.ShellApiFp = exports.ShellApiAxiosParamCreator = exports.ServiceStatusApi = exports.ServiceStatusApiFactory = exports.ServiceStatusApiFp = exports.ServiceStatusApiAxiosParamCreator = exports.ServiceMetricsApi = exports.ServiceMetricsApiFactory = exports.ServiceMetricsApiFp = exports.ServiceMetricsApiAxiosParamCreator = exports.ServiceListPodsApi = exports.ServiceListPodsApiFactory = exports.ServiceListPodsApiFp = exports.ServiceListPodsApiAxiosParamCreator = exports.RemoteDebugApi = exports.RemoteDebugApiFactory = exports.RemoteDebugApiFp = exports.RemoteDebugApiAxiosParamCreator = exports.LogsApi = exports.LogsApiFactory = exports.LogsApiFp = exports.LogsApiAxiosParamCreator = exports.DeploymentApi = exports.DeploymentApiFactory = exports.DeploymentApiFp = exports.DeploymentApiAxiosParamCreator = exports.ClusterStatusApi = exports.ClusterStatusApiFactory = exports.ClusterStatusApiFp = exports.ClusterStatusApiAxiosParamCreator = exports.ClusterListNodesApi = exports.ClusterListNodesApiFactory = exports.ClusterListNodesApiFp = exports.ClusterListNodesApiAxiosParamCreator = exports.UnitDto = exports.ServiceType = exports.ServiceStateDto = exports.ResourceStatusDto = exports.QoveryComponentContainerStatusLevel = exports.
|
|
25
|
+
exports.ShellApi = exports.ShellApiFactory = exports.ShellApiFp = exports.ShellApiAxiosParamCreator = exports.ServiceStatusApi = exports.ServiceStatusApiFactory = exports.ServiceStatusApiFp = exports.ServiceStatusApiAxiosParamCreator = exports.ServiceMetricsApi = exports.ServiceMetricsApiFactory = exports.ServiceMetricsApiFp = exports.ServiceMetricsApiAxiosParamCreator = exports.ServiceListPodsApi = exports.ServiceListPodsApiFactory = exports.ServiceListPodsApiFp = exports.ServiceListPodsApiAxiosParamCreator = exports.RemoteDebugApi = exports.RemoteDebugApiFactory = exports.RemoteDebugApiFp = exports.RemoteDebugApiAxiosParamCreator = exports.LogsApi = exports.LogsApiFactory = exports.LogsApiFp = exports.LogsApiAxiosParamCreator = exports.DeploymentApi = exports.DeploymentApiFactory = exports.DeploymentApiFp = exports.DeploymentApiAxiosParamCreator = exports.ClusterStatusApi = exports.ClusterStatusApiFactory = exports.ClusterStatusApiFp = exports.ClusterStatusApiAxiosParamCreator = exports.ClusterListNodesApi = exports.ClusterListNodesApiFactory = exports.ClusterListNodesApiFp = exports.ClusterListNodesApiAxiosParamCreator = exports.UnitDto = exports.ServiceType = exports.ServiceStateDto = exports.ResourceStatusDto = exports.QoveryComponentContainerStatusLevel = exports.DebugFlavor = exports.ClusterStatusGlobalStatus = void 0;
|
|
26
26
|
const axios_1 = require("axios");
|
|
27
27
|
// Some imports not used depending on template conditions
|
|
28
28
|
// @ts-ignore
|
|
@@ -48,14 +48,6 @@ exports.DebugFlavor = {
|
|
|
48
48
|
REGULAR_PRIVILEGE: 'REGULAR_PRIVILEGE',
|
|
49
49
|
FULL_PRIVILEGE: 'FULL_PRIVILEGE'
|
|
50
50
|
};
|
|
51
|
-
/**
|
|
52
|
-
*
|
|
53
|
-
* @export
|
|
54
|
-
* @enum {string}
|
|
55
|
-
*/
|
|
56
|
-
exports.QoveryClusterKubeVersionStatus = {
|
|
57
|
-
UNKNOWN: 'Unknown'
|
|
58
|
-
};
|
|
59
51
|
/**
|
|
60
52
|
*
|
|
61
53
|
* @export
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -122,7 +122,7 @@ export interface ClusterComputedStatusDto {
|
|
|
122
122
|
* @type {QoveryClusterKubeVersionStatus}
|
|
123
123
|
* @memberof ClusterComputedStatusDto
|
|
124
124
|
*/
|
|
125
|
-
'kube_version_status': QoveryClusterKubeVersionStatus
|
|
125
|
+
'kube_version_status': QoveryClusterKubeVersionStatus;
|
|
126
126
|
/**
|
|
127
127
|
*
|
|
128
128
|
* @type {{ [key: string]: any; }}
|
|
@@ -513,6 +513,63 @@ export interface EnvironmentStatusDto {
|
|
|
513
513
|
*/
|
|
514
514
|
'state': ServiceStateDto;
|
|
515
515
|
}
|
|
516
|
+
/**
|
|
517
|
+
*
|
|
518
|
+
* @export
|
|
519
|
+
* @interface KubeVersionStatusDriftValue
|
|
520
|
+
*/
|
|
521
|
+
export interface KubeVersionStatusDriftValue {
|
|
522
|
+
/**
|
|
523
|
+
*
|
|
524
|
+
* @type {string}
|
|
525
|
+
* @memberof KubeVersionStatusDriftValue
|
|
526
|
+
*/
|
|
527
|
+
'expected_kube_version': string;
|
|
528
|
+
/**
|
|
529
|
+
*
|
|
530
|
+
* @type {string}
|
|
531
|
+
* @memberof KubeVersionStatusDriftValue
|
|
532
|
+
*/
|
|
533
|
+
'kube_version': string;
|
|
534
|
+
/**
|
|
535
|
+
*
|
|
536
|
+
* @type {string}
|
|
537
|
+
* @memberof KubeVersionStatusDriftValue
|
|
538
|
+
*/
|
|
539
|
+
'type': string;
|
|
540
|
+
}
|
|
541
|
+
/**
|
|
542
|
+
*
|
|
543
|
+
* @export
|
|
544
|
+
* @interface KubeVersionStatusOkValue
|
|
545
|
+
*/
|
|
546
|
+
export interface KubeVersionStatusOkValue {
|
|
547
|
+
/**
|
|
548
|
+
*
|
|
549
|
+
* @type {string}
|
|
550
|
+
* @memberof KubeVersionStatusOkValue
|
|
551
|
+
*/
|
|
552
|
+
'kube_version': string;
|
|
553
|
+
/**
|
|
554
|
+
*
|
|
555
|
+
* @type {string}
|
|
556
|
+
* @memberof KubeVersionStatusOkValue
|
|
557
|
+
*/
|
|
558
|
+
'type': string;
|
|
559
|
+
}
|
|
560
|
+
/**
|
|
561
|
+
*
|
|
562
|
+
* @export
|
|
563
|
+
* @interface KubeVersionStatusUnknownValue
|
|
564
|
+
*/
|
|
565
|
+
export interface KubeVersionStatusUnknownValue {
|
|
566
|
+
/**
|
|
567
|
+
*
|
|
568
|
+
* @type {string}
|
|
569
|
+
* @memberof KubeVersionStatusUnknownValue
|
|
570
|
+
*/
|
|
571
|
+
'type': string;
|
|
572
|
+
}
|
|
516
573
|
/**
|
|
517
574
|
*
|
|
518
575
|
* @export
|
|
@@ -611,6 +668,25 @@ export interface MetricsUsageDto {
|
|
|
611
668
|
*/
|
|
612
669
|
'memory_percent_working_set_usage'?: number | null;
|
|
613
670
|
}
|
|
671
|
+
/**
|
|
672
|
+
*
|
|
673
|
+
* @export
|
|
674
|
+
* @interface MissingComponentValue
|
|
675
|
+
*/
|
|
676
|
+
export interface MissingComponentValue {
|
|
677
|
+
/**
|
|
678
|
+
*
|
|
679
|
+
* @type {string}
|
|
680
|
+
* @memberof MissingComponentValue
|
|
681
|
+
*/
|
|
682
|
+
'component_name': string;
|
|
683
|
+
/**
|
|
684
|
+
*
|
|
685
|
+
* @type {string}
|
|
686
|
+
* @memberof MissingComponentValue
|
|
687
|
+
*/
|
|
688
|
+
'type': string;
|
|
689
|
+
}
|
|
614
690
|
/**
|
|
615
691
|
*
|
|
616
692
|
* @export
|
|
@@ -886,6 +962,55 @@ export interface PodDto {
|
|
|
886
962
|
*/
|
|
887
963
|
'ports': Array<number>;
|
|
888
964
|
}
|
|
965
|
+
/**
|
|
966
|
+
*
|
|
967
|
+
* @export
|
|
968
|
+
* @interface PodInErrorValue
|
|
969
|
+
*/
|
|
970
|
+
export interface PodInErrorValue {
|
|
971
|
+
/**
|
|
972
|
+
*
|
|
973
|
+
* @type {string}
|
|
974
|
+
* @memberof PodInErrorValue
|
|
975
|
+
*/
|
|
976
|
+
'component_name': string;
|
|
977
|
+
/**
|
|
978
|
+
*
|
|
979
|
+
* @type {string}
|
|
980
|
+
* @memberof PodInErrorValue
|
|
981
|
+
*/
|
|
982
|
+
'container_name': string;
|
|
983
|
+
/**
|
|
984
|
+
*
|
|
985
|
+
* @type {QoveryComponentContainerStatusLevel}
|
|
986
|
+
* @memberof PodInErrorValue
|
|
987
|
+
*/
|
|
988
|
+
'level': QoveryComponentContainerStatusLevel;
|
|
989
|
+
/**
|
|
990
|
+
*
|
|
991
|
+
* @type {string}
|
|
992
|
+
* @memberof PodInErrorValue
|
|
993
|
+
*/
|
|
994
|
+
'message'?: string | null;
|
|
995
|
+
/**
|
|
996
|
+
*
|
|
997
|
+
* @type {string}
|
|
998
|
+
* @memberof PodInErrorValue
|
|
999
|
+
*/
|
|
1000
|
+
'pod_name': string;
|
|
1001
|
+
/**
|
|
1002
|
+
*
|
|
1003
|
+
* @type {string}
|
|
1004
|
+
* @memberof PodInErrorValue
|
|
1005
|
+
*/
|
|
1006
|
+
'reason'?: string | null;
|
|
1007
|
+
/**
|
|
1008
|
+
*
|
|
1009
|
+
* @type {string}
|
|
1010
|
+
* @memberof PodInErrorValue
|
|
1011
|
+
*/
|
|
1012
|
+
'type': string;
|
|
1013
|
+
}
|
|
889
1014
|
/**
|
|
890
1015
|
*
|
|
891
1016
|
* @export
|
|
@@ -1034,14 +1159,16 @@ export interface PvcInfoDto {
|
|
|
1034
1159
|
'qovery_service_info'?: PodQoveryServiceInfoDto | null;
|
|
1035
1160
|
}
|
|
1036
1161
|
/**
|
|
1037
|
-
*
|
|
1162
|
+
* @type QoveryClusterKubeVersionStatus
|
|
1038
1163
|
* @export
|
|
1039
|
-
* @enum {string}
|
|
1040
1164
|
*/
|
|
1041
|
-
export
|
|
1042
|
-
|
|
1043
|
-
}
|
|
1044
|
-
|
|
1165
|
+
export type QoveryClusterKubeVersionStatus = {
|
|
1166
|
+
type: 'DRIFT';
|
|
1167
|
+
} & KubeVersionStatusDriftValue | {
|
|
1168
|
+
type: 'OK';
|
|
1169
|
+
} & KubeVersionStatusOkValue | {
|
|
1170
|
+
type: 'UNKNOWN';
|
|
1171
|
+
} & KubeVersionStatusUnknownValue;
|
|
1045
1172
|
/**
|
|
1046
1173
|
*
|
|
1047
1174
|
* @export
|
|
@@ -1078,12 +1205,14 @@ export declare const QoveryComponentContainerStatusLevel: {
|
|
|
1078
1205
|
};
|
|
1079
1206
|
export type QoveryComponentContainerStatusLevel = typeof QoveryComponentContainerStatusLevel[keyof typeof QoveryComponentContainerStatusLevel];
|
|
1080
1207
|
/**
|
|
1081
|
-
*
|
|
1208
|
+
* @type QoveryComponentInFailure
|
|
1082
1209
|
* @export
|
|
1083
|
-
* @interface QoveryComponentInFailure
|
|
1084
1210
|
*/
|
|
1085
|
-
export
|
|
1086
|
-
|
|
1211
|
+
export type QoveryComponentInFailure = {
|
|
1212
|
+
type: 'MISSING_COMPONENT';
|
|
1213
|
+
} & MissingComponentValue | {
|
|
1214
|
+
type: 'POD_IN_ERROR';
|
|
1215
|
+
} & PodInErrorValue;
|
|
1087
1216
|
/**
|
|
1088
1217
|
*
|
|
1089
1218
|
* @export
|
package/dist/esm/api.js
CHANGED
|
@@ -45,14 +45,6 @@ export const DebugFlavor = {
|
|
|
45
45
|
REGULAR_PRIVILEGE: 'REGULAR_PRIVILEGE',
|
|
46
46
|
FULL_PRIVILEGE: 'FULL_PRIVILEGE'
|
|
47
47
|
};
|
|
48
|
-
/**
|
|
49
|
-
*
|
|
50
|
-
* @export
|
|
51
|
-
* @enum {string}
|
|
52
|
-
*/
|
|
53
|
-
export const QoveryClusterKubeVersionStatus = {
|
|
54
|
-
UNKNOWN: 'Unknown'
|
|
55
|
-
};
|
|
56
48
|
/**
|
|
57
49
|
*
|
|
58
50
|
* @export
|