Přeskočit na obsah

Tato stránka byla automaticky přeložena z angličtiny, jediného jazyka, ve kterém se tento web píše. Číst originál.

mesh.enrol

Add this machine's public key to trust.allow of the repository's mesh declaration, under a comment naming the machine, creating the node identity first when there is none. Idempotent: a listed key changes nothing. The comments and every other line of the declaration stay as they were, and an edit that would not parse back as a declaration is refused before anything is written. Under deny_unknown a machine opens its mesh only once its key is listed, so this is the one step that joins a machine; commit the file and restart the server.

Add this machine's public key to trust.allow of the repository's mesh declaration, under a comment naming the machine, creating the node identity first when there is none. Idempotent: a listed key changes nothing. The comments and every other line of the declaration stay as they were, and an edit that would not parse back as a declaration is refused before anything is written. Under deny_unknown a machine opens its mesh only once its key is listed, so this is the one step that joins a machine; commit the file and restart the server.

  • command
  • experimentální
  • modul mesh
  • #mesh
  • #identity
  • #trust

Zpřístupnění

Kde je tato jedna definice dosažitelná. Absence je explicitní: povrch, který není uveden, ji nenese.

povrchjako
MCPtool majordomus_mesh_enrol
HTTPPOST /api/v1/mesh/enrol operationId mesh.enrol
příkazová řádkamajordomus mesh enrol

Schémata

Kanonický vstup a výstup z typů Rustu; schéma nástroje MCP a parametry a odpovědi OpenAPI se odvozují z nich.

vstup · Prázdné

Žádný vstup.

Žádné vlastnosti: schopnost nebere žádný vstup.

JSON Schema
{
  "additionalProperties": false,
  "description": "No input.",
  "title": "Empty",
  "type": "object"
}

output · MeshEnrolment

The answer of mesh.enrol: which declaration, which key, and whether it changed.
vlastnosttyppovinnépopis
přidáno boolean ano Whether the key was added now; false when it was listed already.
klíč string ano This machine's public key: what is listed, never a secret.
next string ano What to do next: commit the file, or nothing.
path string ano Soubor deklarace, relativní k repozitáři.
JSON Schema
{
  "description": "The answer of `mesh.enrol`: which declaration, which key, and whether it changed.",
  "properties": {
    "added": {
      "description": "Whether the key was added now; `false` when it was listed already.",
      "type": "boolean"
    },
    "key": {
      "description": "This machine's public key: what is listed, never a secret.",
      "type": "string"
    },
    "next": {
      "description": "What to do next: commit the file, or nothing.",
      "type": "string"
    },
    "path": {
      "description": "The declaration file, repository-relative.",
      "type": "string"
    }
  },
  "required": [
    "path",
    "key",
    "added",
    "next"
  ],
  "title": "MeshEnrolment",
  "type": "object"
}

Politiky

benchmark
waived — prominuto: destructive
cache
vypnuto — každé volání spustí handler

Cíle benchmarku

Odvozeno z registru pro tento repozitář: jeden požadavek na transport a případy, které poskytuje typ vstupu. Celá matice je na stránce měření výkonu.

transportstatepřípadytargets
directprominuto (destruktivní)0
mcpprominuto (destruktivní)0
httpprominuto (destruktivní)0

Prohledává názvy a popisy všech stránek, které tento web publikuje.