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_migration_save_payload_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Payload

type Payload struct {

	// schema_version is bumped whenever this envelope's semantics change.
	SchemaVersion uint32 `protobuf:"varint,1,opt,name=schema_version,json=schemaVersion,proto3" json:"schema_version,omitempty"`
	// vm is the VM controller's [Payload] envelope.
	Vm *anypb.Any `protobuf:"bytes,2,opt,name=vm,proto3" json:"vm,omitempty"`
	// pods holds one [Payload] envelope per pod controller in the sandbox.
	Pods []*anypb.Any `protobuf:"bytes,3,rep,name=pods,proto3" json:"pods,omitempty"`
	// contains filtered or unexported fields
}

Payload is the top-level migration envelope exchanged between source and destination shims. The VM and pod payloads are carried as opaque [Any]s so each owning controller is independently versioned.

func (*Payload) Descriptor deprecated

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

Deprecated: Use Payload.ProtoReflect.Descriptor instead.

func (*Payload) GetPods

func (x *Payload) GetPods() []*anypb.Any

func (*Payload) GetSchemaVersion

func (x *Payload) GetSchemaVersion() uint32

func (*Payload) GetVm

func (x *Payload) GetVm() *anypb.Any

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