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()
Click to show internal directories.
Click to hide internal directories.