@meshery/schemas 1.3.31 → 1.3.32
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/cloudApi.d.mts +7 -5
- package/dist/cloudApi.d.ts +7 -5
- package/dist/constructs/v1beta1/system/System.d.ts +764 -14
- package/dist/constructs/v1beta1/system/SystemSchema.js +1 -1
- package/dist/constructs/v1beta1/system/SystemSchema.mjs +1 -1
- package/dist/constructs/v1beta3/connection/Connection.d.ts +235 -15
- package/dist/constructs/v1beta3/connection/ConnectionSchema.js +1 -1
- package/dist/constructs/v1beta3/connection/ConnectionSchema.mjs +1 -1
- package/dist/index.d.mts +537 -40
- package/dist/index.d.ts +537 -40
- package/dist/mesheryApi.d.mts +1500 -250
- package/dist/mesheryApi.d.ts +1500 -250
- package/dist/mesheryApi.js +1 -1
- package/dist/mesheryApi.mjs +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
interface components$
|
|
1
|
+
interface components$B {
|
|
2
2
|
schemas: {
|
|
3
3
|
/**
|
|
4
4
|
* @description Meshery manages entities in accordance with their specific capabilities. This field explicitly identifies those capabilities largely by what actions a given component supports; e.g. metric-scrape, sub-interface, and so on. This field is extensible. Entities may define a broad array of capabilities, which are in-turn dynamically interpretted by Meshery for full lifecycle management.
|
|
@@ -109,7 +109,7 @@ interface components$A {
|
|
|
109
109
|
pathItems: never;
|
|
110
110
|
}
|
|
111
111
|
|
|
112
|
-
interface components$
|
|
112
|
+
interface components$A {
|
|
113
113
|
schemas: {
|
|
114
114
|
CatalogData: {
|
|
115
115
|
/** @description Tracks the specific content version that has been made available in the Catalog. */
|
|
@@ -149,7 +149,7 @@ interface components$z {
|
|
|
149
149
|
pathItems: never;
|
|
150
150
|
}
|
|
151
151
|
|
|
152
|
-
interface components$
|
|
152
|
+
interface components$z {
|
|
153
153
|
schemas: {
|
|
154
154
|
/**
|
|
155
155
|
* @description Meshery manages entities in accordance with their specific capabilities. This field explicitly identifies those capabilities largely by what actions a given component supports; e.g. metric-scrape, sub-interface, and so on. This field is extensible. Entities may define a broad array of capabilities, which are in-turn dynamically interpretted by Meshery for full lifecycle management.
|
|
@@ -260,7 +260,7 @@ interface components$y {
|
|
|
260
260
|
pathItems: never;
|
|
261
261
|
}
|
|
262
262
|
|
|
263
|
-
interface components$
|
|
263
|
+
interface components$y {
|
|
264
264
|
schemas: {
|
|
265
265
|
/** @description Components are reusable building blocks for depicting capabilities defined within models. Learn more at https://docs.meshery.io/concepts/components */
|
|
266
266
|
ComponentDefinition: {
|
|
@@ -1017,7 +1017,7 @@ interface components$x {
|
|
|
1017
1017
|
pathItems: never;
|
|
1018
1018
|
}
|
|
1019
1019
|
|
|
1020
|
-
interface components$
|
|
1020
|
+
interface components$x {
|
|
1021
1021
|
schemas: {
|
|
1022
1022
|
/** @description Meshery Connections are managed and unmanaged resources that either through discovery or manual entry are tracked by Meshery. Learn more at https://docs.meshery.io/concepts/logical/connections */
|
|
1023
1023
|
Connection: {
|
|
@@ -1419,7 +1419,7 @@ interface components$w {
|
|
|
1419
1419
|
pathItems: never;
|
|
1420
1420
|
}
|
|
1421
1421
|
|
|
1422
|
-
interface components$
|
|
1422
|
+
interface components$w {
|
|
1423
1423
|
schemas: {
|
|
1424
1424
|
/** @description Meshery Credentials store sensitive information such as API keys, tokens, and passwords used by connections to external systems. */
|
|
1425
1425
|
Credential: {
|
|
@@ -1556,7 +1556,7 @@ interface components$v {
|
|
|
1556
1556
|
pathItems: never;
|
|
1557
1557
|
}
|
|
1558
1558
|
|
|
1559
|
-
interface components$
|
|
1559
|
+
interface components$v {
|
|
1560
1560
|
schemas: {
|
|
1561
1561
|
/** @description Registrant-defined data associated with the model. Properties pertain to the software being managed (e.g. Kubernetes v1.31). */
|
|
1562
1562
|
Model: {
|
|
@@ -2294,7 +2294,7 @@ interface components$u {
|
|
|
2294
2294
|
pathItems: never;
|
|
2295
2295
|
}
|
|
2296
2296
|
|
|
2297
|
-
interface components$
|
|
2297
|
+
interface components$u {
|
|
2298
2298
|
schemas: {
|
|
2299
2299
|
/** @description Represents a user */
|
|
2300
2300
|
User: {
|
|
@@ -3291,7 +3291,7 @@ interface components$t {
|
|
|
3291
3291
|
pathItems: never;
|
|
3292
3292
|
}
|
|
3293
3293
|
|
|
3294
|
-
interface components$
|
|
3294
|
+
interface components$t {
|
|
3295
3295
|
schemas: {
|
|
3296
3296
|
DeletePatternModel: {
|
|
3297
3297
|
/** Format: uuid */
|
|
@@ -10574,7 +10574,7 @@ interface components$s {
|
|
|
10574
10574
|
pathItems: never;
|
|
10575
10575
|
}
|
|
10576
10576
|
|
|
10577
|
-
interface components$
|
|
10577
|
+
interface components$s {
|
|
10578
10578
|
schemas: {
|
|
10579
10579
|
/** @description Category of the model. */
|
|
10580
10580
|
CategoryDefinition: {
|
|
@@ -10600,7 +10600,7 @@ interface components$r {
|
|
|
10600
10600
|
pathItems: never;
|
|
10601
10601
|
}
|
|
10602
10602
|
|
|
10603
|
-
interface components$
|
|
10603
|
+
interface components$r {
|
|
10604
10604
|
schemas: {
|
|
10605
10605
|
/**
|
|
10606
10606
|
* SubCategory
|
|
@@ -10617,7 +10617,7 @@ interface components$q {
|
|
|
10617
10617
|
pathItems: never;
|
|
10618
10618
|
}
|
|
10619
10619
|
|
|
10620
|
-
interface components$
|
|
10620
|
+
interface components$q {
|
|
10621
10621
|
schemas: {
|
|
10622
10622
|
/**
|
|
10623
10623
|
* Environment
|
|
@@ -10873,7 +10873,7 @@ interface components$p {
|
|
|
10873
10873
|
pathItems: never;
|
|
10874
10874
|
}
|
|
10875
10875
|
|
|
10876
|
-
interface components$
|
|
10876
|
+
interface components$p {
|
|
10877
10877
|
schemas: {
|
|
10878
10878
|
EvaluationRequest: {
|
|
10879
10879
|
/**
|
|
@@ -13825,7 +13825,7 @@ interface components$o {
|
|
|
13825
13825
|
pathItems: never;
|
|
13826
13826
|
}
|
|
13827
13827
|
|
|
13828
|
-
interface components$
|
|
13828
|
+
interface components$o {
|
|
13829
13829
|
schemas: {
|
|
13830
13830
|
/** @description A feature is a quantified entitlement granted to an organization through its subscription plan, such as the number of components allowed in a design. */
|
|
13831
13831
|
Feature: {
|
|
@@ -14014,7 +14014,7 @@ interface components$n {
|
|
|
14014
14014
|
pathItems: never;
|
|
14015
14015
|
}
|
|
14016
14016
|
|
|
14017
|
-
interface components$
|
|
14017
|
+
interface components$n {
|
|
14018
14018
|
schemas: {
|
|
14019
14019
|
/** @description Represents an authorization key used for access control. */
|
|
14020
14020
|
Key: {
|
|
@@ -14167,7 +14167,7 @@ interface components$m {
|
|
|
14167
14167
|
pathItems: never;
|
|
14168
14168
|
}
|
|
14169
14169
|
|
|
14170
|
-
interface components$
|
|
14170
|
+
interface components$m {
|
|
14171
14171
|
schemas: {
|
|
14172
14172
|
/** @description Represents a collection of keys. */
|
|
14173
14173
|
Keychain: {
|
|
@@ -14302,7 +14302,7 @@ interface components$l {
|
|
|
14302
14302
|
pathItems: never;
|
|
14303
14303
|
}
|
|
14304
14304
|
|
|
14305
|
-
interface components$
|
|
14305
|
+
interface components$l {
|
|
14306
14306
|
schemas: {
|
|
14307
14307
|
/**
|
|
14308
14308
|
* Format: uuid
|
|
@@ -15011,7 +15011,7 @@ interface components$k {
|
|
|
15011
15011
|
pathItems: never;
|
|
15012
15012
|
}
|
|
15013
15013
|
|
|
15014
|
-
interface components$
|
|
15014
|
+
interface components$k {
|
|
15015
15015
|
schemas: {
|
|
15016
15016
|
/** @description Role definition */
|
|
15017
15017
|
Role: {
|
|
@@ -15231,7 +15231,7 @@ interface components$j {
|
|
|
15231
15231
|
pathItems: never;
|
|
15232
15232
|
}
|
|
15233
15233
|
|
|
15234
|
-
interface components$
|
|
15234
|
+
interface components$j {
|
|
15235
15235
|
schemas: {
|
|
15236
15236
|
/** @description A schedule defines a recurring cron-based trigger for performance tests or other automated tasks. */
|
|
15237
15237
|
Schedule: {
|
|
@@ -15352,6 +15352,501 @@ interface components$i {
|
|
|
15352
15352
|
pathItems: never;
|
|
15353
15353
|
}
|
|
15354
15354
|
|
|
15355
|
+
interface components$i {
|
|
15356
|
+
schemas: {
|
|
15357
|
+
/** @description Request body for sending a test email through the configured SMTP provider. */
|
|
15358
|
+
EmailTestRequest: {
|
|
15359
|
+
/**
|
|
15360
|
+
* Format: email
|
|
15361
|
+
* @description Recipient email address for the test message.
|
|
15362
|
+
*/
|
|
15363
|
+
to: string;
|
|
15364
|
+
/** @description Subject line for the test message. A default subject is used when omitted. */
|
|
15365
|
+
subject?: string;
|
|
15366
|
+
};
|
|
15367
|
+
/** @description Result of a test email send attempt. */
|
|
15368
|
+
EmailTestResponse: {
|
|
15369
|
+
/** @description Outcome status of the send attempt (e.g. `success`). */
|
|
15370
|
+
status: string;
|
|
15371
|
+
/** @description Human-readable result message. */
|
|
15372
|
+
message: string;
|
|
15373
|
+
/** @description Unix-epoch seconds, as a decimal string, when the test email was sent. */
|
|
15374
|
+
timestamp: string;
|
|
15375
|
+
/**
|
|
15376
|
+
* Format: email
|
|
15377
|
+
* @description Recipient address the test email was sent to.
|
|
15378
|
+
*/
|
|
15379
|
+
sentTo: string;
|
|
15380
|
+
};
|
|
15381
|
+
/** @description Status message response. */
|
|
15382
|
+
SystemMessageResponse: {
|
|
15383
|
+
/** @description Human-readable status message. */
|
|
15384
|
+
message: string;
|
|
15385
|
+
};
|
|
15386
|
+
/**
|
|
15387
|
+
* @description Current status of a single Meshery controller (operator, MeshSync, or broker). Mirrors the MesheryControllerStatus GraphQL enum (server/internal/graphql/schema/schema.graphql) during the ongoing migration of controller-status consumers from GraphQL to this REST API; the literal values (including the published "UNKOWN" spelling) are load-bearing and must not be changed independently of that enum.
|
|
15388
|
+
* @enum {string}
|
|
15389
|
+
*/
|
|
15390
|
+
ControllerStatusValue: "DEPLOYED" | "NOTDEPLOYED" | "DEPLOYING" | "UNKOWN" | "UNDEPLOYED" | "ENABLED" | "RUNNING" | "CONNECTED";
|
|
15391
|
+
/** @description Status of a single Meshery controller (operator, MeshSync, or broker) for a kubernetes connection. Element type of the controller-status SSE stream and the operator status response. */
|
|
15392
|
+
ControllerStatus: {
|
|
15393
|
+
/**
|
|
15394
|
+
* Format: uuid
|
|
15395
|
+
* @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
|
|
15396
|
+
*/
|
|
15397
|
+
connectionId: string;
|
|
15398
|
+
/**
|
|
15399
|
+
* @description The controller this status describes.
|
|
15400
|
+
* @enum {string}
|
|
15401
|
+
*/
|
|
15402
|
+
controller: "OPERATOR" | "MESHSYNC" | "BROKER";
|
|
15403
|
+
/**
|
|
15404
|
+
* @description Current controller status.
|
|
15405
|
+
* @enum {string}
|
|
15406
|
+
*/
|
|
15407
|
+
status: "DEPLOYED" | "NOTDEPLOYED" | "DEPLOYING" | "UNKOWN" | "UNDEPLOYED" | "ENABLED" | "RUNNING" | "CONNECTED";
|
|
15408
|
+
/** @description Deployed controller version, when known. */
|
|
15409
|
+
version: string;
|
|
15410
|
+
};
|
|
15411
|
+
/** @description Detailed status of a named Meshery controller (MeshSync or Broker) for a kubernetes connection. */
|
|
15412
|
+
ControllerInfo: {
|
|
15413
|
+
/** @description Controller name (e.g. MeshSync, MesheryBroker). */
|
|
15414
|
+
name: string;
|
|
15415
|
+
/** @description Deployed controller version, when known. */
|
|
15416
|
+
version: string;
|
|
15417
|
+
/** @description Current controller status. May be composed, e.g. "Connected <endpoint>". */
|
|
15418
|
+
status: string;
|
|
15419
|
+
/**
|
|
15420
|
+
* Format: uuid
|
|
15421
|
+
* @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
|
|
15422
|
+
*/
|
|
15423
|
+
connectionId: string;
|
|
15424
|
+
};
|
|
15425
|
+
/** @description A single human-actionable diagnostic about a kubernetes connection's Meshery controllers, with an explanation and remediation steps. */
|
|
15426
|
+
ControllerDiagnostic: {
|
|
15427
|
+
/**
|
|
15428
|
+
* @description How serious the diagnostic is.
|
|
15429
|
+
* @enum {string}
|
|
15430
|
+
*/
|
|
15431
|
+
severity: "info" | "warning" | "error";
|
|
15432
|
+
/**
|
|
15433
|
+
* @description The controller this diagnostic concerns, when applicable.
|
|
15434
|
+
* @enum {string}
|
|
15435
|
+
*/
|
|
15436
|
+
controller?: "OPERATOR" | "MESHSYNC" | "BROKER";
|
|
15437
|
+
/** @description Stable machine-readable code for this diagnostic (e.g. `broker_unreachable`), for the UI to key on. */
|
|
15438
|
+
code: string;
|
|
15439
|
+
/** @description Short, human-readable title for the diagnostic. */
|
|
15440
|
+
summary: string;
|
|
15441
|
+
/** @description A fuller explanation of what is wrong and why. */
|
|
15442
|
+
description?: string;
|
|
15443
|
+
/** @description Ordered, concrete steps the user can take to resolve the issue. */
|
|
15444
|
+
remediation?: string[];
|
|
15445
|
+
/** @description A relevant endpoint for the diagnostic, when applicable (e.g. the broker's published address the user needs to make reachable). */
|
|
15446
|
+
endpoint?: string;
|
|
15447
|
+
};
|
|
15448
|
+
/** @description Diagnostics for a kubernetes connection's Meshery controllers, for rendering a "Diagnostics" section in the connection detail view. */
|
|
15449
|
+
ConnectionDiagnostics: {
|
|
15450
|
+
/**
|
|
15451
|
+
* Format: uuid
|
|
15452
|
+
* @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
|
|
15453
|
+
*/
|
|
15454
|
+
connectionId: string;
|
|
15455
|
+
/** @description True when no warning/error diagnostics were detected (informational diagnostics do not affect health). */
|
|
15456
|
+
healthy: boolean;
|
|
15457
|
+
/** @description The diagnostics detected for this connection (possibly empty). */
|
|
15458
|
+
diagnostics: {
|
|
15459
|
+
/**
|
|
15460
|
+
* @description How serious the diagnostic is.
|
|
15461
|
+
* @enum {string}
|
|
15462
|
+
*/
|
|
15463
|
+
severity: "info" | "warning" | "error";
|
|
15464
|
+
/**
|
|
15465
|
+
* @description The controller this diagnostic concerns, when applicable.
|
|
15466
|
+
* @enum {string}
|
|
15467
|
+
*/
|
|
15468
|
+
controller?: "OPERATOR" | "MESHSYNC" | "BROKER";
|
|
15469
|
+
/** @description Stable machine-readable code for this diagnostic (e.g. `broker_unreachable`), for the UI to key on. */
|
|
15470
|
+
code: string;
|
|
15471
|
+
/** @description Short, human-readable title for the diagnostic. */
|
|
15472
|
+
summary: string;
|
|
15473
|
+
/** @description A fuller explanation of what is wrong and why. */
|
|
15474
|
+
description?: string;
|
|
15475
|
+
/** @description Ordered, concrete steps the user can take to resolve the issue. */
|
|
15476
|
+
remediation?: string[];
|
|
15477
|
+
/** @description A relevant endpoint for the diagnostic, when applicable (e.g. the broker's published address the user needs to make reachable). */
|
|
15478
|
+
endpoint?: string;
|
|
15479
|
+
}[];
|
|
15480
|
+
};
|
|
15481
|
+
/** @description Database table summary. */
|
|
15482
|
+
SystemDatabaseTable: {
|
|
15483
|
+
/** @description Name of the table. */
|
|
15484
|
+
name: string;
|
|
15485
|
+
/** @description SQLite object type (e.g. `table`). */
|
|
15486
|
+
type: string;
|
|
15487
|
+
/**
|
|
15488
|
+
* Format: int64
|
|
15489
|
+
* @description Number of rows currently in the table.
|
|
15490
|
+
*/
|
|
15491
|
+
count: number;
|
|
15492
|
+
};
|
|
15493
|
+
/** @description Paginated summary of the Meshery server's embedded database. */
|
|
15494
|
+
SystemDatabaseSummary: {
|
|
15495
|
+
/** @description Zero-based page index of the returned table slice. */
|
|
15496
|
+
page: number;
|
|
15497
|
+
/** @description Number of tables included in this page. */
|
|
15498
|
+
pageSize: number;
|
|
15499
|
+
/** @description Total number of tables in the database matching the search filter. */
|
|
15500
|
+
totalTables: number;
|
|
15501
|
+
/** @description Aggregate row count across the tables returned in this page. */
|
|
15502
|
+
recordCount: number;
|
|
15503
|
+
/** @description Tables included in this page, with per-table row counts. */
|
|
15504
|
+
tables: {
|
|
15505
|
+
/** @description Name of the table. */
|
|
15506
|
+
name: string;
|
|
15507
|
+
/** @description SQLite object type (e.g. `table`). */
|
|
15508
|
+
type: string;
|
|
15509
|
+
/**
|
|
15510
|
+
* Format: int64
|
|
15511
|
+
* @description Number of rows currently in the table.
|
|
15512
|
+
*/
|
|
15513
|
+
count: number;
|
|
15514
|
+
}[];
|
|
15515
|
+
};
|
|
15516
|
+
/** @description Version metadata for a running Meshery service. */
|
|
15517
|
+
SystemVersion: {
|
|
15518
|
+
/** @description Meshery Cloud deployment version. */
|
|
15519
|
+
version?: string;
|
|
15520
|
+
/** @description Build identifier (typically the git tag of the running binary). */
|
|
15521
|
+
build?: string;
|
|
15522
|
+
/** @description Latest available Meshery release tag fetched from GitHub. */
|
|
15523
|
+
latest?: string;
|
|
15524
|
+
/** @description True when the running build is older than the latest available release. */
|
|
15525
|
+
outdated?: boolean;
|
|
15526
|
+
/** @description Git commit SHA of the running service. The wire field is `commitsha`. */
|
|
15527
|
+
commitsha?: string;
|
|
15528
|
+
/** @description Release channel of the running binary (e.g. `stable`, `edge`). */
|
|
15529
|
+
releaseChannel?: string;
|
|
15530
|
+
};
|
|
15531
|
+
/** @description Kubernetes context tracked by Meshery. */
|
|
15532
|
+
SystemSessionSyncK8sContext: {
|
|
15533
|
+
/** @description Stable identifier for the Kubernetes context. */
|
|
15534
|
+
id?: string;
|
|
15535
|
+
/** @description Human-readable name of the Kubernetes context. */
|
|
15536
|
+
name?: string;
|
|
15537
|
+
/** @description True when Meshery has a usable kubeconfig for this context. */
|
|
15538
|
+
clusterConfigured?: boolean;
|
|
15539
|
+
/** @description API server URL for the Kubernetes context. */
|
|
15540
|
+
server?: string;
|
|
15541
|
+
/**
|
|
15542
|
+
* Format: uuid
|
|
15543
|
+
* @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
|
|
15544
|
+
*/
|
|
15545
|
+
clusterId?: string;
|
|
15546
|
+
/**
|
|
15547
|
+
* Format: date-time
|
|
15548
|
+
* @description When the context was first registered with Meshery.
|
|
15549
|
+
*/
|
|
15550
|
+
createdAt?: string;
|
|
15551
|
+
/**
|
|
15552
|
+
* Format: date-time
|
|
15553
|
+
* @description When the context was last updated.
|
|
15554
|
+
*/
|
|
15555
|
+
updatedAt?: string;
|
|
15556
|
+
};
|
|
15557
|
+
/** @description Session bootstrap payload for the authenticated user. */
|
|
15558
|
+
SystemSessionSync: {
|
|
15559
|
+
/** @description Kubernetes contexts currently tracked by the Meshery server. */
|
|
15560
|
+
k8sConfig?: {
|
|
15561
|
+
/** @description Stable identifier for the Kubernetes context. */
|
|
15562
|
+
id?: string;
|
|
15563
|
+
/** @description Human-readable name of the Kubernetes context. */
|
|
15564
|
+
name?: string;
|
|
15565
|
+
/** @description True when Meshery has a usable kubeconfig for this context. */
|
|
15566
|
+
clusterConfigured?: boolean;
|
|
15567
|
+
/** @description API server URL for the Kubernetes context. */
|
|
15568
|
+
server?: string;
|
|
15569
|
+
/**
|
|
15570
|
+
* Format: uuid
|
|
15571
|
+
* @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
|
|
15572
|
+
*/
|
|
15573
|
+
clusterId?: string;
|
|
15574
|
+
/**
|
|
15575
|
+
* Format: date-time
|
|
15576
|
+
* @description When the context was first registered with Meshery.
|
|
15577
|
+
*/
|
|
15578
|
+
createdAt?: string;
|
|
15579
|
+
/**
|
|
15580
|
+
* Format: date-time
|
|
15581
|
+
* @description When the context was last updated.
|
|
15582
|
+
*/
|
|
15583
|
+
updatedAt?: string;
|
|
15584
|
+
}[];
|
|
15585
|
+
} & {
|
|
15586
|
+
[key: string]: unknown;
|
|
15587
|
+
};
|
|
15588
|
+
/** @description Multipart form payload for importing a kubeconfig. `contexts` and `selectedContexts` are JSON-encoded strings because they travel as multipart form fields alongside the file. */
|
|
15589
|
+
AddKubernetesConfigPayload: {
|
|
15590
|
+
/**
|
|
15591
|
+
* Format: binary
|
|
15592
|
+
* @description Kubeconfig file contents.
|
|
15593
|
+
*/
|
|
15594
|
+
k8sfile: string;
|
|
15595
|
+
/** @description JSON-encoded object mapping a discovered context ID to per-context import options, e.g. `{"<contextId>": {"meshsyncDeploymentMode": "operator", "name": "my-cluster"}}`. `meshsyncDeploymentMode` selects how MeshSync runs for the resulting connection; `name` overrides the connection name. */
|
|
15596
|
+
contexts?: string;
|
|
15597
|
+
/** @description JSON-encoded array of discovered context IDs to import. When absent, every context discovered in the kubeconfig is imported. */
|
|
15598
|
+
selectedContexts?: string;
|
|
15599
|
+
};
|
|
15600
|
+
/** @description Multipart form payload for kubeconfig context discovery. */
|
|
15601
|
+
DiscoverKubernetesContextsPayload: {
|
|
15602
|
+
/**
|
|
15603
|
+
* Format: binary
|
|
15604
|
+
* @description Kubeconfig file contents.
|
|
15605
|
+
*/
|
|
15606
|
+
k8sfile: string;
|
|
15607
|
+
};
|
|
15608
|
+
/** @description Discovered kubeconfig contexts bucketed by import outcome. Every bucket is always present (empty when no context landed in it). */
|
|
15609
|
+
AddKubernetesConfigResponse: {
|
|
15610
|
+
/** @description Contexts newly registered as discovered connections. */
|
|
15611
|
+
registeredContexts: {
|
|
15612
|
+
/** @description Stable identifier of the Kubernetes context, assigned when the context is registered. Not a UUID; carried in connection metadata. */
|
|
15613
|
+
id?: string;
|
|
15614
|
+
/** @description Human-readable name of the Kubernetes context. */
|
|
15615
|
+
name?: string;
|
|
15616
|
+
/** @description Authentication material for the context (token or kubeconfig reference), sourced from the connection's credential secret. */
|
|
15617
|
+
auth?: Record<string, never>;
|
|
15618
|
+
/** @description Cluster definition for the context (certificate authority and server details), sourced from the connection's credential secret. */
|
|
15619
|
+
cluster?: Record<string, never>;
|
|
15620
|
+
/** @description API server URL of the Kubernetes cluster. */
|
|
15621
|
+
server?: string;
|
|
15622
|
+
/**
|
|
15623
|
+
* Format: uuid
|
|
15624
|
+
* @description ID of the user who owns the underlying connection.
|
|
15625
|
+
*/
|
|
15626
|
+
owner?: string;
|
|
15627
|
+
/**
|
|
15628
|
+
* Format: uuid
|
|
15629
|
+
* @description ID of the user who registered the context.
|
|
15630
|
+
*/
|
|
15631
|
+
createdBy?: string;
|
|
15632
|
+
/**
|
|
15633
|
+
* Format: uuid
|
|
15634
|
+
* @description ID of the Meshery instance the context is registered with.
|
|
15635
|
+
*/
|
|
15636
|
+
mesheryInstanceId?: string;
|
|
15637
|
+
/**
|
|
15638
|
+
* Format: uuid
|
|
15639
|
+
* @description ID of the Kubernetes server associated with the context.
|
|
15640
|
+
*/
|
|
15641
|
+
kubernetesServerId?: string;
|
|
15642
|
+
/** @description How Meshery is deployed relative to the cluster (e.g. in_cluster, out_of_cluster). */
|
|
15643
|
+
deploymentType?: string;
|
|
15644
|
+
/** @description Kubernetes server version of the cluster. */
|
|
15645
|
+
version?: string;
|
|
15646
|
+
/**
|
|
15647
|
+
* Format: date-time
|
|
15648
|
+
* @description Timestamp when the underlying connection was created.
|
|
15649
|
+
*/
|
|
15650
|
+
createdAt?: string;
|
|
15651
|
+
/**
|
|
15652
|
+
* Format: date-time
|
|
15653
|
+
* @description Timestamp when the underlying connection was last updated.
|
|
15654
|
+
*/
|
|
15655
|
+
updatedAt?: string;
|
|
15656
|
+
/**
|
|
15657
|
+
* Format: uuid
|
|
15658
|
+
* @description ID of the connection this context was projected from.
|
|
15659
|
+
*/
|
|
15660
|
+
connectionId?: string;
|
|
15661
|
+
/** @description Whether this context's API server answered the probe run while its kubeconfig was processed. Discovery and import surface unreachable contexts too, so they can still be registered; reachability only gates the connected transition. */
|
|
15662
|
+
reachable?: boolean;
|
|
15663
|
+
}[];
|
|
15664
|
+
/** @description Contexts whose connection already exists in (or transitioned to) the connected state. */
|
|
15665
|
+
connectedContexts: {
|
|
15666
|
+
/** @description Stable identifier of the Kubernetes context, assigned when the context is registered. Not a UUID; carried in connection metadata. */
|
|
15667
|
+
id?: string;
|
|
15668
|
+
/** @description Human-readable name of the Kubernetes context. */
|
|
15669
|
+
name?: string;
|
|
15670
|
+
/** @description Authentication material for the context (token or kubeconfig reference), sourced from the connection's credential secret. */
|
|
15671
|
+
auth?: Record<string, never>;
|
|
15672
|
+
/** @description Cluster definition for the context (certificate authority and server details), sourced from the connection's credential secret. */
|
|
15673
|
+
cluster?: Record<string, never>;
|
|
15674
|
+
/** @description API server URL of the Kubernetes cluster. */
|
|
15675
|
+
server?: string;
|
|
15676
|
+
/**
|
|
15677
|
+
* Format: uuid
|
|
15678
|
+
* @description ID of the user who owns the underlying connection.
|
|
15679
|
+
*/
|
|
15680
|
+
owner?: string;
|
|
15681
|
+
/**
|
|
15682
|
+
* Format: uuid
|
|
15683
|
+
* @description ID of the user who registered the context.
|
|
15684
|
+
*/
|
|
15685
|
+
createdBy?: string;
|
|
15686
|
+
/**
|
|
15687
|
+
* Format: uuid
|
|
15688
|
+
* @description ID of the Meshery instance the context is registered with.
|
|
15689
|
+
*/
|
|
15690
|
+
mesheryInstanceId?: string;
|
|
15691
|
+
/**
|
|
15692
|
+
* Format: uuid
|
|
15693
|
+
* @description ID of the Kubernetes server associated with the context.
|
|
15694
|
+
*/
|
|
15695
|
+
kubernetesServerId?: string;
|
|
15696
|
+
/** @description How Meshery is deployed relative to the cluster (e.g. in_cluster, out_of_cluster). */
|
|
15697
|
+
deploymentType?: string;
|
|
15698
|
+
/** @description Kubernetes server version of the cluster. */
|
|
15699
|
+
version?: string;
|
|
15700
|
+
/**
|
|
15701
|
+
* Format: date-time
|
|
15702
|
+
* @description Timestamp when the underlying connection was created.
|
|
15703
|
+
*/
|
|
15704
|
+
createdAt?: string;
|
|
15705
|
+
/**
|
|
15706
|
+
* Format: date-time
|
|
15707
|
+
* @description Timestamp when the underlying connection was last updated.
|
|
15708
|
+
*/
|
|
15709
|
+
updatedAt?: string;
|
|
15710
|
+
/**
|
|
15711
|
+
* Format: uuid
|
|
15712
|
+
* @description ID of the connection this context was projected from.
|
|
15713
|
+
*/
|
|
15714
|
+
connectionId?: string;
|
|
15715
|
+
/** @description Whether this context's API server answered the probe run while its kubeconfig was processed. Discovery and import surface unreachable contexts too, so they can still be registered; reachability only gates the connected transition. */
|
|
15716
|
+
reachable?: boolean;
|
|
15717
|
+
}[];
|
|
15718
|
+
/** @description Contexts whose connection is in the ignored state. */
|
|
15719
|
+
ignoredContexts: {
|
|
15720
|
+
/** @description Stable identifier of the Kubernetes context, assigned when the context is registered. Not a UUID; carried in connection metadata. */
|
|
15721
|
+
id?: string;
|
|
15722
|
+
/** @description Human-readable name of the Kubernetes context. */
|
|
15723
|
+
name?: string;
|
|
15724
|
+
/** @description Authentication material for the context (token or kubeconfig reference), sourced from the connection's credential secret. */
|
|
15725
|
+
auth?: Record<string, never>;
|
|
15726
|
+
/** @description Cluster definition for the context (certificate authority and server details), sourced from the connection's credential secret. */
|
|
15727
|
+
cluster?: Record<string, never>;
|
|
15728
|
+
/** @description API server URL of the Kubernetes cluster. */
|
|
15729
|
+
server?: string;
|
|
15730
|
+
/**
|
|
15731
|
+
* Format: uuid
|
|
15732
|
+
* @description ID of the user who owns the underlying connection.
|
|
15733
|
+
*/
|
|
15734
|
+
owner?: string;
|
|
15735
|
+
/**
|
|
15736
|
+
* Format: uuid
|
|
15737
|
+
* @description ID of the user who registered the context.
|
|
15738
|
+
*/
|
|
15739
|
+
createdBy?: string;
|
|
15740
|
+
/**
|
|
15741
|
+
* Format: uuid
|
|
15742
|
+
* @description ID of the Meshery instance the context is registered with.
|
|
15743
|
+
*/
|
|
15744
|
+
mesheryInstanceId?: string;
|
|
15745
|
+
/**
|
|
15746
|
+
* Format: uuid
|
|
15747
|
+
* @description ID of the Kubernetes server associated with the context.
|
|
15748
|
+
*/
|
|
15749
|
+
kubernetesServerId?: string;
|
|
15750
|
+
/** @description How Meshery is deployed relative to the cluster (e.g. in_cluster, out_of_cluster). */
|
|
15751
|
+
deploymentType?: string;
|
|
15752
|
+
/** @description Kubernetes server version of the cluster. */
|
|
15753
|
+
version?: string;
|
|
15754
|
+
/**
|
|
15755
|
+
* Format: date-time
|
|
15756
|
+
* @description Timestamp when the underlying connection was created.
|
|
15757
|
+
*/
|
|
15758
|
+
createdAt?: string;
|
|
15759
|
+
/**
|
|
15760
|
+
* Format: date-time
|
|
15761
|
+
* @description Timestamp when the underlying connection was last updated.
|
|
15762
|
+
*/
|
|
15763
|
+
updatedAt?: string;
|
|
15764
|
+
/**
|
|
15765
|
+
* Format: uuid
|
|
15766
|
+
* @description ID of the connection this context was projected from.
|
|
15767
|
+
*/
|
|
15768
|
+
connectionId?: string;
|
|
15769
|
+
/** @description Whether this context's API server answered the probe run while its kubeconfig was processed. Discovery and import surface unreachable contexts too, so they can still be registered; reachability only gates the connected transition. */
|
|
15770
|
+
reachable?: boolean;
|
|
15771
|
+
}[];
|
|
15772
|
+
/** @description Contexts that could not be saved as connections. The failure detail is recorded in the emitted event's metadata, not on the context object. */
|
|
15773
|
+
erroredContexts: {
|
|
15774
|
+
/** @description Stable identifier of the Kubernetes context, assigned when the context is registered. Not a UUID; carried in connection metadata. */
|
|
15775
|
+
id?: string;
|
|
15776
|
+
/** @description Human-readable name of the Kubernetes context. */
|
|
15777
|
+
name?: string;
|
|
15778
|
+
/** @description Authentication material for the context (token or kubeconfig reference), sourced from the connection's credential secret. */
|
|
15779
|
+
auth?: Record<string, never>;
|
|
15780
|
+
/** @description Cluster definition for the context (certificate authority and server details), sourced from the connection's credential secret. */
|
|
15781
|
+
cluster?: Record<string, never>;
|
|
15782
|
+
/** @description API server URL of the Kubernetes cluster. */
|
|
15783
|
+
server?: string;
|
|
15784
|
+
/**
|
|
15785
|
+
* Format: uuid
|
|
15786
|
+
* @description ID of the user who owns the underlying connection.
|
|
15787
|
+
*/
|
|
15788
|
+
owner?: string;
|
|
15789
|
+
/**
|
|
15790
|
+
* Format: uuid
|
|
15791
|
+
* @description ID of the user who registered the context.
|
|
15792
|
+
*/
|
|
15793
|
+
createdBy?: string;
|
|
15794
|
+
/**
|
|
15795
|
+
* Format: uuid
|
|
15796
|
+
* @description ID of the Meshery instance the context is registered with.
|
|
15797
|
+
*/
|
|
15798
|
+
mesheryInstanceId?: string;
|
|
15799
|
+
/**
|
|
15800
|
+
* Format: uuid
|
|
15801
|
+
* @description ID of the Kubernetes server associated with the context.
|
|
15802
|
+
*/
|
|
15803
|
+
kubernetesServerId?: string;
|
|
15804
|
+
/** @description How Meshery is deployed relative to the cluster (e.g. in_cluster, out_of_cluster). */
|
|
15805
|
+
deploymentType?: string;
|
|
15806
|
+
/** @description Kubernetes server version of the cluster. */
|
|
15807
|
+
version?: string;
|
|
15808
|
+
/**
|
|
15809
|
+
* Format: date-time
|
|
15810
|
+
* @description Timestamp when the underlying connection was created.
|
|
15811
|
+
*/
|
|
15812
|
+
createdAt?: string;
|
|
15813
|
+
/**
|
|
15814
|
+
* Format: date-time
|
|
15815
|
+
* @description Timestamp when the underlying connection was last updated.
|
|
15816
|
+
*/
|
|
15817
|
+
updatedAt?: string;
|
|
15818
|
+
/**
|
|
15819
|
+
* Format: uuid
|
|
15820
|
+
* @description ID of the connection this context was projected from.
|
|
15821
|
+
*/
|
|
15822
|
+
connectionId?: string;
|
|
15823
|
+
/** @description Whether this context's API server answered the probe run while its kubeconfig was processed. Discovery and import surface unreachable contexts too, so they can still be registered; reachability only gates the connected transition. */
|
|
15824
|
+
reachable?: boolean;
|
|
15825
|
+
}[];
|
|
15826
|
+
};
|
|
15827
|
+
/** @description Result of pinging a Kubernetes connection's API server. */
|
|
15828
|
+
KubernetesPingResponse: {
|
|
15829
|
+
/** @description Version string reported by the cluster's API server. The wire field is `server_version` - this endpoint's published wire casing predates the camelCase convention and is preserved within this API version. */
|
|
15830
|
+
server_version: string;
|
|
15831
|
+
};
|
|
15832
|
+
};
|
|
15833
|
+
responses: {
|
|
15834
|
+
/** @description Expired JWT token used or insufficient privilege */
|
|
15835
|
+
401: {
|
|
15836
|
+
headers: {
|
|
15837
|
+
[name: string]: unknown;
|
|
15838
|
+
};
|
|
15839
|
+
content: {
|
|
15840
|
+
"text/plain": string;
|
|
15841
|
+
};
|
|
15842
|
+
};
|
|
15843
|
+
};
|
|
15844
|
+
parameters: never;
|
|
15845
|
+
requestBodies: never;
|
|
15846
|
+
headers: never;
|
|
15847
|
+
pathItems: never;
|
|
15848
|
+
}
|
|
15849
|
+
|
|
15355
15850
|
interface components$h {
|
|
15356
15851
|
schemas: {
|
|
15357
15852
|
/** @description A Team is a group of one or more users. Teams are often used as a grouping mechanism for assigning permissions, whether in the context of an organization, a workspace, or some other domain within Meshery. Learn more at https://docs.meshery.io/concepts/logical/teams */
|
|
@@ -36721,34 +37216,36 @@ declare const SupportRequestRjsfSchemaV1Beta1: RJSFSchema;
|
|
|
36721
37216
|
declare const SupportRequestRjsfUiSchemaV1Beta1: UiSchema;
|
|
36722
37217
|
|
|
36723
37218
|
declare namespace v1alpha1 {
|
|
36724
|
-
type CatalogData = components$
|
|
36725
|
-
type Capability = components$
|
|
37219
|
+
type CatalogData = components$A["schemas"]["CatalogData"];
|
|
37220
|
+
type Capability = components$B["schemas"];
|
|
36726
37221
|
}
|
|
36727
37222
|
declare namespace v1alpha2 {
|
|
36728
|
-
type CatalogData = components$
|
|
37223
|
+
type CatalogData = components$A["schemas"]["CatalogData"];
|
|
36729
37224
|
}
|
|
36730
37225
|
declare namespace v1beta1 {
|
|
36731
37226
|
type Badge = components$e["schemas"]["Badge"];
|
|
36732
|
-
type Capability = components$
|
|
36733
|
-
type Category = components$
|
|
36734
|
-
type Component = components$
|
|
36735
|
-
type Connection = components$
|
|
36736
|
-
type
|
|
36737
|
-
type
|
|
36738
|
-
type
|
|
36739
|
-
type
|
|
36740
|
-
type
|
|
36741
|
-
type
|
|
37227
|
+
type Capability = components$z["schemas"]["Capability"];
|
|
37228
|
+
type Category = components$s["schemas"]["CategoryDefinition"];
|
|
37229
|
+
type Component = components$y["schemas"]["ComponentDefinition"];
|
|
37230
|
+
type Connection = components$x["schemas"]["Connection"];
|
|
37231
|
+
type ConnectionStatusValue = components$x["schemas"]["ConnectionStatusValue"];
|
|
37232
|
+
type ControllerStatusValue = components$i["schemas"]["ControllerStatusValue"];
|
|
37233
|
+
type Credential = components$w["schemas"]["Credential"];
|
|
37234
|
+
type Design = components$t["schemas"]["PatternFile"];
|
|
37235
|
+
type Environment = components$q["schemas"]["Environment"];
|
|
37236
|
+
type EvaluationRequest = components$p["schemas"]["EvaluationRequest"];
|
|
37237
|
+
type EvaluationResponse = components$p["schemas"]["EvaluationResponse"];
|
|
37238
|
+
type Feature = components$o["schemas"]["Feature"];
|
|
36742
37239
|
type Invitation = components$f["schemas"]["Invitation"];
|
|
36743
|
-
type Key = components$
|
|
36744
|
-
type Keychain = components$
|
|
36745
|
-
type Model = components$
|
|
36746
|
-
type Organization = components$
|
|
36747
|
-
type Role = components$
|
|
36748
|
-
type Schedule = components$
|
|
36749
|
-
type Subcategory = components$
|
|
37240
|
+
type Key = components$n["schemas"]["Key"];
|
|
37241
|
+
type Keychain = components$m["schemas"]["Keychain"];
|
|
37242
|
+
type Model = components$v["schemas"]["ModelDefinition"];
|
|
37243
|
+
type Organization = components$l["schemas"]["Organization"];
|
|
37244
|
+
type Role = components$k["schemas"]["Role"];
|
|
37245
|
+
type Schedule = components$j["schemas"]["Schedule"];
|
|
37246
|
+
type Subcategory = components$r["schemas"]["SubCategoryDefinition"];
|
|
36750
37247
|
type Team = components$h["schemas"]["Team"];
|
|
36751
|
-
type User = components$
|
|
37248
|
+
type User = components$u["schemas"]["User"];
|
|
36752
37249
|
type Workspace = components$g["schemas"]["Workspace"];
|
|
36753
37250
|
}
|
|
36754
37251
|
|