save

package
v0.15.0-rc.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 22, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_github_com_Microsoft_hcsshim_internal_controller_process_save_payload_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Payload

type Payload struct {

	// schema_version is bumped whenever a field's semantics change. The
	// destination MUST reject states whose version it does not recognise.
	SchemaVersion uint32 `protobuf:"varint,1,opt,name=schema_version,json=schemaVersion,proto3" json:"schema_version,omitempty"`
	// exec_id is the process's exec identifier; empty for the container's
	// init process.
	ExecID string `protobuf:"bytes,2,opt,name=exec_id,json=execId,proto3" json:"exec_id,omitempty"`
	// pid is the process ID inside the guest.
	Pid int32 `protobuf:"varint,3,opt,name=pid,proto3" json:"pid,omitempty"`
	// bundle is the OCI bundle path on the host.
	Bundle string `protobuf:"bytes,4,opt,name=bundle,proto3" json:"bundle,omitempty"`
	// oci_process_spec_json is the JSON-encoded OCI process specification.
	OciProcessSpecJson []byte `protobuf:"bytes,5,opt,name=oci_process_spec_json,json=ociProcessSpecJson,proto3" json:"oci_process_spec_json,omitempty"`
	// io_retry_timeout is how long IO relay reconnects are retried for this
	// process.
	IoRetryTimeout *durationpb.Duration `protobuf:"bytes,6,opt,name=io_retry_timeout,json=ioRetryTimeout,proto3" json:"io_retry_timeout,omitempty"`
	// stdin_port, stdout_port and stderr_port are the vsock ports used by
	// the GCS<->shim IO relay for this process. The destination reattaches
	// IO on the same ports so streams do not need to be renegotiated.
	StdinPort  uint32 `protobuf:"varint,7,opt,name=stdin_port,json=stdinPort,proto3" json:"stdin_port,omitempty"`
	StdoutPort uint32 `protobuf:"varint,8,opt,name=stdout_port,json=stdoutPort,proto3" json:"stdout_port,omitempty"`
	StderrPort uint32 `protobuf:"varint,9,opt,name=stderr_port,json=stderrPort,proto3" json:"stderr_port,omitempty"`
	// wait_call_id is the source bridge's outstanding WaitForProcess request
	// id. The destination pre-registers a stub rpc against this id instead of
	// issuing a duplicate wait. Zero if absent.
	WaitCallID int64 `protobuf:"varint,10,opt,name=wait_call_id,json=waitCallId,proto3" json:"wait_call_id,omitempty"`
	// contains filtered or unexported fields
}

Payload is the migration payload owned by a single process controller. It is the top-level message wrapped in an [anypb.Any] when handed off between source and destination shims.

func (*Payload) Descriptor deprecated

func (*Payload) Descriptor() ([]byte, []int)

Deprecated: Use Payload.ProtoReflect.Descriptor instead.

func (*Payload) GetBundle

func (x *Payload) GetBundle() string

func (*Payload) GetExecID

func (x *Payload) GetExecID() string

func (*Payload) GetIoRetryTimeout

func (x *Payload) GetIoRetryTimeout() *durationpb.Duration

func (*Payload) GetOciProcessSpecJson

func (x *Payload) GetOciProcessSpecJson() []byte

func (*Payload) GetPid

func (x *Payload) GetPid() int32

func (*Payload) GetSchemaVersion

func (x *Payload) GetSchemaVersion() uint32

func (*Payload) GetStderrPort

func (x *Payload) GetStderrPort() uint32

func (*Payload) GetStdinPort

func (x *Payload) GetStdinPort() uint32

func (*Payload) GetStdoutPort

func (x *Payload) GetStdoutPort() uint32

func (*Payload) GetWaitCallID

func (x *Payload) GetWaitCallID() int64

func (*Payload) ProtoMessage

func (*Payload) ProtoMessage()

func (*Payload) ProtoReflect

func (x *Payload) ProtoReflect() protoreflect.Message

func (*Payload) Reset

func (x *Payload) Reset()

func (*Payload) String

func (x *Payload) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL