@meshery/schemas 0.8.107 → 0.8.108
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/README.md +294 -23
- package/dist/Core-Wy_3jcVT.d.mts +736 -0
- package/dist/Core-Wy_3jcVT.d.ts +736 -0
- package/dist/cloudApi.d.mts +6873 -3592
- package/dist/cloudApi.d.ts +6873 -3592
- package/dist/cloudApi.js +1 -1
- package/dist/cloudApi.mjs +1 -1
- package/dist/constructs/v1alpha1/capability/Capability.d.mts +115 -0
- package/dist/constructs/v1alpha1/capability/Capability.d.ts +115 -0
- package/dist/constructs/v1alpha1/capability/Capability.js +1 -0
- package/dist/constructs/v1alpha1/capability/Capability.mjs +0 -0
- package/dist/constructs/v1alpha1/capability/CapabilitySchema.d.mts +155 -0
- package/dist/constructs/v1alpha1/capability/CapabilitySchema.d.ts +155 -0
- package/dist/constructs/v1alpha1/capability/CapabilitySchema.js +2 -0
- package/dist/constructs/v1alpha1/capability/CapabilitySchema.mjs +2 -0
- package/dist/constructs/v1alpha1/core/Core.d.mts +1 -0
- package/dist/constructs/v1alpha1/core/Core.d.ts +1 -0
- package/dist/constructs/v1alpha1/core/Core.js +1 -0
- package/dist/constructs/v1alpha1/core/Core.mjs +0 -0
- package/dist/constructs/v1alpha1/core/CoreSchema.d.mts +1649 -0
- package/dist/constructs/v1alpha1/core/CoreSchema.d.ts +1649 -0
- package/dist/constructs/v1alpha1/core/CoreSchema.js +2 -0
- package/dist/constructs/v1alpha1/core/CoreSchema.mjs +2 -0
- package/dist/constructs/v1alpha2/catalog/Catalog.d.mts +46 -0
- package/dist/constructs/v1alpha2/catalog/Catalog.d.ts +46 -0
- package/dist/constructs/v1alpha2/catalog/Catalog.js +1 -0
- package/dist/constructs/v1alpha2/catalog/Catalog.mjs +0 -0
- package/dist/constructs/v1alpha2/catalog/CatalogSchema.d.mts +80 -0
- package/dist/constructs/v1alpha2/catalog/CatalogSchema.d.ts +80 -0
- package/dist/constructs/v1alpha2/catalog/CatalogSchema.js +2 -0
- package/dist/constructs/v1alpha2/catalog/CatalogSchema.mjs +2 -0
- package/dist/constructs/v1beta1/academy/Academy.d.mts +5762 -0
- package/dist/constructs/v1beta1/academy/Academy.d.ts +5762 -0
- package/dist/constructs/v1beta1/academy/Academy.js +1 -0
- package/dist/constructs/v1beta1/academy/Academy.mjs +0 -0
- package/dist/constructs/v1beta1/academy/AcademySchema.d.mts +11838 -0
- package/dist/constructs/v1beta1/academy/AcademySchema.d.ts +11838 -0
- package/dist/constructs/v1beta1/academy/AcademySchema.js +2 -0
- package/dist/constructs/v1beta1/academy/AcademySchema.mjs +2 -0
- package/dist/constructs/v1beta1/badge/Badge.d.mts +253 -0
- package/dist/constructs/v1beta1/badge/Badge.d.ts +253 -0
- package/dist/constructs/v1beta1/badge/Badge.js +1 -0
- package/dist/constructs/v1beta1/badge/Badge.mjs +0 -0
- package/dist/constructs/v1beta1/badge/BadgeSchema.d.mts +519 -0
- package/dist/constructs/v1beta1/badge/BadgeSchema.d.ts +519 -0
- package/dist/constructs/v1beta1/badge/BadgeSchema.js +2 -0
- package/dist/constructs/v1beta1/badge/BadgeSchema.mjs +2 -0
- package/dist/constructs/v1beta1/category/Category.d.mts +33 -0
- package/dist/constructs/v1beta1/category/Category.d.ts +33 -0
- package/dist/constructs/v1beta1/category/Category.js +1 -0
- package/dist/constructs/v1beta1/category/Category.mjs +0 -0
- package/dist/constructs/v1beta1/category/CategorySchema.d.mts +60 -0
- package/dist/constructs/v1beta1/category/CategorySchema.d.ts +60 -0
- package/dist/constructs/v1beta1/category/CategorySchema.js +2 -0
- package/dist/constructs/v1beta1/category/CategorySchema.mjs +2 -0
- package/dist/constructs/v1beta1/component/Component.d.mts +737 -0
- package/dist/constructs/v1beta1/component/Component.d.ts +737 -0
- package/dist/constructs/v1beta1/component/Component.js +1 -0
- package/dist/constructs/v1beta1/component/Component.mjs +0 -0
- package/dist/constructs/v1beta1/component/ComponentSchema.d.mts +1751 -0
- package/dist/constructs/v1beta1/component/ComponentSchema.d.ts +1751 -0
- package/dist/constructs/v1beta1/component/ComponentSchema.js +10 -0
- package/dist/constructs/v1beta1/component/ComponentSchema.mjs +10 -0
- package/dist/constructs/v1beta1/connection/Connection.d.mts +186 -0
- package/dist/constructs/v1beta1/connection/Connection.d.ts +186 -0
- package/dist/constructs/v1beta1/connection/Connection.js +1 -0
- package/dist/constructs/v1beta1/connection/Connection.mjs +0 -0
- package/dist/constructs/v1beta1/connection/ConnectionSchema.d.mts +612 -0
- package/dist/constructs/v1beta1/connection/ConnectionSchema.d.ts +612 -0
- package/dist/constructs/v1beta1/connection/ConnectionSchema.js +2 -0
- package/dist/constructs/v1beta1/connection/ConnectionSchema.mjs +2 -0
- package/dist/constructs/v1beta1/environment/Environment.d.mts +307 -0
- package/dist/constructs/v1beta1/environment/Environment.d.ts +307 -0
- package/dist/constructs/v1beta1/environment/Environment.js +1 -0
- package/dist/constructs/v1beta1/environment/Environment.mjs +0 -0
- package/dist/constructs/v1beta1/environment/EnvironmentSchema.d.mts +904 -0
- package/dist/constructs/v1beta1/environment/EnvironmentSchema.d.ts +904 -0
- package/dist/constructs/v1beta1/environment/EnvironmentSchema.js +2 -0
- package/dist/constructs/v1beta1/environment/EnvironmentSchema.mjs +2 -0
- package/dist/constructs/v1beta1/evaluation/Evaluation.d.mts +5729 -0
- package/dist/constructs/v1beta1/evaluation/Evaluation.d.ts +5729 -0
- package/dist/constructs/v1beta1/evaluation/Evaluation.js +1 -0
- package/dist/constructs/v1beta1/evaluation/Evaluation.mjs +0 -0
- package/dist/constructs/v1beta1/evaluation/EvaluationSchema.d.mts +15473 -0
- package/dist/constructs/v1beta1/evaluation/EvaluationSchema.d.ts +15473 -0
- package/dist/constructs/v1beta1/evaluation/EvaluationSchema.js +210 -0
- package/dist/constructs/v1beta1/evaluation/EvaluationSchema.mjs +210 -0
- package/dist/constructs/v1beta1/event/Event.d.mts +177 -0
- package/dist/constructs/v1beta1/event/Event.d.ts +177 -0
- package/dist/constructs/v1beta1/event/Event.js +1 -0
- package/dist/constructs/v1beta1/event/Event.mjs +0 -0
- package/dist/constructs/v1beta1/event/EventSchema.d.mts +360 -0
- package/dist/constructs/v1beta1/event/EventSchema.d.ts +360 -0
- package/dist/constructs/v1beta1/event/EventSchema.js +1 -0
- package/dist/constructs/v1beta1/event/EventSchema.mjs +1 -0
- package/dist/constructs/v1beta1/feature/Feature.d.mts +287 -0
- package/dist/constructs/v1beta1/feature/Feature.d.ts +287 -0
- package/dist/constructs/v1beta1/feature/Feature.js +1 -0
- package/dist/constructs/v1beta1/feature/Feature.mjs +0 -0
- package/dist/constructs/v1beta1/feature/FeatureSchema.d.mts +773 -0
- package/dist/constructs/v1beta1/feature/FeatureSchema.d.ts +773 -0
- package/dist/constructs/v1beta1/feature/FeatureSchema.js +1 -0
- package/dist/constructs/v1beta1/feature/FeatureSchema.mjs +1 -0
- package/dist/constructs/v1beta1/invitation/Invitation.d.mts +644 -0
- package/dist/constructs/v1beta1/invitation/Invitation.d.ts +644 -0
- package/dist/constructs/v1beta1/invitation/Invitation.js +1 -0
- package/dist/constructs/v1beta1/invitation/Invitation.mjs +0 -0
- package/dist/constructs/v1beta1/invitation/InvitationSchema.d.mts +1652 -0
- package/dist/constructs/v1beta1/invitation/InvitationSchema.d.ts +1652 -0
- package/dist/constructs/v1beta1/invitation/InvitationSchema.js +1 -0
- package/dist/constructs/v1beta1/invitation/InvitationSchema.mjs +1 -0
- package/dist/constructs/v1beta1/key/Key.d.mts +409 -0
- package/dist/constructs/v1beta1/key/Key.d.ts +409 -0
- package/dist/constructs/v1beta1/key/Key.js +1 -0
- package/dist/constructs/v1beta1/key/Key.mjs +0 -0
- package/dist/constructs/v1beta1/key/KeySchema.d.mts +1029 -0
- package/dist/constructs/v1beta1/key/KeySchema.d.ts +1029 -0
- package/dist/constructs/v1beta1/key/KeySchema.js +1 -0
- package/dist/constructs/v1beta1/key/KeySchema.mjs +1 -0
- package/dist/constructs/v1beta1/keychain/Keychain.d.mts +641 -0
- package/dist/constructs/v1beta1/keychain/Keychain.d.ts +641 -0
- package/dist/constructs/v1beta1/keychain/Keychain.js +1 -0
- package/dist/constructs/v1beta1/keychain/Keychain.mjs +0 -0
- package/dist/constructs/v1beta1/keychain/KeychainSchema.d.mts +1541 -0
- package/dist/constructs/v1beta1/keychain/KeychainSchema.d.ts +1541 -0
- package/dist/constructs/v1beta1/keychain/KeychainSchema.js +1 -0
- package/dist/constructs/v1beta1/keychain/KeychainSchema.mjs +1 -0
- package/dist/constructs/v1beta1/model/Model.d.mts +474 -0
- package/dist/constructs/v1beta1/model/Model.d.ts +474 -0
- package/dist/constructs/v1beta1/model/Model.js +1 -0
- package/dist/constructs/v1beta1/model/Model.mjs +0 -0
- package/dist/constructs/v1beta1/model/ModelSchema.d.mts +1281 -0
- package/dist/constructs/v1beta1/model/ModelSchema.d.ts +1281 -0
- package/dist/constructs/v1beta1/model/ModelSchema.js +6 -0
- package/dist/constructs/v1beta1/model/ModelSchema.mjs +6 -0
- package/dist/constructs/v1beta1/organization/Organization.d.mts +268 -0
- package/dist/constructs/v1beta1/organization/Organization.d.ts +268 -0
- package/dist/constructs/v1beta1/organization/Organization.js +1 -0
- package/dist/constructs/v1beta1/organization/Organization.mjs +0 -0
- package/dist/constructs/v1beta1/organization/OrganizationSchema.d.mts +765 -0
- package/dist/constructs/v1beta1/organization/OrganizationSchema.d.ts +765 -0
- package/dist/constructs/v1beta1/organization/OrganizationSchema.js +1 -0
- package/dist/constructs/v1beta1/organization/OrganizationSchema.mjs +1 -0
- package/dist/constructs/v1beta1/pattern/Pattern.d.mts +5776 -0
- package/dist/constructs/v1beta1/pattern/Pattern.d.ts +5776 -0
- package/dist/constructs/v1beta1/pattern/Pattern.js +1 -0
- package/dist/constructs/v1beta1/pattern/Pattern.mjs +0 -0
- package/dist/constructs/v1beta1/pattern/PatternSchema.d.mts +15669 -0
- package/dist/constructs/v1beta1/pattern/PatternSchema.d.ts +15669 -0
- package/dist/constructs/v1beta1/pattern/PatternSchema.js +210 -0
- package/dist/constructs/v1beta1/pattern/PatternSchema.mjs +210 -0
- package/dist/constructs/v1beta1/plan/Plan.d.mts +120 -0
- package/dist/constructs/v1beta1/plan/Plan.d.ts +120 -0
- package/dist/constructs/v1beta1/plan/Plan.js +1 -0
- package/dist/constructs/v1beta1/plan/Plan.mjs +0 -0
- package/dist/constructs/v1beta1/plan/PlanSchema.d.mts +322 -0
- package/dist/constructs/v1beta1/plan/PlanSchema.d.ts +322 -0
- package/dist/constructs/v1beta1/plan/PlanSchema.js +1 -0
- package/dist/constructs/v1beta1/plan/PlanSchema.mjs +1 -0
- package/dist/constructs/v1beta1/subcategory/Subcategory.d.mts +23 -0
- package/dist/constructs/v1beta1/subcategory/Subcategory.d.ts +23 -0
- package/dist/constructs/v1beta1/subcategory/Subcategory.js +1 -0
- package/dist/constructs/v1beta1/subcategory/Subcategory.mjs +0 -0
- package/dist/constructs/v1beta1/subcategory/SubcategorySchema.d.mts +33 -0
- package/dist/constructs/v1beta1/subcategory/SubcategorySchema.d.ts +33 -0
- package/dist/constructs/v1beta1/subcategory/SubcategorySchema.js +2 -0
- package/dist/constructs/v1beta1/subcategory/SubcategorySchema.mjs +2 -0
- package/dist/constructs/v1beta1/subscription/Subscription.d.mts +624 -0
- package/dist/constructs/v1beta1/subscription/Subscription.d.ts +624 -0
- package/dist/constructs/v1beta1/subscription/Subscription.js +1 -0
- package/dist/constructs/v1beta1/subscription/Subscription.mjs +0 -0
- package/dist/constructs/v1beta1/subscription/SubscriptionSchema.d.mts +1642 -0
- package/dist/constructs/v1beta1/subscription/SubscriptionSchema.d.ts +1642 -0
- package/dist/constructs/v1beta1/subscription/SubscriptionSchema.js +2 -0
- package/dist/constructs/v1beta1/subscription/SubscriptionSchema.mjs +2 -0
- package/dist/constructs/v1beta1/user/User.d.mts +473 -0
- package/dist/constructs/v1beta1/user/User.d.ts +473 -0
- package/dist/constructs/v1beta1/user/User.js +1 -0
- package/dist/constructs/v1beta1/user/User.mjs +0 -0
- package/dist/constructs/v1beta1/user/UserSchema.d.mts +1112 -0
- package/dist/constructs/v1beta1/user/UserSchema.d.ts +1112 -0
- package/dist/constructs/v1beta1/user/UserSchema.js +1 -0
- package/dist/constructs/v1beta1/user/UserSchema.mjs +1 -0
- package/dist/constructs/v1beta1/workspace/Workspace.d.mts +303 -0
- package/dist/constructs/v1beta1/workspace/Workspace.d.ts +303 -0
- package/dist/constructs/v1beta1/workspace/Workspace.js +1 -0
- package/dist/constructs/v1beta1/workspace/Workspace.mjs +0 -0
- package/dist/constructs/v1beta1/workspace/WorkspaceSchema.d.mts +964 -0
- package/dist/constructs/v1beta1/workspace/WorkspaceSchema.d.ts +964 -0
- package/dist/constructs/v1beta1/workspace/WorkspaceSchema.js +2 -0
- package/dist/constructs/v1beta1/workspace/WorkspaceSchema.mjs +2 -0
- package/dist/index.d.mts +40 -34677
- package/dist/index.d.ts +40 -34677
- package/dist/index.js +29 -93
- package/dist/index.mjs +29 -93
- package/dist/mesheryApi.d.mts +1751 -653
- package/dist/mesheryApi.d.ts +1751 -653
- package/dist/mesheryApi.js +1 -1
- package/dist/mesheryApi.mjs +1 -1
- package/dist/permissions.d.mts +422 -0
- package/dist/permissions.d.ts +422 -0
- package/dist/permissions.js +1 -0
- package/dist/permissions.mjs +1 -0
- package/package.json +52 -48
|
@@ -0,0 +1,612 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was automatically generated from OpenAPI schema.
|
|
3
|
+
* Do not manually modify this file.
|
|
4
|
+
*/
|
|
5
|
+
declare const ConnectionSchema: {
|
|
6
|
+
readonly openapi: "3.0.0";
|
|
7
|
+
readonly info: {
|
|
8
|
+
readonly title: "connection";
|
|
9
|
+
readonly version: "1.0.0";
|
|
10
|
+
};
|
|
11
|
+
readonly paths: {};
|
|
12
|
+
readonly components: {
|
|
13
|
+
readonly schemas: {
|
|
14
|
+
readonly Connection: {
|
|
15
|
+
readonly $id: "https://schemas.meshery.io/component.yaml";
|
|
16
|
+
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
17
|
+
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";
|
|
18
|
+
readonly additionalProperties: false;
|
|
19
|
+
readonly type: "object";
|
|
20
|
+
readonly required: readonly ["id", "schemaVersion", "name", "type", "sub_type", "kind", "status"];
|
|
21
|
+
readonly properties: {
|
|
22
|
+
readonly id: {
|
|
23
|
+
readonly description: "ID";
|
|
24
|
+
readonly "x-order": 1;
|
|
25
|
+
readonly "x-go-name": "ID";
|
|
26
|
+
readonly "x-oapi-codegen-extra-tags": {
|
|
27
|
+
readonly db: "id";
|
|
28
|
+
readonly yaml: "id";
|
|
29
|
+
};
|
|
30
|
+
readonly type: "string";
|
|
31
|
+
readonly format: "uuid";
|
|
32
|
+
readonly "x-go-type": "uuid.UUID";
|
|
33
|
+
readonly "x-go-type-import": {
|
|
34
|
+
readonly path: "github.com/gofrs/uuid";
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
readonly name: {
|
|
38
|
+
readonly "x-oapi-codegen-extra-tags": {
|
|
39
|
+
readonly db: "name";
|
|
40
|
+
readonly yaml: "name";
|
|
41
|
+
};
|
|
42
|
+
readonly "x-order": 2;
|
|
43
|
+
readonly type: "string";
|
|
44
|
+
readonly description: "Connection Name";
|
|
45
|
+
};
|
|
46
|
+
readonly credential_id: {
|
|
47
|
+
readonly "x-go-name": "CredentialID";
|
|
48
|
+
readonly "x-oapi-codegen-extra-tags": {
|
|
49
|
+
readonly db: "credential_id";
|
|
50
|
+
readonly yaml: "credential_id";
|
|
51
|
+
};
|
|
52
|
+
readonly "x-order": 3;
|
|
53
|
+
readonly description: "Credential ID";
|
|
54
|
+
readonly type: "string";
|
|
55
|
+
readonly format: "uuid";
|
|
56
|
+
readonly "x-go-type": "uuid.UUID";
|
|
57
|
+
readonly "x-go-type-import": {
|
|
58
|
+
readonly path: "github.com/gofrs/uuid";
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
readonly type: {
|
|
62
|
+
readonly "x-oapi-codegen-extra-tags": {
|
|
63
|
+
readonly db: "type";
|
|
64
|
+
readonly yaml: "type";
|
|
65
|
+
};
|
|
66
|
+
readonly "x-order": 4;
|
|
67
|
+
readonly type: "string";
|
|
68
|
+
readonly description: "Connection Type";
|
|
69
|
+
};
|
|
70
|
+
readonly sub_type: {
|
|
71
|
+
readonly "x-oapi-codegen-extra-tags": {
|
|
72
|
+
readonly db: "sub_type";
|
|
73
|
+
readonly yaml: "sub_type";
|
|
74
|
+
};
|
|
75
|
+
readonly "x-order": 5;
|
|
76
|
+
readonly type: "string";
|
|
77
|
+
readonly description: "Connection Subtype";
|
|
78
|
+
};
|
|
79
|
+
readonly kind: {
|
|
80
|
+
readonly "x-oapi-codegen-extra-tags": {
|
|
81
|
+
readonly db: "kind";
|
|
82
|
+
readonly yaml: "kind";
|
|
83
|
+
};
|
|
84
|
+
readonly "x-order": 6;
|
|
85
|
+
readonly type: "string";
|
|
86
|
+
readonly description: "Connection Kind";
|
|
87
|
+
};
|
|
88
|
+
readonly metadata: {
|
|
89
|
+
readonly "x-oapi-codegen-extra-tags": {
|
|
90
|
+
readonly db: "metadata";
|
|
91
|
+
readonly yaml: "metadata";
|
|
92
|
+
};
|
|
93
|
+
readonly "x-order": 7;
|
|
94
|
+
readonly "x-go-type": "core.Map";
|
|
95
|
+
readonly "x-go-type-skip-optional-pointer": true;
|
|
96
|
+
readonly type: "object";
|
|
97
|
+
};
|
|
98
|
+
readonly status: {
|
|
99
|
+
readonly "x-oapi-codegen-extra-tags": {
|
|
100
|
+
readonly db: "status";
|
|
101
|
+
readonly yaml: "status";
|
|
102
|
+
};
|
|
103
|
+
readonly "x-order": 8;
|
|
104
|
+
readonly description: "Connection Status";
|
|
105
|
+
readonly type: "string";
|
|
106
|
+
readonly enum: readonly ["discovered", "registered", "connected", "ignored", "maintenance", "disconnected", "deleted", "not found"];
|
|
107
|
+
};
|
|
108
|
+
readonly user_id: {
|
|
109
|
+
readonly "x-go-name": "UserID";
|
|
110
|
+
readonly "x-oapi-codegen-extra-tags": {
|
|
111
|
+
readonly db: "user_id";
|
|
112
|
+
readonly yaml: "user_id";
|
|
113
|
+
};
|
|
114
|
+
readonly "x-order": 9;
|
|
115
|
+
readonly type: "string";
|
|
116
|
+
readonly format: "uuid";
|
|
117
|
+
readonly description: "A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.";
|
|
118
|
+
readonly "x-go-type": "uuid.UUID";
|
|
119
|
+
readonly "x-go-type-import": {
|
|
120
|
+
readonly path: "github.com/gofrs/uuid";
|
|
121
|
+
};
|
|
122
|
+
};
|
|
123
|
+
readonly created_at: {
|
|
124
|
+
readonly "x-oapi-codegen-extra-tags": {
|
|
125
|
+
readonly db: "created_at";
|
|
126
|
+
readonly yaml: "created_at";
|
|
127
|
+
};
|
|
128
|
+
readonly "x-order": 10;
|
|
129
|
+
readonly type: "string";
|
|
130
|
+
readonly format: "date-time";
|
|
131
|
+
readonly "x-go-type-skip-optional-pointer": true;
|
|
132
|
+
};
|
|
133
|
+
readonly updated_at: {
|
|
134
|
+
readonly "x-oapi-codegen-extra-tags": {
|
|
135
|
+
readonly db: "updated_at";
|
|
136
|
+
readonly yaml: "updated_at";
|
|
137
|
+
};
|
|
138
|
+
readonly "x-order": 11;
|
|
139
|
+
readonly type: "string";
|
|
140
|
+
readonly format: "date-time";
|
|
141
|
+
readonly "x-go-type-skip-optional-pointer": true;
|
|
142
|
+
};
|
|
143
|
+
readonly deleted_at: {
|
|
144
|
+
readonly "x-oapi-codegen-extra-tags": {
|
|
145
|
+
readonly db: "deleted_at";
|
|
146
|
+
readonly yaml: "deleted_at";
|
|
147
|
+
};
|
|
148
|
+
readonly "x-go-type": "core.NullTime";
|
|
149
|
+
readonly "x-order": 12;
|
|
150
|
+
readonly type: "string";
|
|
151
|
+
readonly format: "date-time";
|
|
152
|
+
readonly "x-go-type-skip-optional-pointer": true;
|
|
153
|
+
};
|
|
154
|
+
readonly environments: {
|
|
155
|
+
readonly type: "array";
|
|
156
|
+
readonly items: {
|
|
157
|
+
readonly "x-go-type": "*environment.Environment";
|
|
158
|
+
readonly $id: "https://schemas.meshery.io/environment.yaml";
|
|
159
|
+
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
160
|
+
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";
|
|
161
|
+
readonly additionalProperties: false;
|
|
162
|
+
readonly type: "object";
|
|
163
|
+
readonly required: readonly ["id", "name", "description", "organization_id"];
|
|
164
|
+
readonly properties: {
|
|
165
|
+
readonly id: {
|
|
166
|
+
readonly description: "ID";
|
|
167
|
+
readonly "x-order": 1;
|
|
168
|
+
readonly "x-go-name": "ID";
|
|
169
|
+
readonly "x-oapi-codegen-extra-tags": {
|
|
170
|
+
readonly db: "id";
|
|
171
|
+
readonly yaml: "id";
|
|
172
|
+
};
|
|
173
|
+
readonly type: "string";
|
|
174
|
+
readonly format: "uuid";
|
|
175
|
+
readonly "x-go-type": "uuid.UUID";
|
|
176
|
+
readonly "x-go-type-import": {
|
|
177
|
+
readonly path: "github.com/gofrs/uuid";
|
|
178
|
+
};
|
|
179
|
+
};
|
|
180
|
+
readonly name: {
|
|
181
|
+
readonly "x-oapi-codegen-extra-tags": {
|
|
182
|
+
readonly db: "name";
|
|
183
|
+
readonly yaml: "name";
|
|
184
|
+
};
|
|
185
|
+
readonly "x-order": 2;
|
|
186
|
+
readonly type: "string";
|
|
187
|
+
readonly description: "Environment name";
|
|
188
|
+
};
|
|
189
|
+
readonly description: {
|
|
190
|
+
readonly "x-oapi-codegen-extra-tags": {
|
|
191
|
+
readonly db: "description";
|
|
192
|
+
readonly yaml: "description";
|
|
193
|
+
};
|
|
194
|
+
readonly "x-order": 3;
|
|
195
|
+
readonly type: "string";
|
|
196
|
+
readonly description: "Environment description";
|
|
197
|
+
};
|
|
198
|
+
readonly organization_id: {
|
|
199
|
+
readonly "x-go-name": "OrganizationID";
|
|
200
|
+
readonly "x-oapi-codegen-extra-tags": {
|
|
201
|
+
readonly db: "organization_id";
|
|
202
|
+
readonly yaml: "organization_id";
|
|
203
|
+
};
|
|
204
|
+
readonly "x-order": 4;
|
|
205
|
+
readonly description: "Environment organization ID";
|
|
206
|
+
readonly type: "string";
|
|
207
|
+
readonly format: "uuid";
|
|
208
|
+
readonly "x-go-type": "uuid.UUID";
|
|
209
|
+
readonly "x-go-type-import": {
|
|
210
|
+
readonly path: "github.com/gofrs/uuid";
|
|
211
|
+
};
|
|
212
|
+
};
|
|
213
|
+
readonly owner: {
|
|
214
|
+
readonly "x-oapi-codegen-extra-tags": {
|
|
215
|
+
readonly db: "owner";
|
|
216
|
+
readonly yaml: "owner";
|
|
217
|
+
};
|
|
218
|
+
readonly "x-order": 5;
|
|
219
|
+
readonly description: "Environment owner";
|
|
220
|
+
readonly type: "string";
|
|
221
|
+
readonly format: "uuid";
|
|
222
|
+
readonly "x-go-type": "uuid.UUID";
|
|
223
|
+
readonly "x-go-type-import": {
|
|
224
|
+
readonly path: "github.com/gofrs/uuid";
|
|
225
|
+
};
|
|
226
|
+
};
|
|
227
|
+
readonly created_at: {
|
|
228
|
+
readonly "x-oapi-codegen-extra-tags": {
|
|
229
|
+
readonly db: "created_at";
|
|
230
|
+
readonly yaml: "created_at";
|
|
231
|
+
};
|
|
232
|
+
readonly "x-order": 6;
|
|
233
|
+
readonly type: "string";
|
|
234
|
+
readonly format: "date-time";
|
|
235
|
+
readonly "x-go-type-skip-optional-pointer": true;
|
|
236
|
+
};
|
|
237
|
+
readonly metadata: {
|
|
238
|
+
readonly "x-oapi-codegen-extra-tags": {
|
|
239
|
+
readonly db: "metadata";
|
|
240
|
+
readonly yaml: "metadata";
|
|
241
|
+
};
|
|
242
|
+
readonly "x-order": 7;
|
|
243
|
+
readonly "x-go-type": "core.Map";
|
|
244
|
+
readonly "x-go-type-skip-optional-pointer": true;
|
|
245
|
+
readonly type: "object";
|
|
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": 8;
|
|
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-import": "database/sql";
|
|
264
|
+
readonly "x-order": 9;
|
|
265
|
+
readonly type: "string";
|
|
266
|
+
readonly format: "date-time";
|
|
267
|
+
readonly "x-go-type-skip-optional-pointer": true;
|
|
268
|
+
};
|
|
269
|
+
};
|
|
270
|
+
};
|
|
271
|
+
readonly "x-oapi-codegen-extra-tags": {
|
|
272
|
+
readonly db: "-";
|
|
273
|
+
readonly yaml: "environments";
|
|
274
|
+
readonly gorm: "-";
|
|
275
|
+
};
|
|
276
|
+
readonly "x-go-type-skip-optional-pointer": true;
|
|
277
|
+
readonly "x-order": 13;
|
|
278
|
+
};
|
|
279
|
+
readonly schemaVersion: {
|
|
280
|
+
readonly description: "Specifies the version of the schema used for the definition.";
|
|
281
|
+
readonly "x-order": 14;
|
|
282
|
+
readonly "x-oapi-codegen-extra-tags": {
|
|
283
|
+
readonly yaml: "schemaVersion";
|
|
284
|
+
readonly db: "-";
|
|
285
|
+
readonly gorm: "-";
|
|
286
|
+
};
|
|
287
|
+
readonly default: "connections.meshery.io/v1beta1";
|
|
288
|
+
readonly type: "string";
|
|
289
|
+
readonly minLength: 2;
|
|
290
|
+
readonly maxLength: 100;
|
|
291
|
+
readonly pattern: "([a-z.])*(?!^/)v(alpha|beta|[0-9]+)([.-]*[a-z0-9]+)*$";
|
|
292
|
+
readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix"];
|
|
293
|
+
};
|
|
294
|
+
};
|
|
295
|
+
};
|
|
296
|
+
readonly ConnectionPage: {
|
|
297
|
+
readonly $id: "https://schemas.meshery.io/component.yaml";
|
|
298
|
+
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
299
|
+
readonly description: "Represents a page of connections with a meta information about connections number";
|
|
300
|
+
readonly additionalProperties: false;
|
|
301
|
+
readonly type: "object";
|
|
302
|
+
readonly required: readonly ["connections", "total_count", "page", "page_size"];
|
|
303
|
+
readonly properties: {
|
|
304
|
+
readonly connections: {
|
|
305
|
+
readonly type: "array";
|
|
306
|
+
readonly items: {
|
|
307
|
+
readonly $id: "https://schemas.meshery.io/component.yaml";
|
|
308
|
+
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
309
|
+
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";
|
|
310
|
+
readonly additionalProperties: false;
|
|
311
|
+
readonly type: "object";
|
|
312
|
+
readonly required: readonly ["id", "schemaVersion", "name", "type", "sub_type", "kind", "status"];
|
|
313
|
+
readonly properties: {
|
|
314
|
+
readonly id: {
|
|
315
|
+
readonly description: "ID";
|
|
316
|
+
readonly "x-order": 1;
|
|
317
|
+
readonly "x-go-name": "ID";
|
|
318
|
+
readonly "x-oapi-codegen-extra-tags": {
|
|
319
|
+
readonly db: "id";
|
|
320
|
+
readonly yaml: "id";
|
|
321
|
+
};
|
|
322
|
+
readonly type: "string";
|
|
323
|
+
readonly format: "uuid";
|
|
324
|
+
readonly "x-go-type": "uuid.UUID";
|
|
325
|
+
readonly "x-go-type-import": {
|
|
326
|
+
readonly path: "github.com/gofrs/uuid";
|
|
327
|
+
};
|
|
328
|
+
};
|
|
329
|
+
readonly name: {
|
|
330
|
+
readonly "x-oapi-codegen-extra-tags": {
|
|
331
|
+
readonly db: "name";
|
|
332
|
+
readonly yaml: "name";
|
|
333
|
+
};
|
|
334
|
+
readonly "x-order": 2;
|
|
335
|
+
readonly type: "string";
|
|
336
|
+
readonly description: "Connection Name";
|
|
337
|
+
};
|
|
338
|
+
readonly credential_id: {
|
|
339
|
+
readonly "x-go-name": "CredentialID";
|
|
340
|
+
readonly "x-oapi-codegen-extra-tags": {
|
|
341
|
+
readonly db: "credential_id";
|
|
342
|
+
readonly yaml: "credential_id";
|
|
343
|
+
};
|
|
344
|
+
readonly "x-order": 3;
|
|
345
|
+
readonly description: "Credential ID";
|
|
346
|
+
readonly type: "string";
|
|
347
|
+
readonly format: "uuid";
|
|
348
|
+
readonly "x-go-type": "uuid.UUID";
|
|
349
|
+
readonly "x-go-type-import": {
|
|
350
|
+
readonly path: "github.com/gofrs/uuid";
|
|
351
|
+
};
|
|
352
|
+
};
|
|
353
|
+
readonly type: {
|
|
354
|
+
readonly "x-oapi-codegen-extra-tags": {
|
|
355
|
+
readonly db: "type";
|
|
356
|
+
readonly yaml: "type";
|
|
357
|
+
};
|
|
358
|
+
readonly "x-order": 4;
|
|
359
|
+
readonly type: "string";
|
|
360
|
+
readonly description: "Connection Type";
|
|
361
|
+
};
|
|
362
|
+
readonly sub_type: {
|
|
363
|
+
readonly "x-oapi-codegen-extra-tags": {
|
|
364
|
+
readonly db: "sub_type";
|
|
365
|
+
readonly yaml: "sub_type";
|
|
366
|
+
};
|
|
367
|
+
readonly "x-order": 5;
|
|
368
|
+
readonly type: "string";
|
|
369
|
+
readonly description: "Connection Subtype";
|
|
370
|
+
};
|
|
371
|
+
readonly kind: {
|
|
372
|
+
readonly "x-oapi-codegen-extra-tags": {
|
|
373
|
+
readonly db: "kind";
|
|
374
|
+
readonly yaml: "kind";
|
|
375
|
+
};
|
|
376
|
+
readonly "x-order": 6;
|
|
377
|
+
readonly type: "string";
|
|
378
|
+
readonly description: "Connection Kind";
|
|
379
|
+
};
|
|
380
|
+
readonly metadata: {
|
|
381
|
+
readonly "x-oapi-codegen-extra-tags": {
|
|
382
|
+
readonly db: "metadata";
|
|
383
|
+
readonly yaml: "metadata";
|
|
384
|
+
};
|
|
385
|
+
readonly "x-order": 7;
|
|
386
|
+
readonly "x-go-type": "core.Map";
|
|
387
|
+
readonly "x-go-type-skip-optional-pointer": true;
|
|
388
|
+
readonly type: "object";
|
|
389
|
+
};
|
|
390
|
+
readonly status: {
|
|
391
|
+
readonly "x-oapi-codegen-extra-tags": {
|
|
392
|
+
readonly db: "status";
|
|
393
|
+
readonly yaml: "status";
|
|
394
|
+
};
|
|
395
|
+
readonly "x-order": 8;
|
|
396
|
+
readonly description: "Connection Status";
|
|
397
|
+
readonly type: "string";
|
|
398
|
+
readonly enum: readonly ["discovered", "registered", "connected", "ignored", "maintenance", "disconnected", "deleted", "not found"];
|
|
399
|
+
};
|
|
400
|
+
readonly user_id: {
|
|
401
|
+
readonly "x-go-name": "UserID";
|
|
402
|
+
readonly "x-oapi-codegen-extra-tags": {
|
|
403
|
+
readonly db: "user_id";
|
|
404
|
+
readonly yaml: "user_id";
|
|
405
|
+
};
|
|
406
|
+
readonly "x-order": 9;
|
|
407
|
+
readonly type: "string";
|
|
408
|
+
readonly format: "uuid";
|
|
409
|
+
readonly description: "A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.";
|
|
410
|
+
readonly "x-go-type": "uuid.UUID";
|
|
411
|
+
readonly "x-go-type-import": {
|
|
412
|
+
readonly path: "github.com/gofrs/uuid";
|
|
413
|
+
};
|
|
414
|
+
};
|
|
415
|
+
readonly created_at: {
|
|
416
|
+
readonly "x-oapi-codegen-extra-tags": {
|
|
417
|
+
readonly db: "created_at";
|
|
418
|
+
readonly yaml: "created_at";
|
|
419
|
+
};
|
|
420
|
+
readonly "x-order": 10;
|
|
421
|
+
readonly type: "string";
|
|
422
|
+
readonly format: "date-time";
|
|
423
|
+
readonly "x-go-type-skip-optional-pointer": true;
|
|
424
|
+
};
|
|
425
|
+
readonly updated_at: {
|
|
426
|
+
readonly "x-oapi-codegen-extra-tags": {
|
|
427
|
+
readonly db: "updated_at";
|
|
428
|
+
readonly yaml: "updated_at";
|
|
429
|
+
};
|
|
430
|
+
readonly "x-order": 11;
|
|
431
|
+
readonly type: "string";
|
|
432
|
+
readonly format: "date-time";
|
|
433
|
+
readonly "x-go-type-skip-optional-pointer": true;
|
|
434
|
+
};
|
|
435
|
+
readonly deleted_at: {
|
|
436
|
+
readonly "x-oapi-codegen-extra-tags": {
|
|
437
|
+
readonly db: "deleted_at";
|
|
438
|
+
readonly yaml: "deleted_at";
|
|
439
|
+
};
|
|
440
|
+
readonly "x-go-type": "core.NullTime";
|
|
441
|
+
readonly "x-order": 12;
|
|
442
|
+
readonly type: "string";
|
|
443
|
+
readonly format: "date-time";
|
|
444
|
+
readonly "x-go-type-skip-optional-pointer": true;
|
|
445
|
+
};
|
|
446
|
+
readonly environments: {
|
|
447
|
+
readonly type: "array";
|
|
448
|
+
readonly items: {
|
|
449
|
+
readonly "x-go-type": "*environment.Environment";
|
|
450
|
+
readonly $id: "https://schemas.meshery.io/environment.yaml";
|
|
451
|
+
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
452
|
+
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";
|
|
453
|
+
readonly additionalProperties: false;
|
|
454
|
+
readonly type: "object";
|
|
455
|
+
readonly required: readonly ["id", "name", "description", "organization_id"];
|
|
456
|
+
readonly properties: {
|
|
457
|
+
readonly id: {
|
|
458
|
+
readonly description: "ID";
|
|
459
|
+
readonly "x-order": 1;
|
|
460
|
+
readonly "x-go-name": "ID";
|
|
461
|
+
readonly "x-oapi-codegen-extra-tags": {
|
|
462
|
+
readonly db: "id";
|
|
463
|
+
readonly yaml: "id";
|
|
464
|
+
};
|
|
465
|
+
readonly type: "string";
|
|
466
|
+
readonly format: "uuid";
|
|
467
|
+
readonly "x-go-type": "uuid.UUID";
|
|
468
|
+
readonly "x-go-type-import": {
|
|
469
|
+
readonly path: "github.com/gofrs/uuid";
|
|
470
|
+
};
|
|
471
|
+
};
|
|
472
|
+
readonly name: {
|
|
473
|
+
readonly "x-oapi-codegen-extra-tags": {
|
|
474
|
+
readonly db: "name";
|
|
475
|
+
readonly yaml: "name";
|
|
476
|
+
};
|
|
477
|
+
readonly "x-order": 2;
|
|
478
|
+
readonly type: "string";
|
|
479
|
+
readonly description: "Environment name";
|
|
480
|
+
};
|
|
481
|
+
readonly description: {
|
|
482
|
+
readonly "x-oapi-codegen-extra-tags": {
|
|
483
|
+
readonly db: "description";
|
|
484
|
+
readonly yaml: "description";
|
|
485
|
+
};
|
|
486
|
+
readonly "x-order": 3;
|
|
487
|
+
readonly type: "string";
|
|
488
|
+
readonly description: "Environment description";
|
|
489
|
+
};
|
|
490
|
+
readonly organization_id: {
|
|
491
|
+
readonly "x-go-name": "OrganizationID";
|
|
492
|
+
readonly "x-oapi-codegen-extra-tags": {
|
|
493
|
+
readonly db: "organization_id";
|
|
494
|
+
readonly yaml: "organization_id";
|
|
495
|
+
};
|
|
496
|
+
readonly "x-order": 4;
|
|
497
|
+
readonly description: "Environment organization ID";
|
|
498
|
+
readonly type: "string";
|
|
499
|
+
readonly format: "uuid";
|
|
500
|
+
readonly "x-go-type": "uuid.UUID";
|
|
501
|
+
readonly "x-go-type-import": {
|
|
502
|
+
readonly path: "github.com/gofrs/uuid";
|
|
503
|
+
};
|
|
504
|
+
};
|
|
505
|
+
readonly owner: {
|
|
506
|
+
readonly "x-oapi-codegen-extra-tags": {
|
|
507
|
+
readonly db: "owner";
|
|
508
|
+
readonly yaml: "owner";
|
|
509
|
+
};
|
|
510
|
+
readonly "x-order": 5;
|
|
511
|
+
readonly description: "Environment owner";
|
|
512
|
+
readonly type: "string";
|
|
513
|
+
readonly format: "uuid";
|
|
514
|
+
readonly "x-go-type": "uuid.UUID";
|
|
515
|
+
readonly "x-go-type-import": {
|
|
516
|
+
readonly path: "github.com/gofrs/uuid";
|
|
517
|
+
};
|
|
518
|
+
};
|
|
519
|
+
readonly created_at: {
|
|
520
|
+
readonly "x-oapi-codegen-extra-tags": {
|
|
521
|
+
readonly db: "created_at";
|
|
522
|
+
readonly yaml: "created_at";
|
|
523
|
+
};
|
|
524
|
+
readonly "x-order": 6;
|
|
525
|
+
readonly type: "string";
|
|
526
|
+
readonly format: "date-time";
|
|
527
|
+
readonly "x-go-type-skip-optional-pointer": true;
|
|
528
|
+
};
|
|
529
|
+
readonly metadata: {
|
|
530
|
+
readonly "x-oapi-codegen-extra-tags": {
|
|
531
|
+
readonly db: "metadata";
|
|
532
|
+
readonly yaml: "metadata";
|
|
533
|
+
};
|
|
534
|
+
readonly "x-order": 7;
|
|
535
|
+
readonly "x-go-type": "core.Map";
|
|
536
|
+
readonly "x-go-type-skip-optional-pointer": true;
|
|
537
|
+
readonly type: "object";
|
|
538
|
+
};
|
|
539
|
+
readonly updated_at: {
|
|
540
|
+
readonly "x-oapi-codegen-extra-tags": {
|
|
541
|
+
readonly db: "updated_at";
|
|
542
|
+
readonly yaml: "updated_at";
|
|
543
|
+
};
|
|
544
|
+
readonly "x-order": 8;
|
|
545
|
+
readonly type: "string";
|
|
546
|
+
readonly format: "date-time";
|
|
547
|
+
readonly "x-go-type-skip-optional-pointer": true;
|
|
548
|
+
};
|
|
549
|
+
readonly deleted_at: {
|
|
550
|
+
readonly "x-oapi-codegen-extra-tags": {
|
|
551
|
+
readonly db: "deleted_at";
|
|
552
|
+
readonly yaml: "deleted_at";
|
|
553
|
+
};
|
|
554
|
+
readonly "x-go-type": "core.NullTime";
|
|
555
|
+
readonly "x-go-import": "database/sql";
|
|
556
|
+
readonly "x-order": 9;
|
|
557
|
+
readonly type: "string";
|
|
558
|
+
readonly format: "date-time";
|
|
559
|
+
readonly "x-go-type-skip-optional-pointer": true;
|
|
560
|
+
};
|
|
561
|
+
};
|
|
562
|
+
};
|
|
563
|
+
readonly "x-oapi-codegen-extra-tags": {
|
|
564
|
+
readonly db: "-";
|
|
565
|
+
readonly yaml: "environments";
|
|
566
|
+
readonly gorm: "-";
|
|
567
|
+
};
|
|
568
|
+
readonly "x-go-type-skip-optional-pointer": true;
|
|
569
|
+
readonly "x-order": 13;
|
|
570
|
+
};
|
|
571
|
+
readonly schemaVersion: {
|
|
572
|
+
readonly description: "Specifies the version of the schema used for the definition.";
|
|
573
|
+
readonly "x-order": 14;
|
|
574
|
+
readonly "x-oapi-codegen-extra-tags": {
|
|
575
|
+
readonly yaml: "schemaVersion";
|
|
576
|
+
readonly db: "-";
|
|
577
|
+
readonly gorm: "-";
|
|
578
|
+
};
|
|
579
|
+
readonly default: "connections.meshery.io/v1beta1";
|
|
580
|
+
readonly type: "string";
|
|
581
|
+
readonly minLength: 2;
|
|
582
|
+
readonly maxLength: 100;
|
|
583
|
+
readonly pattern: "([a-z.])*(?!^/)v(alpha|beta|[0-9]+)([.-]*[a-z0-9]+)*$";
|
|
584
|
+
readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix"];
|
|
585
|
+
};
|
|
586
|
+
};
|
|
587
|
+
readonly "x-go-type": "*Connection";
|
|
588
|
+
};
|
|
589
|
+
readonly "x-order": 1;
|
|
590
|
+
};
|
|
591
|
+
readonly total_count: {
|
|
592
|
+
readonly type: "integer";
|
|
593
|
+
readonly description: "Total number of connections on all pages";
|
|
594
|
+
readonly "x-order": 2;
|
|
595
|
+
};
|
|
596
|
+
readonly page: {
|
|
597
|
+
readonly type: "integer";
|
|
598
|
+
readonly description: "Page number";
|
|
599
|
+
readonly "x-order": 3;
|
|
600
|
+
};
|
|
601
|
+
readonly page_size: {
|
|
602
|
+
readonly type: "integer";
|
|
603
|
+
readonly description: "Number of elements per page";
|
|
604
|
+
readonly "x-order": 4;
|
|
605
|
+
};
|
|
606
|
+
};
|
|
607
|
+
};
|
|
608
|
+
};
|
|
609
|
+
};
|
|
610
|
+
};
|
|
611
|
+
|
|
612
|
+
export { ConnectionSchema as default };
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
'use strict';var e={openapi:"3.0.0",info:{title:"connection",version:"1.0.0"},paths:{},components:{schemas:{Connection:{$id:"https://schemas.meshery.io/component.yaml",$schema:"http://json-schema.org/draft-07/schema#",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",additionalProperties:false,type:"object",required:["id","schemaVersion","name","type","sub_type","kind","status"],properties:{id:{description:"ID","x-order":1,"x-go-name":"ID","x-oapi-codegen-extra-tags":{db:"id",yaml:"id"},type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},name:{"x-oapi-codegen-extra-tags":{db:"name",yaml:"name"},"x-order":2,type:"string",description:"Connection Name"},credential_id:{"x-go-name":"CredentialID","x-oapi-codegen-extra-tags":{db:"credential_id",yaml:"credential_id"},"x-order":3,description:"Credential ID",type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},type:{"x-oapi-codegen-extra-tags":{db:"type",yaml:"type"},"x-order":4,type:"string",description:"Connection Type"},sub_type:{"x-oapi-codegen-extra-tags":{db:"sub_type",yaml:"sub_type"},"x-order":5,type:"string",description:"Connection Subtype"},kind:{"x-oapi-codegen-extra-tags":{db:"kind",yaml:"kind"},"x-order":6,type:"string",description:"Connection Kind"},metadata:{"x-oapi-codegen-extra-tags":{db:"metadata",yaml:"metadata"},"x-order":7,"x-go-type":"core.Map","x-go-type-skip-optional-pointer":true,type:"object"},status:{"x-oapi-codegen-extra-tags":{db:"status",yaml:"status"},"x-order":8,description:"Connection Status",type:"string",enum:["discovered","registered","connected","ignored","maintenance","disconnected","deleted","not found"]},user_id:{"x-go-name":"UserID","x-oapi-codegen-extra-tags":{db:"user_id",yaml:"user_id"},"x-order":9,type:"string",format:"uuid",description:"A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},created_at:{"x-oapi-codegen-extra-tags":{db:"created_at",yaml:"created_at"},"x-order":10,type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},updated_at:{"x-oapi-codegen-extra-tags":{db:"updated_at",yaml:"updated_at"},"x-order":11,type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},deleted_at:{"x-oapi-codegen-extra-tags":{db:"deleted_at",yaml:"deleted_at"},"x-go-type":"core.NullTime","x-order":12,type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},environments:{type:"array",items:{"x-go-type":"*environment.Environment",$id:"https://schemas.meshery.io/environment.yaml",$schema:"http://json-schema.org/draft-07/schema#",description:"Meshery Environments allow you to logically group related Connections and their associated Credentials.. Learn more at https://docs.meshery.io/concepts/logical/environments",additionalProperties:false,type:"object",required:["id","name","description","organization_id"],properties:{id:{description:"ID","x-order":1,"x-go-name":"ID","x-oapi-codegen-extra-tags":{db:"id",yaml:"id"},type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},name:{"x-oapi-codegen-extra-tags":{db:"name",yaml:"name"},"x-order":2,type:"string",description:"Environment name"},description:{"x-oapi-codegen-extra-tags":{db:"description",yaml:"description"},"x-order":3,type:"string",description:"Environment description"},organization_id:{"x-go-name":"OrganizationID","x-oapi-codegen-extra-tags":{db:"organization_id",yaml:"organization_id"},"x-order":4,description:"Environment organization ID",type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},owner:{"x-oapi-codegen-extra-tags":{db:"owner",yaml:"owner"},"x-order":5,description:"Environment owner",type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},created_at:{"x-oapi-codegen-extra-tags":{db:"created_at",yaml:"created_at"},"x-order":6,type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},metadata:{"x-oapi-codegen-extra-tags":{db:"metadata",yaml:"metadata"},"x-order":7,"x-go-type":"core.Map","x-go-type-skip-optional-pointer":true,type:"object"},updated_at:{"x-oapi-codegen-extra-tags":{db:"updated_at",yaml:"updated_at"},"x-order":8,type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},deleted_at:{"x-oapi-codegen-extra-tags":{db:"deleted_at",yaml:"deleted_at"},"x-go-type":"core.NullTime","x-go-import":"database/sql","x-order":9,type:"string",format:"date-time","x-go-type-skip-optional-pointer":true}}},"x-oapi-codegen-extra-tags":{db:"-",yaml:"environments",gorm:"-"},"x-go-type-skip-optional-pointer":true,"x-order":13},schemaVersion:{description:"Specifies the version of the schema used for the definition.","x-order":14,"x-oapi-codegen-extra-tags":{yaml:"schemaVersion",db:"-",gorm:"-"},default:"connections.meshery.io/v1beta1",type:"string",minLength:2,maxLength:100,pattern:"([a-z.])*(?!^/)v(alpha|beta|[0-9]+)([.-]*[a-z0-9]+)*$",example:["v1","v1alpha1","v2beta3","v1.custom-suffix"]}}},ConnectionPage:{$id:"https://schemas.meshery.io/component.yaml",$schema:"http://json-schema.org/draft-07/schema#",description:"Represents a page of connections with a meta information about connections number",additionalProperties:false,type:"object",required:["connections","total_count","page","page_size"],properties:{connections:{type:"array",items:{$id:"https://schemas.meshery.io/component.yaml",$schema:"http://json-schema.org/draft-07/schema#",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",additionalProperties:false,type:"object",required:["id","schemaVersion","name","type","sub_type","kind","status"],properties:{id:{description:"ID","x-order":1,"x-go-name":"ID","x-oapi-codegen-extra-tags":{db:"id",yaml:"id"},type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},name:{"x-oapi-codegen-extra-tags":{db:"name",yaml:"name"},"x-order":2,type:"string",description:"Connection Name"},credential_id:{"x-go-name":"CredentialID","x-oapi-codegen-extra-tags":{db:"credential_id",yaml:"credential_id"},"x-order":3,description:"Credential ID",type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},type:{"x-oapi-codegen-extra-tags":{db:"type",yaml:"type"},"x-order":4,type:"string",description:"Connection Type"},sub_type:{"x-oapi-codegen-extra-tags":{db:"sub_type",yaml:"sub_type"},"x-order":5,type:"string",description:"Connection Subtype"},kind:{"x-oapi-codegen-extra-tags":{db:"kind",yaml:"kind"},"x-order":6,type:"string",description:"Connection Kind"},metadata:{"x-oapi-codegen-extra-tags":{db:"metadata",yaml:"metadata"},"x-order":7,"x-go-type":"core.Map","x-go-type-skip-optional-pointer":true,type:"object"},status:{"x-oapi-codegen-extra-tags":{db:"status",yaml:"status"},"x-order":8,description:"Connection Status",type:"string",enum:["discovered","registered","connected","ignored","maintenance","disconnected","deleted","not found"]},user_id:{"x-go-name":"UserID","x-oapi-codegen-extra-tags":{db:"user_id",yaml:"user_id"},"x-order":9,type:"string",format:"uuid",description:"A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},created_at:{"x-oapi-codegen-extra-tags":{db:"created_at",yaml:"created_at"},"x-order":10,type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},updated_at:{"x-oapi-codegen-extra-tags":{db:"updated_at",yaml:"updated_at"},"x-order":11,type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},deleted_at:{"x-oapi-codegen-extra-tags":{db:"deleted_at",yaml:"deleted_at"},"x-go-type":"core.NullTime","x-order":12,type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},environments:{type:"array",items:{"x-go-type":"*environment.Environment",$id:"https://schemas.meshery.io/environment.yaml",$schema:"http://json-schema.org/draft-07/schema#",description:"Meshery Environments allow you to logically group related Connections and their associated Credentials.. Learn more at https://docs.meshery.io/concepts/logical/environments",additionalProperties:false,type:"object",required:["id","name","description","organization_id"],properties:{id:{description:"ID","x-order":1,"x-go-name":"ID","x-oapi-codegen-extra-tags":{db:"id",yaml:"id"},type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},name:{"x-oapi-codegen-extra-tags":{db:"name",yaml:"name"},"x-order":2,type:"string",description:"Environment name"},description:{"x-oapi-codegen-extra-tags":{db:"description",yaml:"description"},"x-order":3,type:"string",description:"Environment description"},organization_id:{"x-go-name":"OrganizationID","x-oapi-codegen-extra-tags":{db:"organization_id",yaml:"organization_id"},"x-order":4,description:"Environment organization ID",type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},owner:{"x-oapi-codegen-extra-tags":{db:"owner",yaml:"owner"},"x-order":5,description:"Environment owner",type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},created_at:{"x-oapi-codegen-extra-tags":{db:"created_at",yaml:"created_at"},"x-order":6,type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},metadata:{"x-oapi-codegen-extra-tags":{db:"metadata",yaml:"metadata"},"x-order":7,"x-go-type":"core.Map","x-go-type-skip-optional-pointer":true,type:"object"},updated_at:{"x-oapi-codegen-extra-tags":{db:"updated_at",yaml:"updated_at"},"x-order":8,type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},deleted_at:{"x-oapi-codegen-extra-tags":{db:"deleted_at",yaml:"deleted_at"},"x-go-type":"core.NullTime","x-go-import":"database/sql","x-order":9,type:"string",format:"date-time","x-go-type-skip-optional-pointer":true}}},"x-oapi-codegen-extra-tags":{db:"-",yaml:"environments",gorm:"-"},"x-go-type-skip-optional-pointer":true,"x-order":13},schemaVersion:{description:"Specifies the version of the schema used for the definition.","x-order":14,"x-oapi-codegen-extra-tags":{yaml:"schemaVersion",db:"-",gorm:"-"},default:"connections.meshery.io/v1beta1",type:"string",minLength:2,maxLength:100,pattern:"([a-z.])*(?!^/)v(alpha|beta|[0-9]+)([.-]*[a-z0-9]+)*$",example:["v1","v1alpha1","v2beta3","v1.custom-suffix"]}},"x-go-type":"*Connection"},"x-order":1},total_count:{type:"integer",description:"Total number of connections on all pages","x-order":2},page:{type:"integer",description:"Page number","x-order":3},page_size:{type:"integer",description:"Number of elements per page","x-order":4}}}}}},t=e;
|
|
2
|
+
module.exports=t;
|