Documentation
¶
Index ¶
- Variables
- type Payload
- func (*Payload) Descriptor() ([]byte, []int)deprecated
- func (x *Payload) GetPods() []*anypb.Any
- func (x *Payload) GetSchemaVersion() uint32
- func (x *Payload) GetVm() *anypb.Any
- func (*Payload) ProtoMessage()
- func (x *Payload) ProtoReflect() protoreflect.Message
- func (x *Payload) Reset()
- func (x *Payload) String() string
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) GetSchemaVersion ¶
func (*Payload) ProtoMessage ¶
func (*Payload) ProtoMessage()
func (*Payload) ProtoReflect ¶
func (x *Payload) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.