ProcessService
This page lists the methods of ProcessService in kibotos.ctrl.v1 with the messages and enums each one uses, generated from ctrl.proto and its comments. Those that several services use are on kibotos.ctrl.v1 types.
endpoint of a data-plane session, with its credential in Authorization: Bearer.How to call itProcessService owns reconnectable pipe and PTY processes. Every call requires a data-plane bearer credential with PROCESS scope.
A caller whose stream broke can resume it: Attach with resume_from replays the output each channel produced since the given offset, as far as the guest's replay buffer reaches, and SendInput with input_offset can be sent again without writing any byte twice. The server announces both as workspace.process.resume.
Start
/kibotos.ctrl.v1.ProcessService/StartServer streamingStartRequestworking_directory is the directory the process starts in. Empty starts it in the home directory of the identity user selects, and a relative one is resolved against that home.
- One of
mode user selects the identity the process runs as: empty for the Template default, the declared account name, or root.
StartResponseProcessPipeMode
ProcessPtyMode
Attach
/kibotos.ctrl.v1.ProcessService/AttachServer streamingAttachRequestresume_from replays, before live output, what each listed channel produced from offset on, as far as the replay buffer reaches. A channel not listed starts at its current offset. An offset beyond what the channel produced fails with INVALID_ARGUMENT and leaves the current subscription in place. A guest without replay starts every channel at its current offset.
AttachResponseSendInput
/kibotos.ctrl.v1.ProcessService/SendInputUnarySendInputRequestinput_offset is where data starts in the process's input. Bytes the process already accepted are skipped, so the request can be sent again; an offset beyond what it accepted fails with FAILED_PRECONDITION and writes nothing. A guest that cannot take input offsets fails the request with UNIMPLEMENTED.
SendInputResponseinput_offset is the number of input bytes the process has accepted after this request. It is absent when the guest cannot take input offsets.
CloseStdin
/kibotos.ctrl.v1.ProcessService/CloseStdinUnaryCloseStdinRequestCloseStdinResponseNo fields.
SendSignal
/kibotos.ctrl.v1.ProcessService/SendSignalUnarySendSignalRequestSendSignalResponseNo fields.
ProcessSignal
PROCESS_SIGNAL_UNSPECIFIED= 0PROCESS_SIGNAL_SIGTERM= 1PROCESS_SIGNAL_SIGKILL= 2
Resize
/kibotos.ctrl.v1.ProcessService/ResizeUnaryResizeRequestResizeResponseNo fields.
Messages and enums
Several methods of ProcessService use these messages and enums.
ProcessChannelOffset
offset is the number of bytes the process produced on this channel.
start is where this subscription's output on the channel begins. It equals offset unless the attach resumed; then it is the requested offset or the replay buffer's first byte, whichever is later, so a start above the requested offset is a gap of that many bytes. Only set in attached.
ProcessAttachedEvent
input_offset is the number of input bytes the process has accepted. It is absent when the guest cannot take input offsets.
ProcessOutputEvent
ProcessChannelResult
final_offset is the number of bytes the process produced on this channel.
ProcessExitedEvent
ProcessHeartbeatEvent
This message has no fields.
OutputStream
OUTPUT_STREAM_UNSPECIFIED= 0OUTPUT_STREAM_STDOUT= 1OUTPUT_STREAM_STDERR= 2OUTPUT_STREAM_PTY= 3
ProcessMode
PROCESS_MODE_UNSPECIFIED= 0PROCESS_MODE_PIPE= 1PROCESS_MODE_PTY= 2
ProcessTerminationReason
PROCESS_TERMINATION_REASON_UNSPECIFIED= 0PROCESS_TERMINATION_REASON_EXITED= 1PROCESS_TERMINATION_REASON_SIGNALED= 2PROCESS_TERMINATION_REASON_TIMED_OUT= 3
FilesystemService
This page lists the methods of FilesystemService in kibotos.ctrl.v1 with the messages and enums each one uses, generated from ctrl.proto and its comments. Those that several services use are on kibotos.ctrl.v1 types.
DesktopService
This page lists the methods of DesktopService in kibotos.ctrl.v1 with the messages and enums each one uses, generated from ctrl.proto and its comments. Those that several services use are on kibotos.ctrl.v1 types.