TransferService
本页列出 kibotos.ctrl.v1 中 TransferService 的方法及每个方法用到的消息与枚举,由 ctrl.proto 及其注释生成,注释保持英文。多个服务共用的消息与枚举见 kibotos.ctrl.v1 类型。
TransferService owns Workspace transfer intent and provider-neutral artifact metadata. Artifact bytes and host storage references never cross this API.
ExportWorkspace
/kibotos.ctrl.v1.TransferService/ExportWorkspace一元调用ExportWorkspaceRequestExportWorkspaceResponseGetTransfer
/kibotos.ctrl.v1.TransferService/GetTransfer一元调用GetTransferRequestGetTransferResponseImportTransfer
/kibotos.ctrl.v1.TransferService/ImportTransfer一元调用ImportTransferRequeststorage_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.
ImportTransferResponseRestoreWorkspace
/kibotos.ctrl.v1.TransferService/RestoreWorkspace一元调用RestoreWorkspaceRequestThe 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.
spec.volume must identify the Volume produced by ImportTransfer. Restore never substitutes another Volume or mutates the source Workspace.
Committed at revision 1 in the restore admission transaction, exactly as CreateWorkspace does. Omitting it restores a Workspace with no policy.
RestoreWorkspaceResponseDeleteTransfer
/kibotos.ctrl.v1.TransferService/DeleteTransfer一元调用DeleteTransferRequestDeleteTransferResponse