cmd

package
v2.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2024 License: Apache-2.0 Imports: 21 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

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