mirror of
https://github.com/luxfi/opgen.git
synced 2026-10-30 15:23:29 +00:00
A reader can now see exactly what this produces without running it, and CI regenerates example/ and refuses a diff — so a change to an emitter shows up as a change to the code it emits, in the same review. The generated Go SDK is a package of this module, so the ordinary build compiles it. CI runs on lux-build with all three toolchains installed, so the compile checks have nothing left to skip. Co-authored-by: Hanzo Dev <[email protected]>
124 lines
2.4 KiB
JSON
124 lines
2.4 KiB
JSON
[
|
|
{
|
|
"annotations": {
|
|
"readOnlyHint": true
|
|
},
|
|
"description": "Report whether this replica is serving",
|
|
"inputSchema": {
|
|
"properties": {},
|
|
"type": "object"
|
|
},
|
|
"name": "vault_health"
|
|
},
|
|
{
|
|
"annotations": {
|
|
"readOnlyHint": true
|
|
},
|
|
"description": "List the secrets this vault holds",
|
|
"inputSchema": {
|
|
"properties": {
|
|
"limit": {
|
|
"format": "int64",
|
|
"type": "integer"
|
|
},
|
|
"org": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"name": "vault_list"
|
|
},
|
|
{
|
|
"annotations": {
|
|
"readOnlyHint": true
|
|
},
|
|
"description": "Read one secret's record by name",
|
|
"inputSchema": {
|
|
"properties": {
|
|
"name": {
|
|
"type": "string"
|
|
},
|
|
"reveal": {
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"name": "vault_read"
|
|
},
|
|
{
|
|
"annotations": {},
|
|
"description": "Seal a secret. The value is never readable again.",
|
|
"inputSchema": {
|
|
"$defs": {
|
|
"Party": {
|
|
"properties": {
|
|
"kind": {
|
|
"type": "string"
|
|
},
|
|
"org": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
}
|
|
},
|
|
"properties": {
|
|
"at": {
|
|
"format": "date-time",
|
|
"type": "string"
|
|
},
|
|
"blob": {
|
|
"contentEncoding": "base64",
|
|
"type": "string"
|
|
},
|
|
"bytes": {
|
|
"format": "int64",
|
|
"type": "integer"
|
|
},
|
|
"counts": {
|
|
"items": {
|
|
"format": "int32",
|
|
"type": "integer"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"free": {
|
|
"type": "object"
|
|
},
|
|
"labels": {
|
|
"additionalProperties": {
|
|
"type": "string"
|
|
},
|
|
"type": "object"
|
|
},
|
|
"name": {
|
|
"type": "string"
|
|
},
|
|
"nested": {
|
|
"$ref": "#/$defs/Party"
|
|
},
|
|
"owner": {
|
|
"$ref": "#/$defs/Party"
|
|
},
|
|
"rotate": {
|
|
"type": "boolean"
|
|
},
|
|
"tags": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"weight": {
|
|
"format": "double",
|
|
"type": "number"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"name": "vault_seal"
|
|
}
|
|
]
|