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