overlay

package
v24.0.0-rc.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2023 License: Apache-2.0 Imports: 37 Imported by: 0

Documentation

Overview

Package overlay is a generated protocol buffer package.

It is generated from these files:

drivers/overlay/overlay.proto

It has these top-level messages:

PeerRecord

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthOverlay = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowOverlay   = fmt.Errorf("proto: integer overflow")
)

Functions

func Register

func Register(r driverapi.Registerer, config map[string]interface{}) error

Register registers a new instance of the overlay driver.

Types

type PeerRecord

type PeerRecord struct {
	// Endpoint IP is the IP of the container attachment on the
	// given overlay network.
	EndpointIP string `protobuf:"bytes,1,opt,name=endpoint_ip,json=endpointIp,proto3" json:"endpoint_ip,omitempty"`
	// Endpoint MAC is the mac address of the container attachment
	// on the given overlay network.
	EndpointMAC string `protobuf:"bytes,2,opt,name=endpoint_mac,json=endpointMac,proto3" json:"endpoint_mac,omitempty"`
	// Tunnel Endpoint IP defines the host IP for the host in
	// which this container is running and can be reached by
	// building a tunnel to that host IP.
	TunnelEndpointIP string `protobuf:"bytes,3,opt,name=tunnel_endpoint_ip,json=tunnelEndpointIp,proto3" json:"tunnel_endpoint_ip,omitempty"`
}

PeerRecord defines the information corresponding to a peer container in the overlay network.

func (*PeerRecord) Descriptor

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

func (*PeerRecord) GetEndpointIP

func (m *PeerRecord) GetEndpointIP() string

func (*PeerRecord) GetEndpointMAC

func (m *PeerRecord) GetEndpointMAC() string

func (*PeerRecord) GetTunnelEndpointIP

func (m *PeerRecord) GetTunnelEndpointIP() string

func (*PeerRecord) GoString

func (this *PeerRecord) GoString() string

func (*PeerRecord) Marshal

func (m *PeerRecord) Marshal() (dAtA []byte, err error)

func (*PeerRecord) MarshalTo

func (m *PeerRecord) MarshalTo(dAtA []byte) (int, error)

func (*PeerRecord) ProtoMessage

func (*PeerRecord) ProtoMessage()

func (*PeerRecord) Reset

func (m *PeerRecord) Reset()

func (*PeerRecord) Size

func (m *PeerRecord) Size() (n int)

func (*PeerRecord) String

func (this *PeerRecord) String() string

func (*PeerRecord) Unmarshal

func (m *PeerRecord) Unmarshal(dAtA []byte) error

Directories

Path Synopsis
Package overlayutils provides utility functions for overlay networks
Package overlayutils provides utility functions for overlay networks

Jump to

Keyboard shortcuts

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