Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PoolCoordinatorProxy ¶
type PoolCoordinatorProxy struct {
// contains filtered or unexported fields
}
PoolCoordinatorProxy is responsible for handling requests when remote servers are unhealthy
func NewPoolCoordinatorProxy ¶
func NewPoolCoordinatorProxy( localCacheMgr cachemanager.CacheManager, transportMgrGetter func() transport.Interface, coordinatorServerURLGetter func() *url.URL, filterMgr *manager.Manager, isCoordinatorReady func() bool, stopCh <-chan struct{}) (*PoolCoordinatorProxy, error)
func (*PoolCoordinatorProxy) ServeHTTP ¶
func (pp *PoolCoordinatorProxy) ServeHTTP(rw http.ResponseWriter, req *http.Request)
ServeHTTP of PoolCoordinatorProxy is able to handle read-only request, including watch, list, get. Other verbs that will write data to the cache are not supported currently.
Click to show internal directories.
Click to hide internal directories.