@meshery/schemas 0.8.127 → 0.8.129
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/{Core-vaTzd8cz.d.mts → Core-BiYtFM4v.d.mts} +1 -1
- package/dist/{Core-vaTzd8cz.d.ts → Core-BiYtFM4v.d.ts} +1 -1
- package/dist/cloudApi.d.mts +13676 -3825
- package/dist/cloudApi.d.ts +13676 -3825
- package/dist/cloudApi.js +1 -1
- package/dist/cloudApi.mjs +1 -1
- package/dist/constructs/v1alpha1/capability/CapabilitySchema.d.mts +1 -149
- package/dist/constructs/v1alpha1/capability/CapabilitySchema.d.ts +1 -149
- package/dist/constructs/v1alpha1/capability/CapabilitySchema.js +1 -1
- package/dist/constructs/v1alpha1/capability/CapabilitySchema.mjs +1 -1
- package/dist/constructs/v1alpha1/core/Core.d.mts +1 -1
- package/dist/constructs/v1alpha1/core/Core.d.ts +1 -1
- package/dist/constructs/v1alpha1/core/CoreSchema.d.mts +1 -1643
- package/dist/constructs/v1alpha1/core/CoreSchema.d.ts +1 -1643
- package/dist/constructs/v1alpha1/core/CoreSchema.js +1 -1
- package/dist/constructs/v1alpha1/core/CoreSchema.mjs +1 -1
- package/dist/constructs/v1alpha2/catalog/CatalogSchema.d.mts +1 -74
- package/dist/constructs/v1alpha2/catalog/CatalogSchema.d.ts +1 -74
- package/dist/constructs/v1alpha2/catalog/CatalogSchema.js +1 -1
- package/dist/constructs/v1alpha2/catalog/CatalogSchema.mjs +1 -1
- package/dist/constructs/v1alpha3/relationship/Relationship.d.mts +32 -128
- package/dist/constructs/v1alpha3/relationship/Relationship.d.ts +32 -128
- package/dist/constructs/v1alpha3/relationship/RelationshipSchema.d.mts +1 -6973
- package/dist/constructs/v1alpha3/relationship/RelationshipSchema.d.ts +1 -6973
- package/dist/constructs/v1alpha3/relationship/RelationshipSchema.js +15 -15
- package/dist/constructs/v1alpha3/relationship/RelationshipSchema.mjs +15 -15
- package/dist/constructs/v1beta1/academy/Academy.d.mts +749 -319
- package/dist/constructs/v1beta1/academy/Academy.d.ts +749 -319
- package/dist/constructs/v1beta1/academy/AcademySchema.d.mts +1 -11832
- package/dist/constructs/v1beta1/academy/AcademySchema.d.ts +1 -11832
- package/dist/constructs/v1beta1/academy/AcademySchema.js +1 -1
- package/dist/constructs/v1beta1/academy/AcademySchema.mjs +1 -1
- package/dist/constructs/v1beta1/badge/BadgeSchema.d.mts +1 -513
- package/dist/constructs/v1beta1/badge/BadgeSchema.d.ts +1 -513
- package/dist/constructs/v1beta1/badge/BadgeSchema.js +1 -1
- package/dist/constructs/v1beta1/badge/BadgeSchema.mjs +1 -1
- package/dist/constructs/v1beta1/category/CategorySchema.d.mts +1 -54
- package/dist/constructs/v1beta1/category/CategorySchema.d.ts +1 -54
- package/dist/constructs/v1beta1/category/CategorySchema.js +1 -1
- package/dist/constructs/v1beta1/category/CategorySchema.mjs +1 -1
- package/dist/constructs/v1beta1/component/Component.d.mts +6 -12
- package/dist/constructs/v1beta1/component/Component.d.ts +6 -12
- package/dist/constructs/v1beta1/component/ComponentSchema.d.mts +1 -1771
- package/dist/constructs/v1beta1/component/ComponentSchema.d.ts +1 -1771
- package/dist/constructs/v1beta1/component/ComponentSchema.js +3 -3
- package/dist/constructs/v1beta1/component/ComponentSchema.mjs +3 -3
- package/dist/constructs/v1beta1/connection/Connection.d.mts +12 -12
- package/dist/constructs/v1beta1/connection/Connection.d.ts +12 -12
- package/dist/constructs/v1beta1/connection/ConnectionSchema.d.mts +1 -2978
- package/dist/constructs/v1beta1/connection/ConnectionSchema.d.ts +1 -2978
- package/dist/constructs/v1beta1/connection/ConnectionSchema.js +1 -1
- package/dist/constructs/v1beta1/connection/ConnectionSchema.mjs +1 -1
- package/dist/constructs/v1beta1/credential/Credential.d.mts +517 -0
- package/dist/constructs/v1beta1/credential/Credential.d.ts +517 -0
- package/dist/constructs/v1beta1/credential/Credential.js +1 -0
- package/dist/constructs/v1beta1/credential/Credential.mjs +0 -0
- package/dist/constructs/v1beta1/credential/CredentialSchema.d.mts +7 -0
- package/dist/constructs/v1beta1/credential/CredentialSchema.d.ts +7 -0
- package/dist/constructs/v1beta1/credential/CredentialSchema.js +9 -0
- package/dist/constructs/v1beta1/credential/CredentialSchema.mjs +9 -0
- package/dist/constructs/v1beta1/environment/Environment.d.mts +4 -4
- package/dist/constructs/v1beta1/environment/Environment.d.ts +4 -4
- package/dist/constructs/v1beta1/environment/EnvironmentSchema.d.mts +1 -958
- package/dist/constructs/v1beta1/environment/EnvironmentSchema.d.ts +1 -958
- package/dist/constructs/v1beta1/environment/EnvironmentSchema.js +1 -1
- package/dist/constructs/v1beta1/environment/EnvironmentSchema.mjs +1 -1
- package/dist/constructs/v1beta1/evaluation/Evaluation.d.mts +68 -212
- package/dist/constructs/v1beta1/evaluation/Evaluation.d.ts +68 -212
- package/dist/constructs/v1beta1/evaluation/EvaluationSchema.d.mts +1 -16507
- package/dist/constructs/v1beta1/evaluation/EvaluationSchema.d.ts +1 -16507
- package/dist/constructs/v1beta1/evaluation/EvaluationSchema.js +25 -25
- package/dist/constructs/v1beta1/evaluation/EvaluationSchema.mjs +25 -25
- package/dist/constructs/v1beta1/event/EventSchema.d.mts +1 -354
- package/dist/constructs/v1beta1/event/EventSchema.d.ts +1 -354
- package/dist/constructs/v1beta1/event/EventSchema.js +2 -1
- package/dist/constructs/v1beta1/event/EventSchema.mjs +2 -1
- package/dist/constructs/v1beta1/feature/FeatureSchema.d.mts +1 -767
- package/dist/constructs/v1beta1/feature/FeatureSchema.d.ts +1 -767
- package/dist/constructs/v1beta1/feature/FeatureSchema.js +2 -1
- package/dist/constructs/v1beta1/feature/FeatureSchema.mjs +2 -1
- package/dist/constructs/v1beta1/invitation/InvitationSchema.d.mts +1 -1646
- package/dist/constructs/v1beta1/invitation/InvitationSchema.d.ts +1 -1646
- package/dist/constructs/v1beta1/invitation/InvitationSchema.js +2 -1
- package/dist/constructs/v1beta1/invitation/InvitationSchema.mjs +2 -1
- package/dist/constructs/v1beta1/key/KeySchema.d.mts +1 -1219
- package/dist/constructs/v1beta1/key/KeySchema.d.ts +1 -1219
- package/dist/constructs/v1beta1/key/KeySchema.js +2 -1
- package/dist/constructs/v1beta1/key/KeySchema.mjs +2 -1
- package/dist/constructs/v1beta1/keychain/KeychainSchema.d.mts +1 -1543
- package/dist/constructs/v1beta1/keychain/KeychainSchema.d.ts +1 -1543
- package/dist/constructs/v1beta1/keychain/KeychainSchema.js +2 -1
- package/dist/constructs/v1beta1/keychain/KeychainSchema.mjs +2 -1
- package/dist/constructs/v1beta1/model/Model.d.mts +7 -13
- package/dist/constructs/v1beta1/model/Model.d.ts +7 -13
- package/dist/constructs/v1beta1/model/ModelSchema.d.mts +1 -1301
- package/dist/constructs/v1beta1/model/ModelSchema.d.ts +1 -1301
- package/dist/constructs/v1beta1/model/ModelSchema.js +2 -2
- package/dist/constructs/v1beta1/model/ModelSchema.mjs +2 -2
- package/dist/constructs/v1beta1/organization/OrganizationSchema.d.mts +1 -1488
- package/dist/constructs/v1beta1/organization/OrganizationSchema.d.ts +1 -1488
- package/dist/constructs/v1beta1/organization/OrganizationSchema.js +2 -1
- package/dist/constructs/v1beta1/organization/OrganizationSchema.mjs +2 -1
- package/dist/constructs/v1beta1/pattern/Pattern.d.mts +7481 -212
- package/dist/constructs/v1beta1/pattern/Pattern.d.ts +7481 -212
- package/dist/constructs/v1beta1/pattern/PatternSchema.d.mts +1 -16703
- package/dist/constructs/v1beta1/pattern/PatternSchema.d.ts +1 -16703
- package/dist/constructs/v1beta1/pattern/PatternSchema.js +265 -25
- package/dist/constructs/v1beta1/pattern/PatternSchema.mjs +265 -25
- package/dist/constructs/v1beta1/plan/PlanSchema.d.mts +1 -316
- package/dist/constructs/v1beta1/plan/PlanSchema.d.ts +1 -316
- package/dist/constructs/v1beta1/plan/PlanSchema.js +2 -1
- package/dist/constructs/v1beta1/plan/PlanSchema.mjs +2 -1
- package/dist/constructs/v1beta1/role/Role.d.mts +614 -0
- package/dist/constructs/v1beta1/role/Role.d.ts +614 -0
- package/dist/constructs/v1beta1/role/Role.js +1 -0
- package/dist/constructs/v1beta1/role/Role.mjs +0 -0
- package/dist/constructs/v1beta1/role/RoleSchema.d.mts +7 -0
- package/dist/constructs/v1beta1/role/RoleSchema.d.ts +7 -0
- package/dist/constructs/v1beta1/role/RoleSchema.js +2 -0
- package/dist/constructs/v1beta1/role/RoleSchema.mjs +2 -0
- package/dist/constructs/v1beta1/schedule/Schedule.d.mts +371 -0
- package/dist/constructs/v1beta1/schedule/Schedule.d.ts +371 -0
- package/dist/constructs/v1beta1/schedule/Schedule.js +1 -0
- package/dist/constructs/v1beta1/schedule/Schedule.mjs +0 -0
- package/dist/constructs/v1beta1/schedule/ScheduleSchema.d.mts +7 -0
- package/dist/constructs/v1beta1/schedule/ScheduleSchema.d.ts +7 -0
- package/dist/constructs/v1beta1/schedule/ScheduleSchema.js +13 -0
- package/dist/constructs/v1beta1/schedule/ScheduleSchema.mjs +13 -0
- package/dist/constructs/v1beta1/subcategory/SubcategorySchema.d.mts +1 -27
- package/dist/constructs/v1beta1/subcategory/SubcategorySchema.d.ts +1 -27
- package/dist/constructs/v1beta1/subcategory/SubcategorySchema.js +1 -1
- package/dist/constructs/v1beta1/subcategory/SubcategorySchema.mjs +1 -1
- package/dist/constructs/v1beta1/subscription/SubscriptionSchema.d.mts +1 -1636
- package/dist/constructs/v1beta1/subscription/SubscriptionSchema.d.ts +1 -1636
- package/dist/constructs/v1beta1/subscription/SubscriptionSchema.js +1 -1
- package/dist/constructs/v1beta1/subscription/SubscriptionSchema.mjs +1 -1
- package/dist/constructs/v1beta1/team/Team.d.mts +46 -16
- package/dist/constructs/v1beta1/team/Team.d.ts +46 -16
- package/dist/constructs/v1beta1/team/TeamSchema.d.mts +1 -2016
- package/dist/constructs/v1beta1/team/TeamSchema.d.ts +1 -2016
- package/dist/constructs/v1beta1/team/TeamSchema.js +1 -1
- package/dist/constructs/v1beta1/team/TeamSchema.mjs +1 -1
- package/dist/constructs/v1beta1/user/UserSchema.d.mts +1 -1106
- package/dist/constructs/v1beta1/user/UserSchema.d.ts +1 -1106
- package/dist/constructs/v1beta1/user/UserSchema.js +2 -1
- package/dist/constructs/v1beta1/user/UserSchema.mjs +2 -1
- package/dist/constructs/v1beta1/workspace/WorkspaceSchema.d.mts +1 -958
- package/dist/constructs/v1beta1/workspace/WorkspaceSchema.d.ts +1 -958
- package/dist/constructs/v1beta1/workspace/WorkspaceSchema.js +1 -1
- package/dist/constructs/v1beta1/workspace/WorkspaceSchema.mjs +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +283 -43
- package/dist/index.mjs +283 -43
- package/dist/mesheryApi.d.mts +2025 -183
- package/dist/mesheryApi.d.ts +2025 -183
- package/dist/mesheryApi.js +1 -1
- package/dist/mesheryApi.mjs +1 -1
- package/package.json +1 -1
|
@@ -2,2983 +2,6 @@
|
|
|
2
2
|
* This file was automatically generated from OpenAPI schema.
|
|
3
3
|
* Do not manually modify this file.
|
|
4
4
|
*/
|
|
5
|
-
declare const ConnectionSchema:
|
|
6
|
-
readonly openapi: "3.0.0";
|
|
7
|
-
readonly info: {
|
|
8
|
-
readonly title: "Connection API";
|
|
9
|
-
readonly version: "v1beta1";
|
|
10
|
-
readonly description: "API for managing Meshery connections - managed and unmanaged resources tracked by Meshery";
|
|
11
|
-
};
|
|
12
|
-
readonly paths: {
|
|
13
|
-
readonly "/api/integrations/connections": {
|
|
14
|
-
readonly get: {
|
|
15
|
-
readonly "x-internal": readonly ["cloud"];
|
|
16
|
-
readonly tags: readonly ["Connections"];
|
|
17
|
-
readonly operationId: "GetConnections";
|
|
18
|
-
readonly summary: "Get all connections";
|
|
19
|
-
readonly description: "Returns a paginated list of connections for the authenticated user with filtering, sorting and pagination support";
|
|
20
|
-
readonly parameters: readonly [{
|
|
21
|
-
readonly name: "page";
|
|
22
|
-
readonly in: "query";
|
|
23
|
-
readonly description: "Page number";
|
|
24
|
-
readonly required: false;
|
|
25
|
-
readonly schema: {
|
|
26
|
-
readonly type: "integer";
|
|
27
|
-
readonly default: 0;
|
|
28
|
-
};
|
|
29
|
-
}, {
|
|
30
|
-
readonly name: "pagesize";
|
|
31
|
-
readonly in: "query";
|
|
32
|
-
readonly description: "Number of items per page";
|
|
33
|
-
readonly required: false;
|
|
34
|
-
readonly schema: {
|
|
35
|
-
readonly type: "integer";
|
|
36
|
-
readonly default: 10;
|
|
37
|
-
};
|
|
38
|
-
}, {
|
|
39
|
-
readonly name: "search";
|
|
40
|
-
readonly in: "query";
|
|
41
|
-
readonly description: "Search term";
|
|
42
|
-
readonly required: false;
|
|
43
|
-
readonly schema: {
|
|
44
|
-
readonly type: "string";
|
|
45
|
-
};
|
|
46
|
-
}, {
|
|
47
|
-
readonly name: "order";
|
|
48
|
-
readonly in: "query";
|
|
49
|
-
readonly description: "Sort order";
|
|
50
|
-
readonly required: false;
|
|
51
|
-
readonly schema: {
|
|
52
|
-
readonly type: "string";
|
|
53
|
-
};
|
|
54
|
-
}, {
|
|
55
|
-
readonly name: "filter";
|
|
56
|
-
readonly in: "query";
|
|
57
|
-
readonly description: "Filter connections (general filter string)";
|
|
58
|
-
readonly required: false;
|
|
59
|
-
readonly schema: {
|
|
60
|
-
readonly type: "string";
|
|
61
|
-
};
|
|
62
|
-
}, {
|
|
63
|
-
readonly name: "kind";
|
|
64
|
-
readonly in: "query";
|
|
65
|
-
readonly description: "Filter by connection kind (e.g., kubernetes, prometheus, grafana)";
|
|
66
|
-
readonly required: false;
|
|
67
|
-
readonly schema: {
|
|
68
|
-
readonly type: "array";
|
|
69
|
-
readonly items: {
|
|
70
|
-
readonly type: "string";
|
|
71
|
-
};
|
|
72
|
-
};
|
|
73
|
-
}, {
|
|
74
|
-
readonly name: "status";
|
|
75
|
-
readonly in: "query";
|
|
76
|
-
readonly description: "Filter by connection status";
|
|
77
|
-
readonly required: false;
|
|
78
|
-
readonly schema: {
|
|
79
|
-
readonly type: "array";
|
|
80
|
-
readonly items: {
|
|
81
|
-
readonly type: "string";
|
|
82
|
-
readonly description: "Connection Status Value";
|
|
83
|
-
readonly "x-go-name": "ConnectionStatusValue";
|
|
84
|
-
readonly enum: readonly ["discovered", "registered", "connected", "ignored", "maintenance", "disconnected", "deleted", "not found"];
|
|
85
|
-
};
|
|
86
|
-
};
|
|
87
|
-
}, {
|
|
88
|
-
readonly name: "type";
|
|
89
|
-
readonly in: "query";
|
|
90
|
-
readonly description: "Filter by connection type";
|
|
91
|
-
readonly required: false;
|
|
92
|
-
readonly schema: {
|
|
93
|
-
readonly type: "array";
|
|
94
|
-
readonly items: {
|
|
95
|
-
readonly type: "string";
|
|
96
|
-
};
|
|
97
|
-
};
|
|
98
|
-
}, {
|
|
99
|
-
readonly name: "name";
|
|
100
|
-
readonly in: "query";
|
|
101
|
-
readonly description: "Filter by connection name (partial match supported)";
|
|
102
|
-
readonly required: false;
|
|
103
|
-
readonly schema: {
|
|
104
|
-
readonly type: "string";
|
|
105
|
-
};
|
|
106
|
-
}];
|
|
107
|
-
readonly responses: {
|
|
108
|
-
readonly "200": {
|
|
109
|
-
readonly description: "Paginated list of connections with summary information";
|
|
110
|
-
readonly content: {
|
|
111
|
-
readonly "application/json": {
|
|
112
|
-
readonly schema: {
|
|
113
|
-
readonly $id: "https://schemas.meshery.io/connection_page.yaml";
|
|
114
|
-
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
115
|
-
readonly description: "Represents a page of connections with meta information about connections count";
|
|
116
|
-
readonly additionalProperties: false;
|
|
117
|
-
readonly type: "object";
|
|
118
|
-
readonly required: readonly ["connections", "total_count", "page", "page_size"];
|
|
119
|
-
readonly properties: {
|
|
120
|
-
readonly connections: {
|
|
121
|
-
readonly type: "array";
|
|
122
|
-
readonly description: "List of connections on this page";
|
|
123
|
-
readonly items: {
|
|
124
|
-
readonly "x-go-type": "*Connection";
|
|
125
|
-
readonly $id: "https://schemas.meshery.io/connection.yaml";
|
|
126
|
-
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
127
|
-
readonly 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";
|
|
128
|
-
readonly additionalProperties: false;
|
|
129
|
-
readonly type: "object";
|
|
130
|
-
readonly required: readonly ["id", "schemaVersion", "name", "type", "sub_type", "kind", "status"];
|
|
131
|
-
readonly properties: {
|
|
132
|
-
readonly id: {
|
|
133
|
-
readonly description: "Connection ID";
|
|
134
|
-
readonly "x-order": 1;
|
|
135
|
-
readonly "x-go-name": "ID";
|
|
136
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
137
|
-
readonly db: "id";
|
|
138
|
-
readonly yaml: "id";
|
|
139
|
-
};
|
|
140
|
-
readonly type: "string";
|
|
141
|
-
readonly format: "uuid";
|
|
142
|
-
readonly "x-go-type": "uuid.UUID";
|
|
143
|
-
readonly "x-go-type-import": {
|
|
144
|
-
readonly path: "github.com/gofrs/uuid";
|
|
145
|
-
};
|
|
146
|
-
};
|
|
147
|
-
readonly name: {
|
|
148
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
149
|
-
readonly db: "name";
|
|
150
|
-
readonly yaml: "name";
|
|
151
|
-
};
|
|
152
|
-
readonly "x-order": 2;
|
|
153
|
-
readonly type: "string";
|
|
154
|
-
readonly description: "Connection Name";
|
|
155
|
-
};
|
|
156
|
-
readonly credential_id: {
|
|
157
|
-
readonly "x-go-name": "CredentialID";
|
|
158
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
159
|
-
readonly db: "credential_id";
|
|
160
|
-
readonly yaml: "credential_id";
|
|
161
|
-
};
|
|
162
|
-
readonly "x-order": 3;
|
|
163
|
-
readonly description: "Associated Credential ID";
|
|
164
|
-
readonly type: "string";
|
|
165
|
-
readonly format: "uuid";
|
|
166
|
-
readonly "x-go-type": "uuid.UUID";
|
|
167
|
-
readonly "x-go-type-import": {
|
|
168
|
-
readonly path: "github.com/gofrs/uuid";
|
|
169
|
-
};
|
|
170
|
-
};
|
|
171
|
-
readonly type: {
|
|
172
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
173
|
-
readonly db: "type";
|
|
174
|
-
readonly yaml: "type";
|
|
175
|
-
};
|
|
176
|
-
readonly "x-order": 4;
|
|
177
|
-
readonly type: "string";
|
|
178
|
-
readonly description: "Connection Type (platform, telemetry, collaboration)";
|
|
179
|
-
};
|
|
180
|
-
readonly sub_type: {
|
|
181
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
182
|
-
readonly db: "sub_type";
|
|
183
|
-
readonly yaml: "sub_type";
|
|
184
|
-
};
|
|
185
|
-
readonly "x-order": 5;
|
|
186
|
-
readonly type: "string";
|
|
187
|
-
readonly description: "Connection Subtype (cloud, identity, metrics, chat, git, orchestration)";
|
|
188
|
-
};
|
|
189
|
-
readonly kind: {
|
|
190
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
191
|
-
readonly db: "kind";
|
|
192
|
-
readonly yaml: "kind";
|
|
193
|
-
};
|
|
194
|
-
readonly "x-order": 6;
|
|
195
|
-
readonly type: "string";
|
|
196
|
-
readonly description: "Connection Kind (meshery, kubernetes, prometheus, grafana, gke, aws, azure, slack, github)";
|
|
197
|
-
};
|
|
198
|
-
readonly metadata: {
|
|
199
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
200
|
-
readonly db: "metadata";
|
|
201
|
-
readonly yaml: "metadata";
|
|
202
|
-
};
|
|
203
|
-
readonly "x-order": 7;
|
|
204
|
-
readonly "x-go-type": "core.Map";
|
|
205
|
-
readonly "x-go-type-import": {
|
|
206
|
-
readonly path: "github.com/meshery/schemas/models/core";
|
|
207
|
-
};
|
|
208
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
209
|
-
readonly type: "object";
|
|
210
|
-
readonly description: "Additional connection metadata";
|
|
211
|
-
};
|
|
212
|
-
readonly status: {
|
|
213
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
214
|
-
readonly db: "status";
|
|
215
|
-
readonly yaml: "status";
|
|
216
|
-
};
|
|
217
|
-
readonly "x-order": 8;
|
|
218
|
-
readonly description: "Connection Status";
|
|
219
|
-
readonly type: "string";
|
|
220
|
-
readonly enum: readonly ["discovered", "registered", "connected", "ignored", "maintenance", "disconnected", "deleted", "not found"];
|
|
221
|
-
};
|
|
222
|
-
readonly user_id: {
|
|
223
|
-
readonly "x-go-name": "UserID";
|
|
224
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
225
|
-
readonly db: "user_id";
|
|
226
|
-
readonly yaml: "user_id";
|
|
227
|
-
};
|
|
228
|
-
readonly "x-order": 9;
|
|
229
|
-
readonly description: "User ID who owns this connection";
|
|
230
|
-
readonly type: "string";
|
|
231
|
-
readonly format: "uuid";
|
|
232
|
-
readonly "x-go-type": "uuid.UUID";
|
|
233
|
-
readonly "x-go-type-import": {
|
|
234
|
-
readonly path: "github.com/gofrs/uuid";
|
|
235
|
-
};
|
|
236
|
-
};
|
|
237
|
-
readonly created_at: {
|
|
238
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
239
|
-
readonly db: "created_at";
|
|
240
|
-
readonly yaml: "created_at";
|
|
241
|
-
};
|
|
242
|
-
readonly "x-order": 10;
|
|
243
|
-
readonly type: "string";
|
|
244
|
-
readonly format: "date-time";
|
|
245
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
246
|
-
};
|
|
247
|
-
readonly updated_at: {
|
|
248
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
249
|
-
readonly db: "updated_at";
|
|
250
|
-
readonly yaml: "updated_at";
|
|
251
|
-
};
|
|
252
|
-
readonly "x-order": 11;
|
|
253
|
-
readonly type: "string";
|
|
254
|
-
readonly format: "date-time";
|
|
255
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
256
|
-
};
|
|
257
|
-
readonly deleted_at: {
|
|
258
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
259
|
-
readonly db: "deleted_at";
|
|
260
|
-
readonly yaml: "deleted_at";
|
|
261
|
-
};
|
|
262
|
-
readonly "x-go-type": "core.NullTime";
|
|
263
|
-
readonly "x-go-type-import": {
|
|
264
|
-
readonly path: "github.com/meshery/schemas/models/core";
|
|
265
|
-
};
|
|
266
|
-
readonly "x-order": 12;
|
|
267
|
-
readonly type: "string";
|
|
268
|
-
readonly format: "date-time";
|
|
269
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
270
|
-
};
|
|
271
|
-
readonly environments: {
|
|
272
|
-
readonly type: "array";
|
|
273
|
-
readonly description: "Associated environments for this connection";
|
|
274
|
-
readonly items: {
|
|
275
|
-
readonly "x-go-type": "*environment.Environment";
|
|
276
|
-
readonly "x-go-type-import": {
|
|
277
|
-
readonly path: "github.com/meshery/schemas/models/v1beta1/environment";
|
|
278
|
-
};
|
|
279
|
-
readonly $id: "https://schemas.meshery.io/environment.yaml";
|
|
280
|
-
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
281
|
-
readonly description: "Meshery Environments allow you to logically group related Connections and their associated Credentials.. Learn more at https://docs.meshery.io/concepts/logical/environments";
|
|
282
|
-
readonly additionalProperties: false;
|
|
283
|
-
readonly type: "object";
|
|
284
|
-
readonly required: readonly ["id", "schemaVersion", "name", "description", "organization_id"];
|
|
285
|
-
readonly properties: {
|
|
286
|
-
readonly id: {
|
|
287
|
-
readonly description: "ID";
|
|
288
|
-
readonly "x-order": 1;
|
|
289
|
-
readonly "x-go-name": "ID";
|
|
290
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
291
|
-
readonly db: "id";
|
|
292
|
-
readonly yaml: "id";
|
|
293
|
-
};
|
|
294
|
-
readonly type: "string";
|
|
295
|
-
readonly format: "uuid";
|
|
296
|
-
readonly "x-go-type": "uuid.UUID";
|
|
297
|
-
readonly "x-go-type-import": {
|
|
298
|
-
readonly path: "github.com/gofrs/uuid";
|
|
299
|
-
};
|
|
300
|
-
};
|
|
301
|
-
readonly schemaVersion: {
|
|
302
|
-
readonly description: "Specifies the version of the schema to which the environment conforms.";
|
|
303
|
-
readonly "x-order": 2;
|
|
304
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
305
|
-
readonly yaml: "schemaVersion";
|
|
306
|
-
readonly db: "-";
|
|
307
|
-
readonly gorm: "-";
|
|
308
|
-
};
|
|
309
|
-
readonly default: "environments.meshery.io/v1beta1";
|
|
310
|
-
readonly type: "string";
|
|
311
|
-
readonly minLength: 2;
|
|
312
|
-
readonly maxLength: 100;
|
|
313
|
-
readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
|
|
314
|
-
readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
|
|
315
|
-
};
|
|
316
|
-
readonly name: {
|
|
317
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
318
|
-
readonly db: "name";
|
|
319
|
-
readonly yaml: "name";
|
|
320
|
-
};
|
|
321
|
-
readonly "x-order": 3;
|
|
322
|
-
readonly type: "string";
|
|
323
|
-
readonly description: "Environment name";
|
|
324
|
-
};
|
|
325
|
-
readonly description: {
|
|
326
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
327
|
-
readonly db: "description";
|
|
328
|
-
readonly yaml: "description";
|
|
329
|
-
};
|
|
330
|
-
readonly "x-order": 4;
|
|
331
|
-
readonly type: "string";
|
|
332
|
-
readonly description: "Environment description";
|
|
333
|
-
};
|
|
334
|
-
readonly organization_id: {
|
|
335
|
-
readonly "x-go-name": "OrganizationID";
|
|
336
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
337
|
-
readonly db: "organization_id";
|
|
338
|
-
readonly yaml: "organization_id";
|
|
339
|
-
};
|
|
340
|
-
readonly "x-order": 5;
|
|
341
|
-
readonly description: "Environment organization ID";
|
|
342
|
-
readonly type: "string";
|
|
343
|
-
readonly format: "uuid";
|
|
344
|
-
readonly "x-go-type": "uuid.UUID";
|
|
345
|
-
readonly "x-go-type-import": {
|
|
346
|
-
readonly path: "github.com/gofrs/uuid";
|
|
347
|
-
};
|
|
348
|
-
};
|
|
349
|
-
readonly owner: {
|
|
350
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
351
|
-
readonly db: "owner";
|
|
352
|
-
readonly yaml: "owner";
|
|
353
|
-
};
|
|
354
|
-
readonly "x-order": 6;
|
|
355
|
-
readonly description: "Environment owner";
|
|
356
|
-
readonly type: "string";
|
|
357
|
-
readonly format: "uuid";
|
|
358
|
-
readonly "x-go-type": "uuid.UUID";
|
|
359
|
-
readonly "x-go-type-import": {
|
|
360
|
-
readonly path: "github.com/gofrs/uuid";
|
|
361
|
-
};
|
|
362
|
-
};
|
|
363
|
-
readonly created_at: {
|
|
364
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
365
|
-
readonly db: "created_at";
|
|
366
|
-
readonly yaml: "created_at";
|
|
367
|
-
};
|
|
368
|
-
readonly "x-order": 7;
|
|
369
|
-
readonly type: "string";
|
|
370
|
-
readonly format: "date-time";
|
|
371
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
372
|
-
};
|
|
373
|
-
readonly metadata: {
|
|
374
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
375
|
-
readonly db: "metadata";
|
|
376
|
-
readonly yaml: "metadata";
|
|
377
|
-
};
|
|
378
|
-
readonly "x-order": 8;
|
|
379
|
-
readonly "x-go-type": "core.Map";
|
|
380
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
381
|
-
readonly type: "object";
|
|
382
|
-
};
|
|
383
|
-
readonly updated_at: {
|
|
384
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
385
|
-
readonly db: "updated_at";
|
|
386
|
-
readonly yaml: "updated_at";
|
|
387
|
-
};
|
|
388
|
-
readonly "x-order": 9;
|
|
389
|
-
readonly type: "string";
|
|
390
|
-
readonly format: "date-time";
|
|
391
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
392
|
-
};
|
|
393
|
-
readonly deleted_at: {
|
|
394
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
395
|
-
readonly db: "deleted_at";
|
|
396
|
-
readonly yaml: "deleted_at";
|
|
397
|
-
};
|
|
398
|
-
readonly "x-go-type": "core.NullTime";
|
|
399
|
-
readonly "x-go-import": "database/sql";
|
|
400
|
-
readonly "x-order": 10;
|
|
401
|
-
readonly type: "string";
|
|
402
|
-
readonly format: "date-time";
|
|
403
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
404
|
-
};
|
|
405
|
-
};
|
|
406
|
-
};
|
|
407
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
408
|
-
readonly db: "-";
|
|
409
|
-
readonly yaml: "environments";
|
|
410
|
-
readonly gorm: "-";
|
|
411
|
-
};
|
|
412
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
413
|
-
readonly "x-order": 13;
|
|
414
|
-
};
|
|
415
|
-
readonly schemaVersion: {
|
|
416
|
-
readonly description: "Specifies the version of the schema used for the definition.";
|
|
417
|
-
readonly "x-order": 14;
|
|
418
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
419
|
-
readonly yaml: "schemaVersion";
|
|
420
|
-
readonly db: "-";
|
|
421
|
-
readonly gorm: "-";
|
|
422
|
-
};
|
|
423
|
-
readonly default: "connections.meshery.io/v1beta1";
|
|
424
|
-
readonly type: "string";
|
|
425
|
-
readonly minLength: 2;
|
|
426
|
-
readonly maxLength: 100;
|
|
427
|
-
readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
|
|
428
|
-
readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
|
|
429
|
-
};
|
|
430
|
-
};
|
|
431
|
-
};
|
|
432
|
-
readonly "x-order": 1;
|
|
433
|
-
};
|
|
434
|
-
readonly total_count: {
|
|
435
|
-
readonly type: "integer";
|
|
436
|
-
readonly description: "Total number of connections on all pages";
|
|
437
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
438
|
-
readonly json: "total_count";
|
|
439
|
-
readonly yaml: "total_count";
|
|
440
|
-
};
|
|
441
|
-
readonly "x-order": 2;
|
|
442
|
-
};
|
|
443
|
-
readonly page: {
|
|
444
|
-
readonly type: "integer";
|
|
445
|
-
readonly description: "Current page number";
|
|
446
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
447
|
-
readonly json: "page";
|
|
448
|
-
readonly yaml: "page";
|
|
449
|
-
};
|
|
450
|
-
readonly "x-order": 3;
|
|
451
|
-
};
|
|
452
|
-
readonly page_size: {
|
|
453
|
-
readonly type: "integer";
|
|
454
|
-
readonly description: "Number of elements per page";
|
|
455
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
456
|
-
readonly json: "page_size";
|
|
457
|
-
readonly yaml: "page_size";
|
|
458
|
-
};
|
|
459
|
-
readonly "x-order": 4;
|
|
460
|
-
};
|
|
461
|
-
readonly status_summary: {
|
|
462
|
-
readonly type: "object";
|
|
463
|
-
readonly description: "Aggregate count of connections grouped by status";
|
|
464
|
-
readonly additionalProperties: {
|
|
465
|
-
readonly type: "integer";
|
|
466
|
-
};
|
|
467
|
-
readonly "x-go-type": "map[ConnectionStatus]int";
|
|
468
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
469
|
-
readonly json: "status_summary,omitempty";
|
|
470
|
-
readonly yaml: "status_summary,omitempty";
|
|
471
|
-
};
|
|
472
|
-
readonly "x-order": 5;
|
|
473
|
-
};
|
|
474
|
-
};
|
|
475
|
-
};
|
|
476
|
-
};
|
|
477
|
-
};
|
|
478
|
-
};
|
|
479
|
-
readonly "500": {
|
|
480
|
-
readonly description: "Server error";
|
|
481
|
-
};
|
|
482
|
-
};
|
|
483
|
-
};
|
|
484
|
-
readonly post: {
|
|
485
|
-
readonly "x-internal": readonly ["cloud"];
|
|
486
|
-
readonly tags: readonly ["Connections"];
|
|
487
|
-
readonly operationId: "RegisterConnection";
|
|
488
|
-
readonly summary: "Register a new connection";
|
|
489
|
-
readonly description: "Register a new connection with credentials";
|
|
490
|
-
readonly requestBody: {
|
|
491
|
-
readonly required: true;
|
|
492
|
-
readonly content: {
|
|
493
|
-
readonly "application/json": {
|
|
494
|
-
readonly schema: {
|
|
495
|
-
readonly type: "object";
|
|
496
|
-
readonly description: "Payload for creating or updating a connection";
|
|
497
|
-
readonly properties: {
|
|
498
|
-
readonly id: {
|
|
499
|
-
readonly type: "string";
|
|
500
|
-
readonly format: "uuid";
|
|
501
|
-
readonly description: "Connection ID";
|
|
502
|
-
readonly "x-go-name": "ConnectionID";
|
|
503
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
504
|
-
readonly json: "id,omitempty";
|
|
505
|
-
};
|
|
506
|
-
};
|
|
507
|
-
readonly name: {
|
|
508
|
-
readonly type: "string";
|
|
509
|
-
readonly description: "Connection name";
|
|
510
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
511
|
-
readonly json: "name";
|
|
512
|
-
};
|
|
513
|
-
};
|
|
514
|
-
readonly kind: {
|
|
515
|
-
readonly type: "string";
|
|
516
|
-
readonly description: "Connection kind";
|
|
517
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
518
|
-
readonly json: "kind";
|
|
519
|
-
};
|
|
520
|
-
};
|
|
521
|
-
readonly type: {
|
|
522
|
-
readonly type: "string";
|
|
523
|
-
readonly description: "Connection type";
|
|
524
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
525
|
-
readonly json: "type";
|
|
526
|
-
};
|
|
527
|
-
};
|
|
528
|
-
readonly sub_type: {
|
|
529
|
-
readonly type: "string";
|
|
530
|
-
readonly description: "Connection sub-type";
|
|
531
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
532
|
-
readonly json: "sub_type";
|
|
533
|
-
};
|
|
534
|
-
};
|
|
535
|
-
readonly credential_secret: {
|
|
536
|
-
readonly type: "object";
|
|
537
|
-
readonly description: "Credential secret data";
|
|
538
|
-
readonly "x-go-type": "core.Map";
|
|
539
|
-
readonly "x-go-type-import": {
|
|
540
|
-
readonly path: "github.com/meshery/schemas/models/core";
|
|
541
|
-
};
|
|
542
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
543
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
544
|
-
readonly json: "credential_secret";
|
|
545
|
-
};
|
|
546
|
-
};
|
|
547
|
-
readonly metadata: {
|
|
548
|
-
readonly type: "object";
|
|
549
|
-
readonly description: "Connection metadata";
|
|
550
|
-
readonly "x-go-type": "core.Map";
|
|
551
|
-
readonly "x-go-type-import": {
|
|
552
|
-
readonly path: "github.com/meshery/schemas/models/core";
|
|
553
|
-
};
|
|
554
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
555
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
556
|
-
readonly json: "metadata";
|
|
557
|
-
};
|
|
558
|
-
};
|
|
559
|
-
readonly status: {
|
|
560
|
-
readonly type: "string";
|
|
561
|
-
readonly description: "Connection status";
|
|
562
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
563
|
-
readonly json: "status";
|
|
564
|
-
};
|
|
565
|
-
};
|
|
566
|
-
readonly credential_id: {
|
|
567
|
-
readonly type: "string";
|
|
568
|
-
readonly format: "uuid";
|
|
569
|
-
readonly description: "Associated credential ID";
|
|
570
|
-
readonly "x-go-name": "CredentialID";
|
|
571
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
572
|
-
readonly json: "credential_id,omitempty";
|
|
573
|
-
};
|
|
574
|
-
};
|
|
575
|
-
};
|
|
576
|
-
readonly required: readonly ["name", "kind", "type", "sub_type", "status"];
|
|
577
|
-
};
|
|
578
|
-
};
|
|
579
|
-
};
|
|
580
|
-
};
|
|
581
|
-
readonly responses: {
|
|
582
|
-
readonly "201": {
|
|
583
|
-
readonly description: "Connection registered successfully";
|
|
584
|
-
readonly content: {
|
|
585
|
-
readonly "application/json": {
|
|
586
|
-
readonly schema: {
|
|
587
|
-
readonly $id: "https://schemas.meshery.io/connection.yaml";
|
|
588
|
-
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
589
|
-
readonly 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";
|
|
590
|
-
readonly additionalProperties: false;
|
|
591
|
-
readonly type: "object";
|
|
592
|
-
readonly required: readonly ["id", "schemaVersion", "name", "type", "sub_type", "kind", "status"];
|
|
593
|
-
readonly properties: {
|
|
594
|
-
readonly id: {
|
|
595
|
-
readonly description: "Connection ID";
|
|
596
|
-
readonly "x-order": 1;
|
|
597
|
-
readonly "x-go-name": "ID";
|
|
598
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
599
|
-
readonly db: "id";
|
|
600
|
-
readonly yaml: "id";
|
|
601
|
-
};
|
|
602
|
-
readonly type: "string";
|
|
603
|
-
readonly format: "uuid";
|
|
604
|
-
readonly "x-go-type": "uuid.UUID";
|
|
605
|
-
readonly "x-go-type-import": {
|
|
606
|
-
readonly path: "github.com/gofrs/uuid";
|
|
607
|
-
};
|
|
608
|
-
};
|
|
609
|
-
readonly name: {
|
|
610
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
611
|
-
readonly db: "name";
|
|
612
|
-
readonly yaml: "name";
|
|
613
|
-
};
|
|
614
|
-
readonly "x-order": 2;
|
|
615
|
-
readonly type: "string";
|
|
616
|
-
readonly description: "Connection Name";
|
|
617
|
-
};
|
|
618
|
-
readonly credential_id: {
|
|
619
|
-
readonly "x-go-name": "CredentialID";
|
|
620
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
621
|
-
readonly db: "credential_id";
|
|
622
|
-
readonly yaml: "credential_id";
|
|
623
|
-
};
|
|
624
|
-
readonly "x-order": 3;
|
|
625
|
-
readonly description: "Associated Credential ID";
|
|
626
|
-
readonly type: "string";
|
|
627
|
-
readonly format: "uuid";
|
|
628
|
-
readonly "x-go-type": "uuid.UUID";
|
|
629
|
-
readonly "x-go-type-import": {
|
|
630
|
-
readonly path: "github.com/gofrs/uuid";
|
|
631
|
-
};
|
|
632
|
-
};
|
|
633
|
-
readonly type: {
|
|
634
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
635
|
-
readonly db: "type";
|
|
636
|
-
readonly yaml: "type";
|
|
637
|
-
};
|
|
638
|
-
readonly "x-order": 4;
|
|
639
|
-
readonly type: "string";
|
|
640
|
-
readonly description: "Connection Type (platform, telemetry, collaboration)";
|
|
641
|
-
};
|
|
642
|
-
readonly sub_type: {
|
|
643
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
644
|
-
readonly db: "sub_type";
|
|
645
|
-
readonly yaml: "sub_type";
|
|
646
|
-
};
|
|
647
|
-
readonly "x-order": 5;
|
|
648
|
-
readonly type: "string";
|
|
649
|
-
readonly description: "Connection Subtype (cloud, identity, metrics, chat, git, orchestration)";
|
|
650
|
-
};
|
|
651
|
-
readonly kind: {
|
|
652
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
653
|
-
readonly db: "kind";
|
|
654
|
-
readonly yaml: "kind";
|
|
655
|
-
};
|
|
656
|
-
readonly "x-order": 6;
|
|
657
|
-
readonly type: "string";
|
|
658
|
-
readonly description: "Connection Kind (meshery, kubernetes, prometheus, grafana, gke, aws, azure, slack, github)";
|
|
659
|
-
};
|
|
660
|
-
readonly metadata: {
|
|
661
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
662
|
-
readonly db: "metadata";
|
|
663
|
-
readonly yaml: "metadata";
|
|
664
|
-
};
|
|
665
|
-
readonly "x-order": 7;
|
|
666
|
-
readonly "x-go-type": "core.Map";
|
|
667
|
-
readonly "x-go-type-import": {
|
|
668
|
-
readonly path: "github.com/meshery/schemas/models/core";
|
|
669
|
-
};
|
|
670
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
671
|
-
readonly type: "object";
|
|
672
|
-
readonly description: "Additional connection metadata";
|
|
673
|
-
};
|
|
674
|
-
readonly status: {
|
|
675
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
676
|
-
readonly db: "status";
|
|
677
|
-
readonly yaml: "status";
|
|
678
|
-
};
|
|
679
|
-
readonly "x-order": 8;
|
|
680
|
-
readonly description: "Connection Status";
|
|
681
|
-
readonly type: "string";
|
|
682
|
-
readonly enum: readonly ["discovered", "registered", "connected", "ignored", "maintenance", "disconnected", "deleted", "not found"];
|
|
683
|
-
};
|
|
684
|
-
readonly user_id: {
|
|
685
|
-
readonly "x-go-name": "UserID";
|
|
686
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
687
|
-
readonly db: "user_id";
|
|
688
|
-
readonly yaml: "user_id";
|
|
689
|
-
};
|
|
690
|
-
readonly "x-order": 9;
|
|
691
|
-
readonly description: "User ID who owns this connection";
|
|
692
|
-
readonly type: "string";
|
|
693
|
-
readonly format: "uuid";
|
|
694
|
-
readonly "x-go-type": "uuid.UUID";
|
|
695
|
-
readonly "x-go-type-import": {
|
|
696
|
-
readonly path: "github.com/gofrs/uuid";
|
|
697
|
-
};
|
|
698
|
-
};
|
|
699
|
-
readonly created_at: {
|
|
700
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
701
|
-
readonly db: "created_at";
|
|
702
|
-
readonly yaml: "created_at";
|
|
703
|
-
};
|
|
704
|
-
readonly "x-order": 10;
|
|
705
|
-
readonly type: "string";
|
|
706
|
-
readonly format: "date-time";
|
|
707
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
708
|
-
};
|
|
709
|
-
readonly updated_at: {
|
|
710
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
711
|
-
readonly db: "updated_at";
|
|
712
|
-
readonly yaml: "updated_at";
|
|
713
|
-
};
|
|
714
|
-
readonly "x-order": 11;
|
|
715
|
-
readonly type: "string";
|
|
716
|
-
readonly format: "date-time";
|
|
717
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
718
|
-
};
|
|
719
|
-
readonly deleted_at: {
|
|
720
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
721
|
-
readonly db: "deleted_at";
|
|
722
|
-
readonly yaml: "deleted_at";
|
|
723
|
-
};
|
|
724
|
-
readonly "x-go-type": "core.NullTime";
|
|
725
|
-
readonly "x-go-type-import": {
|
|
726
|
-
readonly path: "github.com/meshery/schemas/models/core";
|
|
727
|
-
};
|
|
728
|
-
readonly "x-order": 12;
|
|
729
|
-
readonly type: "string";
|
|
730
|
-
readonly format: "date-time";
|
|
731
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
732
|
-
};
|
|
733
|
-
readonly environments: {
|
|
734
|
-
readonly type: "array";
|
|
735
|
-
readonly description: "Associated environments for this connection";
|
|
736
|
-
readonly items: {
|
|
737
|
-
readonly "x-go-type": "*environment.Environment";
|
|
738
|
-
readonly "x-go-type-import": {
|
|
739
|
-
readonly path: "github.com/meshery/schemas/models/v1beta1/environment";
|
|
740
|
-
};
|
|
741
|
-
readonly $id: "https://schemas.meshery.io/environment.yaml";
|
|
742
|
-
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
743
|
-
readonly description: "Meshery Environments allow you to logically group related Connections and their associated Credentials.. Learn more at https://docs.meshery.io/concepts/logical/environments";
|
|
744
|
-
readonly additionalProperties: false;
|
|
745
|
-
readonly type: "object";
|
|
746
|
-
readonly required: readonly ["id", "schemaVersion", "name", "description", "organization_id"];
|
|
747
|
-
readonly properties: {
|
|
748
|
-
readonly id: {
|
|
749
|
-
readonly description: "ID";
|
|
750
|
-
readonly "x-order": 1;
|
|
751
|
-
readonly "x-go-name": "ID";
|
|
752
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
753
|
-
readonly db: "id";
|
|
754
|
-
readonly yaml: "id";
|
|
755
|
-
};
|
|
756
|
-
readonly type: "string";
|
|
757
|
-
readonly format: "uuid";
|
|
758
|
-
readonly "x-go-type": "uuid.UUID";
|
|
759
|
-
readonly "x-go-type-import": {
|
|
760
|
-
readonly path: "github.com/gofrs/uuid";
|
|
761
|
-
};
|
|
762
|
-
};
|
|
763
|
-
readonly schemaVersion: {
|
|
764
|
-
readonly description: "Specifies the version of the schema to which the environment conforms.";
|
|
765
|
-
readonly "x-order": 2;
|
|
766
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
767
|
-
readonly yaml: "schemaVersion";
|
|
768
|
-
readonly db: "-";
|
|
769
|
-
readonly gorm: "-";
|
|
770
|
-
};
|
|
771
|
-
readonly default: "environments.meshery.io/v1beta1";
|
|
772
|
-
readonly type: "string";
|
|
773
|
-
readonly minLength: 2;
|
|
774
|
-
readonly maxLength: 100;
|
|
775
|
-
readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
|
|
776
|
-
readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
|
|
777
|
-
};
|
|
778
|
-
readonly name: {
|
|
779
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
780
|
-
readonly db: "name";
|
|
781
|
-
readonly yaml: "name";
|
|
782
|
-
};
|
|
783
|
-
readonly "x-order": 3;
|
|
784
|
-
readonly type: "string";
|
|
785
|
-
readonly description: "Environment name";
|
|
786
|
-
};
|
|
787
|
-
readonly description: {
|
|
788
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
789
|
-
readonly db: "description";
|
|
790
|
-
readonly yaml: "description";
|
|
791
|
-
};
|
|
792
|
-
readonly "x-order": 4;
|
|
793
|
-
readonly type: "string";
|
|
794
|
-
readonly description: "Environment description";
|
|
795
|
-
};
|
|
796
|
-
readonly organization_id: {
|
|
797
|
-
readonly "x-go-name": "OrganizationID";
|
|
798
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
799
|
-
readonly db: "organization_id";
|
|
800
|
-
readonly yaml: "organization_id";
|
|
801
|
-
};
|
|
802
|
-
readonly "x-order": 5;
|
|
803
|
-
readonly description: "Environment organization ID";
|
|
804
|
-
readonly type: "string";
|
|
805
|
-
readonly format: "uuid";
|
|
806
|
-
readonly "x-go-type": "uuid.UUID";
|
|
807
|
-
readonly "x-go-type-import": {
|
|
808
|
-
readonly path: "github.com/gofrs/uuid";
|
|
809
|
-
};
|
|
810
|
-
};
|
|
811
|
-
readonly owner: {
|
|
812
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
813
|
-
readonly db: "owner";
|
|
814
|
-
readonly yaml: "owner";
|
|
815
|
-
};
|
|
816
|
-
readonly "x-order": 6;
|
|
817
|
-
readonly description: "Environment owner";
|
|
818
|
-
readonly type: "string";
|
|
819
|
-
readonly format: "uuid";
|
|
820
|
-
readonly "x-go-type": "uuid.UUID";
|
|
821
|
-
readonly "x-go-type-import": {
|
|
822
|
-
readonly path: "github.com/gofrs/uuid";
|
|
823
|
-
};
|
|
824
|
-
};
|
|
825
|
-
readonly created_at: {
|
|
826
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
827
|
-
readonly db: "created_at";
|
|
828
|
-
readonly yaml: "created_at";
|
|
829
|
-
};
|
|
830
|
-
readonly "x-order": 7;
|
|
831
|
-
readonly type: "string";
|
|
832
|
-
readonly format: "date-time";
|
|
833
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
834
|
-
};
|
|
835
|
-
readonly metadata: {
|
|
836
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
837
|
-
readonly db: "metadata";
|
|
838
|
-
readonly yaml: "metadata";
|
|
839
|
-
};
|
|
840
|
-
readonly "x-order": 8;
|
|
841
|
-
readonly "x-go-type": "core.Map";
|
|
842
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
843
|
-
readonly type: "object";
|
|
844
|
-
};
|
|
845
|
-
readonly updated_at: {
|
|
846
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
847
|
-
readonly db: "updated_at";
|
|
848
|
-
readonly yaml: "updated_at";
|
|
849
|
-
};
|
|
850
|
-
readonly "x-order": 9;
|
|
851
|
-
readonly type: "string";
|
|
852
|
-
readonly format: "date-time";
|
|
853
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
854
|
-
};
|
|
855
|
-
readonly deleted_at: {
|
|
856
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
857
|
-
readonly db: "deleted_at";
|
|
858
|
-
readonly yaml: "deleted_at";
|
|
859
|
-
};
|
|
860
|
-
readonly "x-go-type": "core.NullTime";
|
|
861
|
-
readonly "x-go-import": "database/sql";
|
|
862
|
-
readonly "x-order": 10;
|
|
863
|
-
readonly type: "string";
|
|
864
|
-
readonly format: "date-time";
|
|
865
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
866
|
-
};
|
|
867
|
-
};
|
|
868
|
-
};
|
|
869
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
870
|
-
readonly db: "-";
|
|
871
|
-
readonly yaml: "environments";
|
|
872
|
-
readonly gorm: "-";
|
|
873
|
-
};
|
|
874
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
875
|
-
readonly "x-order": 13;
|
|
876
|
-
};
|
|
877
|
-
readonly schemaVersion: {
|
|
878
|
-
readonly description: "Specifies the version of the schema used for the definition.";
|
|
879
|
-
readonly "x-order": 14;
|
|
880
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
881
|
-
readonly yaml: "schemaVersion";
|
|
882
|
-
readonly db: "-";
|
|
883
|
-
readonly gorm: "-";
|
|
884
|
-
};
|
|
885
|
-
readonly default: "connections.meshery.io/v1beta1";
|
|
886
|
-
readonly type: "string";
|
|
887
|
-
readonly minLength: 2;
|
|
888
|
-
readonly maxLength: 100;
|
|
889
|
-
readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
|
|
890
|
-
readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
|
|
891
|
-
};
|
|
892
|
-
};
|
|
893
|
-
};
|
|
894
|
-
};
|
|
895
|
-
};
|
|
896
|
-
};
|
|
897
|
-
readonly "400": {
|
|
898
|
-
readonly description: "Invalid request parameters";
|
|
899
|
-
};
|
|
900
|
-
readonly "500": {
|
|
901
|
-
readonly description: "Server error";
|
|
902
|
-
};
|
|
903
|
-
};
|
|
904
|
-
};
|
|
905
|
-
};
|
|
906
|
-
readonly "/api/integrations/connections/{connectionId}": {
|
|
907
|
-
readonly get: {
|
|
908
|
-
readonly "x-internal": readonly ["cloud"];
|
|
909
|
-
readonly tags: readonly ["Connections"];
|
|
910
|
-
readonly operationId: "GetConnectionById";
|
|
911
|
-
readonly summary: "Get connection by ID";
|
|
912
|
-
readonly description: "Returns a specific connection by its ID";
|
|
913
|
-
readonly parameters: readonly [{
|
|
914
|
-
readonly name: "connectionId";
|
|
915
|
-
readonly in: "path";
|
|
916
|
-
readonly required: true;
|
|
917
|
-
readonly description: "Connection ID";
|
|
918
|
-
readonly schema: {
|
|
919
|
-
readonly type: "string";
|
|
920
|
-
readonly format: "uuid";
|
|
921
|
-
};
|
|
922
|
-
}];
|
|
923
|
-
readonly responses: {
|
|
924
|
-
readonly "200": {
|
|
925
|
-
readonly description: "Connection details";
|
|
926
|
-
readonly content: {
|
|
927
|
-
readonly "application/json": {
|
|
928
|
-
readonly schema: {
|
|
929
|
-
readonly $id: "https://schemas.meshery.io/connection.yaml";
|
|
930
|
-
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
931
|
-
readonly 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";
|
|
932
|
-
readonly additionalProperties: false;
|
|
933
|
-
readonly type: "object";
|
|
934
|
-
readonly required: readonly ["id", "schemaVersion", "name", "type", "sub_type", "kind", "status"];
|
|
935
|
-
readonly properties: {
|
|
936
|
-
readonly id: {
|
|
937
|
-
readonly description: "Connection ID";
|
|
938
|
-
readonly "x-order": 1;
|
|
939
|
-
readonly "x-go-name": "ID";
|
|
940
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
941
|
-
readonly db: "id";
|
|
942
|
-
readonly yaml: "id";
|
|
943
|
-
};
|
|
944
|
-
readonly type: "string";
|
|
945
|
-
readonly format: "uuid";
|
|
946
|
-
readonly "x-go-type": "uuid.UUID";
|
|
947
|
-
readonly "x-go-type-import": {
|
|
948
|
-
readonly path: "github.com/gofrs/uuid";
|
|
949
|
-
};
|
|
950
|
-
};
|
|
951
|
-
readonly name: {
|
|
952
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
953
|
-
readonly db: "name";
|
|
954
|
-
readonly yaml: "name";
|
|
955
|
-
};
|
|
956
|
-
readonly "x-order": 2;
|
|
957
|
-
readonly type: "string";
|
|
958
|
-
readonly description: "Connection Name";
|
|
959
|
-
};
|
|
960
|
-
readonly credential_id: {
|
|
961
|
-
readonly "x-go-name": "CredentialID";
|
|
962
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
963
|
-
readonly db: "credential_id";
|
|
964
|
-
readonly yaml: "credential_id";
|
|
965
|
-
};
|
|
966
|
-
readonly "x-order": 3;
|
|
967
|
-
readonly description: "Associated Credential ID";
|
|
968
|
-
readonly type: "string";
|
|
969
|
-
readonly format: "uuid";
|
|
970
|
-
readonly "x-go-type": "uuid.UUID";
|
|
971
|
-
readonly "x-go-type-import": {
|
|
972
|
-
readonly path: "github.com/gofrs/uuid";
|
|
973
|
-
};
|
|
974
|
-
};
|
|
975
|
-
readonly type: {
|
|
976
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
977
|
-
readonly db: "type";
|
|
978
|
-
readonly yaml: "type";
|
|
979
|
-
};
|
|
980
|
-
readonly "x-order": 4;
|
|
981
|
-
readonly type: "string";
|
|
982
|
-
readonly description: "Connection Type (platform, telemetry, collaboration)";
|
|
983
|
-
};
|
|
984
|
-
readonly sub_type: {
|
|
985
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
986
|
-
readonly db: "sub_type";
|
|
987
|
-
readonly yaml: "sub_type";
|
|
988
|
-
};
|
|
989
|
-
readonly "x-order": 5;
|
|
990
|
-
readonly type: "string";
|
|
991
|
-
readonly description: "Connection Subtype (cloud, identity, metrics, chat, git, orchestration)";
|
|
992
|
-
};
|
|
993
|
-
readonly kind: {
|
|
994
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
995
|
-
readonly db: "kind";
|
|
996
|
-
readonly yaml: "kind";
|
|
997
|
-
};
|
|
998
|
-
readonly "x-order": 6;
|
|
999
|
-
readonly type: "string";
|
|
1000
|
-
readonly description: "Connection Kind (meshery, kubernetes, prometheus, grafana, gke, aws, azure, slack, github)";
|
|
1001
|
-
};
|
|
1002
|
-
readonly metadata: {
|
|
1003
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
1004
|
-
readonly db: "metadata";
|
|
1005
|
-
readonly yaml: "metadata";
|
|
1006
|
-
};
|
|
1007
|
-
readonly "x-order": 7;
|
|
1008
|
-
readonly "x-go-type": "core.Map";
|
|
1009
|
-
readonly "x-go-type-import": {
|
|
1010
|
-
readonly path: "github.com/meshery/schemas/models/core";
|
|
1011
|
-
};
|
|
1012
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
1013
|
-
readonly type: "object";
|
|
1014
|
-
readonly description: "Additional connection metadata";
|
|
1015
|
-
};
|
|
1016
|
-
readonly status: {
|
|
1017
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
1018
|
-
readonly db: "status";
|
|
1019
|
-
readonly yaml: "status";
|
|
1020
|
-
};
|
|
1021
|
-
readonly "x-order": 8;
|
|
1022
|
-
readonly description: "Connection Status";
|
|
1023
|
-
readonly type: "string";
|
|
1024
|
-
readonly enum: readonly ["discovered", "registered", "connected", "ignored", "maintenance", "disconnected", "deleted", "not found"];
|
|
1025
|
-
};
|
|
1026
|
-
readonly user_id: {
|
|
1027
|
-
readonly "x-go-name": "UserID";
|
|
1028
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
1029
|
-
readonly db: "user_id";
|
|
1030
|
-
readonly yaml: "user_id";
|
|
1031
|
-
};
|
|
1032
|
-
readonly "x-order": 9;
|
|
1033
|
-
readonly description: "User ID who owns this connection";
|
|
1034
|
-
readonly type: "string";
|
|
1035
|
-
readonly format: "uuid";
|
|
1036
|
-
readonly "x-go-type": "uuid.UUID";
|
|
1037
|
-
readonly "x-go-type-import": {
|
|
1038
|
-
readonly path: "github.com/gofrs/uuid";
|
|
1039
|
-
};
|
|
1040
|
-
};
|
|
1041
|
-
readonly created_at: {
|
|
1042
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
1043
|
-
readonly db: "created_at";
|
|
1044
|
-
readonly yaml: "created_at";
|
|
1045
|
-
};
|
|
1046
|
-
readonly "x-order": 10;
|
|
1047
|
-
readonly type: "string";
|
|
1048
|
-
readonly format: "date-time";
|
|
1049
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
1050
|
-
};
|
|
1051
|
-
readonly updated_at: {
|
|
1052
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
1053
|
-
readonly db: "updated_at";
|
|
1054
|
-
readonly yaml: "updated_at";
|
|
1055
|
-
};
|
|
1056
|
-
readonly "x-order": 11;
|
|
1057
|
-
readonly type: "string";
|
|
1058
|
-
readonly format: "date-time";
|
|
1059
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
1060
|
-
};
|
|
1061
|
-
readonly deleted_at: {
|
|
1062
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
1063
|
-
readonly db: "deleted_at";
|
|
1064
|
-
readonly yaml: "deleted_at";
|
|
1065
|
-
};
|
|
1066
|
-
readonly "x-go-type": "core.NullTime";
|
|
1067
|
-
readonly "x-go-type-import": {
|
|
1068
|
-
readonly path: "github.com/meshery/schemas/models/core";
|
|
1069
|
-
};
|
|
1070
|
-
readonly "x-order": 12;
|
|
1071
|
-
readonly type: "string";
|
|
1072
|
-
readonly format: "date-time";
|
|
1073
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
1074
|
-
};
|
|
1075
|
-
readonly environments: {
|
|
1076
|
-
readonly type: "array";
|
|
1077
|
-
readonly description: "Associated environments for this connection";
|
|
1078
|
-
readonly items: {
|
|
1079
|
-
readonly "x-go-type": "*environment.Environment";
|
|
1080
|
-
readonly "x-go-type-import": {
|
|
1081
|
-
readonly path: "github.com/meshery/schemas/models/v1beta1/environment";
|
|
1082
|
-
};
|
|
1083
|
-
readonly $id: "https://schemas.meshery.io/environment.yaml";
|
|
1084
|
-
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
1085
|
-
readonly description: "Meshery Environments allow you to logically group related Connections and their associated Credentials.. Learn more at https://docs.meshery.io/concepts/logical/environments";
|
|
1086
|
-
readonly additionalProperties: false;
|
|
1087
|
-
readonly type: "object";
|
|
1088
|
-
readonly required: readonly ["id", "schemaVersion", "name", "description", "organization_id"];
|
|
1089
|
-
readonly properties: {
|
|
1090
|
-
readonly id: {
|
|
1091
|
-
readonly description: "ID";
|
|
1092
|
-
readonly "x-order": 1;
|
|
1093
|
-
readonly "x-go-name": "ID";
|
|
1094
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
1095
|
-
readonly db: "id";
|
|
1096
|
-
readonly yaml: "id";
|
|
1097
|
-
};
|
|
1098
|
-
readonly type: "string";
|
|
1099
|
-
readonly format: "uuid";
|
|
1100
|
-
readonly "x-go-type": "uuid.UUID";
|
|
1101
|
-
readonly "x-go-type-import": {
|
|
1102
|
-
readonly path: "github.com/gofrs/uuid";
|
|
1103
|
-
};
|
|
1104
|
-
};
|
|
1105
|
-
readonly schemaVersion: {
|
|
1106
|
-
readonly description: "Specifies the version of the schema to which the environment conforms.";
|
|
1107
|
-
readonly "x-order": 2;
|
|
1108
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
1109
|
-
readonly yaml: "schemaVersion";
|
|
1110
|
-
readonly db: "-";
|
|
1111
|
-
readonly gorm: "-";
|
|
1112
|
-
};
|
|
1113
|
-
readonly default: "environments.meshery.io/v1beta1";
|
|
1114
|
-
readonly type: "string";
|
|
1115
|
-
readonly minLength: 2;
|
|
1116
|
-
readonly maxLength: 100;
|
|
1117
|
-
readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
|
|
1118
|
-
readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
|
|
1119
|
-
};
|
|
1120
|
-
readonly name: {
|
|
1121
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
1122
|
-
readonly db: "name";
|
|
1123
|
-
readonly yaml: "name";
|
|
1124
|
-
};
|
|
1125
|
-
readonly "x-order": 3;
|
|
1126
|
-
readonly type: "string";
|
|
1127
|
-
readonly description: "Environment name";
|
|
1128
|
-
};
|
|
1129
|
-
readonly description: {
|
|
1130
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
1131
|
-
readonly db: "description";
|
|
1132
|
-
readonly yaml: "description";
|
|
1133
|
-
};
|
|
1134
|
-
readonly "x-order": 4;
|
|
1135
|
-
readonly type: "string";
|
|
1136
|
-
readonly description: "Environment description";
|
|
1137
|
-
};
|
|
1138
|
-
readonly organization_id: {
|
|
1139
|
-
readonly "x-go-name": "OrganizationID";
|
|
1140
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
1141
|
-
readonly db: "organization_id";
|
|
1142
|
-
readonly yaml: "organization_id";
|
|
1143
|
-
};
|
|
1144
|
-
readonly "x-order": 5;
|
|
1145
|
-
readonly description: "Environment organization ID";
|
|
1146
|
-
readonly type: "string";
|
|
1147
|
-
readonly format: "uuid";
|
|
1148
|
-
readonly "x-go-type": "uuid.UUID";
|
|
1149
|
-
readonly "x-go-type-import": {
|
|
1150
|
-
readonly path: "github.com/gofrs/uuid";
|
|
1151
|
-
};
|
|
1152
|
-
};
|
|
1153
|
-
readonly owner: {
|
|
1154
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
1155
|
-
readonly db: "owner";
|
|
1156
|
-
readonly yaml: "owner";
|
|
1157
|
-
};
|
|
1158
|
-
readonly "x-order": 6;
|
|
1159
|
-
readonly description: "Environment owner";
|
|
1160
|
-
readonly type: "string";
|
|
1161
|
-
readonly format: "uuid";
|
|
1162
|
-
readonly "x-go-type": "uuid.UUID";
|
|
1163
|
-
readonly "x-go-type-import": {
|
|
1164
|
-
readonly path: "github.com/gofrs/uuid";
|
|
1165
|
-
};
|
|
1166
|
-
};
|
|
1167
|
-
readonly created_at: {
|
|
1168
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
1169
|
-
readonly db: "created_at";
|
|
1170
|
-
readonly yaml: "created_at";
|
|
1171
|
-
};
|
|
1172
|
-
readonly "x-order": 7;
|
|
1173
|
-
readonly type: "string";
|
|
1174
|
-
readonly format: "date-time";
|
|
1175
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
1176
|
-
};
|
|
1177
|
-
readonly metadata: {
|
|
1178
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
1179
|
-
readonly db: "metadata";
|
|
1180
|
-
readonly yaml: "metadata";
|
|
1181
|
-
};
|
|
1182
|
-
readonly "x-order": 8;
|
|
1183
|
-
readonly "x-go-type": "core.Map";
|
|
1184
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
1185
|
-
readonly type: "object";
|
|
1186
|
-
};
|
|
1187
|
-
readonly updated_at: {
|
|
1188
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
1189
|
-
readonly db: "updated_at";
|
|
1190
|
-
readonly yaml: "updated_at";
|
|
1191
|
-
};
|
|
1192
|
-
readonly "x-order": 9;
|
|
1193
|
-
readonly type: "string";
|
|
1194
|
-
readonly format: "date-time";
|
|
1195
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
1196
|
-
};
|
|
1197
|
-
readonly deleted_at: {
|
|
1198
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
1199
|
-
readonly db: "deleted_at";
|
|
1200
|
-
readonly yaml: "deleted_at";
|
|
1201
|
-
};
|
|
1202
|
-
readonly "x-go-type": "core.NullTime";
|
|
1203
|
-
readonly "x-go-import": "database/sql";
|
|
1204
|
-
readonly "x-order": 10;
|
|
1205
|
-
readonly type: "string";
|
|
1206
|
-
readonly format: "date-time";
|
|
1207
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
1208
|
-
};
|
|
1209
|
-
};
|
|
1210
|
-
};
|
|
1211
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
1212
|
-
readonly db: "-";
|
|
1213
|
-
readonly yaml: "environments";
|
|
1214
|
-
readonly gorm: "-";
|
|
1215
|
-
};
|
|
1216
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
1217
|
-
readonly "x-order": 13;
|
|
1218
|
-
};
|
|
1219
|
-
readonly schemaVersion: {
|
|
1220
|
-
readonly description: "Specifies the version of the schema used for the definition.";
|
|
1221
|
-
readonly "x-order": 14;
|
|
1222
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
1223
|
-
readonly yaml: "schemaVersion";
|
|
1224
|
-
readonly db: "-";
|
|
1225
|
-
readonly gorm: "-";
|
|
1226
|
-
};
|
|
1227
|
-
readonly default: "connections.meshery.io/v1beta1";
|
|
1228
|
-
readonly type: "string";
|
|
1229
|
-
readonly minLength: 2;
|
|
1230
|
-
readonly maxLength: 100;
|
|
1231
|
-
readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
|
|
1232
|
-
readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
|
|
1233
|
-
};
|
|
1234
|
-
};
|
|
1235
|
-
};
|
|
1236
|
-
};
|
|
1237
|
-
};
|
|
1238
|
-
};
|
|
1239
|
-
readonly "404": {
|
|
1240
|
-
readonly description: "Connection not found";
|
|
1241
|
-
};
|
|
1242
|
-
readonly "500": {
|
|
1243
|
-
readonly description: "Server error";
|
|
1244
|
-
};
|
|
1245
|
-
};
|
|
1246
|
-
};
|
|
1247
|
-
readonly put: {
|
|
1248
|
-
readonly "x-internal": readonly ["cloud"];
|
|
1249
|
-
readonly tags: readonly ["Connections"];
|
|
1250
|
-
readonly operationId: "UpdateConnection";
|
|
1251
|
-
readonly summary: "Update a connection";
|
|
1252
|
-
readonly description: "Update an existing connection";
|
|
1253
|
-
readonly parameters: readonly [{
|
|
1254
|
-
readonly name: "connectionId";
|
|
1255
|
-
readonly in: "path";
|
|
1256
|
-
readonly required: true;
|
|
1257
|
-
readonly description: "Connection ID";
|
|
1258
|
-
readonly schema: {
|
|
1259
|
-
readonly type: "string";
|
|
1260
|
-
readonly format: "uuid";
|
|
1261
|
-
};
|
|
1262
|
-
}];
|
|
1263
|
-
readonly requestBody: {
|
|
1264
|
-
readonly required: true;
|
|
1265
|
-
readonly content: {
|
|
1266
|
-
readonly "application/json": {
|
|
1267
|
-
readonly schema: {
|
|
1268
|
-
readonly type: "object";
|
|
1269
|
-
readonly description: "Payload for creating or updating a connection";
|
|
1270
|
-
readonly properties: {
|
|
1271
|
-
readonly id: {
|
|
1272
|
-
readonly type: "string";
|
|
1273
|
-
readonly format: "uuid";
|
|
1274
|
-
readonly description: "Connection ID";
|
|
1275
|
-
readonly "x-go-name": "ConnectionID";
|
|
1276
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
1277
|
-
readonly json: "id,omitempty";
|
|
1278
|
-
};
|
|
1279
|
-
};
|
|
1280
|
-
readonly name: {
|
|
1281
|
-
readonly type: "string";
|
|
1282
|
-
readonly description: "Connection name";
|
|
1283
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
1284
|
-
readonly json: "name";
|
|
1285
|
-
};
|
|
1286
|
-
};
|
|
1287
|
-
readonly kind: {
|
|
1288
|
-
readonly type: "string";
|
|
1289
|
-
readonly description: "Connection kind";
|
|
1290
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
1291
|
-
readonly json: "kind";
|
|
1292
|
-
};
|
|
1293
|
-
};
|
|
1294
|
-
readonly type: {
|
|
1295
|
-
readonly type: "string";
|
|
1296
|
-
readonly description: "Connection type";
|
|
1297
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
1298
|
-
readonly json: "type";
|
|
1299
|
-
};
|
|
1300
|
-
};
|
|
1301
|
-
readonly sub_type: {
|
|
1302
|
-
readonly type: "string";
|
|
1303
|
-
readonly description: "Connection sub-type";
|
|
1304
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
1305
|
-
readonly json: "sub_type";
|
|
1306
|
-
};
|
|
1307
|
-
};
|
|
1308
|
-
readonly credential_secret: {
|
|
1309
|
-
readonly type: "object";
|
|
1310
|
-
readonly description: "Credential secret data";
|
|
1311
|
-
readonly "x-go-type": "core.Map";
|
|
1312
|
-
readonly "x-go-type-import": {
|
|
1313
|
-
readonly path: "github.com/meshery/schemas/models/core";
|
|
1314
|
-
};
|
|
1315
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
1316
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
1317
|
-
readonly json: "credential_secret";
|
|
1318
|
-
};
|
|
1319
|
-
};
|
|
1320
|
-
readonly metadata: {
|
|
1321
|
-
readonly type: "object";
|
|
1322
|
-
readonly description: "Connection metadata";
|
|
1323
|
-
readonly "x-go-type": "core.Map";
|
|
1324
|
-
readonly "x-go-type-import": {
|
|
1325
|
-
readonly path: "github.com/meshery/schemas/models/core";
|
|
1326
|
-
};
|
|
1327
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
1328
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
1329
|
-
readonly json: "metadata";
|
|
1330
|
-
};
|
|
1331
|
-
};
|
|
1332
|
-
readonly status: {
|
|
1333
|
-
readonly type: "string";
|
|
1334
|
-
readonly description: "Connection status";
|
|
1335
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
1336
|
-
readonly json: "status";
|
|
1337
|
-
};
|
|
1338
|
-
};
|
|
1339
|
-
readonly credential_id: {
|
|
1340
|
-
readonly type: "string";
|
|
1341
|
-
readonly format: "uuid";
|
|
1342
|
-
readonly description: "Associated credential ID";
|
|
1343
|
-
readonly "x-go-name": "CredentialID";
|
|
1344
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
1345
|
-
readonly json: "credential_id,omitempty";
|
|
1346
|
-
};
|
|
1347
|
-
};
|
|
1348
|
-
};
|
|
1349
|
-
readonly required: readonly ["name", "kind", "type", "sub_type", "status"];
|
|
1350
|
-
};
|
|
1351
|
-
};
|
|
1352
|
-
};
|
|
1353
|
-
};
|
|
1354
|
-
readonly responses: {
|
|
1355
|
-
readonly "200": {
|
|
1356
|
-
readonly description: "Connection updated successfully";
|
|
1357
|
-
readonly content: {
|
|
1358
|
-
readonly "application/json": {
|
|
1359
|
-
readonly schema: {
|
|
1360
|
-
readonly $id: "https://schemas.meshery.io/connection.yaml";
|
|
1361
|
-
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
1362
|
-
readonly 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";
|
|
1363
|
-
readonly additionalProperties: false;
|
|
1364
|
-
readonly type: "object";
|
|
1365
|
-
readonly required: readonly ["id", "schemaVersion", "name", "type", "sub_type", "kind", "status"];
|
|
1366
|
-
readonly properties: {
|
|
1367
|
-
readonly id: {
|
|
1368
|
-
readonly description: "Connection ID";
|
|
1369
|
-
readonly "x-order": 1;
|
|
1370
|
-
readonly "x-go-name": "ID";
|
|
1371
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
1372
|
-
readonly db: "id";
|
|
1373
|
-
readonly yaml: "id";
|
|
1374
|
-
};
|
|
1375
|
-
readonly type: "string";
|
|
1376
|
-
readonly format: "uuid";
|
|
1377
|
-
readonly "x-go-type": "uuid.UUID";
|
|
1378
|
-
readonly "x-go-type-import": {
|
|
1379
|
-
readonly path: "github.com/gofrs/uuid";
|
|
1380
|
-
};
|
|
1381
|
-
};
|
|
1382
|
-
readonly name: {
|
|
1383
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
1384
|
-
readonly db: "name";
|
|
1385
|
-
readonly yaml: "name";
|
|
1386
|
-
};
|
|
1387
|
-
readonly "x-order": 2;
|
|
1388
|
-
readonly type: "string";
|
|
1389
|
-
readonly description: "Connection Name";
|
|
1390
|
-
};
|
|
1391
|
-
readonly credential_id: {
|
|
1392
|
-
readonly "x-go-name": "CredentialID";
|
|
1393
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
1394
|
-
readonly db: "credential_id";
|
|
1395
|
-
readonly yaml: "credential_id";
|
|
1396
|
-
};
|
|
1397
|
-
readonly "x-order": 3;
|
|
1398
|
-
readonly description: "Associated Credential ID";
|
|
1399
|
-
readonly type: "string";
|
|
1400
|
-
readonly format: "uuid";
|
|
1401
|
-
readonly "x-go-type": "uuid.UUID";
|
|
1402
|
-
readonly "x-go-type-import": {
|
|
1403
|
-
readonly path: "github.com/gofrs/uuid";
|
|
1404
|
-
};
|
|
1405
|
-
};
|
|
1406
|
-
readonly type: {
|
|
1407
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
1408
|
-
readonly db: "type";
|
|
1409
|
-
readonly yaml: "type";
|
|
1410
|
-
};
|
|
1411
|
-
readonly "x-order": 4;
|
|
1412
|
-
readonly type: "string";
|
|
1413
|
-
readonly description: "Connection Type (platform, telemetry, collaboration)";
|
|
1414
|
-
};
|
|
1415
|
-
readonly sub_type: {
|
|
1416
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
1417
|
-
readonly db: "sub_type";
|
|
1418
|
-
readonly yaml: "sub_type";
|
|
1419
|
-
};
|
|
1420
|
-
readonly "x-order": 5;
|
|
1421
|
-
readonly type: "string";
|
|
1422
|
-
readonly description: "Connection Subtype (cloud, identity, metrics, chat, git, orchestration)";
|
|
1423
|
-
};
|
|
1424
|
-
readonly kind: {
|
|
1425
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
1426
|
-
readonly db: "kind";
|
|
1427
|
-
readonly yaml: "kind";
|
|
1428
|
-
};
|
|
1429
|
-
readonly "x-order": 6;
|
|
1430
|
-
readonly type: "string";
|
|
1431
|
-
readonly description: "Connection Kind (meshery, kubernetes, prometheus, grafana, gke, aws, azure, slack, github)";
|
|
1432
|
-
};
|
|
1433
|
-
readonly metadata: {
|
|
1434
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
1435
|
-
readonly db: "metadata";
|
|
1436
|
-
readonly yaml: "metadata";
|
|
1437
|
-
};
|
|
1438
|
-
readonly "x-order": 7;
|
|
1439
|
-
readonly "x-go-type": "core.Map";
|
|
1440
|
-
readonly "x-go-type-import": {
|
|
1441
|
-
readonly path: "github.com/meshery/schemas/models/core";
|
|
1442
|
-
};
|
|
1443
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
1444
|
-
readonly type: "object";
|
|
1445
|
-
readonly description: "Additional connection metadata";
|
|
1446
|
-
};
|
|
1447
|
-
readonly status: {
|
|
1448
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
1449
|
-
readonly db: "status";
|
|
1450
|
-
readonly yaml: "status";
|
|
1451
|
-
};
|
|
1452
|
-
readonly "x-order": 8;
|
|
1453
|
-
readonly description: "Connection Status";
|
|
1454
|
-
readonly type: "string";
|
|
1455
|
-
readonly enum: readonly ["discovered", "registered", "connected", "ignored", "maintenance", "disconnected", "deleted", "not found"];
|
|
1456
|
-
};
|
|
1457
|
-
readonly user_id: {
|
|
1458
|
-
readonly "x-go-name": "UserID";
|
|
1459
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
1460
|
-
readonly db: "user_id";
|
|
1461
|
-
readonly yaml: "user_id";
|
|
1462
|
-
};
|
|
1463
|
-
readonly "x-order": 9;
|
|
1464
|
-
readonly description: "User ID who owns this connection";
|
|
1465
|
-
readonly type: "string";
|
|
1466
|
-
readonly format: "uuid";
|
|
1467
|
-
readonly "x-go-type": "uuid.UUID";
|
|
1468
|
-
readonly "x-go-type-import": {
|
|
1469
|
-
readonly path: "github.com/gofrs/uuid";
|
|
1470
|
-
};
|
|
1471
|
-
};
|
|
1472
|
-
readonly created_at: {
|
|
1473
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
1474
|
-
readonly db: "created_at";
|
|
1475
|
-
readonly yaml: "created_at";
|
|
1476
|
-
};
|
|
1477
|
-
readonly "x-order": 10;
|
|
1478
|
-
readonly type: "string";
|
|
1479
|
-
readonly format: "date-time";
|
|
1480
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
1481
|
-
};
|
|
1482
|
-
readonly updated_at: {
|
|
1483
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
1484
|
-
readonly db: "updated_at";
|
|
1485
|
-
readonly yaml: "updated_at";
|
|
1486
|
-
};
|
|
1487
|
-
readonly "x-order": 11;
|
|
1488
|
-
readonly type: "string";
|
|
1489
|
-
readonly format: "date-time";
|
|
1490
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
1491
|
-
};
|
|
1492
|
-
readonly deleted_at: {
|
|
1493
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
1494
|
-
readonly db: "deleted_at";
|
|
1495
|
-
readonly yaml: "deleted_at";
|
|
1496
|
-
};
|
|
1497
|
-
readonly "x-go-type": "core.NullTime";
|
|
1498
|
-
readonly "x-go-type-import": {
|
|
1499
|
-
readonly path: "github.com/meshery/schemas/models/core";
|
|
1500
|
-
};
|
|
1501
|
-
readonly "x-order": 12;
|
|
1502
|
-
readonly type: "string";
|
|
1503
|
-
readonly format: "date-time";
|
|
1504
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
1505
|
-
};
|
|
1506
|
-
readonly environments: {
|
|
1507
|
-
readonly type: "array";
|
|
1508
|
-
readonly description: "Associated environments for this connection";
|
|
1509
|
-
readonly items: {
|
|
1510
|
-
readonly "x-go-type": "*environment.Environment";
|
|
1511
|
-
readonly "x-go-type-import": {
|
|
1512
|
-
readonly path: "github.com/meshery/schemas/models/v1beta1/environment";
|
|
1513
|
-
};
|
|
1514
|
-
readonly $id: "https://schemas.meshery.io/environment.yaml";
|
|
1515
|
-
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
1516
|
-
readonly description: "Meshery Environments allow you to logically group related Connections and their associated Credentials.. Learn more at https://docs.meshery.io/concepts/logical/environments";
|
|
1517
|
-
readonly additionalProperties: false;
|
|
1518
|
-
readonly type: "object";
|
|
1519
|
-
readonly required: readonly ["id", "schemaVersion", "name", "description", "organization_id"];
|
|
1520
|
-
readonly properties: {
|
|
1521
|
-
readonly id: {
|
|
1522
|
-
readonly description: "ID";
|
|
1523
|
-
readonly "x-order": 1;
|
|
1524
|
-
readonly "x-go-name": "ID";
|
|
1525
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
1526
|
-
readonly db: "id";
|
|
1527
|
-
readonly yaml: "id";
|
|
1528
|
-
};
|
|
1529
|
-
readonly type: "string";
|
|
1530
|
-
readonly format: "uuid";
|
|
1531
|
-
readonly "x-go-type": "uuid.UUID";
|
|
1532
|
-
readonly "x-go-type-import": {
|
|
1533
|
-
readonly path: "github.com/gofrs/uuid";
|
|
1534
|
-
};
|
|
1535
|
-
};
|
|
1536
|
-
readonly schemaVersion: {
|
|
1537
|
-
readonly description: "Specifies the version of the schema to which the environment conforms.";
|
|
1538
|
-
readonly "x-order": 2;
|
|
1539
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
1540
|
-
readonly yaml: "schemaVersion";
|
|
1541
|
-
readonly db: "-";
|
|
1542
|
-
readonly gorm: "-";
|
|
1543
|
-
};
|
|
1544
|
-
readonly default: "environments.meshery.io/v1beta1";
|
|
1545
|
-
readonly type: "string";
|
|
1546
|
-
readonly minLength: 2;
|
|
1547
|
-
readonly maxLength: 100;
|
|
1548
|
-
readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
|
|
1549
|
-
readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
|
|
1550
|
-
};
|
|
1551
|
-
readonly name: {
|
|
1552
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
1553
|
-
readonly db: "name";
|
|
1554
|
-
readonly yaml: "name";
|
|
1555
|
-
};
|
|
1556
|
-
readonly "x-order": 3;
|
|
1557
|
-
readonly type: "string";
|
|
1558
|
-
readonly description: "Environment name";
|
|
1559
|
-
};
|
|
1560
|
-
readonly description: {
|
|
1561
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
1562
|
-
readonly db: "description";
|
|
1563
|
-
readonly yaml: "description";
|
|
1564
|
-
};
|
|
1565
|
-
readonly "x-order": 4;
|
|
1566
|
-
readonly type: "string";
|
|
1567
|
-
readonly description: "Environment description";
|
|
1568
|
-
};
|
|
1569
|
-
readonly organization_id: {
|
|
1570
|
-
readonly "x-go-name": "OrganizationID";
|
|
1571
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
1572
|
-
readonly db: "organization_id";
|
|
1573
|
-
readonly yaml: "organization_id";
|
|
1574
|
-
};
|
|
1575
|
-
readonly "x-order": 5;
|
|
1576
|
-
readonly description: "Environment organization ID";
|
|
1577
|
-
readonly type: "string";
|
|
1578
|
-
readonly format: "uuid";
|
|
1579
|
-
readonly "x-go-type": "uuid.UUID";
|
|
1580
|
-
readonly "x-go-type-import": {
|
|
1581
|
-
readonly path: "github.com/gofrs/uuid";
|
|
1582
|
-
};
|
|
1583
|
-
};
|
|
1584
|
-
readonly owner: {
|
|
1585
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
1586
|
-
readonly db: "owner";
|
|
1587
|
-
readonly yaml: "owner";
|
|
1588
|
-
};
|
|
1589
|
-
readonly "x-order": 6;
|
|
1590
|
-
readonly description: "Environment owner";
|
|
1591
|
-
readonly type: "string";
|
|
1592
|
-
readonly format: "uuid";
|
|
1593
|
-
readonly "x-go-type": "uuid.UUID";
|
|
1594
|
-
readonly "x-go-type-import": {
|
|
1595
|
-
readonly path: "github.com/gofrs/uuid";
|
|
1596
|
-
};
|
|
1597
|
-
};
|
|
1598
|
-
readonly created_at: {
|
|
1599
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
1600
|
-
readonly db: "created_at";
|
|
1601
|
-
readonly yaml: "created_at";
|
|
1602
|
-
};
|
|
1603
|
-
readonly "x-order": 7;
|
|
1604
|
-
readonly type: "string";
|
|
1605
|
-
readonly format: "date-time";
|
|
1606
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
1607
|
-
};
|
|
1608
|
-
readonly metadata: {
|
|
1609
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
1610
|
-
readonly db: "metadata";
|
|
1611
|
-
readonly yaml: "metadata";
|
|
1612
|
-
};
|
|
1613
|
-
readonly "x-order": 8;
|
|
1614
|
-
readonly "x-go-type": "core.Map";
|
|
1615
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
1616
|
-
readonly type: "object";
|
|
1617
|
-
};
|
|
1618
|
-
readonly updated_at: {
|
|
1619
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
1620
|
-
readonly db: "updated_at";
|
|
1621
|
-
readonly yaml: "updated_at";
|
|
1622
|
-
};
|
|
1623
|
-
readonly "x-order": 9;
|
|
1624
|
-
readonly type: "string";
|
|
1625
|
-
readonly format: "date-time";
|
|
1626
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
1627
|
-
};
|
|
1628
|
-
readonly deleted_at: {
|
|
1629
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
1630
|
-
readonly db: "deleted_at";
|
|
1631
|
-
readonly yaml: "deleted_at";
|
|
1632
|
-
};
|
|
1633
|
-
readonly "x-go-type": "core.NullTime";
|
|
1634
|
-
readonly "x-go-import": "database/sql";
|
|
1635
|
-
readonly "x-order": 10;
|
|
1636
|
-
readonly type: "string";
|
|
1637
|
-
readonly format: "date-time";
|
|
1638
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
1639
|
-
};
|
|
1640
|
-
};
|
|
1641
|
-
};
|
|
1642
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
1643
|
-
readonly db: "-";
|
|
1644
|
-
readonly yaml: "environments";
|
|
1645
|
-
readonly gorm: "-";
|
|
1646
|
-
};
|
|
1647
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
1648
|
-
readonly "x-order": 13;
|
|
1649
|
-
};
|
|
1650
|
-
readonly schemaVersion: {
|
|
1651
|
-
readonly description: "Specifies the version of the schema used for the definition.";
|
|
1652
|
-
readonly "x-order": 14;
|
|
1653
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
1654
|
-
readonly yaml: "schemaVersion";
|
|
1655
|
-
readonly db: "-";
|
|
1656
|
-
readonly gorm: "-";
|
|
1657
|
-
};
|
|
1658
|
-
readonly default: "connections.meshery.io/v1beta1";
|
|
1659
|
-
readonly type: "string";
|
|
1660
|
-
readonly minLength: 2;
|
|
1661
|
-
readonly maxLength: 100;
|
|
1662
|
-
readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
|
|
1663
|
-
readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
|
|
1664
|
-
};
|
|
1665
|
-
};
|
|
1666
|
-
};
|
|
1667
|
-
};
|
|
1668
|
-
};
|
|
1669
|
-
};
|
|
1670
|
-
readonly "404": {
|
|
1671
|
-
readonly description: "Connection not found";
|
|
1672
|
-
};
|
|
1673
|
-
readonly "500": {
|
|
1674
|
-
readonly description: "Server error";
|
|
1675
|
-
};
|
|
1676
|
-
};
|
|
1677
|
-
};
|
|
1678
|
-
readonly delete: {
|
|
1679
|
-
readonly "x-internal": readonly ["cloud"];
|
|
1680
|
-
readonly tags: readonly ["Connections"];
|
|
1681
|
-
readonly operationId: "DeleteConnection";
|
|
1682
|
-
readonly summary: "Delete a connection";
|
|
1683
|
-
readonly description: "Delete a specific connection";
|
|
1684
|
-
readonly parameters: readonly [{
|
|
1685
|
-
readonly name: "connectionId";
|
|
1686
|
-
readonly in: "path";
|
|
1687
|
-
readonly required: true;
|
|
1688
|
-
readonly description: "Connection ID";
|
|
1689
|
-
readonly schema: {
|
|
1690
|
-
readonly type: "string";
|
|
1691
|
-
readonly format: "uuid";
|
|
1692
|
-
};
|
|
1693
|
-
}];
|
|
1694
|
-
readonly responses: {
|
|
1695
|
-
readonly "204": {
|
|
1696
|
-
readonly description: "Connection deleted successfully";
|
|
1697
|
-
};
|
|
1698
|
-
readonly "404": {
|
|
1699
|
-
readonly description: "Connection not found";
|
|
1700
|
-
};
|
|
1701
|
-
readonly "500": {
|
|
1702
|
-
readonly description: "Server error";
|
|
1703
|
-
};
|
|
1704
|
-
};
|
|
1705
|
-
};
|
|
1706
|
-
};
|
|
1707
|
-
readonly "/api/integrations/connections/meshery/{mesheryServerId}": {
|
|
1708
|
-
readonly delete: {
|
|
1709
|
-
readonly "x-internal": readonly ["cloud"];
|
|
1710
|
-
readonly tags: readonly ["Connections"];
|
|
1711
|
-
readonly operationId: "DeleteMesheryConnection";
|
|
1712
|
-
readonly summary: "Delete Meshery instance connection";
|
|
1713
|
-
readonly description: "Delete a Meshery server connection by server ID";
|
|
1714
|
-
readonly parameters: readonly [{
|
|
1715
|
-
readonly name: "mesheryServerId";
|
|
1716
|
-
readonly in: "path";
|
|
1717
|
-
readonly required: true;
|
|
1718
|
-
readonly description: "Meshery server ID";
|
|
1719
|
-
readonly schema: {
|
|
1720
|
-
readonly type: "string";
|
|
1721
|
-
readonly format: "uuid";
|
|
1722
|
-
};
|
|
1723
|
-
}];
|
|
1724
|
-
readonly responses: {
|
|
1725
|
-
readonly "204": {
|
|
1726
|
-
readonly description: "Meshery connection deleted successfully";
|
|
1727
|
-
};
|
|
1728
|
-
readonly "404": {
|
|
1729
|
-
readonly description: "Connection not found";
|
|
1730
|
-
};
|
|
1731
|
-
readonly "500": {
|
|
1732
|
-
readonly description: "Server error";
|
|
1733
|
-
};
|
|
1734
|
-
};
|
|
1735
|
-
};
|
|
1736
|
-
};
|
|
1737
|
-
readonly "/api/integrations/connections/kubernetes/{connectionId}/context": {
|
|
1738
|
-
readonly get: {
|
|
1739
|
-
readonly "x-internal": readonly ["cloud"];
|
|
1740
|
-
readonly tags: readonly ["Connections"];
|
|
1741
|
-
readonly operationId: "GetKubernetesContext";
|
|
1742
|
-
readonly summary: "Get Kubernetes context";
|
|
1743
|
-
readonly description: "Get Kubernetes context for a specific connection";
|
|
1744
|
-
readonly parameters: readonly [{
|
|
1745
|
-
readonly name: "connectionId";
|
|
1746
|
-
readonly in: "path";
|
|
1747
|
-
readonly required: true;
|
|
1748
|
-
readonly description: "Connection ID";
|
|
1749
|
-
readonly schema: {
|
|
1750
|
-
readonly type: "string";
|
|
1751
|
-
readonly format: "uuid";
|
|
1752
|
-
};
|
|
1753
|
-
}];
|
|
1754
|
-
readonly responses: {
|
|
1755
|
-
readonly "200": {
|
|
1756
|
-
readonly description: "Kubernetes context";
|
|
1757
|
-
readonly content: {
|
|
1758
|
-
readonly "application/json": {
|
|
1759
|
-
readonly schema: {
|
|
1760
|
-
readonly type: "object";
|
|
1761
|
-
};
|
|
1762
|
-
};
|
|
1763
|
-
};
|
|
1764
|
-
};
|
|
1765
|
-
readonly "404": {
|
|
1766
|
-
readonly description: "Connection not found";
|
|
1767
|
-
};
|
|
1768
|
-
readonly "500": {
|
|
1769
|
-
readonly description: "Server error";
|
|
1770
|
-
};
|
|
1771
|
-
};
|
|
1772
|
-
};
|
|
1773
|
-
};
|
|
1774
|
-
readonly "/api/environments/{environmentId}/connections/{connectionId}": {
|
|
1775
|
-
readonly post: {
|
|
1776
|
-
readonly "x-internal": readonly ["cloud"];
|
|
1777
|
-
readonly tags: readonly ["Connections"];
|
|
1778
|
-
readonly operationId: "AddConnectionToEnvironment";
|
|
1779
|
-
readonly summary: "Add connection to environment";
|
|
1780
|
-
readonly description: "Associate a connection with an environment";
|
|
1781
|
-
readonly parameters: readonly [{
|
|
1782
|
-
readonly name: "environmentId";
|
|
1783
|
-
readonly in: "path";
|
|
1784
|
-
readonly required: true;
|
|
1785
|
-
readonly description: "Environment ID";
|
|
1786
|
-
readonly schema: {
|
|
1787
|
-
readonly type: "string";
|
|
1788
|
-
readonly format: "uuid";
|
|
1789
|
-
};
|
|
1790
|
-
}, {
|
|
1791
|
-
readonly name: "connectionId";
|
|
1792
|
-
readonly in: "path";
|
|
1793
|
-
readonly required: true;
|
|
1794
|
-
readonly description: "Connection ID";
|
|
1795
|
-
readonly schema: {
|
|
1796
|
-
readonly type: "string";
|
|
1797
|
-
readonly format: "uuid";
|
|
1798
|
-
};
|
|
1799
|
-
}];
|
|
1800
|
-
readonly responses: {
|
|
1801
|
-
readonly "200": {
|
|
1802
|
-
readonly description: "Connection added to environment successfully";
|
|
1803
|
-
};
|
|
1804
|
-
readonly "404": {
|
|
1805
|
-
readonly description: "Connection or environment not found";
|
|
1806
|
-
};
|
|
1807
|
-
readonly "500": {
|
|
1808
|
-
readonly description: "Server error";
|
|
1809
|
-
};
|
|
1810
|
-
};
|
|
1811
|
-
};
|
|
1812
|
-
readonly delete: {
|
|
1813
|
-
readonly "x-internal": readonly ["cloud"];
|
|
1814
|
-
readonly tags: readonly ["Connections"];
|
|
1815
|
-
readonly operationId: "RemoveConnectionFromEnvironment";
|
|
1816
|
-
readonly summary: "Remove connection from environment";
|
|
1817
|
-
readonly description: "Disassociate a connection from an environment";
|
|
1818
|
-
readonly parameters: readonly [{
|
|
1819
|
-
readonly name: "environmentId";
|
|
1820
|
-
readonly in: "path";
|
|
1821
|
-
readonly required: true;
|
|
1822
|
-
readonly description: "Environment ID";
|
|
1823
|
-
readonly schema: {
|
|
1824
|
-
readonly type: "string";
|
|
1825
|
-
readonly format: "uuid";
|
|
1826
|
-
};
|
|
1827
|
-
}, {
|
|
1828
|
-
readonly name: "connectionId";
|
|
1829
|
-
readonly in: "path";
|
|
1830
|
-
readonly required: true;
|
|
1831
|
-
readonly description: "Connection ID";
|
|
1832
|
-
readonly schema: {
|
|
1833
|
-
readonly type: "string";
|
|
1834
|
-
readonly format: "uuid";
|
|
1835
|
-
};
|
|
1836
|
-
}];
|
|
1837
|
-
readonly responses: {
|
|
1838
|
-
readonly "204": {
|
|
1839
|
-
readonly description: "Connection removed from environment successfully";
|
|
1840
|
-
};
|
|
1841
|
-
readonly "404": {
|
|
1842
|
-
readonly description: "Connection or environment not found";
|
|
1843
|
-
};
|
|
1844
|
-
readonly "500": {
|
|
1845
|
-
readonly description: "Server error";
|
|
1846
|
-
};
|
|
1847
|
-
};
|
|
1848
|
-
};
|
|
1849
|
-
};
|
|
1850
|
-
};
|
|
1851
|
-
readonly components: {
|
|
1852
|
-
readonly parameters: {
|
|
1853
|
-
readonly connectionId: {
|
|
1854
|
-
readonly name: "connectionId";
|
|
1855
|
-
readonly in: "path";
|
|
1856
|
-
readonly required: true;
|
|
1857
|
-
readonly description: "Connection ID";
|
|
1858
|
-
readonly schema: {
|
|
1859
|
-
readonly type: "string";
|
|
1860
|
-
readonly format: "uuid";
|
|
1861
|
-
};
|
|
1862
|
-
};
|
|
1863
|
-
readonly connectionKind: {
|
|
1864
|
-
readonly name: "connectionKind";
|
|
1865
|
-
readonly in: "path";
|
|
1866
|
-
readonly required: true;
|
|
1867
|
-
readonly description: "Connection kind (meshery, kubernetes, prometheus, grafana, etc.)";
|
|
1868
|
-
readonly schema: {
|
|
1869
|
-
readonly type: "string";
|
|
1870
|
-
};
|
|
1871
|
-
};
|
|
1872
|
-
readonly environmentId: {
|
|
1873
|
-
readonly name: "environmentId";
|
|
1874
|
-
readonly in: "path";
|
|
1875
|
-
readonly required: true;
|
|
1876
|
-
readonly description: "Environment ID";
|
|
1877
|
-
readonly schema: {
|
|
1878
|
-
readonly type: "string";
|
|
1879
|
-
readonly format: "uuid";
|
|
1880
|
-
};
|
|
1881
|
-
};
|
|
1882
|
-
readonly page: {
|
|
1883
|
-
readonly name: "page";
|
|
1884
|
-
readonly in: "query";
|
|
1885
|
-
readonly description: "Page number";
|
|
1886
|
-
readonly required: false;
|
|
1887
|
-
readonly schema: {
|
|
1888
|
-
readonly type: "integer";
|
|
1889
|
-
readonly default: 0;
|
|
1890
|
-
};
|
|
1891
|
-
};
|
|
1892
|
-
readonly pagesize: {
|
|
1893
|
-
readonly name: "pagesize";
|
|
1894
|
-
readonly in: "query";
|
|
1895
|
-
readonly description: "Number of items per page";
|
|
1896
|
-
readonly required: false;
|
|
1897
|
-
readonly schema: {
|
|
1898
|
-
readonly type: "integer";
|
|
1899
|
-
readonly default: 10;
|
|
1900
|
-
};
|
|
1901
|
-
};
|
|
1902
|
-
readonly search: {
|
|
1903
|
-
readonly name: "search";
|
|
1904
|
-
readonly in: "query";
|
|
1905
|
-
readonly description: "Search term";
|
|
1906
|
-
readonly required: false;
|
|
1907
|
-
readonly schema: {
|
|
1908
|
-
readonly type: "string";
|
|
1909
|
-
};
|
|
1910
|
-
};
|
|
1911
|
-
readonly order: {
|
|
1912
|
-
readonly name: "order";
|
|
1913
|
-
readonly in: "query";
|
|
1914
|
-
readonly description: "Sort order";
|
|
1915
|
-
readonly required: false;
|
|
1916
|
-
readonly schema: {
|
|
1917
|
-
readonly type: "string";
|
|
1918
|
-
};
|
|
1919
|
-
};
|
|
1920
|
-
};
|
|
1921
|
-
readonly schemas: {
|
|
1922
|
-
readonly Connection: {
|
|
1923
|
-
readonly $id: "https://schemas.meshery.io/connection.yaml";
|
|
1924
|
-
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
1925
|
-
readonly 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";
|
|
1926
|
-
readonly additionalProperties: false;
|
|
1927
|
-
readonly type: "object";
|
|
1928
|
-
readonly required: readonly ["id", "schemaVersion", "name", "type", "sub_type", "kind", "status"];
|
|
1929
|
-
readonly properties: {
|
|
1930
|
-
readonly id: {
|
|
1931
|
-
readonly description: "Connection ID";
|
|
1932
|
-
readonly "x-order": 1;
|
|
1933
|
-
readonly "x-go-name": "ID";
|
|
1934
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
1935
|
-
readonly db: "id";
|
|
1936
|
-
readonly yaml: "id";
|
|
1937
|
-
};
|
|
1938
|
-
readonly type: "string";
|
|
1939
|
-
readonly format: "uuid";
|
|
1940
|
-
readonly "x-go-type": "uuid.UUID";
|
|
1941
|
-
readonly "x-go-type-import": {
|
|
1942
|
-
readonly path: "github.com/gofrs/uuid";
|
|
1943
|
-
};
|
|
1944
|
-
};
|
|
1945
|
-
readonly name: {
|
|
1946
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
1947
|
-
readonly db: "name";
|
|
1948
|
-
readonly yaml: "name";
|
|
1949
|
-
};
|
|
1950
|
-
readonly "x-order": 2;
|
|
1951
|
-
readonly type: "string";
|
|
1952
|
-
readonly description: "Connection Name";
|
|
1953
|
-
};
|
|
1954
|
-
readonly credential_id: {
|
|
1955
|
-
readonly "x-go-name": "CredentialID";
|
|
1956
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
1957
|
-
readonly db: "credential_id";
|
|
1958
|
-
readonly yaml: "credential_id";
|
|
1959
|
-
};
|
|
1960
|
-
readonly "x-order": 3;
|
|
1961
|
-
readonly description: "Associated Credential ID";
|
|
1962
|
-
readonly type: "string";
|
|
1963
|
-
readonly format: "uuid";
|
|
1964
|
-
readonly "x-go-type": "uuid.UUID";
|
|
1965
|
-
readonly "x-go-type-import": {
|
|
1966
|
-
readonly path: "github.com/gofrs/uuid";
|
|
1967
|
-
};
|
|
1968
|
-
};
|
|
1969
|
-
readonly type: {
|
|
1970
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
1971
|
-
readonly db: "type";
|
|
1972
|
-
readonly yaml: "type";
|
|
1973
|
-
};
|
|
1974
|
-
readonly "x-order": 4;
|
|
1975
|
-
readonly type: "string";
|
|
1976
|
-
readonly description: "Connection Type (platform, telemetry, collaboration)";
|
|
1977
|
-
};
|
|
1978
|
-
readonly sub_type: {
|
|
1979
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
1980
|
-
readonly db: "sub_type";
|
|
1981
|
-
readonly yaml: "sub_type";
|
|
1982
|
-
};
|
|
1983
|
-
readonly "x-order": 5;
|
|
1984
|
-
readonly type: "string";
|
|
1985
|
-
readonly description: "Connection Subtype (cloud, identity, metrics, chat, git, orchestration)";
|
|
1986
|
-
};
|
|
1987
|
-
readonly kind: {
|
|
1988
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
1989
|
-
readonly db: "kind";
|
|
1990
|
-
readonly yaml: "kind";
|
|
1991
|
-
};
|
|
1992
|
-
readonly "x-order": 6;
|
|
1993
|
-
readonly type: "string";
|
|
1994
|
-
readonly description: "Connection Kind (meshery, kubernetes, prometheus, grafana, gke, aws, azure, slack, github)";
|
|
1995
|
-
};
|
|
1996
|
-
readonly metadata: {
|
|
1997
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
1998
|
-
readonly db: "metadata";
|
|
1999
|
-
readonly yaml: "metadata";
|
|
2000
|
-
};
|
|
2001
|
-
readonly "x-order": 7;
|
|
2002
|
-
readonly "x-go-type": "core.Map";
|
|
2003
|
-
readonly "x-go-type-import": {
|
|
2004
|
-
readonly path: "github.com/meshery/schemas/models/core";
|
|
2005
|
-
};
|
|
2006
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
2007
|
-
readonly type: "object";
|
|
2008
|
-
readonly description: "Additional connection metadata";
|
|
2009
|
-
};
|
|
2010
|
-
readonly status: {
|
|
2011
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
2012
|
-
readonly db: "status";
|
|
2013
|
-
readonly yaml: "status";
|
|
2014
|
-
};
|
|
2015
|
-
readonly "x-order": 8;
|
|
2016
|
-
readonly description: "Connection Status";
|
|
2017
|
-
readonly type: "string";
|
|
2018
|
-
readonly enum: readonly ["discovered", "registered", "connected", "ignored", "maintenance", "disconnected", "deleted", "not found"];
|
|
2019
|
-
};
|
|
2020
|
-
readonly user_id: {
|
|
2021
|
-
readonly "x-go-name": "UserID";
|
|
2022
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
2023
|
-
readonly db: "user_id";
|
|
2024
|
-
readonly yaml: "user_id";
|
|
2025
|
-
};
|
|
2026
|
-
readonly "x-order": 9;
|
|
2027
|
-
readonly description: "User ID who owns this connection";
|
|
2028
|
-
readonly type: "string";
|
|
2029
|
-
readonly format: "uuid";
|
|
2030
|
-
readonly "x-go-type": "uuid.UUID";
|
|
2031
|
-
readonly "x-go-type-import": {
|
|
2032
|
-
readonly path: "github.com/gofrs/uuid";
|
|
2033
|
-
};
|
|
2034
|
-
};
|
|
2035
|
-
readonly created_at: {
|
|
2036
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
2037
|
-
readonly db: "created_at";
|
|
2038
|
-
readonly yaml: "created_at";
|
|
2039
|
-
};
|
|
2040
|
-
readonly "x-order": 10;
|
|
2041
|
-
readonly type: "string";
|
|
2042
|
-
readonly format: "date-time";
|
|
2043
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
2044
|
-
};
|
|
2045
|
-
readonly updated_at: {
|
|
2046
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
2047
|
-
readonly db: "updated_at";
|
|
2048
|
-
readonly yaml: "updated_at";
|
|
2049
|
-
};
|
|
2050
|
-
readonly "x-order": 11;
|
|
2051
|
-
readonly type: "string";
|
|
2052
|
-
readonly format: "date-time";
|
|
2053
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
2054
|
-
};
|
|
2055
|
-
readonly deleted_at: {
|
|
2056
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
2057
|
-
readonly db: "deleted_at";
|
|
2058
|
-
readonly yaml: "deleted_at";
|
|
2059
|
-
};
|
|
2060
|
-
readonly "x-go-type": "core.NullTime";
|
|
2061
|
-
readonly "x-go-type-import": {
|
|
2062
|
-
readonly path: "github.com/meshery/schemas/models/core";
|
|
2063
|
-
};
|
|
2064
|
-
readonly "x-order": 12;
|
|
2065
|
-
readonly type: "string";
|
|
2066
|
-
readonly format: "date-time";
|
|
2067
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
2068
|
-
};
|
|
2069
|
-
readonly environments: {
|
|
2070
|
-
readonly type: "array";
|
|
2071
|
-
readonly description: "Associated environments for this connection";
|
|
2072
|
-
readonly items: {
|
|
2073
|
-
readonly "x-go-type": "*environment.Environment";
|
|
2074
|
-
readonly "x-go-type-import": {
|
|
2075
|
-
readonly path: "github.com/meshery/schemas/models/v1beta1/environment";
|
|
2076
|
-
};
|
|
2077
|
-
readonly $id: "https://schemas.meshery.io/environment.yaml";
|
|
2078
|
-
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
2079
|
-
readonly description: "Meshery Environments allow you to logically group related Connections and their associated Credentials.. Learn more at https://docs.meshery.io/concepts/logical/environments";
|
|
2080
|
-
readonly additionalProperties: false;
|
|
2081
|
-
readonly type: "object";
|
|
2082
|
-
readonly required: readonly ["id", "schemaVersion", "name", "description", "organization_id"];
|
|
2083
|
-
readonly properties: {
|
|
2084
|
-
readonly id: {
|
|
2085
|
-
readonly description: "ID";
|
|
2086
|
-
readonly "x-order": 1;
|
|
2087
|
-
readonly "x-go-name": "ID";
|
|
2088
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
2089
|
-
readonly db: "id";
|
|
2090
|
-
readonly yaml: "id";
|
|
2091
|
-
};
|
|
2092
|
-
readonly type: "string";
|
|
2093
|
-
readonly format: "uuid";
|
|
2094
|
-
readonly "x-go-type": "uuid.UUID";
|
|
2095
|
-
readonly "x-go-type-import": {
|
|
2096
|
-
readonly path: "github.com/gofrs/uuid";
|
|
2097
|
-
};
|
|
2098
|
-
};
|
|
2099
|
-
readonly schemaVersion: {
|
|
2100
|
-
readonly description: "Specifies the version of the schema to which the environment conforms.";
|
|
2101
|
-
readonly "x-order": 2;
|
|
2102
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
2103
|
-
readonly yaml: "schemaVersion";
|
|
2104
|
-
readonly db: "-";
|
|
2105
|
-
readonly gorm: "-";
|
|
2106
|
-
};
|
|
2107
|
-
readonly default: "environments.meshery.io/v1beta1";
|
|
2108
|
-
readonly type: "string";
|
|
2109
|
-
readonly minLength: 2;
|
|
2110
|
-
readonly maxLength: 100;
|
|
2111
|
-
readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
|
|
2112
|
-
readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
|
|
2113
|
-
};
|
|
2114
|
-
readonly name: {
|
|
2115
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
2116
|
-
readonly db: "name";
|
|
2117
|
-
readonly yaml: "name";
|
|
2118
|
-
};
|
|
2119
|
-
readonly "x-order": 3;
|
|
2120
|
-
readonly type: "string";
|
|
2121
|
-
readonly description: "Environment name";
|
|
2122
|
-
};
|
|
2123
|
-
readonly description: {
|
|
2124
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
2125
|
-
readonly db: "description";
|
|
2126
|
-
readonly yaml: "description";
|
|
2127
|
-
};
|
|
2128
|
-
readonly "x-order": 4;
|
|
2129
|
-
readonly type: "string";
|
|
2130
|
-
readonly description: "Environment description";
|
|
2131
|
-
};
|
|
2132
|
-
readonly organization_id: {
|
|
2133
|
-
readonly "x-go-name": "OrganizationID";
|
|
2134
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
2135
|
-
readonly db: "organization_id";
|
|
2136
|
-
readonly yaml: "organization_id";
|
|
2137
|
-
};
|
|
2138
|
-
readonly "x-order": 5;
|
|
2139
|
-
readonly description: "Environment organization ID";
|
|
2140
|
-
readonly type: "string";
|
|
2141
|
-
readonly format: "uuid";
|
|
2142
|
-
readonly "x-go-type": "uuid.UUID";
|
|
2143
|
-
readonly "x-go-type-import": {
|
|
2144
|
-
readonly path: "github.com/gofrs/uuid";
|
|
2145
|
-
};
|
|
2146
|
-
};
|
|
2147
|
-
readonly owner: {
|
|
2148
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
2149
|
-
readonly db: "owner";
|
|
2150
|
-
readonly yaml: "owner";
|
|
2151
|
-
};
|
|
2152
|
-
readonly "x-order": 6;
|
|
2153
|
-
readonly description: "Environment owner";
|
|
2154
|
-
readonly type: "string";
|
|
2155
|
-
readonly format: "uuid";
|
|
2156
|
-
readonly "x-go-type": "uuid.UUID";
|
|
2157
|
-
readonly "x-go-type-import": {
|
|
2158
|
-
readonly path: "github.com/gofrs/uuid";
|
|
2159
|
-
};
|
|
2160
|
-
};
|
|
2161
|
-
readonly created_at: {
|
|
2162
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
2163
|
-
readonly db: "created_at";
|
|
2164
|
-
readonly yaml: "created_at";
|
|
2165
|
-
};
|
|
2166
|
-
readonly "x-order": 7;
|
|
2167
|
-
readonly type: "string";
|
|
2168
|
-
readonly format: "date-time";
|
|
2169
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
2170
|
-
};
|
|
2171
|
-
readonly metadata: {
|
|
2172
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
2173
|
-
readonly db: "metadata";
|
|
2174
|
-
readonly yaml: "metadata";
|
|
2175
|
-
};
|
|
2176
|
-
readonly "x-order": 8;
|
|
2177
|
-
readonly "x-go-type": "core.Map";
|
|
2178
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
2179
|
-
readonly type: "object";
|
|
2180
|
-
};
|
|
2181
|
-
readonly updated_at: {
|
|
2182
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
2183
|
-
readonly db: "updated_at";
|
|
2184
|
-
readonly yaml: "updated_at";
|
|
2185
|
-
};
|
|
2186
|
-
readonly "x-order": 9;
|
|
2187
|
-
readonly type: "string";
|
|
2188
|
-
readonly format: "date-time";
|
|
2189
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
2190
|
-
};
|
|
2191
|
-
readonly deleted_at: {
|
|
2192
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
2193
|
-
readonly db: "deleted_at";
|
|
2194
|
-
readonly yaml: "deleted_at";
|
|
2195
|
-
};
|
|
2196
|
-
readonly "x-go-type": "core.NullTime";
|
|
2197
|
-
readonly "x-go-import": "database/sql";
|
|
2198
|
-
readonly "x-order": 10;
|
|
2199
|
-
readonly type: "string";
|
|
2200
|
-
readonly format: "date-time";
|
|
2201
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
2202
|
-
};
|
|
2203
|
-
};
|
|
2204
|
-
};
|
|
2205
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
2206
|
-
readonly db: "-";
|
|
2207
|
-
readonly yaml: "environments";
|
|
2208
|
-
readonly gorm: "-";
|
|
2209
|
-
};
|
|
2210
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
2211
|
-
readonly "x-order": 13;
|
|
2212
|
-
};
|
|
2213
|
-
readonly schemaVersion: {
|
|
2214
|
-
readonly description: "Specifies the version of the schema used for the definition.";
|
|
2215
|
-
readonly "x-order": 14;
|
|
2216
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
2217
|
-
readonly yaml: "schemaVersion";
|
|
2218
|
-
readonly db: "-";
|
|
2219
|
-
readonly gorm: "-";
|
|
2220
|
-
};
|
|
2221
|
-
readonly default: "connections.meshery.io/v1beta1";
|
|
2222
|
-
readonly type: "string";
|
|
2223
|
-
readonly minLength: 2;
|
|
2224
|
-
readonly maxLength: 100;
|
|
2225
|
-
readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
|
|
2226
|
-
readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
|
|
2227
|
-
};
|
|
2228
|
-
};
|
|
2229
|
-
};
|
|
2230
|
-
readonly ConnectionPage: {
|
|
2231
|
-
readonly $id: "https://schemas.meshery.io/connection_page.yaml";
|
|
2232
|
-
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
2233
|
-
readonly description: "Represents a page of connections with meta information about connections count";
|
|
2234
|
-
readonly additionalProperties: false;
|
|
2235
|
-
readonly type: "object";
|
|
2236
|
-
readonly required: readonly ["connections", "total_count", "page", "page_size"];
|
|
2237
|
-
readonly properties: {
|
|
2238
|
-
readonly connections: {
|
|
2239
|
-
readonly type: "array";
|
|
2240
|
-
readonly description: "List of connections on this page";
|
|
2241
|
-
readonly items: {
|
|
2242
|
-
readonly "x-go-type": "*Connection";
|
|
2243
|
-
readonly $id: "https://schemas.meshery.io/connection.yaml";
|
|
2244
|
-
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
2245
|
-
readonly 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";
|
|
2246
|
-
readonly additionalProperties: false;
|
|
2247
|
-
readonly type: "object";
|
|
2248
|
-
readonly required: readonly ["id", "schemaVersion", "name", "type", "sub_type", "kind", "status"];
|
|
2249
|
-
readonly properties: {
|
|
2250
|
-
readonly id: {
|
|
2251
|
-
readonly description: "Connection ID";
|
|
2252
|
-
readonly "x-order": 1;
|
|
2253
|
-
readonly "x-go-name": "ID";
|
|
2254
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
2255
|
-
readonly db: "id";
|
|
2256
|
-
readonly yaml: "id";
|
|
2257
|
-
};
|
|
2258
|
-
readonly type: "string";
|
|
2259
|
-
readonly format: "uuid";
|
|
2260
|
-
readonly "x-go-type": "uuid.UUID";
|
|
2261
|
-
readonly "x-go-type-import": {
|
|
2262
|
-
readonly path: "github.com/gofrs/uuid";
|
|
2263
|
-
};
|
|
2264
|
-
};
|
|
2265
|
-
readonly name: {
|
|
2266
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
2267
|
-
readonly db: "name";
|
|
2268
|
-
readonly yaml: "name";
|
|
2269
|
-
};
|
|
2270
|
-
readonly "x-order": 2;
|
|
2271
|
-
readonly type: "string";
|
|
2272
|
-
readonly description: "Connection Name";
|
|
2273
|
-
};
|
|
2274
|
-
readonly credential_id: {
|
|
2275
|
-
readonly "x-go-name": "CredentialID";
|
|
2276
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
2277
|
-
readonly db: "credential_id";
|
|
2278
|
-
readonly yaml: "credential_id";
|
|
2279
|
-
};
|
|
2280
|
-
readonly "x-order": 3;
|
|
2281
|
-
readonly description: "Associated Credential ID";
|
|
2282
|
-
readonly type: "string";
|
|
2283
|
-
readonly format: "uuid";
|
|
2284
|
-
readonly "x-go-type": "uuid.UUID";
|
|
2285
|
-
readonly "x-go-type-import": {
|
|
2286
|
-
readonly path: "github.com/gofrs/uuid";
|
|
2287
|
-
};
|
|
2288
|
-
};
|
|
2289
|
-
readonly type: {
|
|
2290
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
2291
|
-
readonly db: "type";
|
|
2292
|
-
readonly yaml: "type";
|
|
2293
|
-
};
|
|
2294
|
-
readonly "x-order": 4;
|
|
2295
|
-
readonly type: "string";
|
|
2296
|
-
readonly description: "Connection Type (platform, telemetry, collaboration)";
|
|
2297
|
-
};
|
|
2298
|
-
readonly sub_type: {
|
|
2299
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
2300
|
-
readonly db: "sub_type";
|
|
2301
|
-
readonly yaml: "sub_type";
|
|
2302
|
-
};
|
|
2303
|
-
readonly "x-order": 5;
|
|
2304
|
-
readonly type: "string";
|
|
2305
|
-
readonly description: "Connection Subtype (cloud, identity, metrics, chat, git, orchestration)";
|
|
2306
|
-
};
|
|
2307
|
-
readonly kind: {
|
|
2308
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
2309
|
-
readonly db: "kind";
|
|
2310
|
-
readonly yaml: "kind";
|
|
2311
|
-
};
|
|
2312
|
-
readonly "x-order": 6;
|
|
2313
|
-
readonly type: "string";
|
|
2314
|
-
readonly description: "Connection Kind (meshery, kubernetes, prometheus, grafana, gke, aws, azure, slack, github)";
|
|
2315
|
-
};
|
|
2316
|
-
readonly metadata: {
|
|
2317
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
2318
|
-
readonly db: "metadata";
|
|
2319
|
-
readonly yaml: "metadata";
|
|
2320
|
-
};
|
|
2321
|
-
readonly "x-order": 7;
|
|
2322
|
-
readonly "x-go-type": "core.Map";
|
|
2323
|
-
readonly "x-go-type-import": {
|
|
2324
|
-
readonly path: "github.com/meshery/schemas/models/core";
|
|
2325
|
-
};
|
|
2326
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
2327
|
-
readonly type: "object";
|
|
2328
|
-
readonly description: "Additional connection metadata";
|
|
2329
|
-
};
|
|
2330
|
-
readonly status: {
|
|
2331
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
2332
|
-
readonly db: "status";
|
|
2333
|
-
readonly yaml: "status";
|
|
2334
|
-
};
|
|
2335
|
-
readonly "x-order": 8;
|
|
2336
|
-
readonly description: "Connection Status";
|
|
2337
|
-
readonly type: "string";
|
|
2338
|
-
readonly enum: readonly ["discovered", "registered", "connected", "ignored", "maintenance", "disconnected", "deleted", "not found"];
|
|
2339
|
-
};
|
|
2340
|
-
readonly user_id: {
|
|
2341
|
-
readonly "x-go-name": "UserID";
|
|
2342
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
2343
|
-
readonly db: "user_id";
|
|
2344
|
-
readonly yaml: "user_id";
|
|
2345
|
-
};
|
|
2346
|
-
readonly "x-order": 9;
|
|
2347
|
-
readonly description: "User ID who owns this connection";
|
|
2348
|
-
readonly type: "string";
|
|
2349
|
-
readonly format: "uuid";
|
|
2350
|
-
readonly "x-go-type": "uuid.UUID";
|
|
2351
|
-
readonly "x-go-type-import": {
|
|
2352
|
-
readonly path: "github.com/gofrs/uuid";
|
|
2353
|
-
};
|
|
2354
|
-
};
|
|
2355
|
-
readonly created_at: {
|
|
2356
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
2357
|
-
readonly db: "created_at";
|
|
2358
|
-
readonly yaml: "created_at";
|
|
2359
|
-
};
|
|
2360
|
-
readonly "x-order": 10;
|
|
2361
|
-
readonly type: "string";
|
|
2362
|
-
readonly format: "date-time";
|
|
2363
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
2364
|
-
};
|
|
2365
|
-
readonly updated_at: {
|
|
2366
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
2367
|
-
readonly db: "updated_at";
|
|
2368
|
-
readonly yaml: "updated_at";
|
|
2369
|
-
};
|
|
2370
|
-
readonly "x-order": 11;
|
|
2371
|
-
readonly type: "string";
|
|
2372
|
-
readonly format: "date-time";
|
|
2373
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
2374
|
-
};
|
|
2375
|
-
readonly deleted_at: {
|
|
2376
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
2377
|
-
readonly db: "deleted_at";
|
|
2378
|
-
readonly yaml: "deleted_at";
|
|
2379
|
-
};
|
|
2380
|
-
readonly "x-go-type": "core.NullTime";
|
|
2381
|
-
readonly "x-go-type-import": {
|
|
2382
|
-
readonly path: "github.com/meshery/schemas/models/core";
|
|
2383
|
-
};
|
|
2384
|
-
readonly "x-order": 12;
|
|
2385
|
-
readonly type: "string";
|
|
2386
|
-
readonly format: "date-time";
|
|
2387
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
2388
|
-
};
|
|
2389
|
-
readonly environments: {
|
|
2390
|
-
readonly type: "array";
|
|
2391
|
-
readonly description: "Associated environments for this connection";
|
|
2392
|
-
readonly items: {
|
|
2393
|
-
readonly "x-go-type": "*environment.Environment";
|
|
2394
|
-
readonly "x-go-type-import": {
|
|
2395
|
-
readonly path: "github.com/meshery/schemas/models/v1beta1/environment";
|
|
2396
|
-
};
|
|
2397
|
-
readonly $id: "https://schemas.meshery.io/environment.yaml";
|
|
2398
|
-
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
2399
|
-
readonly description: "Meshery Environments allow you to logically group related Connections and their associated Credentials.. Learn more at https://docs.meshery.io/concepts/logical/environments";
|
|
2400
|
-
readonly additionalProperties: false;
|
|
2401
|
-
readonly type: "object";
|
|
2402
|
-
readonly required: readonly ["id", "schemaVersion", "name", "description", "organization_id"];
|
|
2403
|
-
readonly properties: {
|
|
2404
|
-
readonly id: {
|
|
2405
|
-
readonly description: "ID";
|
|
2406
|
-
readonly "x-order": 1;
|
|
2407
|
-
readonly "x-go-name": "ID";
|
|
2408
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
2409
|
-
readonly db: "id";
|
|
2410
|
-
readonly yaml: "id";
|
|
2411
|
-
};
|
|
2412
|
-
readonly type: "string";
|
|
2413
|
-
readonly format: "uuid";
|
|
2414
|
-
readonly "x-go-type": "uuid.UUID";
|
|
2415
|
-
readonly "x-go-type-import": {
|
|
2416
|
-
readonly path: "github.com/gofrs/uuid";
|
|
2417
|
-
};
|
|
2418
|
-
};
|
|
2419
|
-
readonly schemaVersion: {
|
|
2420
|
-
readonly description: "Specifies the version of the schema to which the environment conforms.";
|
|
2421
|
-
readonly "x-order": 2;
|
|
2422
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
2423
|
-
readonly yaml: "schemaVersion";
|
|
2424
|
-
readonly db: "-";
|
|
2425
|
-
readonly gorm: "-";
|
|
2426
|
-
};
|
|
2427
|
-
readonly default: "environments.meshery.io/v1beta1";
|
|
2428
|
-
readonly type: "string";
|
|
2429
|
-
readonly minLength: 2;
|
|
2430
|
-
readonly maxLength: 100;
|
|
2431
|
-
readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
|
|
2432
|
-
readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
|
|
2433
|
-
};
|
|
2434
|
-
readonly name: {
|
|
2435
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
2436
|
-
readonly db: "name";
|
|
2437
|
-
readonly yaml: "name";
|
|
2438
|
-
};
|
|
2439
|
-
readonly "x-order": 3;
|
|
2440
|
-
readonly type: "string";
|
|
2441
|
-
readonly description: "Environment name";
|
|
2442
|
-
};
|
|
2443
|
-
readonly description: {
|
|
2444
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
2445
|
-
readonly db: "description";
|
|
2446
|
-
readonly yaml: "description";
|
|
2447
|
-
};
|
|
2448
|
-
readonly "x-order": 4;
|
|
2449
|
-
readonly type: "string";
|
|
2450
|
-
readonly description: "Environment description";
|
|
2451
|
-
};
|
|
2452
|
-
readonly organization_id: {
|
|
2453
|
-
readonly "x-go-name": "OrganizationID";
|
|
2454
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
2455
|
-
readonly db: "organization_id";
|
|
2456
|
-
readonly yaml: "organization_id";
|
|
2457
|
-
};
|
|
2458
|
-
readonly "x-order": 5;
|
|
2459
|
-
readonly description: "Environment organization ID";
|
|
2460
|
-
readonly type: "string";
|
|
2461
|
-
readonly format: "uuid";
|
|
2462
|
-
readonly "x-go-type": "uuid.UUID";
|
|
2463
|
-
readonly "x-go-type-import": {
|
|
2464
|
-
readonly path: "github.com/gofrs/uuid";
|
|
2465
|
-
};
|
|
2466
|
-
};
|
|
2467
|
-
readonly owner: {
|
|
2468
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
2469
|
-
readonly db: "owner";
|
|
2470
|
-
readonly yaml: "owner";
|
|
2471
|
-
};
|
|
2472
|
-
readonly "x-order": 6;
|
|
2473
|
-
readonly description: "Environment owner";
|
|
2474
|
-
readonly type: "string";
|
|
2475
|
-
readonly format: "uuid";
|
|
2476
|
-
readonly "x-go-type": "uuid.UUID";
|
|
2477
|
-
readonly "x-go-type-import": {
|
|
2478
|
-
readonly path: "github.com/gofrs/uuid";
|
|
2479
|
-
};
|
|
2480
|
-
};
|
|
2481
|
-
readonly created_at: {
|
|
2482
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
2483
|
-
readonly db: "created_at";
|
|
2484
|
-
readonly yaml: "created_at";
|
|
2485
|
-
};
|
|
2486
|
-
readonly "x-order": 7;
|
|
2487
|
-
readonly type: "string";
|
|
2488
|
-
readonly format: "date-time";
|
|
2489
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
2490
|
-
};
|
|
2491
|
-
readonly metadata: {
|
|
2492
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
2493
|
-
readonly db: "metadata";
|
|
2494
|
-
readonly yaml: "metadata";
|
|
2495
|
-
};
|
|
2496
|
-
readonly "x-order": 8;
|
|
2497
|
-
readonly "x-go-type": "core.Map";
|
|
2498
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
2499
|
-
readonly type: "object";
|
|
2500
|
-
};
|
|
2501
|
-
readonly updated_at: {
|
|
2502
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
2503
|
-
readonly db: "updated_at";
|
|
2504
|
-
readonly yaml: "updated_at";
|
|
2505
|
-
};
|
|
2506
|
-
readonly "x-order": 9;
|
|
2507
|
-
readonly type: "string";
|
|
2508
|
-
readonly format: "date-time";
|
|
2509
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
2510
|
-
};
|
|
2511
|
-
readonly deleted_at: {
|
|
2512
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
2513
|
-
readonly db: "deleted_at";
|
|
2514
|
-
readonly yaml: "deleted_at";
|
|
2515
|
-
};
|
|
2516
|
-
readonly "x-go-type": "core.NullTime";
|
|
2517
|
-
readonly "x-go-import": "database/sql";
|
|
2518
|
-
readonly "x-order": 10;
|
|
2519
|
-
readonly type: "string";
|
|
2520
|
-
readonly format: "date-time";
|
|
2521
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
2522
|
-
};
|
|
2523
|
-
};
|
|
2524
|
-
};
|
|
2525
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
2526
|
-
readonly db: "-";
|
|
2527
|
-
readonly yaml: "environments";
|
|
2528
|
-
readonly gorm: "-";
|
|
2529
|
-
};
|
|
2530
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
2531
|
-
readonly "x-order": 13;
|
|
2532
|
-
};
|
|
2533
|
-
readonly schemaVersion: {
|
|
2534
|
-
readonly description: "Specifies the version of the schema used for the definition.";
|
|
2535
|
-
readonly "x-order": 14;
|
|
2536
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
2537
|
-
readonly yaml: "schemaVersion";
|
|
2538
|
-
readonly db: "-";
|
|
2539
|
-
readonly gorm: "-";
|
|
2540
|
-
};
|
|
2541
|
-
readonly default: "connections.meshery.io/v1beta1";
|
|
2542
|
-
readonly type: "string";
|
|
2543
|
-
readonly minLength: 2;
|
|
2544
|
-
readonly maxLength: 100;
|
|
2545
|
-
readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
|
|
2546
|
-
readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
|
|
2547
|
-
};
|
|
2548
|
-
};
|
|
2549
|
-
};
|
|
2550
|
-
readonly "x-order": 1;
|
|
2551
|
-
};
|
|
2552
|
-
readonly total_count: {
|
|
2553
|
-
readonly type: "integer";
|
|
2554
|
-
readonly description: "Total number of connections on all pages";
|
|
2555
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
2556
|
-
readonly json: "total_count";
|
|
2557
|
-
readonly yaml: "total_count";
|
|
2558
|
-
};
|
|
2559
|
-
readonly "x-order": 2;
|
|
2560
|
-
};
|
|
2561
|
-
readonly page: {
|
|
2562
|
-
readonly type: "integer";
|
|
2563
|
-
readonly description: "Current page number";
|
|
2564
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
2565
|
-
readonly json: "page";
|
|
2566
|
-
readonly yaml: "page";
|
|
2567
|
-
};
|
|
2568
|
-
readonly "x-order": 3;
|
|
2569
|
-
};
|
|
2570
|
-
readonly page_size: {
|
|
2571
|
-
readonly type: "integer";
|
|
2572
|
-
readonly description: "Number of elements per page";
|
|
2573
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
2574
|
-
readonly json: "page_size";
|
|
2575
|
-
readonly yaml: "page_size";
|
|
2576
|
-
};
|
|
2577
|
-
readonly "x-order": 4;
|
|
2578
|
-
};
|
|
2579
|
-
readonly status_summary: {
|
|
2580
|
-
readonly type: "object";
|
|
2581
|
-
readonly description: "Aggregate count of connections grouped by status";
|
|
2582
|
-
readonly additionalProperties: {
|
|
2583
|
-
readonly type: "integer";
|
|
2584
|
-
};
|
|
2585
|
-
readonly "x-go-type": "map[ConnectionStatus]int";
|
|
2586
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
2587
|
-
readonly json: "status_summary,omitempty";
|
|
2588
|
-
readonly yaml: "status_summary,omitempty";
|
|
2589
|
-
};
|
|
2590
|
-
readonly "x-order": 5;
|
|
2591
|
-
};
|
|
2592
|
-
};
|
|
2593
|
-
};
|
|
2594
|
-
readonly ConnectionStatusValue: {
|
|
2595
|
-
readonly type: "string";
|
|
2596
|
-
readonly description: "Connection Status Value";
|
|
2597
|
-
readonly "x-go-name": "ConnectionStatusValue";
|
|
2598
|
-
readonly enum: readonly ["discovered", "registered", "connected", "ignored", "maintenance", "disconnected", "deleted", "not found"];
|
|
2599
|
-
};
|
|
2600
|
-
readonly ConnectionPayload: {
|
|
2601
|
-
readonly type: "object";
|
|
2602
|
-
readonly description: "Payload for creating or updating a connection";
|
|
2603
|
-
readonly properties: {
|
|
2604
|
-
readonly id: {
|
|
2605
|
-
readonly type: "string";
|
|
2606
|
-
readonly format: "uuid";
|
|
2607
|
-
readonly description: "Connection ID";
|
|
2608
|
-
readonly "x-go-name": "ConnectionID";
|
|
2609
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
2610
|
-
readonly json: "id,omitempty";
|
|
2611
|
-
};
|
|
2612
|
-
};
|
|
2613
|
-
readonly name: {
|
|
2614
|
-
readonly type: "string";
|
|
2615
|
-
readonly description: "Connection name";
|
|
2616
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
2617
|
-
readonly json: "name";
|
|
2618
|
-
};
|
|
2619
|
-
};
|
|
2620
|
-
readonly kind: {
|
|
2621
|
-
readonly type: "string";
|
|
2622
|
-
readonly description: "Connection kind";
|
|
2623
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
2624
|
-
readonly json: "kind";
|
|
2625
|
-
};
|
|
2626
|
-
};
|
|
2627
|
-
readonly type: {
|
|
2628
|
-
readonly type: "string";
|
|
2629
|
-
readonly description: "Connection type";
|
|
2630
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
2631
|
-
readonly json: "type";
|
|
2632
|
-
};
|
|
2633
|
-
};
|
|
2634
|
-
readonly sub_type: {
|
|
2635
|
-
readonly type: "string";
|
|
2636
|
-
readonly description: "Connection sub-type";
|
|
2637
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
2638
|
-
readonly json: "sub_type";
|
|
2639
|
-
};
|
|
2640
|
-
};
|
|
2641
|
-
readonly credential_secret: {
|
|
2642
|
-
readonly type: "object";
|
|
2643
|
-
readonly description: "Credential secret data";
|
|
2644
|
-
readonly "x-go-type": "core.Map";
|
|
2645
|
-
readonly "x-go-type-import": {
|
|
2646
|
-
readonly path: "github.com/meshery/schemas/models/core";
|
|
2647
|
-
};
|
|
2648
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
2649
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
2650
|
-
readonly json: "credential_secret";
|
|
2651
|
-
};
|
|
2652
|
-
};
|
|
2653
|
-
readonly metadata: {
|
|
2654
|
-
readonly type: "object";
|
|
2655
|
-
readonly description: "Connection metadata";
|
|
2656
|
-
readonly "x-go-type": "core.Map";
|
|
2657
|
-
readonly "x-go-type-import": {
|
|
2658
|
-
readonly path: "github.com/meshery/schemas/models/core";
|
|
2659
|
-
};
|
|
2660
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
2661
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
2662
|
-
readonly json: "metadata";
|
|
2663
|
-
};
|
|
2664
|
-
};
|
|
2665
|
-
readonly status: {
|
|
2666
|
-
readonly type: "string";
|
|
2667
|
-
readonly description: "Connection status";
|
|
2668
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
2669
|
-
readonly json: "status";
|
|
2670
|
-
};
|
|
2671
|
-
};
|
|
2672
|
-
readonly credential_id: {
|
|
2673
|
-
readonly type: "string";
|
|
2674
|
-
readonly format: "uuid";
|
|
2675
|
-
readonly description: "Associated credential ID";
|
|
2676
|
-
readonly "x-go-name": "CredentialID";
|
|
2677
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
2678
|
-
readonly json: "credential_id,omitempty";
|
|
2679
|
-
};
|
|
2680
|
-
};
|
|
2681
|
-
};
|
|
2682
|
-
readonly required: readonly ["name", "kind", "type", "sub_type", "status"];
|
|
2683
|
-
};
|
|
2684
|
-
readonly ConnectionStatusInfo: {
|
|
2685
|
-
readonly type: "object";
|
|
2686
|
-
readonly description: "Status count information for connections";
|
|
2687
|
-
readonly properties: {
|
|
2688
|
-
readonly status: {
|
|
2689
|
-
readonly type: "string";
|
|
2690
|
-
readonly description: "Status value";
|
|
2691
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
2692
|
-
readonly json: "status";
|
|
2693
|
-
readonly db: "status";
|
|
2694
|
-
};
|
|
2695
|
-
};
|
|
2696
|
-
readonly count: {
|
|
2697
|
-
readonly type: "integer";
|
|
2698
|
-
readonly description: "Number of connections with this status";
|
|
2699
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
2700
|
-
readonly json: "count";
|
|
2701
|
-
readonly db: "count";
|
|
2702
|
-
};
|
|
2703
|
-
};
|
|
2704
|
-
};
|
|
2705
|
-
readonly required: readonly ["status", "count"];
|
|
2706
|
-
};
|
|
2707
|
-
readonly ConnectionsStatusPage: {
|
|
2708
|
-
readonly type: "object";
|
|
2709
|
-
readonly description: "Paginated list of connection status counts";
|
|
2710
|
-
readonly properties: {
|
|
2711
|
-
readonly total_count: {
|
|
2712
|
-
readonly type: "integer";
|
|
2713
|
-
readonly description: "Total number of status entries";
|
|
2714
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
2715
|
-
readonly json: "total_count";
|
|
2716
|
-
};
|
|
2717
|
-
};
|
|
2718
|
-
readonly page: {
|
|
2719
|
-
readonly type: "integer";
|
|
2720
|
-
readonly description: "Current page number";
|
|
2721
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
2722
|
-
readonly json: "page";
|
|
2723
|
-
};
|
|
2724
|
-
};
|
|
2725
|
-
readonly page_size: {
|
|
2726
|
-
readonly type: "integer";
|
|
2727
|
-
readonly description: "Number of items per page";
|
|
2728
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
2729
|
-
readonly json: "page_size";
|
|
2730
|
-
};
|
|
2731
|
-
};
|
|
2732
|
-
readonly connections_status: {
|
|
2733
|
-
readonly type: "array";
|
|
2734
|
-
readonly description: "List of status counts";
|
|
2735
|
-
readonly items: {
|
|
2736
|
-
readonly type: "object";
|
|
2737
|
-
readonly description: "Status count information for connections";
|
|
2738
|
-
readonly properties: {
|
|
2739
|
-
readonly status: {
|
|
2740
|
-
readonly type: "string";
|
|
2741
|
-
readonly description: "Status value";
|
|
2742
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
2743
|
-
readonly json: "status";
|
|
2744
|
-
readonly db: "status";
|
|
2745
|
-
};
|
|
2746
|
-
};
|
|
2747
|
-
readonly count: {
|
|
2748
|
-
readonly type: "integer";
|
|
2749
|
-
readonly description: "Number of connections with this status";
|
|
2750
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
2751
|
-
readonly json: "count";
|
|
2752
|
-
readonly db: "count";
|
|
2753
|
-
};
|
|
2754
|
-
};
|
|
2755
|
-
};
|
|
2756
|
-
readonly required: readonly ["status", "count"];
|
|
2757
|
-
};
|
|
2758
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
2759
|
-
readonly json: "connections_status";
|
|
2760
|
-
};
|
|
2761
|
-
};
|
|
2762
|
-
};
|
|
2763
|
-
readonly required: readonly ["total_count", "page", "page_size", "connections_status"];
|
|
2764
|
-
};
|
|
2765
|
-
readonly MesheryInstance: {
|
|
2766
|
-
readonly type: "object";
|
|
2767
|
-
readonly description: "Meshery server instance information";
|
|
2768
|
-
readonly properties: {
|
|
2769
|
-
readonly id: {
|
|
2770
|
-
readonly type: "string";
|
|
2771
|
-
readonly description: "Instance ID";
|
|
2772
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
2773
|
-
readonly json: "id,omitempty";
|
|
2774
|
-
readonly db: "id";
|
|
2775
|
-
};
|
|
2776
|
-
};
|
|
2777
|
-
readonly name: {
|
|
2778
|
-
readonly type: "string";
|
|
2779
|
-
readonly description: "Instance name";
|
|
2780
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
2781
|
-
readonly json: "name,omitempty";
|
|
2782
|
-
readonly db: "name";
|
|
2783
|
-
};
|
|
2784
|
-
};
|
|
2785
|
-
readonly server_id: {
|
|
2786
|
-
readonly type: "string";
|
|
2787
|
-
readonly description: "Server ID";
|
|
2788
|
-
readonly "x-go-name": "ServerID";
|
|
2789
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
2790
|
-
readonly json: "server_id,omitempty";
|
|
2791
|
-
readonly db: "server_id";
|
|
2792
|
-
};
|
|
2793
|
-
};
|
|
2794
|
-
readonly server_version: {
|
|
2795
|
-
readonly type: "string";
|
|
2796
|
-
readonly description: "Meshery server version";
|
|
2797
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
2798
|
-
readonly json: "server_version,omitempty";
|
|
2799
|
-
readonly db: "server_version";
|
|
2800
|
-
};
|
|
2801
|
-
};
|
|
2802
|
-
readonly server_location: {
|
|
2803
|
-
readonly type: "string";
|
|
2804
|
-
readonly description: "Server location URL";
|
|
2805
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
2806
|
-
readonly json: "server_location,omitempty";
|
|
2807
|
-
readonly db: "server_location";
|
|
2808
|
-
};
|
|
2809
|
-
};
|
|
2810
|
-
readonly server_build_sha: {
|
|
2811
|
-
readonly type: "string";
|
|
2812
|
-
readonly description: "Server build SHA";
|
|
2813
|
-
readonly "x-go-name": "ServerBuildSHA";
|
|
2814
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
2815
|
-
readonly json: "server_build_sha,omitempty";
|
|
2816
|
-
readonly db: "server_build_sha";
|
|
2817
|
-
};
|
|
2818
|
-
};
|
|
2819
|
-
readonly created_at: {
|
|
2820
|
-
readonly type: "string";
|
|
2821
|
-
readonly description: "Creation timestamp";
|
|
2822
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
2823
|
-
readonly json: "created_at,omitempty";
|
|
2824
|
-
readonly db: "created_at";
|
|
2825
|
-
};
|
|
2826
|
-
};
|
|
2827
|
-
readonly updated_at: {
|
|
2828
|
-
readonly type: "string";
|
|
2829
|
-
readonly description: "Last update timestamp";
|
|
2830
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
2831
|
-
readonly json: "updated_at,omitempty";
|
|
2832
|
-
readonly db: "updated_at";
|
|
2833
|
-
};
|
|
2834
|
-
};
|
|
2835
|
-
readonly deleted_at: {
|
|
2836
|
-
readonly type: "string";
|
|
2837
|
-
readonly description: "Deletion timestamp";
|
|
2838
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
2839
|
-
readonly json: "deleted_at,omitempty";
|
|
2840
|
-
readonly db: "deleted_at";
|
|
2841
|
-
};
|
|
2842
|
-
};
|
|
2843
|
-
};
|
|
2844
|
-
};
|
|
2845
|
-
readonly MesheryInstancePage: {
|
|
2846
|
-
readonly type: "object";
|
|
2847
|
-
readonly description: "Paginated list of Meshery instances";
|
|
2848
|
-
readonly properties: {
|
|
2849
|
-
readonly meshery_instances: {
|
|
2850
|
-
readonly type: "array";
|
|
2851
|
-
readonly description: "List of Meshery instances";
|
|
2852
|
-
readonly items: {
|
|
2853
|
-
readonly type: "object";
|
|
2854
|
-
readonly description: "Meshery server instance information";
|
|
2855
|
-
readonly properties: {
|
|
2856
|
-
readonly id: {
|
|
2857
|
-
readonly type: "string";
|
|
2858
|
-
readonly description: "Instance ID";
|
|
2859
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
2860
|
-
readonly json: "id,omitempty";
|
|
2861
|
-
readonly db: "id";
|
|
2862
|
-
};
|
|
2863
|
-
};
|
|
2864
|
-
readonly name: {
|
|
2865
|
-
readonly type: "string";
|
|
2866
|
-
readonly description: "Instance name";
|
|
2867
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
2868
|
-
readonly json: "name,omitempty";
|
|
2869
|
-
readonly db: "name";
|
|
2870
|
-
};
|
|
2871
|
-
};
|
|
2872
|
-
readonly server_id: {
|
|
2873
|
-
readonly type: "string";
|
|
2874
|
-
readonly description: "Server ID";
|
|
2875
|
-
readonly "x-go-name": "ServerID";
|
|
2876
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
2877
|
-
readonly json: "server_id,omitempty";
|
|
2878
|
-
readonly db: "server_id";
|
|
2879
|
-
};
|
|
2880
|
-
};
|
|
2881
|
-
readonly server_version: {
|
|
2882
|
-
readonly type: "string";
|
|
2883
|
-
readonly description: "Meshery server version";
|
|
2884
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
2885
|
-
readonly json: "server_version,omitempty";
|
|
2886
|
-
readonly db: "server_version";
|
|
2887
|
-
};
|
|
2888
|
-
};
|
|
2889
|
-
readonly server_location: {
|
|
2890
|
-
readonly type: "string";
|
|
2891
|
-
readonly description: "Server location URL";
|
|
2892
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
2893
|
-
readonly json: "server_location,omitempty";
|
|
2894
|
-
readonly db: "server_location";
|
|
2895
|
-
};
|
|
2896
|
-
};
|
|
2897
|
-
readonly server_build_sha: {
|
|
2898
|
-
readonly type: "string";
|
|
2899
|
-
readonly description: "Server build SHA";
|
|
2900
|
-
readonly "x-go-name": "ServerBuildSHA";
|
|
2901
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
2902
|
-
readonly json: "server_build_sha,omitempty";
|
|
2903
|
-
readonly db: "server_build_sha";
|
|
2904
|
-
};
|
|
2905
|
-
};
|
|
2906
|
-
readonly created_at: {
|
|
2907
|
-
readonly type: "string";
|
|
2908
|
-
readonly description: "Creation timestamp";
|
|
2909
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
2910
|
-
readonly json: "created_at,omitempty";
|
|
2911
|
-
readonly db: "created_at";
|
|
2912
|
-
};
|
|
2913
|
-
};
|
|
2914
|
-
readonly updated_at: {
|
|
2915
|
-
readonly type: "string";
|
|
2916
|
-
readonly description: "Last update timestamp";
|
|
2917
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
2918
|
-
readonly json: "updated_at,omitempty";
|
|
2919
|
-
readonly db: "updated_at";
|
|
2920
|
-
};
|
|
2921
|
-
};
|
|
2922
|
-
readonly deleted_at: {
|
|
2923
|
-
readonly type: "string";
|
|
2924
|
-
readonly description: "Deletion timestamp";
|
|
2925
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
2926
|
-
readonly json: "deleted_at,omitempty";
|
|
2927
|
-
readonly db: "deleted_at";
|
|
2928
|
-
};
|
|
2929
|
-
};
|
|
2930
|
-
};
|
|
2931
|
-
};
|
|
2932
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
2933
|
-
readonly json: "meshery_instances";
|
|
2934
|
-
};
|
|
2935
|
-
};
|
|
2936
|
-
readonly page: {
|
|
2937
|
-
readonly type: "integer";
|
|
2938
|
-
readonly description: "Current page number";
|
|
2939
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
2940
|
-
readonly json: "page";
|
|
2941
|
-
};
|
|
2942
|
-
};
|
|
2943
|
-
readonly page_size: {
|
|
2944
|
-
readonly type: "integer";
|
|
2945
|
-
readonly description: "Number of items per page";
|
|
2946
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
2947
|
-
readonly json: "page_size";
|
|
2948
|
-
};
|
|
2949
|
-
};
|
|
2950
|
-
readonly total_count: {
|
|
2951
|
-
readonly type: "integer";
|
|
2952
|
-
readonly description: "Total number of instances";
|
|
2953
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
2954
|
-
readonly json: "total_count";
|
|
2955
|
-
};
|
|
2956
|
-
};
|
|
2957
|
-
};
|
|
2958
|
-
readonly required: readonly ["meshery_instances", "page", "page_size", "total_count"];
|
|
2959
|
-
};
|
|
2960
|
-
readonly MesheryCompatibility: {
|
|
2961
|
-
readonly type: "object";
|
|
2962
|
-
readonly description: "Meshery version compatibility check";
|
|
2963
|
-
readonly properties: {
|
|
2964
|
-
readonly meshery_version: {
|
|
2965
|
-
readonly type: "string";
|
|
2966
|
-
readonly description: "Meshery version string";
|
|
2967
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
2968
|
-
readonly json: "meshery_version,omitempty";
|
|
2969
|
-
};
|
|
2970
|
-
};
|
|
2971
|
-
readonly check_compatibility: {
|
|
2972
|
-
readonly type: "boolean";
|
|
2973
|
-
readonly description: "Whether to check compatibility";
|
|
2974
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
2975
|
-
readonly json: "check_compatibility,omitempty";
|
|
2976
|
-
};
|
|
2977
|
-
};
|
|
2978
|
-
};
|
|
2979
|
-
};
|
|
2980
|
-
};
|
|
2981
|
-
};
|
|
2982
|
-
};
|
|
5
|
+
declare const ConnectionSchema: Record<string, unknown>;
|
|
2983
6
|
|
|
2984
7
|
export { ConnectionSchema as default };
|