forked from meshery/meshery
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
49 changed files
with
2,364 additions
and
46 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<h2>What is the Meshery Registry</h2> | ||
|
||
The Meshery Registry is a vital component within Meshery, serving as a centralized repository for managing a diverse range of cloud and cloud native resources. It stores and organizes crucial information such as models, categories, components, and relationships, enabling efficient interaction and utilization of these resources within the Meshery ecosystem. You can conveniently access and manage registry data through Meshery UI, and through Meshery CLI (<a href="{{site.baseurl}}/reference/mesheryctl/#meshery-registry-management">mesheryctl registry</a>). | ||
|
||
<h6 class="integration">Learn more about the <a href="{{site.baseurl}}/concepts/logical/registry">Registry</a></h6> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<h2>What are Meshery Models and Components?</h2> | ||
|
||
<p>Meshery Models and Components represent the fundamental building blocks of your infrastructure. Use them to define the structure and configuration of your infrastructure and deployments by incorporating their use into a Design. Think of Designs as blueprints or templates that encapsulate everything from network configurations to service definitions.</p> | ||
|
||
<h6 class="integration">Learn more about <a href="{{site.baseurl}}/concepts/logical/models">Models</a>, <a href="{{site.baseurl}}/concepts/logical/components">Components</a>, <a href="{{site.baseurl}}/concepts/logical/relationships">Relationships</a>, and <a href="{{site.baseurl}}/concepts/logical/designs">Designs</a></h6> |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,26 @@ | ||
How Meshery Generates Models | ||
--- | ||
layout: default | ||
title: Understanding How Meshery Generates Models | ||
abstract: Models are generated for capabilities defined in the Meshery Registry using a combination of manual entry and dynamic generation techniques. | ||
permalink: guides/operating/model-generation | ||
type: guides | ||
category: operating | ||
language: en | ||
--- | ||
|
||
Meshery uses a combination of techniques to generate models for capabilities defined in its Registry. The following are the primary techniques used: | ||
|
||
1) **Manual Entry**: The Meshery team manually enters the capabilities of a infrastructure or adapter into the Registry. This is the most common method used to add new capabilities to the Registry. | ||
1) **Manual Entry**: The Meshery team manually enters the capabilities of a infrastructure or adapter into the Registry. This is the most common method used to add new capabilities to the Registry. | ||
2) **Model Generation**: Meshery uses a model generation tool to generate models for capabilities. This tool is used to generate models for capabilities that are not manually entered into the Registry. | ||
|
||
<h4>Importing Models into the Registry using Meshery CLI</h4> | ||
<p>To register a model using the Meshery CLI, you can use the mesheryctl command to import a model from a specified path:</p> | ||
|
||
<pre><code>mesheryctl model import -f <path-to-model> </code></pre> | ||
<h4>Using Meshery UI</h4> | ||
<p>You can also register a model through the Meshery UI:</p> | ||
<ul> | ||
<li>Navigate to the Settings → Registry page.</li> | ||
<li>Click the "Import" button.</li> | ||
<li>Select the model you want to import.</li> | ||
</ul> |
37 changes: 37 additions & 0 deletions
37
server/meshmodel/cert-manager-crds/1.15.0/v1.0.0/model.json
Large diffs are not rendered by default.
Oops, something went wrong.
68 changes: 68 additions & 0 deletions
68
server/meshmodel/couchbase-operator/2.64.0/v1.0.0/components/CouchbaseAutoscaler.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
{ | ||
"id": "00000000-0000-0000-0000-000000000000", | ||
"schemaVersion": "core.meshery.io/v1beta1", | ||
"version": "v1.0.0", | ||
"displayName": "Couchbase Autoscaler", | ||
"description": "", | ||
"format": "JSON", | ||
"model": { | ||
"id": "00000000-0000-0000-0000-000000000000", | ||
"schemaVersion": "core.meshery.io/v1beta1", | ||
"version": "v1.0.0", | ||
"name": "couchbase-operator", | ||
"displayName": "Couchbase Operator", | ||
"description": "", | ||
"status": "enabled", | ||
"hostID": "00000000-0000-0000-0000-000000000000", | ||
"registrant": { | ||
"hostname": "artifacthub" | ||
}, | ||
"category": { | ||
"name": "App Definition and Development", | ||
"metadata": null | ||
}, | ||
"subCategory": "Database", | ||
"metadata": { | ||
"capabilities": "", | ||
"defaultData": "", | ||
"isAnnotation": false, | ||
"primaryColor": "#00B39F", | ||
"secondaryColor": "#00D3A9", | ||
"shape": "circle", | ||
"shapePolygonPoints": "", | ||
"styleOverrides": "", | ||
"styles": "", | ||
"svgColor": "\u003csvg width=\"575\" height=\"575\" viewBox=\"0 0 575 575\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"\u003e\n\u003cpath d=\"M287.5 0C128.984 0 0 128.55 0 287.5C0 446.016 128.55 575 287.5 575C446.016 575 575 446.45 575 287.5C575 128.55 446.016 0 287.5 0ZM481.628 337.878C481.628 355.249 471.639 370.449 452.096 373.924C418.221 379.999 346.998 383.478 287.5 383.478C228.002 383.478 156.779 379.999 122.904 373.924C103.361 370.449 93.3724 355.249 93.3724 337.878V225.831C93.3724 208.459 106.835 192.39 122.904 189.785C132.893 188.048 156.344 186.31 174.585 186.31C181.533 186.31 187.179 191.522 187.179 199.773V278.38L287.934 276.208L388.69 278.38V199.773C388.69 191.522 394.335 186.31 401.284 186.31C419.524 186.31 442.976 188.048 452.965 189.785C469.468 192.39 482.496 208.459 482.496 225.831C481.628 262.745 481.628 300.529 481.628 337.878Z\" fill=\"#ED2226\"/\u003e\n\u003c/svg\u003e\r", | ||
"svgComplete": "", | ||
"svgWhite": "\u003csvg width=\"575\" height=\"575\" viewBox=\"0 0 575 575\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"\u003e\n\u003cpath d=\"M287.5 0C128.984 0 0 128.55 0 287.5C0 446.016 128.55 575 287.5 575C446.016 575 575 446.45 575 287.5C575 128.55 446.016 0 287.5 0ZM481.628 337.878C481.628 355.249 471.639 370.449 452.096 373.924C418.221 379.999 346.998 383.478 287.5 383.478C228.002 383.478 156.779 379.999 122.904 373.924C103.361 370.449 93.3724 355.249 93.3724 337.878V225.831C93.3724 208.459 106.835 192.39 122.904 189.785C132.893 188.048 156.344 186.31 174.585 186.31C181.533 186.31 187.179 191.522 187.179 199.773V278.38L287.934 276.208L388.69 278.38V199.773C388.69 191.522 394.335 186.31 401.284 186.31C419.524 186.31 442.976 188.048 452.965 189.785C469.468 192.39 482.496 208.459 482.496 225.831C481.628 262.745 481.628 300.529 481.628 337.878Z\" fill=\"white\"/\u003e\n\u003c/svg\u003e\r" | ||
}, | ||
"model": { | ||
"version": "2.64.0" | ||
}, | ||
"components": null, | ||
"relationships": null | ||
}, | ||
"metadata": { | ||
"capabilities": "", | ||
"defaultData": "", | ||
"genealogy": "", | ||
"isAnnotation": false, | ||
"isNamespaced": true, | ||
"primaryColor": "#00B39F", | ||
"secondaryColor": "#00D3A9", | ||
"shape": "circle", | ||
"shapePolygonPoints": "", | ||
"status": "enabled", | ||
"styleOverrides": "", | ||
"styles": "", | ||
"subCategory": "", | ||
"svgColor": "\u003csvg width=\"575\" height=\"575\" viewBox=\"0 0 575 575\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"\u003e\n\u003cpath d=\"M287.5 0C128.984 0 0 128.55 0 287.5C0 446.016 128.55 575 287.5 575C446.016 575 575 446.45 575 287.5C575 128.55 446.016 0 287.5 0ZM481.628 337.878C481.628 355.249 471.639 370.449 452.096 373.924C418.221 379.999 346.998 383.478 287.5 383.478C228.002 383.478 156.779 379.999 122.904 373.924C103.361 370.449 93.3724 355.249 93.3724 337.878V225.831C93.3724 208.459 106.835 192.39 122.904 189.785C132.893 188.048 156.344 186.31 174.585 186.31C181.533 186.31 187.179 191.522 187.179 199.773V278.38L287.934 276.208L388.69 278.38V199.773C388.69 191.522 394.335 186.31 401.284 186.31C419.524 186.31 442.976 188.048 452.965 189.785C469.468 192.39 482.496 208.459 482.496 225.831C481.628 262.745 481.628 300.529 481.628 337.878Z\" fill=\"#ED2226\"/\u003e\n\u003c/svg\u003e\r", | ||
"svgComplete": "", | ||
"svgWhite": "\u003csvg width=\"575\" height=\"575\" viewBox=\"0 0 575 575\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"\u003e\n\u003cpath d=\"M287.5 0C128.984 0 0 128.55 0 287.5C0 446.016 128.55 575 287.5 575C446.016 575 575 446.45 575 287.5C575 128.55 446.016 0 287.5 0ZM481.628 337.878C481.628 355.249 471.639 370.449 452.096 373.924C418.221 379.999 346.998 383.478 287.5 383.478C228.002 383.478 156.779 379.999 122.904 373.924C103.361 370.449 93.3724 355.249 93.3724 337.878V225.831C93.3724 208.459 106.835 192.39 122.904 189.785C132.893 188.048 156.344 186.31 174.585 186.31C181.533 186.31 187.179 191.522 187.179 199.773V278.38L287.934 276.208L388.69 278.38V199.773C388.69 191.522 394.335 186.31 401.284 186.31C419.524 186.31 442.976 188.048 452.965 189.785C469.468 192.39 482.496 208.459 482.496 225.831C481.628 262.745 481.628 300.529 481.628 337.878Z\" fill=\"white\"/\u003e\n\u003c/svg\u003e\r" | ||
}, | ||
"component": { | ||
"kind": "CouchbaseAutoscaler", | ||
"version": "couchbase.com/v2", | ||
"schema": "{\n \"description\": \"CouchbaseAutoscaler provides an interface for the Kubernetes Horizontal Pod Autoscaler to interact with the Couchbase cluster and provide autoscaling. This resource is not defined by the end user, and is managed by the Operator.\",\n \"properties\": {\n \"spec\": {\n \"description\": \"CouchbaseAutoscalerSpec allows control over an autoscaling group.\",\n \"properties\": {\n \"servers\": {\n \"description\": \"Servers specifies the server group that this autoscaler belongs to.\",\n \"minLength\": 1,\n \"type\": \"string\"\n },\n \"size\": {\n \"description\": \"Size allows the server group to be dynamically scaled.\",\n \"minimum\": 0,\n \"type\": \"integer\"\n }\n },\n \"required\": [\n \"servers\",\n \"size\"\n ],\n \"type\": \"object\"\n }\n },\n \"required\": [\n \"spec\"\n ],\n \"title\": \"Couchbase Autoscaler\",\n \"type\": \"object\"\n}" | ||
} | ||
} |
68 changes: 68 additions & 0 deletions
68
server/meshmodel/couchbase-operator/2.64.0/v1.0.0/components/CouchbaseBackup.json
Large diffs are not rendered by default.
Oops, something went wrong.
68 changes: 68 additions & 0 deletions
68
server/meshmodel/couchbase-operator/2.64.0/v1.0.0/components/CouchbaseBackupRestore.json
Large diffs are not rendered by default.
Oops, something went wrong.
68 changes: 68 additions & 0 deletions
68
server/meshmodel/couchbase-operator/2.64.0/v1.0.0/components/CouchbaseBucket.json
Large diffs are not rendered by default.
Oops, something went wrong.
68 changes: 68 additions & 0 deletions
68
server/meshmodel/couchbase-operator/2.64.0/v1.0.0/components/CouchbaseCluster.json
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.