controller

package
v0.0.0-...-a6c227c Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	HandlerResyncPeriod = time.Minute * 10
)

Variables

This section is empty.

Functions

This section is empty.

Types

type UpstreamClusterHandler

type UpstreamClusterHandler func(cluster *proxyv1alpha1.UpstreamCluster) error

type UpstreamController

type UpstreamController interface {
	Run(stopCh <-chan struct{})
	UpstreamClusterLister() proxylisters.UpstreamClusterLister
	Get(cluster string) (*proxyv1alpha1.UpstreamCluster, bool)
}

func NewUpstreamController

func NewUpstreamController(gatewayClient gatewayclientset.Interface, handlers ...UpstreamClusterHandler) UpstreamController

Jump to

Keyboard shortcuts

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