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.
Click to show internal directories.
Click to hide internal directories.