cmd

package
v0.0.0-...-4042ac3 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2020 License: Apache-2.0 Imports: 18 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)

PrintVersion print version and exit

Types

type KubeFw

type KubeFw struct {
	Client kubernetes.Interface
	Config *options.KubeFwConfig
}

KubeFw holds the information needed to run server

func NewKubeFwDefault

func NewKubeFwDefault(config *options.KubeFwConfig) (*KubeFw, error)

NewKubeFwDefault returns a KubeFw object

func (*KubeFw) CacheSyncOrTimeout

func (kfw *KubeFw) CacheSyncOrTimeout(informerFactory informers.SharedInformerFactory, stopCh <-chan struct{}) error

CacheSyncOrTimeout performs cache synchronization under timeout limit

func (*KubeFw) Run

func (kfw *KubeFw) 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