Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CleanupConfigAndExit ¶
func CleanupConfigAndExit()
CleanupConfigAndExit performs Cleanup on all three controllers
Types ¶
type KubeRouter ¶
type KubeRouter struct { Client kubernetes.Interface Config *options.KubeRouterConfig }
KubeRouter holds the information needed to run server
func NewKubeRouterDefault ¶
func NewKubeRouterDefault(config *options.KubeRouterConfig) (*KubeRouter, error)
NewKubeRouterDefault returns a KubeRouter object
func (*KubeRouter) CacheSyncOrTimeout ¶
func (kr *KubeRouter) CacheSyncOrTimeout(informerFactory informers.SharedInformerFactory, stopCh <-chan struct{}) error
CacheSyncOrTimeout performs cache synchronization under timeout limit
func (*KubeRouter) Run ¶
func (kr *KubeRouter) Run() error
Run starts the controllers and waits forever till we get SIGINT or SIGTERM
Click to show internal directories.
Click to hide internal directories.