cmd

package
v0.2.0-beta.10 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2018 License: Apache-2.0 Imports: 19 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

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