controller

package
v0.8.8 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2023 License: Apache-2.0 Imports: 44 Imported by: 0

Documentation

Index

Constants

View Source
const (
	InstanceIPIndex = "instanceIP"
	EndpointIPIndex = "endpointIP"

	NeighUpdateChanSize = 2000
	LinkUpdateChainSize = 200
	AddrUpdateChainSize = 200

	NetlinkSubscribeRetryInterval = 10 * time.Second
)

Variables

This section is empty.

Functions

This section is empty.

Types

type CtrlHub added in v0.4.0

type CtrlHub struct {
	// contains filtered or unexported fields
}

func NewCtrlHub added in v0.4.0

func NewCtrlHub(config *daemonconfig.Configuration, mgr ctrl.Manager, logger logr.Logger) (*CtrlHub, error)

func (*CtrlHub) CacheSynced added in v0.4.0

func (c *CtrlHub) CacheSynced(ctx context.Context) bool

func (*CtrlHub) GetBGPManager added in v0.4.0

func (c *CtrlHub) GetBGPManager() *bgp.Manager

func (*CtrlHub) GetMgrAPIReader added in v0.4.0

func (c *CtrlHub) GetMgrAPIReader() client.Reader

func (*CtrlHub) GetMgrClient added in v0.4.0

func (c *CtrlHub) GetMgrClient() client.Client

func (*CtrlHub) Run added in v0.4.0

func (c *CtrlHub) Run(ctx context.Context) error

type NodeIPCache

type NodeIPCache struct {
	// contains filtered or unexported fields
}

func NewNodeIPCache

func NewNodeIPCache() *NodeIPCache

func (*NodeIPCache) SearchIP

func (nic *NodeIPCache) SearchIP(ip net.IP) (net.HardwareAddr, bool)

func (*NodeIPCache) UpdateNodeIPs

func (nic *NodeIPCache) UpdateNodeIPs(nodeInfoList []networkingv1.NodeInfo, localNodeName string, remoteVtepList []*multiclusterv1.RemoteVtep) error

Jump to

Keyboard shortcuts

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