/
githubmirror
/
client
Обзор
Документация
Войти
/
githubmirror
/
client
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
protocol/json/keybase1/install.json
251 строка
5 KB
Gabriel Handford
Install user components on startup; Install KBFS later (#7733)
25 авг 2017, 03:59
25 авг 2017, 03:59
8a073ff
Код
Авторство
О чём код?
{ "protocol": "install", "imports": [ { "path": "common.avdl", "type": "idl" } ], "types": [ { "type": "enum", "name": "InstallStatus", "symbols": [ "UNKNOWN_0", "ERROR_1", "NOT_INSTALLED_2", "INSTALLED_4" ], "doc": "Install status describes state of install for a component or service.", "go": "nostring" }, { "type": "enum", "name": "InstallAction", "symbols": [ "UNKNOWN_0", "NONE_1", "UPGRADE_2", "REINSTALL_3", "INSTALL_4" ], "go": "nostring" }, { "type": "record", "name": "ServiceStatus", "fields": [ { "type": "string", "name": "version" }, { "type": "string", "name": "label" }, { "type": "string", "name": "pid" }, { "type": "string", "name": "lastExitStatus" }, { "type": "string", "name": "bundleVersion" }, { "type": "InstallStatus", "name": "installStatus" }, { "type": "InstallAction", "name": "installAction" }, { "type": "Status", "name": "status" } ] }, { "type": "record", "name": "ServicesStatus", "fields": [ { "type": { "type": "array", "items": "ServiceStatus" }, "name": "service" }, { "type": { "type": "array", "items": "ServiceStatus" }, "name": "kbfs" }, { "type": { "type": "array", "items": "ServiceStatus" }, "name": "updater" } ] }, { "type": "record", "name": "FuseMountInfo", "fields": [ { "type": "string", "name": "path" }, { "type": "string", "name": "fstype" }, { "type": "string", "name": "output" } ] }, { "type": "record", "name": "FuseStatus", "fields": [ { "type": "string", "name": "version" }, { "type": "string", "name": "bundleVersion" }, { "type": "string", "name": "kextID" }, { "type": "string", "name": "path" }, { "type": "boolean", "name": "kextStarted" }, { "type": "InstallStatus", "name": "installStatus" }, { "type": "InstallAction", "name": "installAction" }, { "type": { "type": "array", "items": "FuseMountInfo" }, "name": "mountInfos" }, { "type": "Status", "name": "status" } ] }, { "type": "record", "name": "ComponentResult", "fields": [ { "type": "string", "name": "name" }, { "type": "Status", "name": "status" }, { "type": "int", "name": "exitCode" } ] }, { "type": "record", "name": "InstallResult", "fields": [ { "type": { "type": "array", "items": "ComponentResult" }, "name": "componentResults" }, { "type": "Status", "name": "status" }, { "type": "boolean", "name": "fatal" } ] }, { "type": "record", "name": "UninstallResult", "fields": [ { "type": { "type": "array", "items": "ComponentResult" }, "name": "componentResults" }, { "type": "Status", "name": "status" } ] } ], "messages": { "fuseStatus": { "request": [ { "name": "sessionID", "type": "int" }, { "name": "bundleVersion", "type": "string" } ], "response": "FuseStatus" }, "installFuse": { "request": [], "response": "InstallResult" }, "installKBFS": { "request": [], "response": "InstallResult" }, "uninstallKBFS": { "request": [], "response": "UninstallResult" }, "installCommandLinePrivileged": { "request": [], "response": "InstallResult" } }, "namespace": "keybase.1" }