Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Factory ¶
type Factory struct { KClient kubernetes.Interface IFactory informerfactory.SharedInformerFactory ResyncInterval time.Duration }
Factory initializes and manages the kube watches that drive an ovn controller
func NewDefaultFactory ¶
func NewDefaultFactory(c kubernetes.Interface) *Factory
NewDefaultFactory initializes a default ovn controller factory.
func (*Factory) CreateClusterController ¶
func (factory *Factory) CreateClusterController() *cluster.OvnClusterController
CreateClusterController creates the controller for cluster management that watches nodes and gives out the subnets for the logical switch meant for the node
func (*Factory) CreateOvnController ¶
func (factory *Factory) CreateOvnController() *ovn.Controller
CreateOvnController begins listing and watching against the API server for the pod and endpoint resources. It spawns child goroutines that cannot be terminated.
Click to show internal directories.
Click to hide internal directories.