cmd

package
v1.3.0-rc7 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2021 License: Apache-2.0 Imports: 18 Imported by: 2

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

Jump to

Keyboard shortcuts

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