cmd

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2020 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CleanupConfigAndExit

func CleanupConfigAndExit()

CleanupConfigAndExit performs Cleanup on all three controllers

func PrintVersion

func PrintVersion(logOutput bool)

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

CacheSync 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