Documentation
¶
Index ¶
- type Proxy
- func (revProxy *Proxy) GetRouter() http.Handler
- func (revProxy *Proxy) ServeFSPerformance(res http.ResponseWriter, req *http.Request)
- func (revProxy *Proxy) ServeIterator(res http.ResponseWriter, req *http.Request)
- func (revProxy *Proxy) ServePerformance(res http.ResponseWriter, req *http.Request)
- func (revProxy *Proxy) ServeReplicationCapabilities(res http.ResponseWriter, req *http.Request)
- func (revProxy *Proxy) ServeReverseProxy(res http.ResponseWriter, req *http.Request)
- func (revProxy *Proxy) ServeSymmetrix(res http.ResponseWriter, req *http.Request)
- func (revProxy *Proxy) ServeVersions(res http.ResponseWriter, req *http.Request)
- func (revProxy *Proxy) ServeVolume(res http.ResponseWriter, req *http.Request)
- func (revProxy *Proxy) ServeVolumePerformance(res http.ResponseWriter, req *http.Request)
- func (revProxy *Proxy) UpdateConfig(proxyConfig config.ProxyConfig) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Proxy ¶
type Proxy struct {
// contains filtered or unexported fields
}
Proxy - represents a Proxy
func NewProxy ¶
func NewProxy(proxyConfig config.ProxyConfig) (*Proxy, error)
NewProxy - Given a proxy config, returns a proxy
func (*Proxy) ServeFSPerformance ¶
func (revProxy *Proxy) ServeFSPerformance(res http.ResponseWriter, req *http.Request)
ServeFSPerformance - handler function for the performance endpoint
func (*Proxy) ServeIterator ¶
func (revProxy *Proxy) ServeIterator(res http.ResponseWriter, req *http.Request)
ServeIterator - handler function for volume iterator endpoint
func (*Proxy) ServePerformance ¶
func (revProxy *Proxy) ServePerformance(res http.ResponseWriter, req *http.Request)
ServePerformance - handler function for the performance endpoint
func (*Proxy) ServeReplicationCapabilities ¶
func (revProxy *Proxy) ServeReplicationCapabilities(res http.ResponseWriter, req *http.Request)
ServeReplicationCapabilities - handler function for replicationcapabilities endpoint
func (*Proxy) ServeReverseProxy ¶
func (revProxy *Proxy) ServeReverseProxy(res http.ResponseWriter, req *http.Request)
ServeReverseProxy - serves a reverse proxy request
func (*Proxy) ServeSymmetrix ¶
func (revProxy *Proxy) ServeSymmetrix(res http.ResponseWriter, req *http.Request)
ServeSymmetrix - handler function for symmetrix list endpoint
func (*Proxy) ServeVersions ¶
func (revProxy *Proxy) ServeVersions(res http.ResponseWriter, req *http.Request)
ServeVersions - handler function for the version endpoint
func (*Proxy) ServeVolume ¶
func (revProxy *Proxy) ServeVolume(res http.ResponseWriter, req *http.Request)
ServeVolume - handler function for volume endpoint
func (*Proxy) ServeVolumePerformance ¶
func (revProxy *Proxy) ServeVolumePerformance(res http.ResponseWriter, req *http.Request)
ServeVolumePerformance - handler function for the performance endpoint
func (*Proxy) UpdateConfig ¶
func (revProxy *Proxy) UpdateConfig(proxyConfig config.ProxyConfig) error
UpdateConfig - Given a new proxy config, updates the Proxy