Files
mesh-catalog/modules/mesh-files/module.json
T

61 lines
1.0 KiB
JSON

{
"module": "mesh-files",
"version": "1",
"claims": [
{
"name": "node-files",
"scope": "node",
"serves": [
"stat",
"readlink",
"list",
"read",
"search",
"account",
"write",
"copy",
"move",
"delete",
"mkdir",
"chmod",
"chown",
"trash",
"restore",
"upload",
"download"
]
}
],
"invokes": [
"seat:operator-channel.tell",
"seat:object-store.link"
],
"resources": [
{
"id": "state",
"type": "directory",
"mode": "0700",
"place": ".",
"unknown": "program"
}
],
"build": {
"artifacts": [
{
"name": "tools",
"kind": "bundle",
"language": "go",
"system": "arch",
"from": "cmd/mesh-files",
"binary": "mesh-files",
"loads": [
"mesh-files"
],
"env": {
"MESH_FILES_STATE": "${dir:state}"
}
}
]
}
}