tables

package
v1.14.2 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Cell = cell.Module(
	"datapath-tables",
	"Datapath tables",
	L2AnnouncementTableCell,
)
View Source
var L2AnnouncementTableCell = statedb.NewTableCell[*L2AnnounceEntry](schema)

Functions

func ByProxyIPAndInterface added in v1.14.0

func ByProxyIPAndInterface(ip net.IP, iface string) statedb.Query

func ByProxyOrigin added in v1.14.0

func ByProxyOrigin(originKey resource.Key) statedb.Query

Types

type L2AnnounceEntry

type L2AnnounceEntry struct {
	// IP and network interface are the primary key of this entry
	IP               net.IP
	NetworkInterface string

	// The key of the services for which this proxy entry was added
	Origins []resource.Key

	Deleted  bool
	Revision uint64
}

func (*L2AnnounceEntry) DeepCopy

func (pne *L2AnnounceEntry) DeepCopy() *L2AnnounceEntry

Jump to

Keyboard shortcuts

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