Versions in this module Expand all Collapse all v1 v1.0.5 Aug 24, 2015 Changes in this version + type HookHandler interface + ServeHTTP func(w http.ResponseWriter, r *http.Request, ctx api.Context, name, subpath string) error + type LocationStreamer struct + ContentType string + Flush bool + Location *url.URL + Transport http.RoundTripper + func (*LocationStreamer) IsAnAPIObject() + func (s *LocationStreamer) InputStream(apiVersion, acceptHeader string) (stream io.ReadCloser, flush bool, contentType string, err error) + type UpgradeAwareProxyHandler struct + FlushInterval time.Duration + Location *url.URL + MaxBytesPerSec int64 + Transport http.RoundTripper + UpgradeRequired bool + func NewUpgradeAwareProxyHandler(location *url.URL, transport http.RoundTripper, upgradeRequired bool) *UpgradeAwareProxyHandler + func (h *UpgradeAwareProxyHandler) RequestError() error + func (h *UpgradeAwareProxyHandler) ServeHTTP(w http.ResponseWriter, req *http.Request) + type WebHook struct + func NewHTTPWebHook(handler http.Handler, allowGet bool) *WebHook + func NewWebHook(handler HookHandler, allowGet bool) *WebHook + func (h *WebHook) Connect(ctx api.Context, name string, options runtime.Object) (rest.ConnectHandler, error) + func (h *WebHook) ConnectMethods() []string + func (h *WebHook) New() runtime.Object + func (h *WebHook) NewConnectOptions() (runtime.Object, bool, string) + type WebHookHandler struct + func (h *WebHookHandler) RequestError() error + func (h *WebHookHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)