pool

package
v1.5.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type YurtCoordinatorProxy added in v1.4.0

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

YurtCoordinatorProxy is responsible for handling requests when remote servers are unhealthy

func NewYurtCoordinatorProxy added in v1.4.0

func NewYurtCoordinatorProxy(
	localCacheMgr cachemanager.CacheManager,
	transportMgrGetter func() transport.Interface,
	coordinatorServerURLGetter func() *url.URL,
	filterMgr *manager.Manager,
	isCoordinatorReady func() bool,
	stopCh <-chan struct{}) (*YurtCoordinatorProxy, error)

func (*YurtCoordinatorProxy) ServeHTTP added in v1.4.0

func (pp *YurtCoordinatorProxy) ServeHTTP(rw http.ResponseWriter, req *http.Request)

ServeHTTP of YurtCoordinatorProxy is able to handle read-only request, including watch, list, get. Other verbs that will write data to the cache are not supported currently.

Jump to

Keyboard shortcuts

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