dnsnameresolver

package
v0.0.0-...-16da3ce Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2024 License: Apache-2.0 Imports: 26 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 {
	// contains filtered or unexported fields
}

Controller holds the information of the DNS names and the corresponding DNSNameResolver objects. The controller maintains the DNSNameResolver objects in the cluster.

func NewController

func NewController(ovnClient *util.OVNClusterManagerClientset, wf *factory.WatchFactory) *Controller

NewController returns an instance of the Controller. The level-driven controller is also initialized before returning the Controller intance.

func (*Controller) Start

func (c *Controller) Start() error

Start initializes the handlers for EgressFirewall and DNSNameResolver by watching the corresponding resource types.

func (*Controller) Stop

func (c *Controller) Stop()

Stop gracefully stops the controller. The handlers for EgressFirewall and DNSNameResolver are removed.

Jump to

Keyboard shortcuts

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