Documentation ¶
Overview ¶
Package factory contains code used to create the router controller.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RouterControllerFactory ¶
type RouterControllerFactory struct { KClient kclientset.Interface RClient routeclientset.Interface Namespaces routercontroller.NamespaceLister ResyncInterval time.Duration Namespace string LabelSelector string FieldSelector string // contains filtered or unexported fields }
RouterControllerFactory initializes and manages the watches that drive a router controller. It supports optional scoping on Namespace, Labels, and Fields of routes. If Namespace is empty, it means "all namespaces".
func NewDefaultRouterControllerFactory ¶ added in v1.0.6
func NewDefaultRouterControllerFactory(rc routeclientset.Interface, kc kclientset.Interface) *RouterControllerFactory
NewDefaultRouterControllerFactory initializes a default router controller factory.
func (*RouterControllerFactory) Create ¶
func (f *RouterControllerFactory) Create(plugin router.Plugin, watchNodes, enableIngress bool) *routercontroller.RouterController
Create begins listing and watching against the API server for the desired route and endpoint resources. It spawns child goroutines that cannot be terminated.
Click to show internal directories.
Click to hide internal directories.