controller

package
v0.0.0-...-eb83a84 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2021 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SuccessSynced = "Synced"

	MessageResourceSynced = "Route synced successfully"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type RouteController

type RouteController struct {
	// contains filtered or unexported fields
}

func NewRouteController

func NewRouteController(
	kubeClientSet kubernetes.Interface,
	routeClientSet clientset.Interface,
	routeInformer informers.RouteInformer,
	rulesManager *rulesmanager.RulesManager) *RouteController

NewRouteController returns a new route controller

func (*RouteController) Run

func (c *RouteController) Run(threadiness int, stopCh <-chan struct{}) error

在此处开始controller的业务

Jump to

Keyboard shortcuts

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