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: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_github_com_Microsoft_hcsshim_internal_controller_network_save_payload_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type EndpointBinding

type EndpointBinding struct {

	// endpoint_id is the HNS/HCN HostComputeEndpoint identifier bound to the
	// NIC.
	EndpointID string `protobuf:"bytes,1,opt,name=endpoint_id,json=endpointId,proto3" json:"endpoint_id,omitempty"`
	// mac_address is the endpoint's MAC address.
	MacAddress string `protobuf:"bytes,2,opt,name=mac_address,json=macAddress,proto3" json:"mac_address,omitempty"`
	// endpoint_name is the endpoint's HNS/HCN name.
	EndpointName string `protobuf:"bytes,3,opt,name=endpoint_name,json=endpointName,proto3" json:"endpoint_name,omitempty"`
	// contains filtered or unexported fields
}

EndpointBinding describes a single HNS/HCN endpoint bound to a VM vNIC.

func (*EndpointBinding) Descriptor deprecated

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

Deprecated: Use EndpointBinding.ProtoReflect.Descriptor instead.

func (*EndpointBinding) GetEndpointID

func (x *EndpointBinding) GetEndpointID() string

func (*EndpointBinding) GetEndpointName

func (x *EndpointBinding) GetEndpointName() string

func (*EndpointBinding) GetMacAddress

func (x *EndpointBinding) GetMacAddress() string

func (*EndpointBinding) ProtoMessage

func (*EndpointBinding) ProtoMessage()

func (*EndpointBinding) ProtoReflect

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

func (*EndpointBinding) Reset

func (x *EndpointBinding) Reset()

func (*EndpointBinding) String

func (x *EndpointBinding) String() string

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"`
	// namespace_id is the HCN compartment / namespace GUID.
	NamespaceID string `protobuf:"bytes,2,opt,name=namespace_id,json=namespaceId,proto3" json:"namespace_id,omitempty"`
	// policy_based_routing records whether PBR was enabled when the network
	// was set up.
	PolicyBasedRouting bool `protobuf:"varint,3,opt,name=policy_based_routing,json=policyBasedRouting,proto3" json:"policy_based_routing,omitempty"`
	// is_namespace_supported_by_guest records whether the guest GCS supports
	// namespace-based endpoint attach.
	IsNamespaceSupportedByGuest bool `` /* 149-byte string literal not displayed */
	// vm_endpoints is keyed by per-VM vNIC GUID and contains the HNS endpoint
	// bound to each NIC slot of the VM.
	VmEndpoints map[string]*EndpointBinding `` /* 168-byte string literal not displayed */
	// contains filtered or unexported fields
}

Payload is the migration payload owned by the network 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) GetIsNamespaceSupportedByGuest

func (x *Payload) GetIsNamespaceSupportedByGuest() bool

func (*Payload) GetNamespaceID

func (x *Payload) GetNamespaceID() string

func (*Payload) GetPolicyBasedRouting

func (x *Payload) GetPolicyBasedRouting() bool

func (*Payload) GetSchemaVersion

func (x *Payload) GetSchemaVersion() uint32

func (*Payload) GetVmEndpoints

func (x *Payload) GetVmEndpoints() map[string]*EndpointBinding

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