@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,1776 +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 ComponentSchema:
|
|
6
|
-
readonly openapi: "3.0.0";
|
|
7
|
-
readonly info: {
|
|
8
|
-
readonly title: "component";
|
|
9
|
-
readonly version: "1.0.0";
|
|
10
|
-
};
|
|
11
|
-
readonly paths: {};
|
|
12
|
-
readonly components: {
|
|
13
|
-
readonly schemas: {
|
|
14
|
-
readonly ComponentDefinition: {
|
|
15
|
-
readonly $id: "https://schemas.meshery.io/component.yaml";
|
|
16
|
-
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
17
|
-
readonly description: "Components are reusable building blocks for depicting capabilities defined within models. Learn more at https://docs.meshery.io/concepts/components";
|
|
18
|
-
readonly additionalProperties: false;
|
|
19
|
-
readonly type: "object";
|
|
20
|
-
readonly properties: {
|
|
21
|
-
readonly id: {
|
|
22
|
-
readonly description: "Uniquely identifies the entity (i.e. component) as defined in a declaration (i.e. design).";
|
|
23
|
-
readonly "x-order": 1;
|
|
24
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
25
|
-
readonly yaml: "id";
|
|
26
|
-
readonly json: "id";
|
|
27
|
-
};
|
|
28
|
-
readonly type: "string";
|
|
29
|
-
readonly format: "uuid";
|
|
30
|
-
readonly "x-go-type": "uuid.UUID";
|
|
31
|
-
readonly "x-go-type-import": {
|
|
32
|
-
readonly path: "github.com/gofrs/uuid";
|
|
33
|
-
};
|
|
34
|
-
};
|
|
35
|
-
readonly schemaVersion: {
|
|
36
|
-
readonly "x-order": 2;
|
|
37
|
-
readonly description: "Specifies the version of the schema to which the component definition conforms.";
|
|
38
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
39
|
-
readonly yaml: "schemaVersion";
|
|
40
|
-
readonly json: "schemaVersion";
|
|
41
|
-
};
|
|
42
|
-
readonly default: "components.meshery.io/v1beta1";
|
|
43
|
-
readonly type: "string";
|
|
44
|
-
readonly minLength: 2;
|
|
45
|
-
readonly maxLength: 100;
|
|
46
|
-
readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
|
|
47
|
-
readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
|
|
48
|
-
};
|
|
49
|
-
readonly version: {
|
|
50
|
-
readonly "x-order": 3;
|
|
51
|
-
readonly description: "Version of the component definition.";
|
|
52
|
-
readonly minLength: 1;
|
|
53
|
-
readonly maxLength: 50;
|
|
54
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
55
|
-
readonly yaml: "version";
|
|
56
|
-
readonly json: "version";
|
|
57
|
-
};
|
|
58
|
-
readonly type: "string";
|
|
59
|
-
readonly pattern: "^[a-z0-9]+.[0-9]+.[0-9]+(-[0-9A-Za-z-]+(.[0-9A-Za-z-]+)*)?(\\+[0-9A-Za-z-]+(\\.[0-9A-Za-z-]+)*)?$";
|
|
60
|
-
};
|
|
61
|
-
readonly displayName: {
|
|
62
|
-
readonly "x-order": 4;
|
|
63
|
-
readonly description: "Name of the component in human-readible format.";
|
|
64
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
65
|
-
readonly yaml: "displayName";
|
|
66
|
-
readonly json: "displayName";
|
|
67
|
-
};
|
|
68
|
-
readonly type: "string";
|
|
69
|
-
readonly pattern: "^[a-zA-Z_][a-zA-Z0-9_-]*[a-zA-Z0-9_]$";
|
|
70
|
-
};
|
|
71
|
-
readonly description: {
|
|
72
|
-
readonly "x-order": 5;
|
|
73
|
-
readonly type: "string";
|
|
74
|
-
readonly description: "A written representation of the purpose and characteristics of the component.";
|
|
75
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
76
|
-
readonly yaml: "description";
|
|
77
|
-
readonly json: "description";
|
|
78
|
-
};
|
|
79
|
-
};
|
|
80
|
-
readonly format: {
|
|
81
|
-
readonly "x-order": 6;
|
|
82
|
-
readonly type: "string";
|
|
83
|
-
readonly enum: readonly ["JSON", "CUE"];
|
|
84
|
-
readonly default: "JSON";
|
|
85
|
-
readonly description: "Format specifies the format used in the `component.schema` field. JSON is the default.";
|
|
86
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
87
|
-
readonly yaml: "format";
|
|
88
|
-
readonly json: "format";
|
|
89
|
-
};
|
|
90
|
-
};
|
|
91
|
-
readonly model: {
|
|
92
|
-
readonly "x-go-type": "model.ModelDefinition";
|
|
93
|
-
readonly "x-go-type-import": {
|
|
94
|
-
readonly path: "github.com/meshery/schemas/models/v1beta1/model";
|
|
95
|
-
};
|
|
96
|
-
readonly "x-order": 7;
|
|
97
|
-
readonly description: "Reference to the specific registered model to which the component belongs and from which model version, category, and other properties may be referenced. Learn more at https://docs.meshery.io/concepts/models";
|
|
98
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
99
|
-
readonly gorm: "foreignKey:ModelId;references:Id";
|
|
100
|
-
readonly json: "model,omitempty";
|
|
101
|
-
readonly yaml: "model,omitempty";
|
|
102
|
-
};
|
|
103
|
-
readonly $id: "https://schemas.meshery.io/model.yaml";
|
|
104
|
-
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
105
|
-
readonly additionalProperties: false;
|
|
106
|
-
readonly type: "object";
|
|
107
|
-
readonly properties: {
|
|
108
|
-
readonly id: {
|
|
109
|
-
readonly description: "Uniquely identifies the entity (i.e. component) as defined in a declaration (i.e. design).";
|
|
110
|
-
readonly "x-order": 1;
|
|
111
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
112
|
-
readonly yaml: "id";
|
|
113
|
-
readonly json: "id";
|
|
114
|
-
};
|
|
115
|
-
readonly type: "string";
|
|
116
|
-
readonly format: "uuid";
|
|
117
|
-
readonly "x-go-type": "uuid.UUID";
|
|
118
|
-
readonly "x-go-type-import": {
|
|
119
|
-
readonly path: "github.com/gofrs/uuid";
|
|
120
|
-
};
|
|
121
|
-
};
|
|
122
|
-
readonly schemaVersion: {
|
|
123
|
-
readonly description: "Specifies the version of the schema used for the definition.";
|
|
124
|
-
readonly "x-order": 2;
|
|
125
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
126
|
-
readonly yaml: "schemaVersion";
|
|
127
|
-
readonly json: "schemaVersion";
|
|
128
|
-
};
|
|
129
|
-
readonly default: "models.meshery.io/v1beta1";
|
|
130
|
-
readonly type: "string";
|
|
131
|
-
readonly minLength: 2;
|
|
132
|
-
readonly maxLength: 100;
|
|
133
|
-
readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
|
|
134
|
-
readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
|
|
135
|
-
};
|
|
136
|
-
readonly version: {
|
|
137
|
-
readonly description: "Version of the model definition.";
|
|
138
|
-
readonly type: "string";
|
|
139
|
-
readonly "x-order": 3;
|
|
140
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
141
|
-
readonly yaml: "version";
|
|
142
|
-
readonly json: "version";
|
|
143
|
-
};
|
|
144
|
-
readonly minLength: 5;
|
|
145
|
-
readonly maxLength: 100;
|
|
146
|
-
readonly pattern: "^[a-z0-9]+.[0-9]+.[0-9]+(-[0-9A-Za-z-]+(.[0-9A-Za-z-]+)*)?(\\+[0-9A-Za-z-]+(\\.[0-9A-Za-z-]+)*)?$";
|
|
147
|
-
};
|
|
148
|
-
readonly name: {
|
|
149
|
-
readonly type: "string";
|
|
150
|
-
readonly description: "The unique name for the model within the scope of a registrant.";
|
|
151
|
-
readonly helperText: "Model name should be in lowercase with hyphens, not whitespaces.";
|
|
152
|
-
readonly pattern: "^[a-z0-9-]+$";
|
|
153
|
-
readonly examples: readonly ["cert-manager"];
|
|
154
|
-
readonly "x-order": 4;
|
|
155
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
156
|
-
readonly yaml: "name";
|
|
157
|
-
readonly json: "name";
|
|
158
|
-
};
|
|
159
|
-
readonly default: "untitled-model";
|
|
160
|
-
};
|
|
161
|
-
readonly displayName: {
|
|
162
|
-
readonly description: "Human-readable name for the model.";
|
|
163
|
-
readonly helperText: "Model display name may include letters, numbers, and spaces. Special characters are not allowed.";
|
|
164
|
-
readonly minLength: 1;
|
|
165
|
-
readonly maxLength: 100;
|
|
166
|
-
readonly type: "string";
|
|
167
|
-
readonly pattern: "^[a-zA-Z0-9 ]+$";
|
|
168
|
-
readonly examples: readonly ["Cert Manager"];
|
|
169
|
-
readonly "x-order": 5;
|
|
170
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
171
|
-
readonly yaml: "displayName";
|
|
172
|
-
readonly json: "displayName";
|
|
173
|
-
};
|
|
174
|
-
readonly default: "Untitled Model";
|
|
175
|
-
};
|
|
176
|
-
readonly description: {
|
|
177
|
-
readonly type: "string";
|
|
178
|
-
readonly default: "A new Meshery model.";
|
|
179
|
-
readonly description: "Description of the model.";
|
|
180
|
-
readonly minLength: 1;
|
|
181
|
-
readonly maxLength: 1000;
|
|
182
|
-
readonly "x-order": 6;
|
|
183
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
184
|
-
readonly yaml: "description,omitempty";
|
|
185
|
-
readonly json: "description,omitempty";
|
|
186
|
-
};
|
|
187
|
-
};
|
|
188
|
-
readonly status: {
|
|
189
|
-
readonly type: "string";
|
|
190
|
-
readonly description: "Status of model, including:\n- duplicate: this component is a duplicate of another. The component that is to be the canonical reference and that is duplicated by other components should not be assigned the 'duplicate' status.\n- maintenance: model is unavailable for a period of time.\n- enabled: model is available for use for all users of this Meshery Server.\n- ignored: model is unavailable for use for all users of this Meshery Server.";
|
|
191
|
-
readonly enum: readonly ["ignored", "enabled", "duplicate"];
|
|
192
|
-
readonly "x-order": 7;
|
|
193
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
194
|
-
readonly yaml: "status";
|
|
195
|
-
readonly json: "status";
|
|
196
|
-
};
|
|
197
|
-
readonly default: "enabled";
|
|
198
|
-
};
|
|
199
|
-
readonly registrant: {
|
|
200
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
201
|
-
readonly yaml: "registrant";
|
|
202
|
-
readonly json: "registrant";
|
|
203
|
-
readonly gorm: "foreignKey:RegistrantId;references:ID";
|
|
204
|
-
};
|
|
205
|
-
readonly "x-order": 8;
|
|
206
|
-
readonly "x-go-type": "connection.Connection";
|
|
207
|
-
readonly "x-go-type-import": {
|
|
208
|
-
readonly path: "github.com/meshery/schemas/models/v1beta1/connection";
|
|
209
|
-
};
|
|
210
|
-
readonly $id: "https://schemas.meshery.io/connection.yaml";
|
|
211
|
-
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
212
|
-
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";
|
|
213
|
-
readonly additionalProperties: false;
|
|
214
|
-
readonly type: "object";
|
|
215
|
-
readonly required: readonly ["id", "schemaVersion", "name", "type", "sub_type", "kind", "status"];
|
|
216
|
-
readonly properties: {
|
|
217
|
-
readonly id: {
|
|
218
|
-
readonly description: "Connection ID";
|
|
219
|
-
readonly "x-order": 1;
|
|
220
|
-
readonly "x-go-name": "ID";
|
|
221
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
222
|
-
readonly db: "id";
|
|
223
|
-
readonly yaml: "id";
|
|
224
|
-
};
|
|
225
|
-
readonly type: "string";
|
|
226
|
-
readonly format: "uuid";
|
|
227
|
-
readonly "x-go-type": "uuid.UUID";
|
|
228
|
-
readonly "x-go-type-import": {
|
|
229
|
-
readonly path: "github.com/gofrs/uuid";
|
|
230
|
-
};
|
|
231
|
-
};
|
|
232
|
-
readonly name: {
|
|
233
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
234
|
-
readonly db: "name";
|
|
235
|
-
readonly yaml: "name";
|
|
236
|
-
};
|
|
237
|
-
readonly "x-order": 2;
|
|
238
|
-
readonly type: "string";
|
|
239
|
-
readonly description: "Connection Name";
|
|
240
|
-
};
|
|
241
|
-
readonly credential_id: {
|
|
242
|
-
readonly "x-go-name": "CredentialID";
|
|
243
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
244
|
-
readonly db: "credential_id";
|
|
245
|
-
readonly yaml: "credential_id";
|
|
246
|
-
};
|
|
247
|
-
readonly "x-order": 3;
|
|
248
|
-
readonly description: "Associated Credential ID";
|
|
249
|
-
readonly type: "string";
|
|
250
|
-
readonly format: "uuid";
|
|
251
|
-
readonly "x-go-type": "uuid.UUID";
|
|
252
|
-
readonly "x-go-type-import": {
|
|
253
|
-
readonly path: "github.com/gofrs/uuid";
|
|
254
|
-
};
|
|
255
|
-
};
|
|
256
|
-
readonly type: {
|
|
257
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
258
|
-
readonly db: "type";
|
|
259
|
-
readonly yaml: "type";
|
|
260
|
-
};
|
|
261
|
-
readonly "x-order": 4;
|
|
262
|
-
readonly type: "string";
|
|
263
|
-
readonly description: "Connection Type (platform, telemetry, collaboration)";
|
|
264
|
-
};
|
|
265
|
-
readonly sub_type: {
|
|
266
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
267
|
-
readonly db: "sub_type";
|
|
268
|
-
readonly yaml: "sub_type";
|
|
269
|
-
};
|
|
270
|
-
readonly "x-order": 5;
|
|
271
|
-
readonly type: "string";
|
|
272
|
-
readonly description: "Connection Subtype (cloud, identity, metrics, chat, git, orchestration)";
|
|
273
|
-
};
|
|
274
|
-
readonly kind: {
|
|
275
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
276
|
-
readonly db: "kind";
|
|
277
|
-
readonly yaml: "kind";
|
|
278
|
-
};
|
|
279
|
-
readonly "x-order": 6;
|
|
280
|
-
readonly type: "string";
|
|
281
|
-
readonly description: "Connection Kind (meshery, kubernetes, prometheus, grafana, gke, aws, azure, slack, github)";
|
|
282
|
-
};
|
|
283
|
-
readonly metadata: {
|
|
284
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
285
|
-
readonly db: "metadata";
|
|
286
|
-
readonly yaml: "metadata";
|
|
287
|
-
};
|
|
288
|
-
readonly "x-order": 7;
|
|
289
|
-
readonly "x-go-type": "core.Map";
|
|
290
|
-
readonly "x-go-type-import": {
|
|
291
|
-
readonly path: "github.com/meshery/schemas/models/core";
|
|
292
|
-
};
|
|
293
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
294
|
-
readonly type: "object";
|
|
295
|
-
readonly description: "Additional connection metadata";
|
|
296
|
-
};
|
|
297
|
-
readonly status: {
|
|
298
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
299
|
-
readonly db: "status";
|
|
300
|
-
readonly yaml: "status";
|
|
301
|
-
};
|
|
302
|
-
readonly "x-order": 8;
|
|
303
|
-
readonly description: "Connection Status";
|
|
304
|
-
readonly type: "string";
|
|
305
|
-
readonly enum: readonly ["discovered", "registered", "connected", "ignored", "maintenance", "disconnected", "deleted", "not found"];
|
|
306
|
-
};
|
|
307
|
-
readonly user_id: {
|
|
308
|
-
readonly "x-go-name": "UserID";
|
|
309
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
310
|
-
readonly db: "user_id";
|
|
311
|
-
readonly yaml: "user_id";
|
|
312
|
-
};
|
|
313
|
-
readonly "x-order": 9;
|
|
314
|
-
readonly description: "User ID who owns this connection";
|
|
315
|
-
readonly type: "string";
|
|
316
|
-
readonly format: "uuid";
|
|
317
|
-
readonly "x-go-type": "uuid.UUID";
|
|
318
|
-
readonly "x-go-type-import": {
|
|
319
|
-
readonly path: "github.com/gofrs/uuid";
|
|
320
|
-
};
|
|
321
|
-
};
|
|
322
|
-
readonly created_at: {
|
|
323
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
324
|
-
readonly db: "created_at";
|
|
325
|
-
readonly yaml: "created_at";
|
|
326
|
-
};
|
|
327
|
-
readonly "x-order": 10;
|
|
328
|
-
readonly type: "string";
|
|
329
|
-
readonly format: "date-time";
|
|
330
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
331
|
-
};
|
|
332
|
-
readonly updated_at: {
|
|
333
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
334
|
-
readonly db: "updated_at";
|
|
335
|
-
readonly yaml: "updated_at";
|
|
336
|
-
};
|
|
337
|
-
readonly "x-order": 11;
|
|
338
|
-
readonly type: "string";
|
|
339
|
-
readonly format: "date-time";
|
|
340
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
341
|
-
};
|
|
342
|
-
readonly deleted_at: {
|
|
343
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
344
|
-
readonly db: "deleted_at";
|
|
345
|
-
readonly yaml: "deleted_at";
|
|
346
|
-
};
|
|
347
|
-
readonly "x-go-type": "core.NullTime";
|
|
348
|
-
readonly "x-go-type-import": {
|
|
349
|
-
readonly path: "github.com/meshery/schemas/models/core";
|
|
350
|
-
};
|
|
351
|
-
readonly "x-order": 12;
|
|
352
|
-
readonly type: "string";
|
|
353
|
-
readonly format: "date-time";
|
|
354
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
355
|
-
};
|
|
356
|
-
readonly environments: {
|
|
357
|
-
readonly type: "array";
|
|
358
|
-
readonly description: "Associated environments for this connection";
|
|
359
|
-
readonly items: {
|
|
360
|
-
readonly "x-go-type": "*environment.Environment";
|
|
361
|
-
readonly "x-go-type-import": {
|
|
362
|
-
readonly path: "github.com/meshery/schemas/models/v1beta1/environment";
|
|
363
|
-
};
|
|
364
|
-
readonly $id: "https://schemas.meshery.io/environment.yaml";
|
|
365
|
-
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
366
|
-
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";
|
|
367
|
-
readonly additionalProperties: false;
|
|
368
|
-
readonly type: "object";
|
|
369
|
-
readonly required: readonly ["id", "schemaVersion", "name", "description", "organization_id"];
|
|
370
|
-
readonly properties: {
|
|
371
|
-
readonly id: {
|
|
372
|
-
readonly description: "ID";
|
|
373
|
-
readonly "x-order": 1;
|
|
374
|
-
readonly "x-go-name": "ID";
|
|
375
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
376
|
-
readonly db: "id";
|
|
377
|
-
readonly yaml: "id";
|
|
378
|
-
};
|
|
379
|
-
readonly type: "string";
|
|
380
|
-
readonly format: "uuid";
|
|
381
|
-
readonly "x-go-type": "uuid.UUID";
|
|
382
|
-
readonly "x-go-type-import": {
|
|
383
|
-
readonly path: "github.com/gofrs/uuid";
|
|
384
|
-
};
|
|
385
|
-
};
|
|
386
|
-
readonly schemaVersion: {
|
|
387
|
-
readonly description: "Specifies the version of the schema to which the environment conforms.";
|
|
388
|
-
readonly "x-order": 2;
|
|
389
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
390
|
-
readonly yaml: "schemaVersion";
|
|
391
|
-
readonly db: "-";
|
|
392
|
-
readonly gorm: "-";
|
|
393
|
-
};
|
|
394
|
-
readonly default: "environments.meshery.io/v1beta1";
|
|
395
|
-
readonly type: "string";
|
|
396
|
-
readonly minLength: 2;
|
|
397
|
-
readonly maxLength: 100;
|
|
398
|
-
readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
|
|
399
|
-
readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
|
|
400
|
-
};
|
|
401
|
-
readonly name: {
|
|
402
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
403
|
-
readonly db: "name";
|
|
404
|
-
readonly yaml: "name";
|
|
405
|
-
};
|
|
406
|
-
readonly "x-order": 3;
|
|
407
|
-
readonly type: "string";
|
|
408
|
-
readonly description: "Environment name";
|
|
409
|
-
};
|
|
410
|
-
readonly description: {
|
|
411
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
412
|
-
readonly db: "description";
|
|
413
|
-
readonly yaml: "description";
|
|
414
|
-
};
|
|
415
|
-
readonly "x-order": 4;
|
|
416
|
-
readonly type: "string";
|
|
417
|
-
readonly description: "Environment description";
|
|
418
|
-
};
|
|
419
|
-
readonly organization_id: {
|
|
420
|
-
readonly "x-go-name": "OrganizationID";
|
|
421
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
422
|
-
readonly db: "organization_id";
|
|
423
|
-
readonly yaml: "organization_id";
|
|
424
|
-
};
|
|
425
|
-
readonly "x-order": 5;
|
|
426
|
-
readonly description: "Environment organization ID";
|
|
427
|
-
readonly type: "string";
|
|
428
|
-
readonly format: "uuid";
|
|
429
|
-
readonly "x-go-type": "uuid.UUID";
|
|
430
|
-
readonly "x-go-type-import": {
|
|
431
|
-
readonly path: "github.com/gofrs/uuid";
|
|
432
|
-
};
|
|
433
|
-
};
|
|
434
|
-
readonly owner: {
|
|
435
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
436
|
-
readonly db: "owner";
|
|
437
|
-
readonly yaml: "owner";
|
|
438
|
-
};
|
|
439
|
-
readonly "x-order": 6;
|
|
440
|
-
readonly description: "Environment owner";
|
|
441
|
-
readonly type: "string";
|
|
442
|
-
readonly format: "uuid";
|
|
443
|
-
readonly "x-go-type": "uuid.UUID";
|
|
444
|
-
readonly "x-go-type-import": {
|
|
445
|
-
readonly path: "github.com/gofrs/uuid";
|
|
446
|
-
};
|
|
447
|
-
};
|
|
448
|
-
readonly created_at: {
|
|
449
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
450
|
-
readonly db: "created_at";
|
|
451
|
-
readonly yaml: "created_at";
|
|
452
|
-
};
|
|
453
|
-
readonly "x-order": 7;
|
|
454
|
-
readonly type: "string";
|
|
455
|
-
readonly format: "date-time";
|
|
456
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
457
|
-
};
|
|
458
|
-
readonly metadata: {
|
|
459
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
460
|
-
readonly db: "metadata";
|
|
461
|
-
readonly yaml: "metadata";
|
|
462
|
-
};
|
|
463
|
-
readonly "x-order": 8;
|
|
464
|
-
readonly "x-go-type": "core.Map";
|
|
465
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
466
|
-
readonly type: "object";
|
|
467
|
-
};
|
|
468
|
-
readonly updated_at: {
|
|
469
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
470
|
-
readonly db: "updated_at";
|
|
471
|
-
readonly yaml: "updated_at";
|
|
472
|
-
};
|
|
473
|
-
readonly "x-order": 9;
|
|
474
|
-
readonly type: "string";
|
|
475
|
-
readonly format: "date-time";
|
|
476
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
477
|
-
};
|
|
478
|
-
readonly deleted_at: {
|
|
479
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
480
|
-
readonly db: "deleted_at";
|
|
481
|
-
readonly yaml: "deleted_at";
|
|
482
|
-
};
|
|
483
|
-
readonly "x-go-type": "core.NullTime";
|
|
484
|
-
readonly "x-go-import": "database/sql";
|
|
485
|
-
readonly "x-order": 10;
|
|
486
|
-
readonly type: "string";
|
|
487
|
-
readonly format: "date-time";
|
|
488
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
489
|
-
};
|
|
490
|
-
};
|
|
491
|
-
};
|
|
492
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
493
|
-
readonly db: "-";
|
|
494
|
-
readonly yaml: "environments";
|
|
495
|
-
readonly gorm: "-";
|
|
496
|
-
};
|
|
497
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
498
|
-
readonly "x-order": 13;
|
|
499
|
-
};
|
|
500
|
-
readonly schemaVersion: {
|
|
501
|
-
readonly description: "Specifies the version of the schema used for the definition.";
|
|
502
|
-
readonly "x-order": 14;
|
|
503
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
504
|
-
readonly yaml: "schemaVersion";
|
|
505
|
-
readonly db: "-";
|
|
506
|
-
readonly gorm: "-";
|
|
507
|
-
};
|
|
508
|
-
readonly default: "connections.meshery.io/v1beta1";
|
|
509
|
-
readonly type: "string";
|
|
510
|
-
readonly minLength: 2;
|
|
511
|
-
readonly maxLength: 100;
|
|
512
|
-
readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
|
|
513
|
-
readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
|
|
514
|
-
};
|
|
515
|
-
};
|
|
516
|
-
};
|
|
517
|
-
readonly registrantId: {
|
|
518
|
-
readonly description: "ID of the registrant.";
|
|
519
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
520
|
-
readonly yaml: "connection_id";
|
|
521
|
-
readonly json: "connection_id";
|
|
522
|
-
readonly gorm: "column:connection_id";
|
|
523
|
-
};
|
|
524
|
-
readonly "x-order": 8;
|
|
525
|
-
readonly type: "string";
|
|
526
|
-
readonly format: "uuid";
|
|
527
|
-
readonly "x-go-type": "uuid.UUID";
|
|
528
|
-
readonly "x-go-type-import": {
|
|
529
|
-
readonly path: "github.com/gofrs/uuid";
|
|
530
|
-
};
|
|
531
|
-
};
|
|
532
|
-
readonly categoryId: {
|
|
533
|
-
readonly description: "ID of the category.";
|
|
534
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
535
|
-
readonly yaml: "-";
|
|
536
|
-
readonly json: "-";
|
|
537
|
-
readonly gorm: "categoryID";
|
|
538
|
-
};
|
|
539
|
-
readonly "x-order": 8;
|
|
540
|
-
readonly type: "string";
|
|
541
|
-
readonly format: "uuid";
|
|
542
|
-
readonly "x-go-type": "uuid.UUID";
|
|
543
|
-
readonly "x-go-type-import": {
|
|
544
|
-
readonly path: "github.com/gofrs/uuid";
|
|
545
|
-
};
|
|
546
|
-
};
|
|
547
|
-
readonly category: {
|
|
548
|
-
readonly "x-order": 9;
|
|
549
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
550
|
-
readonly yaml: "category";
|
|
551
|
-
readonly json: "category";
|
|
552
|
-
readonly gorm: "foreignKey:CategoryId;references:Id";
|
|
553
|
-
};
|
|
554
|
-
readonly "x-go-type": "category.CategoryDefinition";
|
|
555
|
-
readonly "x-go-type-import": {
|
|
556
|
-
readonly path: "github.com/meshery/schemas/models/v1beta1/category";
|
|
557
|
-
};
|
|
558
|
-
readonly $id: "https://schemas.meshery.io/category.yaml";
|
|
559
|
-
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
560
|
-
readonly type: "object";
|
|
561
|
-
readonly description: "Category of the model.";
|
|
562
|
-
readonly required: readonly ["id", "name", "metadata"];
|
|
563
|
-
readonly properties: {
|
|
564
|
-
readonly id: {
|
|
565
|
-
readonly "x-order": 1;
|
|
566
|
-
readonly type: "string";
|
|
567
|
-
readonly format: "uuid";
|
|
568
|
-
readonly description: "A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.";
|
|
569
|
-
readonly "x-go-type": "uuid.UUID";
|
|
570
|
-
readonly "x-go-type-import": {
|
|
571
|
-
readonly path: "github.com/gofrs/uuid";
|
|
572
|
-
};
|
|
573
|
-
};
|
|
574
|
-
readonly name: {
|
|
575
|
-
readonly type: "string";
|
|
576
|
-
readonly minLength: 1;
|
|
577
|
-
readonly maxLength: 100;
|
|
578
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
579
|
-
readonly yaml: "name";
|
|
580
|
-
readonly json: "name";
|
|
581
|
-
readonly gorm: "name";
|
|
582
|
-
};
|
|
583
|
-
readonly default: "Uncategorized";
|
|
584
|
-
readonly description: "The category of the model that determines the main grouping.";
|
|
585
|
-
readonly enum: readonly ["Analytics", "App Definition and Development", "Cloud Native Network", "Cloud Native Storage", "Database", "Machine Learning", "Observability and Analysis", "Orchestration & Management", "Platform", "Provisioning", "Runtime", "Security & Compliance", "Serverless", "Tools", "Uncategorized"];
|
|
586
|
-
readonly "x-order": 2;
|
|
587
|
-
};
|
|
588
|
-
readonly metadata: {
|
|
589
|
-
readonly type: "object";
|
|
590
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
591
|
-
readonly yaml: "metadata,omitempty";
|
|
592
|
-
readonly json: "metadata,omitempty";
|
|
593
|
-
readonly gorm: "type:bytes;serializer:json";
|
|
594
|
-
};
|
|
595
|
-
readonly "x-order": 3;
|
|
596
|
-
};
|
|
597
|
-
};
|
|
598
|
-
};
|
|
599
|
-
readonly subCategory: {
|
|
600
|
-
readonly "x-order": 10;
|
|
601
|
-
readonly "x-go-type": "subcategory.SubCategoryDefinition";
|
|
602
|
-
readonly "x-go-type-import": {
|
|
603
|
-
readonly path: "github.com/meshery/schemas/models/v1beta1/subcategory";
|
|
604
|
-
};
|
|
605
|
-
readonly $id: "https://schemas.meshery.io/category.yaml";
|
|
606
|
-
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
607
|
-
readonly type: "string";
|
|
608
|
-
readonly title: "SubCategory";
|
|
609
|
-
readonly description: "Sub category of the model determines the secondary grouping.";
|
|
610
|
-
readonly default: "Uncategorized";
|
|
611
|
-
readonly enum: readonly ["API Gateway", "API Integration", "Application Definition & Image Build", "Automation & Configuration", "Certified Kubernetes - Distribution", "Chaos Engineering", "Cloud Native Storage", "Cloud Provider", "CNI", "Compute", "Container Registry", "Container Runtime", "Container Security", "Container", "Content Delivery Network", "Continuous Integration & Delivery", "Coordination & Service Discovery", "Database", "Flowchart", "Framework", "Installable Platform", "Key Management", "Key Management Service", "Kubernetes", "Logging", "Machine Learning", "Management Governance", "Metrics", "Monitoring", "Networking Content Delivery", "Operating System", "Query", "Remote Procedure Call", "Scheduling & Orchestration", "Secrets Management", "Security Identity & Compliance", "Service Mesh", "Service Proxy", "Source Version Control", "Storage", "Specifications", "Streaming & Messaging", "Tools", "Tracing", "Uncategorized", "Video Conferencing"];
|
|
612
|
-
readonly minLength: 1;
|
|
613
|
-
readonly maxLength: 100;
|
|
614
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
615
|
-
readonly yaml: "subCategory";
|
|
616
|
-
readonly json: "subCategory";
|
|
617
|
-
};
|
|
618
|
-
};
|
|
619
|
-
readonly metadata: {
|
|
620
|
-
readonly type: "object";
|
|
621
|
-
readonly description: "Metadata containing additional information associated with the model.";
|
|
622
|
-
readonly required: readonly ["svgWhite", "svgColor"];
|
|
623
|
-
readonly properties: {
|
|
624
|
-
readonly capabilities: {
|
|
625
|
-
readonly type: "array";
|
|
626
|
-
readonly description: "Capabilities associated with the model";
|
|
627
|
-
readonly items: {
|
|
628
|
-
readonly "x-go-type": "capability.Capability";
|
|
629
|
-
readonly "x-go-type-import": {
|
|
630
|
-
readonly path: "github.com/meshery/schemas/models/v1alpha1/capability";
|
|
631
|
-
};
|
|
632
|
-
readonly $id: "https://schemas.meshery.io/capability.yaml";
|
|
633
|
-
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
634
|
-
readonly description: "Meshery manages entities in accordance with their specific capabilities. This field explicitly identifies those capabilities largely by what actions a given component supports; e.g. metric-scrape, sub-interface, and so on. This field is extensible. Entities may define a broad array of capabilities, which are in-turn dynamically interpretted by Meshery for full lifecycle management.";
|
|
635
|
-
readonly additionalProperties: false;
|
|
636
|
-
readonly type: "object";
|
|
637
|
-
readonly required: readonly ["description", "schemaVersion", "version", "displayName", "kind", "type", "subType", "entityState", "key", "status"];
|
|
638
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
639
|
-
readonly gorm: "type:bytes;serializer:json";
|
|
640
|
-
};
|
|
641
|
-
readonly properties: {
|
|
642
|
-
readonly schemaVersion: {
|
|
643
|
-
readonly description: "Specifies the version of the schema to which the capability definition conforms.";
|
|
644
|
-
readonly type: "string";
|
|
645
|
-
readonly minLength: 2;
|
|
646
|
-
readonly maxLength: 100;
|
|
647
|
-
readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
|
|
648
|
-
readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
|
|
649
|
-
};
|
|
650
|
-
readonly version: {
|
|
651
|
-
readonly description: "Version of the capability definition.";
|
|
652
|
-
readonly type: "string";
|
|
653
|
-
readonly minLength: 5;
|
|
654
|
-
readonly maxLength: 100;
|
|
655
|
-
readonly pattern: "^[a-z0-9]+.[0-9]+.[0-9]+(-[0-9A-Za-z-]+(.[0-9A-Za-z-]+)*)?(\\+[0-9A-Za-z-]+(\\.[0-9A-Za-z-]+)*)?$";
|
|
656
|
-
};
|
|
657
|
-
readonly displayName: {
|
|
658
|
-
readonly description: "Name of the capability in human-readible format.";
|
|
659
|
-
readonly type: "string";
|
|
660
|
-
readonly pattern: "^[a-zA-Z_][a-zA-Z0-9_-]*[a-zA-Z0-9_]$";
|
|
661
|
-
};
|
|
662
|
-
readonly description: {
|
|
663
|
-
readonly type: "string";
|
|
664
|
-
readonly description: "A written representation of the purpose and characteristics of the capability.";
|
|
665
|
-
};
|
|
666
|
-
readonly kind: {
|
|
667
|
-
readonly description: "Top-level categorization of the capability";
|
|
668
|
-
readonly additionalProperties: false;
|
|
669
|
-
readonly anyOf: readonly [{
|
|
670
|
-
readonly const: "action";
|
|
671
|
-
readonly description: "For capabilities related to executing actions on entities. Example: initiate log streaming on a Pod. Example: initiate deployment of a component.";
|
|
672
|
-
}, {
|
|
673
|
-
readonly const: "mutate";
|
|
674
|
-
readonly description: "For capabilities related to mutating an entity. Example: the ability to change the configuration of a component.";
|
|
675
|
-
}, {
|
|
676
|
-
readonly const: "view";
|
|
677
|
-
readonly description: "For capabilities related to viewing an entity. Example: the ability to view a components configuration.";
|
|
678
|
-
}, {
|
|
679
|
-
readonly const: "interaction";
|
|
680
|
-
readonly description: "Catch all for capabilities related to interaction with entities. Example: the ability for a component to be dragged and dropped. Example: supports event bubbling to parent components. ";
|
|
681
|
-
}];
|
|
682
|
-
readonly type: "string";
|
|
683
|
-
readonly pattern: "^[a-zA-Z_][a-zA-Z0-9_-]*[a-zA-Z0-9_]$";
|
|
684
|
-
};
|
|
685
|
-
readonly type: {
|
|
686
|
-
readonly description: "Classification of capabilities. Used to group capabilities similar in nature.";
|
|
687
|
-
readonly type: "string";
|
|
688
|
-
readonly pattern: "^[a-zA-Z_][a-zA-Z0-9_-]*[a-zA-Z0-9_]$";
|
|
689
|
-
};
|
|
690
|
-
readonly subType: {
|
|
691
|
-
readonly description: "Most granular unit of capability classification. The combination of Kind, Type and SubType together uniquely identify a Capability.";
|
|
692
|
-
readonly type: "string";
|
|
693
|
-
readonly pattern: "^[a-zA-Z_][a-zA-Z0-9_-]*[a-zA-Z0-9_]$";
|
|
694
|
-
};
|
|
695
|
-
readonly key: {
|
|
696
|
-
readonly description: "Key that backs the capability.";
|
|
697
|
-
readonly type: "string";
|
|
698
|
-
readonly pattern: "^[a-zA-Z_][a-zA-Z0-9_-]*[a-zA-Z0-9_]$";
|
|
699
|
-
};
|
|
700
|
-
readonly entityState: {
|
|
701
|
-
readonly description: "State of the entity in which the capability is applicable.";
|
|
702
|
-
readonly type: "array";
|
|
703
|
-
readonly items: {
|
|
704
|
-
readonly type: "string";
|
|
705
|
-
readonly enum: readonly ["declaration", "instance"];
|
|
706
|
-
readonly pattern: "^[a-zA-Z_][a-zA-Z0-9_-]*[a-zA-Z0-9_]$";
|
|
707
|
-
readonly description: "A string starting with an alphanumeric character. Spaces and hyphens allowed.";
|
|
708
|
-
};
|
|
709
|
-
};
|
|
710
|
-
readonly status: {
|
|
711
|
-
readonly type: "string";
|
|
712
|
-
readonly description: "Status of the capability";
|
|
713
|
-
readonly default: "enabled";
|
|
714
|
-
readonly enum: readonly ["enabled", "disabled"];
|
|
715
|
-
};
|
|
716
|
-
readonly metadata: {
|
|
717
|
-
readonly type: "object";
|
|
718
|
-
readonly description: "Metadata contains additional information associated with the capability. Extension point.";
|
|
719
|
-
readonly additionalProperties: true;
|
|
720
|
-
};
|
|
721
|
-
};
|
|
722
|
-
readonly default: readonly [{
|
|
723
|
-
readonly description: "Configure the visual styles for the component";
|
|
724
|
-
readonly displayName: "Styling";
|
|
725
|
-
readonly entityState: readonly ["declaration"];
|
|
726
|
-
readonly key: "";
|
|
727
|
-
readonly kind: "mutate";
|
|
728
|
-
readonly schemaVersion: "capability.meshery.io/v1alpha1";
|
|
729
|
-
readonly status: "enabled";
|
|
730
|
-
readonly subType: "";
|
|
731
|
-
readonly type: "style";
|
|
732
|
-
readonly version: "0.7.0";
|
|
733
|
-
}, {
|
|
734
|
-
readonly description: "Change the shape of the component";
|
|
735
|
-
readonly displayName: "Change Shape";
|
|
736
|
-
readonly entityState: readonly ["declaration"];
|
|
737
|
-
readonly key: "";
|
|
738
|
-
readonly kind: "mutate";
|
|
739
|
-
readonly schemaVersion: "capability.meshery.io/v1alpha1";
|
|
740
|
-
readonly status: "enabled";
|
|
741
|
-
readonly subType: "shape";
|
|
742
|
-
readonly type: "style";
|
|
743
|
-
readonly version: "0.7.0";
|
|
744
|
-
}, {
|
|
745
|
-
readonly description: "Drag and Drop a component into a parent component in graph view";
|
|
746
|
-
readonly displayName: "Compound Drag And Drop";
|
|
747
|
-
readonly entityState: readonly ["declaration"];
|
|
748
|
-
readonly key: "";
|
|
749
|
-
readonly kind: "interaction";
|
|
750
|
-
readonly schemaVersion: "capability.meshery.io/v1alpha1";
|
|
751
|
-
readonly status: "enabled";
|
|
752
|
-
readonly subType: "compoundDnd";
|
|
753
|
-
readonly type: "graph";
|
|
754
|
-
readonly version: "0.7.0";
|
|
755
|
-
}, {
|
|
756
|
-
readonly description: "Add text to nodes body";
|
|
757
|
-
readonly displayName: "Body Text";
|
|
758
|
-
readonly entityState: readonly ["declaration"];
|
|
759
|
-
readonly key: "";
|
|
760
|
-
readonly kind: "mutate";
|
|
761
|
-
readonly schemaVersion: "capability.meshery.io/v1alpha1";
|
|
762
|
-
readonly status: "enabled";
|
|
763
|
-
readonly subType: "body-text";
|
|
764
|
-
readonly type: "style";
|
|
765
|
-
readonly version: "0.7.0";
|
|
766
|
-
}];
|
|
767
|
-
};
|
|
768
|
-
readonly "x-order": 1;
|
|
769
|
-
};
|
|
770
|
-
readonly isAnnotation: {
|
|
771
|
-
readonly type: "boolean";
|
|
772
|
-
readonly description: "Indicates whether the model and its entities should be treated as deployable entities or as logical representations.";
|
|
773
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
774
|
-
readonly yaml: "isAnnotation";
|
|
775
|
-
readonly json: "isAnnotation";
|
|
776
|
-
};
|
|
777
|
-
readonly "x-order": 2;
|
|
778
|
-
readonly default: false;
|
|
779
|
-
};
|
|
780
|
-
readonly primaryColor: {
|
|
781
|
-
readonly type: "string";
|
|
782
|
-
readonly description: "Primary color associated with the model.";
|
|
783
|
-
readonly minLength: 1;
|
|
784
|
-
readonly maxLength: 50;
|
|
785
|
-
readonly default: "#00b39f";
|
|
786
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
787
|
-
readonly yaml: "primaryColor";
|
|
788
|
-
readonly json: "primaryColor";
|
|
789
|
-
};
|
|
790
|
-
readonly "x-order": 3;
|
|
791
|
-
};
|
|
792
|
-
readonly secondaryColor: {
|
|
793
|
-
readonly type: "string";
|
|
794
|
-
readonly description: "Secondary color associated with the model.";
|
|
795
|
-
readonly minLength: 1;
|
|
796
|
-
readonly maxLength: 50;
|
|
797
|
-
readonly default: "#00D3A9";
|
|
798
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
799
|
-
readonly yaml: "secondaryColor";
|
|
800
|
-
readonly json: "secondaryColor";
|
|
801
|
-
};
|
|
802
|
-
readonly "x-order": 4;
|
|
803
|
-
};
|
|
804
|
-
readonly svgWhite: {
|
|
805
|
-
readonly type: "string";
|
|
806
|
-
readonly description: "SVG representation of the model in white color.";
|
|
807
|
-
readonly minLength: 1;
|
|
808
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
809
|
-
readonly yaml: "svgWhite";
|
|
810
|
-
readonly json: "svgWhite";
|
|
811
|
-
};
|
|
812
|
-
readonly "x-order": 5;
|
|
813
|
-
readonly default: "<svg width=\"32\" height=\"32\" viewBox=\"0 0 32 32\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M16.405 8.732v6.57l5.694-3.297-5.694-3.273Zm0 7.942v6.602l5.747-3.285-5.747-3.317Z\" fill=\"#fff\"/><path d=\"M15.586 15.256v-6.47l-5.622 3.225 5.622 3.245ZM4.307 23.252a13.809 13.809 0 0 0 4.362 4.39v-6.914l-4.362 2.524Zm11.279-.008v-6.52L9.95 19.985l5.636 3.258Z\" fill=\"#fff\" fill-opacity=\".8\"/><path d=\"m9.49 27.23 5.707-3.263-5.707-3.3v6.563Z\" fill=\"#fff\"/><path d=\"M22.54 27.265v-6.553l-5.699 3.259 5.7 3.294Zm5.58-4.773a13.697 13.697 0 0 0 1.612-5.895l-5.934 3.397 4.323 2.498Z\" fill=\"#fff\" fill-opacity=\".8\"/><path d=\"m23.362 19.298 5.728-3.276-5.728-3.291v6.567Z\" fill=\"#fff\"/><path d=\"M22.541 11.315V4.8l-5.673 3.253 5.673 3.262Zm0 7.955v-6.574l-5.685 3.292 5.685 3.281Z\" fill=\"#fff\" fill-opacity=\".8\"/><path d=\"M9.49 12.684v6.622l5.728-3.316-5.728-3.306Z\" fill=\"#fff\"/><path d=\"M15.586 2.25a13.69 13.69 0 0 0-6.037 1.595l6.037 3.463V2.25Z\" fill=\"#fff\" fill-opacity=\".8\"/><path d=\"M9.49 4.756v6.583l5.732-3.288L9.49 4.756Z\" fill=\"#fff\"/><path d=\"M8.669 4.356a13.83 13.83 0 0 0-4.362 4.39l4.362 2.518V4.356Z\" fill=\"#fff\" fill-opacity=\".8\"/><path d=\"M22.504 3.88a13.695 13.695 0 0 0-6.099-1.63v5.123l6.1-3.493ZM2.25 16.483c.071 2.12.634 4.196 1.644 6.062l4.418-2.559-6.062-3.503Zm1.644-7.028a13.68 13.68 0 0 0-1.644 6.036l6.068-3.482-4.424-2.554Z\" fill=\"#fff\"/><path d=\"M9.539 28.147a13.673 13.673 0 0 0 6.047 1.603v-5.062L9.54 28.147Z\" fill=\"#fff\" fill-opacity=\".8\"/><path d=\"M27.697 8.768a13.83 13.83 0 0 0-4.335-4.383v6.889l4.335-2.506ZM23.362 27.62a13.851 13.851 0 0 0 4.351-4.417l-4.351-2.514v6.93Z\" fill=\"#fff\"/><path d=\"M29.75 15.452a13.659 13.659 0 0 0-1.63-5.979l-4.381 2.53 6.011 3.45Z\" fill=\"#fff\" fill-opacity=\".8\"/><path d=\"M16.405 29.75a13.673 13.673 0 0 0 6.036-1.595l-6.036-3.498v5.093Z\" fill=\"#fff\"/><path d=\"M8.669 19.247v-6.494L3.03 15.986l5.639 3.261Z\" fill=\"#fff\" fill-opacity=\".8\"/></svg>";
|
|
814
|
-
};
|
|
815
|
-
readonly svgColor: {
|
|
816
|
-
readonly type: "string";
|
|
817
|
-
readonly description: "SVG representation of the model in colored format.";
|
|
818
|
-
readonly minLength: 1;
|
|
819
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
820
|
-
readonly yaml: "svgColor";
|
|
821
|
-
readonly json: "svgColor";
|
|
822
|
-
};
|
|
823
|
-
readonly "x-order": 6;
|
|
824
|
-
readonly default: "<svg xmlns=\"http://www.w3.org/2000/svg\" id=\"Layer_1\" data-name=\"Layer 1\" viewBox=\"0 0 134.95 135.02\"><defs><style>.cls-1{fill:#00d3a9}.cls-2{fill:#00b39f}</style></defs><title>meshery-logo-light</title><polygon points=\"69.49 31.82 69.49 64.07 97.44 47.89 69.49 31.82\" class=\"cls-1\"/><polygon points=\"69.49 70.81 69.49 103.22 97.7 87.09 69.49 70.81\" class=\"cls-1\"/><polygon points=\"65.47 63.85 65.47 32.09 37.87 47.92 65.47 63.85\" class=\"cls-2\"/><path d=\"M10.1,103.1a67.79,67.79,0,0,0,21.41,21.55V90.71Z\" class=\"cls-2\"/><polygon points=\"65.47 103.06 65.47 71.05 37.8 87.07 65.47 103.06\" class=\"cls-2\"/><polygon points=\"35.54 122.63 63.56 106.61 35.54 90.41 35.54 122.63\" class=\"cls-1\"/><polygon points=\"99.61 122.8 99.61 90.63 71.63 106.63 99.61 122.8\" class=\"cls-2\"/><path d=\"M127,99.37a67.22,67.22,0,0,0,7.91-28.94L105.78,87.11Z\" class=\"cls-2\"/><polygon points=\"103.64 83.69 131.76 67.61 103.64 51.45 103.64 83.69\" class=\"cls-1\"/><polygon points=\"99.61 44.5 99.61 12.52 71.76 28.49 99.61 44.5\" class=\"cls-2\"/><polygon points=\"99.61 83.55 99.61 51.28 71.7 67.44 99.61 83.55\" class=\"cls-2\"/><polygon points=\"67.48 135.02 67.49 135.02 67.48 135.02 67.48 135.02\" class=\"cls-2\"/><polygon points=\"35.54 51.22 35.54 83.73 63.66 67.45 35.54 51.22\" class=\"cls-1\"/><path d=\"M65.47,0A67.2,67.2,0,0,0,35.83,7.83l29.64,17Z\" class=\"cls-2\"/><polygon points=\"35.54 12.3 35.54 44.62 63.68 28.48 35.54 12.3\" class=\"cls-1\"/><path d=\"M31.51,10.34A67.89,67.89,0,0,0,10.1,31.89L31.51,44.25Z\" class=\"cls-2\"/><path d=\"M99.43,8A67.23,67.23,0,0,0,69.49,0V25.15Z\" class=\"cls-1\"/><path d=\"M0,69.87A67.27,67.27,0,0,0,8.07,99.63L29.76,87.07Z\" class=\"cls-1\"/><path d=\"M8.07,35.37A67.16,67.16,0,0,0,0,65L29.79,47.91Z\" class=\"cls-1\"/><path d=\"M35.78,127.13A67.13,67.13,0,0,0,65.47,135V110.15Z\" class=\"cls-2\"/><path d=\"M124.92,32a67.9,67.9,0,0,0-21.28-21.52V44.3Z\" class=\"cls-1\"/><path d=\"M103.64,124.54A68,68,0,0,0,125,102.86L103.64,90.52Z\" class=\"cls-1\"/><path d=\"M135,64.81a67.06,67.06,0,0,0-8-29.35L105.49,47.88Z\" class=\"cls-2\"/><path d=\"M69.49,135a67.12,67.12,0,0,0,29.63-7.83L69.49,110Z\" class=\"cls-1\"/><polygon points=\"31.51 83.44 31.51 51.56 3.83 67.43 31.51 83.44\" class=\"cls-2\"/></svg>";
|
|
825
|
-
};
|
|
826
|
-
readonly svgComplete: {
|
|
827
|
-
readonly type: "string";
|
|
828
|
-
readonly description: "SVG representation of the complete model.";
|
|
829
|
-
readonly minLength: 1;
|
|
830
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
831
|
-
readonly yaml: "svgComplete";
|
|
832
|
-
readonly json: "svgComplete";
|
|
833
|
-
};
|
|
834
|
-
readonly "x-order": 7;
|
|
835
|
-
};
|
|
836
|
-
readonly shape: {
|
|
837
|
-
readonly "x-order": 8;
|
|
838
|
-
readonly type: "string";
|
|
839
|
-
readonly description: "The shape of the node's body. Note that each shape fits within the specified width and height, and so you may have to adjust width and height if you desire an equilateral shape (i.e. width !== height for several equilateral shapes)";
|
|
840
|
-
readonly enum: readonly ["ellipse", "triangle", "round-triangle", "rectangle", "round-rectangle", "bottom-round-rectangle", "cut-rectangle", "barrel", "rhomboid", "diamond", "round-diamond", "pentagon", "round-pentagon", "hexagon", "round-hexagon", "concave-hexagon", "heptagon", "round-heptagon", "octagon", "round-octagon", "star", "tag", "round-tag", "vee", "polygon"];
|
|
841
|
-
};
|
|
842
|
-
};
|
|
843
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
844
|
-
readonly gorm: "type:bytes;serializer:json";
|
|
845
|
-
readonly json: "metadata";
|
|
846
|
-
readonly yaml: "metadata";
|
|
847
|
-
};
|
|
848
|
-
readonly "x-order": 11;
|
|
849
|
-
readonly additionalProperties: true;
|
|
850
|
-
};
|
|
851
|
-
readonly model: {
|
|
852
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
853
|
-
readonly gorm: "type:bytes;serializer:json";
|
|
854
|
-
};
|
|
855
|
-
readonly "x-order": 12;
|
|
856
|
-
readonly type: "object";
|
|
857
|
-
readonly description: "Registrant-defined data associated with the model. Properties pertain to the software being managed (e.g. Kubernetes v1.31).";
|
|
858
|
-
readonly required: readonly ["version"];
|
|
859
|
-
readonly properties: {
|
|
860
|
-
readonly version: {
|
|
861
|
-
readonly description: "Version of the model as defined by the registrant.";
|
|
862
|
-
readonly allOf: readonly [{
|
|
863
|
-
readonly type: "string";
|
|
864
|
-
readonly minLength: 5;
|
|
865
|
-
readonly maxLength: 100;
|
|
866
|
-
readonly pattern: "^[a-z0-9]+.[0-9]+.[0-9]+(-[0-9A-Za-z-]+(.[0-9A-Za-z-]+)*)?(\\+[0-9A-Za-z-]+(\\.[0-9A-Za-z-]+)*)?$";
|
|
867
|
-
readonly description: "A valid semantic version string between 5 and 256 characters. The pattern allows for a major.minor.patch version followed by an optional pre-release tag like '-alpha' or '-beta.2' and an optional build metadata tag like '+build.1.";
|
|
868
|
-
}];
|
|
869
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
870
|
-
readonly yaml: "version";
|
|
871
|
-
readonly json: "version";
|
|
872
|
-
};
|
|
873
|
-
readonly "x-order": 1;
|
|
874
|
-
};
|
|
875
|
-
};
|
|
876
|
-
};
|
|
877
|
-
readonly relationships: {
|
|
878
|
-
readonly type: "array";
|
|
879
|
-
readonly "x-go-type": "interface{}";
|
|
880
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
881
|
-
readonly gorm: "-";
|
|
882
|
-
readonly json: "relationships";
|
|
883
|
-
readonly yaml: "relationships";
|
|
884
|
-
};
|
|
885
|
-
};
|
|
886
|
-
readonly components: {
|
|
887
|
-
readonly type: "array";
|
|
888
|
-
readonly "x-go-type": "interface{}";
|
|
889
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
890
|
-
readonly gorm: "-";
|
|
891
|
-
readonly json: "components";
|
|
892
|
-
readonly yaml: "components";
|
|
893
|
-
};
|
|
894
|
-
};
|
|
895
|
-
readonly componentsCount: {
|
|
896
|
-
readonly type: "integer";
|
|
897
|
-
readonly description: "Number of components associated with the model.";
|
|
898
|
-
readonly "x-order": 13;
|
|
899
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
900
|
-
readonly json: "components_count";
|
|
901
|
-
readonly yaml: "components_count";
|
|
902
|
-
readonly gorm: "-";
|
|
903
|
-
};
|
|
904
|
-
readonly default: 0;
|
|
905
|
-
};
|
|
906
|
-
readonly relationshipsCount: {
|
|
907
|
-
readonly type: "integer";
|
|
908
|
-
readonly description: "Number of relationships associated with the model.";
|
|
909
|
-
readonly "x-order": 13;
|
|
910
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
911
|
-
readonly gorm: "-";
|
|
912
|
-
readonly json: "relationships_count";
|
|
913
|
-
readonly yaml: "relationships_count";
|
|
914
|
-
};
|
|
915
|
-
readonly default: 0;
|
|
916
|
-
};
|
|
917
|
-
readonly created_at: {
|
|
918
|
-
readonly "x-order": 14;
|
|
919
|
-
readonly description: "Timestamp when the resource was created.";
|
|
920
|
-
readonly "x-go-type": "time.Time";
|
|
921
|
-
readonly type: "string";
|
|
922
|
-
readonly format: "date-time";
|
|
923
|
-
readonly "x-go-name": "CreatedAt";
|
|
924
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
925
|
-
readonly db: "created_at";
|
|
926
|
-
readonly yaml: "created_at";
|
|
927
|
-
};
|
|
928
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
929
|
-
};
|
|
930
|
-
readonly updated_at: {
|
|
931
|
-
readonly "x-order": 15;
|
|
932
|
-
readonly description: "Timestamp when the resource was updated.";
|
|
933
|
-
readonly "x-go-type": "time.Time";
|
|
934
|
-
readonly type: "string";
|
|
935
|
-
readonly format: "date-time";
|
|
936
|
-
readonly "x-go-name": "UpdatedAt";
|
|
937
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
938
|
-
readonly db: "updated_at";
|
|
939
|
-
readonly yaml: "updated_at";
|
|
940
|
-
};
|
|
941
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
942
|
-
};
|
|
943
|
-
};
|
|
944
|
-
readonly required: readonly ["id", "schemaVersion", "displayName", "status", "subCategory", "model", "name", "description", "version", "registrant", "category", "categoryId", "registrantId", "relationshipsCount", "componentsCount", "components", "relationships"];
|
|
945
|
-
};
|
|
946
|
-
readonly modelReference: {
|
|
947
|
-
readonly "x-go-type": "model.ModelReference";
|
|
948
|
-
readonly "x-go-type-import": {
|
|
949
|
-
readonly path: "github.com/meshery/schemas/models/v1beta1/model";
|
|
950
|
-
};
|
|
951
|
-
readonly "x-order": 8;
|
|
952
|
-
readonly description: "Reference to the specific registered model to which the component belongs and from which model version, category, and other properties may be referenced. Learn more at https://docs.meshery.io/concepts/models";
|
|
953
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
954
|
-
readonly gorm: "-";
|
|
955
|
-
};
|
|
956
|
-
readonly type: "object";
|
|
957
|
-
readonly required: readonly ["id", "name", "version", "displayName", "model", "registrant"];
|
|
958
|
-
readonly properties: {
|
|
959
|
-
readonly id: {
|
|
960
|
-
readonly type: "string";
|
|
961
|
-
readonly format: "uuid";
|
|
962
|
-
readonly description: "A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.";
|
|
963
|
-
readonly "x-go-type": "uuid.UUID";
|
|
964
|
-
readonly "x-go-type-import": {
|
|
965
|
-
readonly path: "github.com/gofrs/uuid";
|
|
966
|
-
};
|
|
967
|
-
};
|
|
968
|
-
readonly name: {
|
|
969
|
-
readonly type: "string";
|
|
970
|
-
readonly description: "The unique name for the model within the scope of a registrant.";
|
|
971
|
-
readonly helperText: "Model name should be in lowercase with hyphens, not whitespaces.";
|
|
972
|
-
readonly pattern: "^[a-z0-9-]+$";
|
|
973
|
-
readonly examples: readonly ["cert-manager"];
|
|
974
|
-
readonly "x-order": 4;
|
|
975
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
976
|
-
readonly yaml: "name";
|
|
977
|
-
readonly json: "name";
|
|
978
|
-
};
|
|
979
|
-
readonly default: "untitled-model";
|
|
980
|
-
};
|
|
981
|
-
readonly version: {
|
|
982
|
-
readonly description: "Version of the model definition.";
|
|
983
|
-
readonly type: "string";
|
|
984
|
-
readonly "x-order": 3;
|
|
985
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
986
|
-
readonly yaml: "version";
|
|
987
|
-
readonly json: "version";
|
|
988
|
-
};
|
|
989
|
-
readonly minLength: 5;
|
|
990
|
-
readonly maxLength: 100;
|
|
991
|
-
readonly pattern: "^[a-z0-9]+.[0-9]+.[0-9]+(-[0-9A-Za-z-]+(.[0-9A-Za-z-]+)*)?(\\+[0-9A-Za-z-]+(\\.[0-9A-Za-z-]+)*)?$";
|
|
992
|
-
};
|
|
993
|
-
readonly displayName: {
|
|
994
|
-
readonly description: "Human-readable name for the model.";
|
|
995
|
-
readonly helperText: "Model display name may include letters, numbers, and spaces. Special characters are not allowed.";
|
|
996
|
-
readonly minLength: 1;
|
|
997
|
-
readonly maxLength: 100;
|
|
998
|
-
readonly type: "string";
|
|
999
|
-
readonly pattern: "^[a-zA-Z0-9 ]+$";
|
|
1000
|
-
readonly examples: readonly ["Cert Manager"];
|
|
1001
|
-
readonly "x-order": 5;
|
|
1002
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
1003
|
-
readonly yaml: "displayName";
|
|
1004
|
-
readonly json: "displayName";
|
|
1005
|
-
};
|
|
1006
|
-
readonly default: "Untitled Model";
|
|
1007
|
-
};
|
|
1008
|
-
readonly model: {
|
|
1009
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
1010
|
-
readonly gorm: "type:bytes;serializer:json";
|
|
1011
|
-
};
|
|
1012
|
-
readonly "x-order": 12;
|
|
1013
|
-
readonly type: "object";
|
|
1014
|
-
readonly description: "Registrant-defined data associated with the model. Properties pertain to the software being managed (e.g. Kubernetes v1.31).";
|
|
1015
|
-
readonly required: readonly ["version"];
|
|
1016
|
-
readonly properties: {
|
|
1017
|
-
readonly version: {
|
|
1018
|
-
readonly description: "Version of the model as defined by the registrant.";
|
|
1019
|
-
readonly allOf: readonly [{
|
|
1020
|
-
readonly type: "string";
|
|
1021
|
-
readonly minLength: 5;
|
|
1022
|
-
readonly maxLength: 100;
|
|
1023
|
-
readonly pattern: "^[a-z0-9]+.[0-9]+.[0-9]+(-[0-9A-Za-z-]+(.[0-9A-Za-z-]+)*)?(\\+[0-9A-Za-z-]+(\\.[0-9A-Za-z-]+)*)?$";
|
|
1024
|
-
readonly description: "A valid semantic version string between 5 and 256 characters. The pattern allows for a major.minor.patch version followed by an optional pre-release tag like '-alpha' or '-beta.2' and an optional build metadata tag like '+build.1.";
|
|
1025
|
-
}];
|
|
1026
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
1027
|
-
readonly yaml: "version";
|
|
1028
|
-
readonly json: "version";
|
|
1029
|
-
};
|
|
1030
|
-
readonly "x-order": 1;
|
|
1031
|
-
};
|
|
1032
|
-
};
|
|
1033
|
-
};
|
|
1034
|
-
readonly registrant: {
|
|
1035
|
-
readonly "x-go-type": "RegistrantReference";
|
|
1036
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
1037
|
-
readonly yaml: "registrant";
|
|
1038
|
-
readonly json: "registrant";
|
|
1039
|
-
};
|
|
1040
|
-
readonly type: "object";
|
|
1041
|
-
readonly required: readonly ["kind"];
|
|
1042
|
-
readonly properties: {
|
|
1043
|
-
readonly kind: {
|
|
1044
|
-
readonly type: "string";
|
|
1045
|
-
};
|
|
1046
|
-
};
|
|
1047
|
-
};
|
|
1048
|
-
};
|
|
1049
|
-
};
|
|
1050
|
-
readonly modelId: {
|
|
1051
|
-
readonly type: "string";
|
|
1052
|
-
readonly format: "uuid";
|
|
1053
|
-
readonly description: "A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.";
|
|
1054
|
-
readonly "x-go-type": "uuid.UUID";
|
|
1055
|
-
readonly "x-go-type-import": {
|
|
1056
|
-
readonly path: "github.com/gofrs/uuid";
|
|
1057
|
-
};
|
|
1058
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
1059
|
-
readonly gorm: "index:idx_component_definition_dbs_model_id,column:model_id";
|
|
1060
|
-
readonly yaml: "-";
|
|
1061
|
-
readonly json: "-";
|
|
1062
|
-
};
|
|
1063
|
-
};
|
|
1064
|
-
readonly styles: {
|
|
1065
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
1066
|
-
readonly gorm: "type:bytes;serializer:json";
|
|
1067
|
-
readonly yaml: "styles";
|
|
1068
|
-
readonly json: "styles";
|
|
1069
|
-
};
|
|
1070
|
-
readonly "x-go-type": "core.ComponentStyles";
|
|
1071
|
-
readonly "x-go-type-import": {
|
|
1072
|
-
readonly path: "github.com/meshery/schemas/models/v1alpha1/core";
|
|
1073
|
-
};
|
|
1074
|
-
readonly "x-order": 8;
|
|
1075
|
-
readonly type: "object";
|
|
1076
|
-
readonly description: "Visualization styles for a component";
|
|
1077
|
-
readonly required: readonly ["shape", "primaryColor", "svgColor", "svgWhite", "svgComplete"];
|
|
1078
|
-
readonly allOf: readonly [{
|
|
1079
|
-
readonly type: "object";
|
|
1080
|
-
readonly description: "Common styles for all entities";
|
|
1081
|
-
readonly additionalProperties: true;
|
|
1082
|
-
readonly required: readonly ["primaryColor", "svgColor", "svgWhite", "svgComplete"];
|
|
1083
|
-
readonly properties: {
|
|
1084
|
-
readonly primaryColor: {
|
|
1085
|
-
readonly type: "string";
|
|
1086
|
-
readonly description: "Primary color of the component used for UI representation.";
|
|
1087
|
-
};
|
|
1088
|
-
readonly secondaryColor: {
|
|
1089
|
-
readonly type: "string";
|
|
1090
|
-
readonly description: "Secondary color of the entity used for UI representation.";
|
|
1091
|
-
};
|
|
1092
|
-
readonly svgWhite: {
|
|
1093
|
-
readonly type: "string";
|
|
1094
|
-
readonly description: "White SVG of the entity used for UI representation on dark background.";
|
|
1095
|
-
};
|
|
1096
|
-
readonly svgColor: {
|
|
1097
|
-
readonly type: "string";
|
|
1098
|
-
readonly description: "Colored SVG of the entity used for UI representation on light background.";
|
|
1099
|
-
};
|
|
1100
|
-
readonly svgComplete: {
|
|
1101
|
-
readonly type: "string";
|
|
1102
|
-
readonly description: "Complete SVG of the entity used for UI representation, often inclusive of background.";
|
|
1103
|
-
};
|
|
1104
|
-
readonly color: {
|
|
1105
|
-
readonly type: "string";
|
|
1106
|
-
readonly description: "The color of the element's label. Colours may be specified by name (e.g. red), hex (e.g.";
|
|
1107
|
-
};
|
|
1108
|
-
readonly "text-opacity": {
|
|
1109
|
-
readonly type: "number";
|
|
1110
|
-
readonly description: "The opacity of the label text, including its outline.";
|
|
1111
|
-
readonly minimum: 0;
|
|
1112
|
-
readonly maximum: 1;
|
|
1113
|
-
};
|
|
1114
|
-
readonly "font-family": {
|
|
1115
|
-
readonly type: "string";
|
|
1116
|
-
readonly description: "A comma-separated list of font names to use on the label text.";
|
|
1117
|
-
};
|
|
1118
|
-
readonly "font-size": {
|
|
1119
|
-
readonly type: "string";
|
|
1120
|
-
readonly description: "The size of the label text.";
|
|
1121
|
-
};
|
|
1122
|
-
readonly "font-style": {
|
|
1123
|
-
readonly type: "string";
|
|
1124
|
-
readonly description: "A CSS font style to be applied to the label text.";
|
|
1125
|
-
};
|
|
1126
|
-
readonly "font-weight": {
|
|
1127
|
-
readonly type: "string";
|
|
1128
|
-
readonly description: "A CSS font weight to be applied to the label text.";
|
|
1129
|
-
};
|
|
1130
|
-
readonly "text-transform": {
|
|
1131
|
-
readonly type: "string";
|
|
1132
|
-
readonly description: "A transformation to apply to the label text";
|
|
1133
|
-
readonly enum: readonly ["none", "uppercase", "lowercase"];
|
|
1134
|
-
};
|
|
1135
|
-
readonly opacity: {
|
|
1136
|
-
readonly type: "number";
|
|
1137
|
-
readonly description: "The opacity of the element, ranging from 0 to 1. Note that the opacity of a compound node parent affects the effective opacity of its children.";
|
|
1138
|
-
readonly minimum: 0;
|
|
1139
|
-
readonly maximum: 1;
|
|
1140
|
-
};
|
|
1141
|
-
readonly "z-index": {
|
|
1142
|
-
readonly type: "integer";
|
|
1143
|
-
readonly description: "An integer value that affects the relative draw order of elements. In general, an element with a higher z-index will be drawn on top of an element with a lower z-index. Note that edges are under nodes despite z-index.";
|
|
1144
|
-
};
|
|
1145
|
-
readonly label: {
|
|
1146
|
-
readonly type: "string";
|
|
1147
|
-
readonly description: "The text to display for an element's label. Can give a path, e.g. data(id) will label with the elements id";
|
|
1148
|
-
};
|
|
1149
|
-
readonly animation: {
|
|
1150
|
-
readonly type: "object";
|
|
1151
|
-
readonly description: "The animation to apply to the element. example ripple,bounce,etc";
|
|
1152
|
-
};
|
|
1153
|
-
};
|
|
1154
|
-
}, {
|
|
1155
|
-
readonly type: "object";
|
|
1156
|
-
readonly properties: {
|
|
1157
|
-
readonly shape: {
|
|
1158
|
-
readonly type: "string";
|
|
1159
|
-
readonly description: "The shape of the node's body. Note that each shape fits within the specified width and height, and so you may have to adjust width and height if you desire an equilateral shape (i.e. width !== height for several equilateral shapes)";
|
|
1160
|
-
readonly enum: readonly ["ellipse", "triangle", "round-triangle", "rectangle", "round-rectangle", "bottom-round-rectangle", "cut-rectangle", "barrel", "rhomboid", "diamond", "round-diamond", "pentagon", "round-pentagon", "hexagon", "round-hexagon", "concave-hexagon", "heptagon", "round-heptagon", "octagon", "round-octagon", "star", "tag", "round-tag", "vee", "polygon"];
|
|
1161
|
-
};
|
|
1162
|
-
readonly position: {
|
|
1163
|
-
readonly type: "object";
|
|
1164
|
-
readonly additionalProperties: false;
|
|
1165
|
-
readonly required: readonly ["x", "y"];
|
|
1166
|
-
readonly description: "The position of the node. If the position is set, the node is drawn at that position in the given dimensions. If the position is not set, the node is drawn at a random position.";
|
|
1167
|
-
readonly properties: {
|
|
1168
|
-
readonly x: {
|
|
1169
|
-
readonly type: "number";
|
|
1170
|
-
readonly description: "The x-coordinate of the node.";
|
|
1171
|
-
readonly "x-go-type": "float64";
|
|
1172
|
-
};
|
|
1173
|
-
readonly y: {
|
|
1174
|
-
readonly type: "number";
|
|
1175
|
-
readonly description: "The y-coordinate of the node.";
|
|
1176
|
-
readonly "x-go-type": "float64";
|
|
1177
|
-
};
|
|
1178
|
-
};
|
|
1179
|
-
};
|
|
1180
|
-
readonly "body-text": {
|
|
1181
|
-
readonly type: "string";
|
|
1182
|
-
readonly description: "The text to display for an element's body. Can give a path, e.g. data(id) will label with the elements id";
|
|
1183
|
-
};
|
|
1184
|
-
readonly "body-text-wrap": {
|
|
1185
|
-
readonly type: "string";
|
|
1186
|
-
readonly description: "How to wrap the text in the node. Can be 'none', 'wrap', or 'ellipsis'.";
|
|
1187
|
-
};
|
|
1188
|
-
readonly "body-text-max-width": {
|
|
1189
|
-
readonly type: "string";
|
|
1190
|
-
readonly description: "The maximum width for wrapping text in the node.";
|
|
1191
|
-
};
|
|
1192
|
-
readonly "body-text-opacity": {
|
|
1193
|
-
readonly type: "number";
|
|
1194
|
-
readonly description: "The opacity of the node's body text, including its outline.";
|
|
1195
|
-
readonly minimum: 0;
|
|
1196
|
-
readonly maximum: 1;
|
|
1197
|
-
};
|
|
1198
|
-
readonly "body-text-background-color": {
|
|
1199
|
-
readonly type: "string";
|
|
1200
|
-
readonly description: "The colour of the node's body text background. Colours may be specified by name (e.g. red), hex (e.g.";
|
|
1201
|
-
};
|
|
1202
|
-
readonly "body-text-font-size": {
|
|
1203
|
-
readonly type: "number";
|
|
1204
|
-
readonly description: "The size of the node's body text.";
|
|
1205
|
-
};
|
|
1206
|
-
readonly "body-text-color": {
|
|
1207
|
-
readonly type: "string";
|
|
1208
|
-
readonly description: "The colour of the node's body text. Colours may be specified by name (e.g. red), hex (e.g.";
|
|
1209
|
-
};
|
|
1210
|
-
readonly "body-text-font-weight": {
|
|
1211
|
-
readonly type: "string";
|
|
1212
|
-
readonly description: "A CSS font weight to be applied to the node's body text.";
|
|
1213
|
-
};
|
|
1214
|
-
readonly "body-text-horizontal-align": {
|
|
1215
|
-
readonly type: "string";
|
|
1216
|
-
readonly description: "A CSS horizontal alignment to be applied to the node's body text.";
|
|
1217
|
-
};
|
|
1218
|
-
readonly "body-text-decoration": {
|
|
1219
|
-
readonly type: "string";
|
|
1220
|
-
readonly description: "A CSS text decoration to be applied to the node's body text.";
|
|
1221
|
-
};
|
|
1222
|
-
readonly "body-text-vertical-align": {
|
|
1223
|
-
readonly type: "string";
|
|
1224
|
-
readonly description: "A CSS vertical alignment to be applied to the node's body text.";
|
|
1225
|
-
};
|
|
1226
|
-
readonly width: {
|
|
1227
|
-
readonly type: "number";
|
|
1228
|
-
readonly description: "The width of the node's body or the width of an edge's line.";
|
|
1229
|
-
};
|
|
1230
|
-
readonly height: {
|
|
1231
|
-
readonly type: "number";
|
|
1232
|
-
readonly description: "The height of the node's body";
|
|
1233
|
-
};
|
|
1234
|
-
readonly "background-image": {
|
|
1235
|
-
readonly type: "string";
|
|
1236
|
-
readonly description: "The URL that points to the image to show in the node.";
|
|
1237
|
-
};
|
|
1238
|
-
readonly "background-color": {
|
|
1239
|
-
readonly type: "string";
|
|
1240
|
-
readonly description: "The colour of the node's body. Colours may be specified by name (e.g. red), hex (e.g.";
|
|
1241
|
-
};
|
|
1242
|
-
readonly "background-blacken": {
|
|
1243
|
-
readonly type: "number";
|
|
1244
|
-
readonly description: "Blackens the node's body for values from 0 to 1; whitens the node's body for values from 0 to -1.";
|
|
1245
|
-
readonly maximum: 1;
|
|
1246
|
-
readonly minimum: -1;
|
|
1247
|
-
};
|
|
1248
|
-
readonly "background-opacity": {
|
|
1249
|
-
readonly type: "number";
|
|
1250
|
-
readonly description: "The opacity level of the node's background colour";
|
|
1251
|
-
readonly maximum: 1;
|
|
1252
|
-
readonly minimum: 0;
|
|
1253
|
-
};
|
|
1254
|
-
readonly "background-position-x": {
|
|
1255
|
-
readonly type: "string";
|
|
1256
|
-
readonly description: "The x position of the background image, measured in percent (e.g. 50%) or pixels (e.g. 10px)";
|
|
1257
|
-
};
|
|
1258
|
-
readonly "background-position-y": {
|
|
1259
|
-
readonly type: "string";
|
|
1260
|
-
readonly description: "The y position of the background image, measured in percent (e.g. 50%) or pixels (e.g. 10px)";
|
|
1261
|
-
};
|
|
1262
|
-
readonly "background-offset-x": {
|
|
1263
|
-
readonly type: "string";
|
|
1264
|
-
readonly description: "The x offset of the background image, measured in percent (e.g. 50%) or pixels (e.g. 10px)";
|
|
1265
|
-
};
|
|
1266
|
-
readonly "background-offset-y": {
|
|
1267
|
-
readonly type: "string";
|
|
1268
|
-
readonly description: "The y offset of the background image, measured in percent (e.g. 50%) or pixels (e.g. 10px)";
|
|
1269
|
-
};
|
|
1270
|
-
readonly "background-fit": {
|
|
1271
|
-
readonly type: "string";
|
|
1272
|
-
readonly description: "How the background image is fit to the node. Can be 'none', 'contain', or 'cover'.";
|
|
1273
|
-
};
|
|
1274
|
-
readonly "background-clip": {
|
|
1275
|
-
readonly type: "string";
|
|
1276
|
-
readonly description: "How the background image is clipped to the node. Can be 'none', 'node', or 'node-border'.";
|
|
1277
|
-
};
|
|
1278
|
-
readonly "background-width-relative-to": {
|
|
1279
|
-
readonly type: "string";
|
|
1280
|
-
readonly description: "How the background image's width is determined. Can be 'none', 'inner', or 'outer'.";
|
|
1281
|
-
};
|
|
1282
|
-
readonly "background-height-relative-to": {
|
|
1283
|
-
readonly type: "string";
|
|
1284
|
-
readonly description: "How the background image's height is determined. Can be 'none', 'inner', or 'outer'.";
|
|
1285
|
-
};
|
|
1286
|
-
readonly "border-width": {
|
|
1287
|
-
readonly type: "number";
|
|
1288
|
-
readonly description: "The size of the node's border.";
|
|
1289
|
-
readonly minimum: 0;
|
|
1290
|
-
};
|
|
1291
|
-
readonly "border-style": {
|
|
1292
|
-
readonly type: "string";
|
|
1293
|
-
readonly description: "The style of the node's border";
|
|
1294
|
-
readonly enum: readonly ["solid", "dotted", "dashed", "double"];
|
|
1295
|
-
};
|
|
1296
|
-
readonly "border-color": {
|
|
1297
|
-
readonly type: "string";
|
|
1298
|
-
readonly description: "The colour of the node's border. Colours may be specified by name (e.g. red), hex (e.g.";
|
|
1299
|
-
};
|
|
1300
|
-
readonly "border-opacity": {
|
|
1301
|
-
readonly type: "number";
|
|
1302
|
-
readonly description: "The opacity of the node's border";
|
|
1303
|
-
readonly minimum: 0;
|
|
1304
|
-
readonly maximum: 1;
|
|
1305
|
-
};
|
|
1306
|
-
readonly padding: {
|
|
1307
|
-
readonly type: "number";
|
|
1308
|
-
readonly description: "The amount of padding around all sides of the node.";
|
|
1309
|
-
readonly minimum: 0;
|
|
1310
|
-
};
|
|
1311
|
-
readonly "text-halign": {
|
|
1312
|
-
readonly type: "string";
|
|
1313
|
-
readonly description: "The horizontal alignment of a node's label";
|
|
1314
|
-
readonly enum: readonly ["left", "center", "right"];
|
|
1315
|
-
};
|
|
1316
|
-
readonly "text-valign": {
|
|
1317
|
-
readonly type: "string";
|
|
1318
|
-
readonly description: "The vertical alignment of a node's label";
|
|
1319
|
-
readonly enum: readonly ["top", "center", "bottom"];
|
|
1320
|
-
};
|
|
1321
|
-
readonly ghost: {
|
|
1322
|
-
readonly type: "string";
|
|
1323
|
-
readonly description: "Whether to use the ghost effect, a semitransparent duplicate of the element drawn at an offset.";
|
|
1324
|
-
readonly default: "no";
|
|
1325
|
-
readonly enum: readonly ["yes", "no"];
|
|
1326
|
-
};
|
|
1327
|
-
readonly "active-bg-color": {
|
|
1328
|
-
readonly type: "string";
|
|
1329
|
-
readonly description: "The colour of the indicator shown when the background is grabbed by the user. Selector needs to be *core*. Colours may be specified by name (e.g. red), hex (e.g.";
|
|
1330
|
-
};
|
|
1331
|
-
readonly "active-bg-opacity": {
|
|
1332
|
-
readonly type: "string";
|
|
1333
|
-
readonly description: "The opacity of the active background indicator. Selector needs to be *core*.";
|
|
1334
|
-
};
|
|
1335
|
-
readonly "active-bg-size": {
|
|
1336
|
-
readonly type: "string";
|
|
1337
|
-
readonly description: "The opacity of the active background indicator. Selector needs to be *core*.";
|
|
1338
|
-
};
|
|
1339
|
-
readonly "selection-box-color": {
|
|
1340
|
-
readonly type: "string";
|
|
1341
|
-
readonly description: "The background colour of the selection box used for drag selection. Selector needs to be *core*. Colours may be specified by name (e.g. red), hex (e.g.";
|
|
1342
|
-
};
|
|
1343
|
-
readonly "selection-box-border-width": {
|
|
1344
|
-
readonly type: "number";
|
|
1345
|
-
readonly description: "The size of the border on the selection box. Selector needs to be *core*";
|
|
1346
|
-
};
|
|
1347
|
-
readonly "selection-box-opacity": {
|
|
1348
|
-
readonly type: "number";
|
|
1349
|
-
readonly description: "The opacity of the selection box. Selector needs to be *core*";
|
|
1350
|
-
readonly minimum: 0;
|
|
1351
|
-
readonly maximum: 1;
|
|
1352
|
-
};
|
|
1353
|
-
readonly "outside-texture-bg-color": {
|
|
1354
|
-
readonly type: "string";
|
|
1355
|
-
readonly description: "The colour of the area outside the viewport texture when initOptions.textureOnViewport === true. Selector needs to be *core*. Colours may be specified by name (e.g. red), hex (e.g.";
|
|
1356
|
-
};
|
|
1357
|
-
readonly "outside-texture-bg-opacity": {
|
|
1358
|
-
readonly type: "number";
|
|
1359
|
-
readonly description: "The opacity of the area outside the viewport texture. Selector needs to be *core*";
|
|
1360
|
-
readonly minimum: 0;
|
|
1361
|
-
readonly maximum: 1;
|
|
1362
|
-
};
|
|
1363
|
-
readonly "shape-polygon-points": {
|
|
1364
|
-
readonly type: "string";
|
|
1365
|
-
readonly description: "An array (or a space-separated string) of numbers ranging on [-1, 1], representing alternating x and y values (i.e. x1 y1 x2 y2, x3 y3 ...). This represents the points in the polygon for the node's shape. The bounding box of the node is given by (-1, -1), (1, -1), (1, 1), (-1, 1). The node's position is the origin (0, 0 )";
|
|
1366
|
-
};
|
|
1367
|
-
readonly "menu-background-color": {
|
|
1368
|
-
readonly type: "string";
|
|
1369
|
-
readonly description: "The colour of the background of the component menu. Colours may be specified by name (e.g. red), hex (e.g.";
|
|
1370
|
-
};
|
|
1371
|
-
readonly "menu-background-opacity": {
|
|
1372
|
-
readonly type: "number";
|
|
1373
|
-
readonly description: "The opacity of the background of the component menu.";
|
|
1374
|
-
readonly minimum: 0;
|
|
1375
|
-
readonly maximum: 1;
|
|
1376
|
-
};
|
|
1377
|
-
readonly "menu-forground-color": {
|
|
1378
|
-
readonly type: "string";
|
|
1379
|
-
readonly description: "The colour of the text or icons in the component menu. Colours may be specified by name (e.g. red), hex (e.g.";
|
|
1380
|
-
};
|
|
1381
|
-
};
|
|
1382
|
-
}];
|
|
1383
|
-
};
|
|
1384
|
-
readonly capabilities: {
|
|
1385
|
-
readonly "x-order": 9;
|
|
1386
|
-
readonly type: "array";
|
|
1387
|
-
readonly description: "Meshery manages components in accordance with their specific capabilities. This field explicitly identifies those capabilities largely by what actions a given component supports; e.g. metric-scrape, sub-interface, and so on. This field is extensible. ComponentDefinitions may define a broad array of capabilities, which are in-turn dynamically interpretted by Meshery for full lifecycle management.";
|
|
1388
|
-
readonly items: {
|
|
1389
|
-
readonly "x-go-type": "capability.Capability";
|
|
1390
|
-
readonly "x-go-type-import": {
|
|
1391
|
-
readonly path: "github.com/meshery/schemas/models/v1alpha1/capability";
|
|
1392
|
-
};
|
|
1393
|
-
readonly $id: "https://schemas.meshery.io/capability.yaml";
|
|
1394
|
-
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
1395
|
-
readonly description: "Meshery manages entities in accordance with their specific capabilities. This field explicitly identifies those capabilities largely by what actions a given component supports; e.g. metric-scrape, sub-interface, and so on. This field is extensible. Entities may define a broad array of capabilities, which are in-turn dynamically interpretted by Meshery for full lifecycle management.";
|
|
1396
|
-
readonly additionalProperties: false;
|
|
1397
|
-
readonly type: "object";
|
|
1398
|
-
readonly required: readonly ["description", "schemaVersion", "version", "displayName", "kind", "type", "subType", "entityState", "key", "status"];
|
|
1399
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
1400
|
-
readonly gorm: "type:bytes;serializer:json";
|
|
1401
|
-
};
|
|
1402
|
-
readonly properties: {
|
|
1403
|
-
readonly schemaVersion: {
|
|
1404
|
-
readonly description: "Specifies the version of the schema to which the capability definition conforms.";
|
|
1405
|
-
readonly type: "string";
|
|
1406
|
-
readonly minLength: 2;
|
|
1407
|
-
readonly maxLength: 100;
|
|
1408
|
-
readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
|
|
1409
|
-
readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
|
|
1410
|
-
};
|
|
1411
|
-
readonly version: {
|
|
1412
|
-
readonly description: "Version of the capability definition.";
|
|
1413
|
-
readonly type: "string";
|
|
1414
|
-
readonly minLength: 5;
|
|
1415
|
-
readonly maxLength: 100;
|
|
1416
|
-
readonly pattern: "^[a-z0-9]+.[0-9]+.[0-9]+(-[0-9A-Za-z-]+(.[0-9A-Za-z-]+)*)?(\\+[0-9A-Za-z-]+(\\.[0-9A-Za-z-]+)*)?$";
|
|
1417
|
-
};
|
|
1418
|
-
readonly displayName: {
|
|
1419
|
-
readonly description: "Name of the capability in human-readible format.";
|
|
1420
|
-
readonly type: "string";
|
|
1421
|
-
readonly pattern: "^[a-zA-Z_][a-zA-Z0-9_-]*[a-zA-Z0-9_]$";
|
|
1422
|
-
};
|
|
1423
|
-
readonly description: {
|
|
1424
|
-
readonly type: "string";
|
|
1425
|
-
readonly description: "A written representation of the purpose and characteristics of the capability.";
|
|
1426
|
-
};
|
|
1427
|
-
readonly kind: {
|
|
1428
|
-
readonly description: "Top-level categorization of the capability";
|
|
1429
|
-
readonly additionalProperties: false;
|
|
1430
|
-
readonly anyOf: readonly [{
|
|
1431
|
-
readonly const: "action";
|
|
1432
|
-
readonly description: "For capabilities related to executing actions on entities. Example: initiate log streaming on a Pod. Example: initiate deployment of a component.";
|
|
1433
|
-
}, {
|
|
1434
|
-
readonly const: "mutate";
|
|
1435
|
-
readonly description: "For capabilities related to mutating an entity. Example: the ability to change the configuration of a component.";
|
|
1436
|
-
}, {
|
|
1437
|
-
readonly const: "view";
|
|
1438
|
-
readonly description: "For capabilities related to viewing an entity. Example: the ability to view a components configuration.";
|
|
1439
|
-
}, {
|
|
1440
|
-
readonly const: "interaction";
|
|
1441
|
-
readonly description: "Catch all for capabilities related to interaction with entities. Example: the ability for a component to be dragged and dropped. Example: supports event bubbling to parent components. ";
|
|
1442
|
-
}];
|
|
1443
|
-
readonly type: "string";
|
|
1444
|
-
readonly pattern: "^[a-zA-Z_][a-zA-Z0-9_-]*[a-zA-Z0-9_]$";
|
|
1445
|
-
};
|
|
1446
|
-
readonly type: {
|
|
1447
|
-
readonly description: "Classification of capabilities. Used to group capabilities similar in nature.";
|
|
1448
|
-
readonly type: "string";
|
|
1449
|
-
readonly pattern: "^[a-zA-Z_][a-zA-Z0-9_-]*[a-zA-Z0-9_]$";
|
|
1450
|
-
};
|
|
1451
|
-
readonly subType: {
|
|
1452
|
-
readonly description: "Most granular unit of capability classification. The combination of Kind, Type and SubType together uniquely identify a Capability.";
|
|
1453
|
-
readonly type: "string";
|
|
1454
|
-
readonly pattern: "^[a-zA-Z_][a-zA-Z0-9_-]*[a-zA-Z0-9_]$";
|
|
1455
|
-
};
|
|
1456
|
-
readonly key: {
|
|
1457
|
-
readonly description: "Key that backs the capability.";
|
|
1458
|
-
readonly type: "string";
|
|
1459
|
-
readonly pattern: "^[a-zA-Z_][a-zA-Z0-9_-]*[a-zA-Z0-9_]$";
|
|
1460
|
-
};
|
|
1461
|
-
readonly entityState: {
|
|
1462
|
-
readonly description: "State of the entity in which the capability is applicable.";
|
|
1463
|
-
readonly type: "array";
|
|
1464
|
-
readonly items: {
|
|
1465
|
-
readonly type: "string";
|
|
1466
|
-
readonly enum: readonly ["declaration", "instance"];
|
|
1467
|
-
readonly pattern: "^[a-zA-Z_][a-zA-Z0-9_-]*[a-zA-Z0-9_]$";
|
|
1468
|
-
readonly description: "A string starting with an alphanumeric character. Spaces and hyphens allowed.";
|
|
1469
|
-
};
|
|
1470
|
-
};
|
|
1471
|
-
readonly status: {
|
|
1472
|
-
readonly type: "string";
|
|
1473
|
-
readonly description: "Status of the capability";
|
|
1474
|
-
readonly default: "enabled";
|
|
1475
|
-
readonly enum: readonly ["enabled", "disabled"];
|
|
1476
|
-
};
|
|
1477
|
-
readonly metadata: {
|
|
1478
|
-
readonly type: "object";
|
|
1479
|
-
readonly description: "Metadata contains additional information associated with the capability. Extension point.";
|
|
1480
|
-
readonly additionalProperties: true;
|
|
1481
|
-
};
|
|
1482
|
-
};
|
|
1483
|
-
readonly default: readonly [{
|
|
1484
|
-
readonly description: "Configure the visual styles for the component";
|
|
1485
|
-
readonly displayName: "Styling";
|
|
1486
|
-
readonly entityState: readonly ["declaration"];
|
|
1487
|
-
readonly key: "";
|
|
1488
|
-
readonly kind: "mutate";
|
|
1489
|
-
readonly schemaVersion: "capability.meshery.io/v1alpha1";
|
|
1490
|
-
readonly status: "enabled";
|
|
1491
|
-
readonly subType: "";
|
|
1492
|
-
readonly type: "style";
|
|
1493
|
-
readonly version: "0.7.0";
|
|
1494
|
-
}, {
|
|
1495
|
-
readonly description: "Change the shape of the component";
|
|
1496
|
-
readonly displayName: "Change Shape";
|
|
1497
|
-
readonly entityState: readonly ["declaration"];
|
|
1498
|
-
readonly key: "";
|
|
1499
|
-
readonly kind: "mutate";
|
|
1500
|
-
readonly schemaVersion: "capability.meshery.io/v1alpha1";
|
|
1501
|
-
readonly status: "enabled";
|
|
1502
|
-
readonly subType: "shape";
|
|
1503
|
-
readonly type: "style";
|
|
1504
|
-
readonly version: "0.7.0";
|
|
1505
|
-
}, {
|
|
1506
|
-
readonly description: "Drag and Drop a component into a parent component in graph view";
|
|
1507
|
-
readonly displayName: "Compound Drag And Drop";
|
|
1508
|
-
readonly entityState: readonly ["declaration"];
|
|
1509
|
-
readonly key: "";
|
|
1510
|
-
readonly kind: "interaction";
|
|
1511
|
-
readonly schemaVersion: "capability.meshery.io/v1alpha1";
|
|
1512
|
-
readonly status: "enabled";
|
|
1513
|
-
readonly subType: "compoundDnd";
|
|
1514
|
-
readonly type: "graph";
|
|
1515
|
-
readonly version: "0.7.0";
|
|
1516
|
-
}, {
|
|
1517
|
-
readonly description: "Add text to nodes body";
|
|
1518
|
-
readonly displayName: "Body Text";
|
|
1519
|
-
readonly entityState: readonly ["declaration"];
|
|
1520
|
-
readonly key: "";
|
|
1521
|
-
readonly kind: "mutate";
|
|
1522
|
-
readonly schemaVersion: "capability.meshery.io/v1alpha1";
|
|
1523
|
-
readonly status: "enabled";
|
|
1524
|
-
readonly subType: "body-text";
|
|
1525
|
-
readonly type: "style";
|
|
1526
|
-
readonly version: "0.7.0";
|
|
1527
|
-
}];
|
|
1528
|
-
};
|
|
1529
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
1530
|
-
readonly gorm: "type:bytes;serializer:json";
|
|
1531
|
-
readonly yaml: "capabilities";
|
|
1532
|
-
readonly json: "capabilities";
|
|
1533
|
-
};
|
|
1534
|
-
readonly default: readonly [{
|
|
1535
|
-
readonly schemaVersion: "capability.meshery.io/v1alpha1";
|
|
1536
|
-
readonly version: "0.7.0";
|
|
1537
|
-
readonly displayName: "Performance Test";
|
|
1538
|
-
readonly description: "Initiate a performance test. Meshery will execute the load generation, collect metrics, and present the results.";
|
|
1539
|
-
readonly kind: "action";
|
|
1540
|
-
readonly type: "operator";
|
|
1541
|
-
readonly subType: "perf-test";
|
|
1542
|
-
readonly key: "";
|
|
1543
|
-
readonly entityState: readonly ["instance"];
|
|
1544
|
-
readonly status: "enabled";
|
|
1545
|
-
readonly metadata: null;
|
|
1546
|
-
}, {
|
|
1547
|
-
readonly schemaVersion: "capability.meshery.io/v1alpha1";
|
|
1548
|
-
readonly version: "0.7.0";
|
|
1549
|
-
readonly displayName: "Workload Configuration";
|
|
1550
|
-
readonly description: "Configure the workload specific setting of a component";
|
|
1551
|
-
readonly kind: "mutate";
|
|
1552
|
-
readonly type: "configuration";
|
|
1553
|
-
readonly subType: "config";
|
|
1554
|
-
readonly key: "";
|
|
1555
|
-
readonly entityState: readonly ["declaration"];
|
|
1556
|
-
readonly status: "enabled";
|
|
1557
|
-
readonly metadata: null;
|
|
1558
|
-
}, {
|
|
1559
|
-
readonly schemaVersion: "capability.meshery.io/v1alpha1";
|
|
1560
|
-
readonly version: "0.7.0";
|
|
1561
|
-
readonly displayName: "Labels and Annotations Configuration";
|
|
1562
|
-
readonly description: "Configure Labels And Annotations for the component ";
|
|
1563
|
-
readonly kind: "mutate";
|
|
1564
|
-
readonly type: "configuration";
|
|
1565
|
-
readonly subType: "labels-and-annotations";
|
|
1566
|
-
readonly key: "";
|
|
1567
|
-
readonly entityState: readonly ["declaration"];
|
|
1568
|
-
readonly status: "enabled";
|
|
1569
|
-
readonly metadata: null;
|
|
1570
|
-
}, {
|
|
1571
|
-
readonly schemaVersion: "capability.meshery.io/v1alpha1";
|
|
1572
|
-
readonly version: "0.7.0";
|
|
1573
|
-
readonly displayName: "Relationships";
|
|
1574
|
-
readonly description: "View relationships for the component";
|
|
1575
|
-
readonly kind: "view";
|
|
1576
|
-
readonly type: "configuration";
|
|
1577
|
-
readonly subType: "relationship";
|
|
1578
|
-
readonly key: "";
|
|
1579
|
-
readonly entityState: readonly ["declaration", "instance"];
|
|
1580
|
-
readonly status: "enabled";
|
|
1581
|
-
readonly metadata: null;
|
|
1582
|
-
}, {
|
|
1583
|
-
readonly schemaVersion: "capability.meshery.io/v1alpha1";
|
|
1584
|
-
readonly version: "0.7.0";
|
|
1585
|
-
readonly displayName: "Json Schema";
|
|
1586
|
-
readonly description: "View Component Definition ";
|
|
1587
|
-
readonly kind: "view";
|
|
1588
|
-
readonly type: "configuration";
|
|
1589
|
-
readonly subType: "definition";
|
|
1590
|
-
readonly key: "";
|
|
1591
|
-
readonly entityState: readonly ["declaration", "instance"];
|
|
1592
|
-
readonly status: "enabled";
|
|
1593
|
-
readonly metadata: null;
|
|
1594
|
-
}, {
|
|
1595
|
-
readonly schemaVersion: "capability.meshery.io/v1alpha1";
|
|
1596
|
-
readonly version: "0.7.0";
|
|
1597
|
-
readonly displayName: "Styling";
|
|
1598
|
-
readonly description: "Configure the visual styles for the component";
|
|
1599
|
-
readonly kind: "mutate";
|
|
1600
|
-
readonly type: "style";
|
|
1601
|
-
readonly subType: "";
|
|
1602
|
-
readonly key: "";
|
|
1603
|
-
readonly entityState: readonly ["declaration"];
|
|
1604
|
-
readonly status: "enabled";
|
|
1605
|
-
readonly metadata: null;
|
|
1606
|
-
}, {
|
|
1607
|
-
readonly schemaVersion: "capability.meshery.io/v1alpha1";
|
|
1608
|
-
readonly version: "0.7.0";
|
|
1609
|
-
readonly displayName: "Change Shape";
|
|
1610
|
-
readonly description: "Change the shape of the component";
|
|
1611
|
-
readonly kind: "mutate";
|
|
1612
|
-
readonly type: "style";
|
|
1613
|
-
readonly subType: "shape";
|
|
1614
|
-
readonly key: "";
|
|
1615
|
-
readonly entityState: readonly ["declaration"];
|
|
1616
|
-
readonly status: "enabled";
|
|
1617
|
-
readonly metadata: null;
|
|
1618
|
-
}, {
|
|
1619
|
-
readonly schemaVersion: "capability.meshery.io/v1alpha1";
|
|
1620
|
-
readonly version: "0.7.0";
|
|
1621
|
-
readonly displayName: "Compound Drag And Drop";
|
|
1622
|
-
readonly description: "Drag and Drop a component into a parent component in graph view";
|
|
1623
|
-
readonly kind: "interaction";
|
|
1624
|
-
readonly type: "graph";
|
|
1625
|
-
readonly subType: "compoundDnd";
|
|
1626
|
-
readonly key: "";
|
|
1627
|
-
readonly entityState: readonly ["declaration"];
|
|
1628
|
-
readonly status: "enabled";
|
|
1629
|
-
readonly metadata: null;
|
|
1630
|
-
}];
|
|
1631
|
-
};
|
|
1632
|
-
readonly status: {
|
|
1633
|
-
readonly "x-order": 10;
|
|
1634
|
-
readonly type: "string";
|
|
1635
|
-
readonly description: "Status of component, including:\n- duplicate: this component is a duplicate of another. The component that is to be the canonical reference and that is duplicated by other components should not be assigned the 'duplicate' status.\n- maintenance: model is unavailable for a period of time.\n- enabled: model is available for use for all users of this Meshery Server.\n- ignored: model is unavailable for use for all users of this Meshery Server.";
|
|
1636
|
-
readonly default: "enabled";
|
|
1637
|
-
readonly enum: readonly ["ignored", "enabled", "duplicate", "resolved", "open"];
|
|
1638
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
1639
|
-
readonly yaml: "status";
|
|
1640
|
-
readonly json: "status";
|
|
1641
|
-
};
|
|
1642
|
-
};
|
|
1643
|
-
readonly metadata: {
|
|
1644
|
-
readonly "x-order": 11;
|
|
1645
|
-
readonly type: "object";
|
|
1646
|
-
readonly description: "Metadata contains additional information associated with the component.";
|
|
1647
|
-
readonly required: readonly ["genealogy", "isAnnotation", "isNamespaced", "published", "instanceDetails", "configurationUISchema"];
|
|
1648
|
-
readonly properties: {
|
|
1649
|
-
readonly genealogy: {
|
|
1650
|
-
readonly "x-order": 1;
|
|
1651
|
-
readonly type: "string";
|
|
1652
|
-
readonly description: "Genealogy represents the various representational states of the component.";
|
|
1653
|
-
};
|
|
1654
|
-
readonly isAnnotation: {
|
|
1655
|
-
readonly "x-order": 2;
|
|
1656
|
-
readonly type: "boolean";
|
|
1657
|
-
readonly description: "Identifies whether the component is semantically meaningful or not; identifies whether the component should be treated as deployable entity or is for purposes of logical representation.";
|
|
1658
|
-
readonly default: false;
|
|
1659
|
-
};
|
|
1660
|
-
readonly isNamespaced: {
|
|
1661
|
-
readonly "x-order": 3;
|
|
1662
|
-
readonly type: "boolean";
|
|
1663
|
-
readonly description: "Identifies whether the component is scoped to namespace or clsuter wide.";
|
|
1664
|
-
};
|
|
1665
|
-
readonly published: {
|
|
1666
|
-
readonly "x-order": 4;
|
|
1667
|
-
readonly type: "boolean";
|
|
1668
|
-
readonly description: "'published' controls whether the component should be registered in Meshery Registry. When the same 'published' property in Models, is set to 'false', the Model property takes precedence with all Entities in the Model not being registered.";
|
|
1669
|
-
};
|
|
1670
|
-
readonly instanceDetails: {
|
|
1671
|
-
readonly "x-order": 5;
|
|
1672
|
-
readonly type: "object";
|
|
1673
|
-
readonly description: "InstanceDetails contains information about the instance of the component.";
|
|
1674
|
-
};
|
|
1675
|
-
readonly configurationUISchema: {
|
|
1676
|
-
readonly "x-order": 6;
|
|
1677
|
-
readonly type: "string";
|
|
1678
|
-
readonly description: "Defines the UI schema for rendering the component's configuration. For more details, visit: https://rjsf-team.github.io/react-jsonschema-form/docs/api-reference/uiSchema/ .";
|
|
1679
|
-
};
|
|
1680
|
-
};
|
|
1681
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
1682
|
-
readonly gorm: "type:bytes;serializer:json";
|
|
1683
|
-
};
|
|
1684
|
-
readonly additionalProperties: true;
|
|
1685
|
-
};
|
|
1686
|
-
readonly configuration: {
|
|
1687
|
-
readonly "x-order": 12;
|
|
1688
|
-
readonly description: "The configuration of the component. The configuration is based on the schema defined within the component definition(component.schema).";
|
|
1689
|
-
readonly type: "object";
|
|
1690
|
-
readonly $comment: "The configuration of the component. The configuration is based on the schema defined within the component definition(component.schema).";
|
|
1691
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
1692
|
-
readonly gorm: "type:bytes;serializer:json";
|
|
1693
|
-
};
|
|
1694
|
-
};
|
|
1695
|
-
readonly component: {
|
|
1696
|
-
readonly "x-order": 13;
|
|
1697
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
1698
|
-
readonly gorm: "type:bytes;serializer:json";
|
|
1699
|
-
};
|
|
1700
|
-
readonly "x-go-type": "Component";
|
|
1701
|
-
readonly description: "data related to the third party capability that Component Defintion wraps , this is herematicaly sealed an";
|
|
1702
|
-
readonly type: "object";
|
|
1703
|
-
readonly properties: {
|
|
1704
|
-
readonly version: {
|
|
1705
|
-
readonly type: "string";
|
|
1706
|
-
readonly description: "Version of the component produced by the registrant. Example: APIVersion of a Kubernetes Pod.";
|
|
1707
|
-
readonly "x-order": 1;
|
|
1708
|
-
};
|
|
1709
|
-
readonly kind: {
|
|
1710
|
-
readonly type: "string";
|
|
1711
|
-
readonly description: "The unique identifier (name) assigned by the registrant to this component. Example: A Kubernetes Pod is of kind 'Pod'.";
|
|
1712
|
-
readonly "x-order": 2;
|
|
1713
|
-
};
|
|
1714
|
-
readonly schema: {
|
|
1715
|
-
readonly type: "string";
|
|
1716
|
-
readonly description: "JSON schema of the object as defined by the registrant.";
|
|
1717
|
-
readonly "x-order": 3;
|
|
1718
|
-
};
|
|
1719
|
-
};
|
|
1720
|
-
readonly required: readonly ["version", "kind", "schema"];
|
|
1721
|
-
};
|
|
1722
|
-
readonly created_at: {
|
|
1723
|
-
readonly "x-order": 14;
|
|
1724
|
-
readonly description: "Timestamp when the resource was created.";
|
|
1725
|
-
readonly "x-go-type": "time.Time";
|
|
1726
|
-
readonly type: "string";
|
|
1727
|
-
readonly format: "date-time";
|
|
1728
|
-
readonly "x-go-name": "CreatedAt";
|
|
1729
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
1730
|
-
readonly db: "created_at";
|
|
1731
|
-
readonly yaml: "created_at";
|
|
1732
|
-
};
|
|
1733
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
1734
|
-
};
|
|
1735
|
-
readonly updated_at: {
|
|
1736
|
-
readonly "x-order": 15;
|
|
1737
|
-
readonly description: "Timestamp when the resource was updated.";
|
|
1738
|
-
readonly "x-go-type": "time.Time";
|
|
1739
|
-
readonly type: "string";
|
|
1740
|
-
readonly format: "date-time";
|
|
1741
|
-
readonly "x-go-name": "UpdatedAt";
|
|
1742
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
1743
|
-
readonly db: "updated_at";
|
|
1744
|
-
readonly yaml: "updated_at";
|
|
1745
|
-
};
|
|
1746
|
-
readonly "x-go-type-skip-optional-pointer": true;
|
|
1747
|
-
};
|
|
1748
|
-
};
|
|
1749
|
-
readonly required: readonly ["id", "displayName", "description", "schemaVersion", "format", "version", "configuration", "metadata", "modelId", "modelReference", "component"];
|
|
1750
|
-
};
|
|
1751
|
-
readonly Component: {
|
|
1752
|
-
readonly description: "data related to the third party capability that Component Defintion wraps , this is herematicaly sealed an";
|
|
1753
|
-
readonly type: "object";
|
|
1754
|
-
readonly properties: {
|
|
1755
|
-
readonly version: {
|
|
1756
|
-
readonly type: "string";
|
|
1757
|
-
readonly description: "Version of the component produced by the registrant. Example: APIVersion of a Kubernetes Pod.";
|
|
1758
|
-
readonly "x-order": 1;
|
|
1759
|
-
};
|
|
1760
|
-
readonly kind: {
|
|
1761
|
-
readonly type: "string";
|
|
1762
|
-
readonly description: "The unique identifier (name) assigned by the registrant to this component. Example: A Kubernetes Pod is of kind 'Pod'.";
|
|
1763
|
-
readonly "x-order": 2;
|
|
1764
|
-
};
|
|
1765
|
-
readonly schema: {
|
|
1766
|
-
readonly type: "string";
|
|
1767
|
-
readonly description: "JSON schema of the object as defined by the registrant.";
|
|
1768
|
-
readonly "x-order": 3;
|
|
1769
|
-
};
|
|
1770
|
-
};
|
|
1771
|
-
readonly required: readonly ["version", "kind", "schema"];
|
|
1772
|
-
};
|
|
1773
|
-
};
|
|
1774
|
-
};
|
|
1775
|
-
};
|
|
5
|
+
declare const ComponentSchema: Record<string, unknown>;
|
|
1776
6
|
|
|
1777
7
|
export { ComponentSchema as default };
|