@openshift-assisted/types 2.30.4 → 2.31.1
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.
|
@@ -363,6 +363,10 @@ export interface Cluster {
|
|
|
363
363
|
*/
|
|
364
364
|
tags?: string;
|
|
365
365
|
'last-installation-preparation'?: LastInstallationPreparation;
|
|
366
|
+
/**
|
|
367
|
+
* Indication if organization soft timeouts is enabled for the cluster.
|
|
368
|
+
*/
|
|
369
|
+
orgSoftTimeoutsEnabled?: boolean;
|
|
366
370
|
}
|
|
367
371
|
export interface ClusterCreateParams {
|
|
368
372
|
/**
|
|
@@ -581,8 +585,7 @@ export interface ClusterProgressInfo {
|
|
|
581
585
|
finalizingStagePercentage?: number;
|
|
582
586
|
finalizingStage?: FinalizingStage;
|
|
583
587
|
finalizingStageStartedAt?: string; // date-time
|
|
584
|
-
|
|
585
|
-
nodeUpdaterFinishedAt?: string; // date-time
|
|
588
|
+
finalizingStageTimedOut?: boolean;
|
|
586
589
|
}
|
|
587
590
|
export type ClusterValidationId =
|
|
588
591
|
| 'machine-cidr-defined'
|
|
@@ -987,11 +990,10 @@ export type FeatureSupportLevelId =
|
|
|
987
990
|
* Cluster finalizing stage managed by controller
|
|
988
991
|
*/
|
|
989
992
|
export type FinalizingStage =
|
|
990
|
-
| 'Waiting for finalizing'
|
|
991
993
|
| 'Waiting for cluster operators'
|
|
992
994
|
| 'Adding router ca'
|
|
993
|
-
| '
|
|
994
|
-
| '
|
|
995
|
+
| 'Applying olm manifests'
|
|
996
|
+
| 'Waiting for olm operators csv initialization'
|
|
995
997
|
| 'Waiting for olm operators csv'
|
|
996
998
|
| 'Done';
|
|
997
999
|
export type FreeAddressesList = string /* ipv4 */[];
|
|
@@ -1140,6 +1142,10 @@ export interface Host {
|
|
|
1140
1142
|
* The last time the host's agent communicated with the service.
|
|
1141
1143
|
*/
|
|
1142
1144
|
checkedInAt?: string; // date-time
|
|
1145
|
+
/**
|
|
1146
|
+
* Indicate that connection to assisted service was timed out when soft timeout is enabled.
|
|
1147
|
+
*/
|
|
1148
|
+
connectionTimedOut?: boolean;
|
|
1143
1149
|
/**
|
|
1144
1150
|
* The last time the host's agent tried to register in the service.
|
|
1145
1151
|
*/
|
|
@@ -1343,6 +1349,10 @@ export interface HostRegistrationResponse {
|
|
|
1343
1349
|
* The last time the host's agent communicated with the service.
|
|
1344
1350
|
*/
|
|
1345
1351
|
checkedInAt?: string; // date-time
|
|
1352
|
+
/**
|
|
1353
|
+
* Indicate that connection to assisted service was timed out when soft timeout is enabled.
|
|
1354
|
+
*/
|
|
1355
|
+
connectionTimedOut?: boolean;
|
|
1346
1356
|
/**
|
|
1347
1357
|
* The last time the host's agent tried to register in the service.
|
|
1348
1358
|
*/
|
|
@@ -1466,6 +1476,10 @@ export interface HostUpdateParams {
|
|
|
1466
1476
|
* A string which will be used as Authorization Bearer token to fetch the ignition from ignitionEndpointUrl.
|
|
1467
1477
|
*/
|
|
1468
1478
|
ignitionEndpointToken?: string;
|
|
1479
|
+
/**
|
|
1480
|
+
* JSON-formatted string of additional HTTP headers when fetching the ignition.
|
|
1481
|
+
*/
|
|
1482
|
+
ignitionEndpointHttpHeaders?: IgnitionEndpointHttpHeadersParams[];
|
|
1469
1483
|
/**
|
|
1470
1484
|
* Labels to be added to the corresponding node.
|
|
1471
1485
|
*/
|
|
@@ -1526,6 +1540,16 @@ export interface IgnitionEndpoint {
|
|
|
1526
1540
|
*/
|
|
1527
1541
|
caCertificate?: string;
|
|
1528
1542
|
}
|
|
1543
|
+
export interface IgnitionEndpointHttpHeadersParams {
|
|
1544
|
+
/**
|
|
1545
|
+
* The key for the http header's key-value pair.
|
|
1546
|
+
*/
|
|
1547
|
+
key: string;
|
|
1548
|
+
/**
|
|
1549
|
+
* The value for the http header's key-value pair.
|
|
1550
|
+
*/
|
|
1551
|
+
value: string;
|
|
1552
|
+
}
|
|
1529
1553
|
export interface IgnoredValidations {
|
|
1530
1554
|
/**
|
|
1531
1555
|
* JSON-formatted list of cluster validation IDs that will be ignored for all hosts that belong to this cluster. It may also contain a list with a single string "all" to ignore all cluster validations. Some validations cannot be ignored.
|
|
@@ -2111,7 +2135,7 @@ export interface OpenshiftVersion {
|
|
|
2111
2135
|
/**
|
|
2112
2136
|
* Level of support of the version.
|
|
2113
2137
|
*/
|
|
2114
|
-
supportLevel: 'beta' | 'production' | 'maintenance';
|
|
2138
|
+
supportLevel: 'beta' | 'production' | 'maintenance' | 'end-of-life';
|
|
2115
2139
|
/**
|
|
2116
2140
|
* Indication that the version is the recommended one.
|
|
2117
2141
|
*/
|
|
@@ -2292,6 +2316,10 @@ export interface RebootForReclaimRequest {
|
|
|
2292
2316
|
*/
|
|
2293
2317
|
hostFsMountDir: string;
|
|
2294
2318
|
}
|
|
2319
|
+
/**
|
|
2320
|
+
* Release channel.
|
|
2321
|
+
*/
|
|
2322
|
+
export type ReleaseChannel = 'candidate' | 'fast' | 'stable' | 'eus';
|
|
2295
2323
|
export interface ReleaseImage {
|
|
2296
2324
|
/**
|
|
2297
2325
|
* Version of the OpenShift cluster.
|
|
@@ -2320,9 +2348,20 @@ export interface ReleaseImage {
|
|
|
2320
2348
|
/**
|
|
2321
2349
|
* Level of support of the version.
|
|
2322
2350
|
*/
|
|
2323
|
-
supportLevel?: 'beta' | 'production' | 'maintenance';
|
|
2351
|
+
supportLevel?: 'beta' | 'production' | 'maintenance' | 'end-of-life';
|
|
2324
2352
|
}
|
|
2325
2353
|
export type ReleaseImages = ReleaseImage[];
|
|
2354
|
+
export interface ReleaseSource {
|
|
2355
|
+
/**
|
|
2356
|
+
* Version of the OpenShift cluster.
|
|
2357
|
+
* example:
|
|
2358
|
+
* 4.14
|
|
2359
|
+
*/
|
|
2360
|
+
openshiftVersion: string;
|
|
2361
|
+
multiCpuArchitectures: ('x86_64' | 'aarch64' | 'arm64' | 'ppc64le' | 's390x')[];
|
|
2362
|
+
upgradeChannels: UpgradeChannel[];
|
|
2363
|
+
}
|
|
2364
|
+
export type ReleaseSources = ReleaseSource[];
|
|
2326
2365
|
export interface Route {
|
|
2327
2366
|
/**
|
|
2328
2367
|
* Interface to which packets for this route will be sent
|
|
@@ -2497,6 +2536,13 @@ export interface UpgradeAgentResponse {
|
|
|
2497
2536
|
* Agent upgrade result.
|
|
2498
2537
|
*/
|
|
2499
2538
|
export type UpgradeAgentResult = 'success' | 'failure';
|
|
2539
|
+
export interface UpgradeChannel {
|
|
2540
|
+
/**
|
|
2541
|
+
* The CPU architecture of the image.
|
|
2542
|
+
*/
|
|
2543
|
+
cpuArchitecture: 'x86_64' | 'aarch64' | 'arm64' | 'ppc64le' | 's390x' | 'multi';
|
|
2544
|
+
channels: ReleaseChannel[];
|
|
2545
|
+
}
|
|
2500
2546
|
export interface Usage {
|
|
2501
2547
|
/**
|
|
2502
2548
|
* Unique idenftifier of the feature
|
package/package.json
CHANGED