egressservice

package
v0.0.0-...-12c5f08 Latest Latest
Warning

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

Go to latest
Published: May 1, 2024 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

type Controller struct {
	sync.Mutex

	IsReachable func(nodeName string, mgmtIPs []net.IP, healthClient healthcheck.EgressIPHealthClient) bool // TODO: make a universal cache instead
	// contains filtered or unexported fields
}

Controller represents the global egressservice controller

func NewController

func NewController(
	ovnClient *util.OVNClusterManagerClientset,
	wf *factory.WatchFactory,
	isReachable func(nodeName string, mgmtIPs []net.IP, healthClient healthcheck.EgressIPHealthClient) bool) (*Controller, error)

func (*Controller) CheckNodesReachabilityIterate

func (c *Controller) CheckNodesReachabilityIterate()

func (*Controller) Start

func (c *Controller) Start(threadiness int) error

func (*Controller) Stop

func (c *Controller) Stop()

Jump to

Keyboard shortcuts

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