@openshift-assisted/types 2.41.1 → 2.42.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/assisted-installer-service.d.ts +54 -19
- package/package.json +1 -1
|
@@ -115,7 +115,7 @@ export interface Cluster {
|
|
|
115
115
|
*/
|
|
116
116
|
kind: 'Cluster' | 'AddHostsCluster';
|
|
117
117
|
/**
|
|
118
|
-
* Guaranteed availability of the installed cluster. 'Full' installs a Highly-Available cluster
|
|
118
|
+
* (DEPRECATED) Please use 'controlPlaneCount' instead. Guaranteed availability of the installed cluster. 'Full' installs a Highly-Available cluster
|
|
119
119
|
* over multiple master nodes whereas 'None' installs a full cluster over one node.
|
|
120
120
|
*
|
|
121
121
|
*/
|
|
@@ -339,9 +339,18 @@ export interface Cluster {
|
|
|
339
339
|
*/
|
|
340
340
|
amsSubscriptionId?: string; // uuid
|
|
341
341
|
/**
|
|
342
|
-
* Enable/disable hyperthreading on master nodes, worker nodes, or
|
|
342
|
+
* Enable/disable hyperthreading on master nodes, arbiter nodes, worker nodes, or a combination of them.
|
|
343
343
|
*/
|
|
344
|
-
hyperthreading?:
|
|
344
|
+
hyperthreading?:
|
|
345
|
+
| 'none'
|
|
346
|
+
| 'masters'
|
|
347
|
+
| 'arbiters'
|
|
348
|
+
| 'workers'
|
|
349
|
+
| 'masters,arbiters'
|
|
350
|
+
| 'masters,workers'
|
|
351
|
+
| 'arbiters,workers'
|
|
352
|
+
| 'masters,arbiters,workers'
|
|
353
|
+
| 'all';
|
|
345
354
|
/**
|
|
346
355
|
* JSON-formatted string containing the usage information by feature name
|
|
347
356
|
*/
|
|
@@ -482,9 +491,18 @@ export interface ClusterCreateParams {
|
|
|
482
491
|
*/
|
|
483
492
|
olmOperators?: OperatorCreateParams[];
|
|
484
493
|
/**
|
|
485
|
-
* Enable/disable hyperthreading on master nodes, worker nodes, or
|
|
494
|
+
* Enable/disable hyperthreading on master nodes, arbiter nodes, worker nodes, or a combination of them.
|
|
486
495
|
*/
|
|
487
|
-
hyperthreading?:
|
|
496
|
+
hyperthreading?:
|
|
497
|
+
| 'none'
|
|
498
|
+
| 'masters'
|
|
499
|
+
| 'arbiters'
|
|
500
|
+
| 'workers'
|
|
501
|
+
| 'masters,arbiters'
|
|
502
|
+
| 'masters,workers'
|
|
503
|
+
| 'arbiters,workers'
|
|
504
|
+
| 'masters,arbiters,workers'
|
|
505
|
+
| 'all';
|
|
488
506
|
/**
|
|
489
507
|
* The desired network type used.
|
|
490
508
|
*/
|
|
@@ -852,9 +870,18 @@ export interface DiskConfigParams {
|
|
|
852
870
|
}
|
|
853
871
|
export interface DiskEncryption {
|
|
854
872
|
/**
|
|
855
|
-
* Enable/disable disk encryption on master nodes, worker nodes, or
|
|
873
|
+
* Enable/disable disk encryption on master nodes, arbiter nodes, worker nodes, or a combination of them.
|
|
856
874
|
*/
|
|
857
|
-
enableOn?:
|
|
875
|
+
enableOn?:
|
|
876
|
+
| 'none'
|
|
877
|
+
| 'masters'
|
|
878
|
+
| 'arbiters'
|
|
879
|
+
| 'workers'
|
|
880
|
+
| 'masters,arbiters'
|
|
881
|
+
| 'masters,workers'
|
|
882
|
+
| 'arbiters,workers'
|
|
883
|
+
| 'masters,arbiters,workers'
|
|
884
|
+
| 'all';
|
|
858
885
|
/**
|
|
859
886
|
* The disk encryption mode to use.
|
|
860
887
|
*/
|
|
@@ -1021,6 +1048,7 @@ export interface Event {
|
|
|
1021
1048
|
export type EventList = Event[];
|
|
1022
1049
|
export type FeatureSupportLevelId =
|
|
1023
1050
|
| 'SNO'
|
|
1051
|
+
| 'TNA'
|
|
1024
1052
|
| 'VIP_AUTO_ALLOC'
|
|
1025
1053
|
| 'CUSTOM_MANIFEST'
|
|
1026
1054
|
| 'SINGLE_NODE_EXPANSION'
|
|
@@ -1497,8 +1525,8 @@ export interface HostRegistrationResponse {
|
|
|
1497
1525
|
retrySeconds?: number;
|
|
1498
1526
|
};
|
|
1499
1527
|
}
|
|
1500
|
-
export type HostRole = 'auto-assign' | 'master' | 'worker' | 'bootstrap';
|
|
1501
|
-
export type HostRoleUpdateParams = 'auto-assign' | 'master' | 'worker';
|
|
1528
|
+
export type HostRole = 'auto-assign' | 'master' | 'arbiter' | 'worker' | 'bootstrap';
|
|
1529
|
+
export type HostRoleUpdateParams = 'auto-assign' | 'master' | 'arbiter' | 'worker';
|
|
1502
1530
|
export type HostStage =
|
|
1503
1531
|
| 'Starting installation'
|
|
1504
1532
|
| 'Waiting for control plane'
|
|
@@ -1543,7 +1571,7 @@ export interface HostTypeHardwareRequirementsWrapper {
|
|
|
1543
1571
|
master?: HostTypeHardwareRequirements;
|
|
1544
1572
|
}
|
|
1545
1573
|
export interface HostUpdateParams {
|
|
1546
|
-
hostRole?: 'auto-assign' | 'master' | 'worker';
|
|
1574
|
+
hostRole?: 'auto-assign' | 'master' | 'arbiter' | 'worker';
|
|
1547
1575
|
hostName?: string;
|
|
1548
1576
|
disksSelectedConfig?: DiskConfigParams[];
|
|
1549
1577
|
/**
|
|
@@ -1915,12 +1943,6 @@ export interface InstallCmdRequest {
|
|
|
1915
1943
|
* Assisted installer image
|
|
1916
1944
|
*/
|
|
1917
1945
|
installerImage: string; // ^(([a-zA-Z0-9\-\.]+)(:[0-9]+)?\/)?[a-z0-9\._\-\/@]+[?::a-zA-Z0-9_\-.]+$
|
|
1918
|
-
/**
|
|
1919
|
-
* Guaranteed availability of the installed cluster. 'Full' installs a Highly-Available cluster
|
|
1920
|
-
* over multiple master nodes whereas 'None' installs a full cluster over one node.
|
|
1921
|
-
*
|
|
1922
|
-
*/
|
|
1923
|
-
highAvailabilityMode?: 'Full' | 'None';
|
|
1924
1946
|
/**
|
|
1925
1947
|
* Specifies the required number of control plane nodes that should be part of the cluster.
|
|
1926
1948
|
*/
|
|
@@ -2225,6 +2247,10 @@ export interface MonitoredOperator {
|
|
|
2225
2247
|
* List of identifier of the bundles associated with the operator. Can be empty.
|
|
2226
2248
|
*/
|
|
2227
2249
|
bundles?: string[];
|
|
2250
|
+
/**
|
|
2251
|
+
* Whether the operator can't be installed without being required by another operator.
|
|
2252
|
+
*/
|
|
2253
|
+
dependencyOnly?: boolean;
|
|
2228
2254
|
}
|
|
2229
2255
|
export type MonitoredOperatorsList = MonitoredOperator[];
|
|
2230
2256
|
export interface MtuReport {
|
|
@@ -2789,9 +2815,18 @@ export interface V2ClusterUpdateParams {
|
|
|
2789
2815
|
*/
|
|
2790
2816
|
olmOperators?: OperatorCreateParams[];
|
|
2791
2817
|
/**
|
|
2792
|
-
* Enable/disable hyperthreading on master nodes, worker nodes, or
|
|
2793
|
-
*/
|
|
2794
|
-
hyperthreading?:
|
|
2818
|
+
* Enable/disable hyperthreading on master nodes, arbiter nodes, worker nodes, or a combination of them.
|
|
2819
|
+
*/
|
|
2820
|
+
hyperthreading?:
|
|
2821
|
+
| 'none'
|
|
2822
|
+
| 'masters'
|
|
2823
|
+
| 'arbiters'
|
|
2824
|
+
| 'workers'
|
|
2825
|
+
| 'masters,arbiters'
|
|
2826
|
+
| 'masters,workers'
|
|
2827
|
+
| 'arbiters,workers'
|
|
2828
|
+
| 'masters,arbiters,workers'
|
|
2829
|
+
| 'all';
|
|
2795
2830
|
/**
|
|
2796
2831
|
* The desired network type used.
|
|
2797
2832
|
*/
|
package/package.json
CHANGED