Kibotos
API 参考kibotos.ctrl.v1

TransferService

本页列出 kibotos.ctrl.v1 中 TransferService 的方法及每个方法用到的消息与枚举,由 ctrl.proto 及其注释生成,注释保持英文。多个服务共用的消息与枚举见 kibotos.ctrl.v1 类型。

ctrl API使用 Operator 证书调用。调用方式

TransferService owns Workspace transfer intent and provider-neutral artifact metadata. Artifact bytes and host storage references never cross this API.

ExportWorkspace

POST/kibotos.ctrl.v1.TransferService/ExportWorkspace一元调用
请求ExportWorkspaceRequest
响应ExportWorkspaceResponse

GetTransfer

POST/kibotos.ctrl.v1.TransferService/GetTransfer一元调用
请求GetTransferRequest
响应GetTransferResponse

ImportTransfer

POST/kibotos.ctrl.v1.TransferService/ImportTransfer一元调用
请求ImportTransferRequest
  • transfer_idstring= 2
  • storage_poolstring= 3

    storage_pool names the storage the imported Volume lives in. An empty value selects the storage the Transfer's source Volume lived in when it was exported. Requires the transfer.import.storage_pool capability.

响应ImportTransferResponse

RestoreWorkspace

POST/kibotos.ctrl.v1.TransferService/RestoreWorkspace一元调用
请求RestoreWorkspaceRequest

The Transfer follows the imported Volume. A restore that fails holding no execution releases the Volume and puts the Transfer back to IMPORTED. A restore that fails still holding its execution, or whose outcome is unknown, keeps the Volume bound and the Transfer RESTORING: deleting the Workspace then makes it IMPORTED, or FAILED when the Volume is deleted with the Workspace, and a later successful StartWorkspace makes it RESTORED.

响应RestoreWorkspaceResponse

DeleteTransfer

POST/kibotos.ctrl.v1.TransferService/DeleteTransfer一元调用
请求DeleteTransferRequest
响应DeleteTransferResponse

本页内容