Documentation
¶
Index ¶
- Variables
- type Payload
- func (*Payload) Descriptor() ([]byte, []int)deprecated
- func (x *Payload) GetContainers() []*anypb.Any
- func (x *Payload) GetGcsPodID() string
- func (x *Payload) GetNetwork() *anypb.Any
- func (x *Payload) GetPodID() string
- func (x *Payload) GetSchemaVersion() uint32
- 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_pod_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"`
// pod_id is the pod identifier.
PodID string `protobuf:"bytes,2,opt,name=pod_id,json=podId,proto3" json:"pod_id,omitempty"`
// gcs_pod_id is the pod identifier as known by the GCS inside the
// guest, which may differ from pod_id.
GcsPodID string `protobuf:"bytes,3,opt,name=gcs_pod_id,json=gcsPodId,proto3" json:"gcs_pod_id,omitempty"`
// network is the per-pod network controller's [anypb.Any] envelope.
Network *anypb.Any `protobuf:"bytes,4,opt,name=network,proto3" json:"network,omitempty"`
// containers is the set of container [Payload] envelopes for this pod,
// one [anypb.Any] per container controller.
Containers []*anypb.Any `protobuf:"bytes,5,rep,name=containers,proto3" json:"containers,omitempty"`
// contains filtered or unexported fields
}
Payload is the migration payload owned by a single pod controller. It is the top-level message wrapped in an anypb.Any when handed off between source and destination shims. The embedded network controller and container controllers are carried as opaque anypb.Any payloads so each child controller fully owns its own schema.
func (*Payload) Descriptor
deprecated
func (*Payload) GetContainers ¶
func (*Payload) GetGcsPodID ¶
func (*Payload) GetNetwork ¶
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.