Versions in this module Expand all Collapse all v1 v1.24.10 Oct 24, 2017 v1.24.9 Oct 24, 2017 Changes in this version + const MaxRetryWhenPatchConflicts + func ConnectResource(connecter rest.Connecter, scope RequestScope, admit admission.Interface, ...) http.HandlerFunc + func CreateNamedResource(r rest.NamedCreater, scope RequestScope, typer runtime.ObjectTyper, ...) http.HandlerFunc + func CreateResource(r rest.Creater, scope RequestScope, typer runtime.ObjectTyper, ...) http.HandlerFunc + func DeleteCollection(r rest.CollectionDeleter, checkBody bool, scope RequestScope, ...) http.HandlerFunc + func DeleteResource(r rest.GracefulDeleter, allowsOptions bool, scope RequestScope, ...) http.HandlerFunc + func GetResource(r rest.Getter, e rest.Exporter, scope RequestScope) http.HandlerFunc + func GetResourceWithOptions(r rest.GetterWithOptions, scope RequestScope, isSubresource bool) http.HandlerFunc + func ListResource(r rest.Lister, rw rest.Watcher, scope RequestScope, forceWatch bool, ...) http.HandlerFunc + func PatchResource(r rest.Patcher, scope RequestScope, admit admission.Interface, ...) http.HandlerFunc + func UpdateResource(r rest.Updater, scope RequestScope, typer runtime.ObjectTyper, ...) http.HandlerFunc + type ContextBasedNaming struct + ClusterScoped bool + GetContext ContextFunc + SelfLinkPathPrefix string + SelfLinkPathSuffix string + SelfLinker runtime.SelfLinker + func (n ContextBasedNaming) GenerateLink(requestInfo *request.RequestInfo, obj runtime.Object) (uri string, err error) + func (n ContextBasedNaming) GenerateListLink(req *http.Request) (uri string, err error) + func (n ContextBasedNaming) Name(req *http.Request) (namespace, name string, err error) + func (n ContextBasedNaming) Namespace(req *http.Request) (namespace string, err error) + func (n ContextBasedNaming) ObjectName(obj runtime.Object) (namespace, name string, err error) + func (n ContextBasedNaming) SetSelfLink(obj runtime.Object, url string) error + type ContextFunc func(req *http.Request) request.Context + type ProxyHandler struct + Mapper request.RequestContextMapper + Prefix string + Serializer runtime.NegotiatedSerializer + Storage map[string]rest.Storage + func (r *ProxyHandler) ServeHTTP(w http.ResponseWriter, req *http.Request) + type RequestScope struct + Convertor runtime.ObjectConvertor + Creater runtime.ObjectCreater + Defaulter runtime.ObjectDefaulter + Kind schema.GroupVersionKind + MetaGroupVersion schema.GroupVersion + Namer ScopeNamer + Resource schema.GroupVersionResource + Serializer runtime.NegotiatedSerializer + Subresource string + TableConvertor rest.TableConvertor + Typer runtime.ObjectTyper + UnsafeConvertor runtime.ObjectConvertor + func (scope *RequestScope) AllowsConversion(gvk schema.GroupVersionKind) bool + func (scope *RequestScope) AllowsServerVersion(version string) bool + func (scope *RequestScope) AllowsStreamSchema(s string) bool + type ScopeNamer interface + GenerateLink func(requestInfo *request.RequestInfo, obj runtime.Object) (uri string, err error) + GenerateListLink func(req *http.Request) (uri string, err error) + Name func(req *http.Request) (namespace, name string, err error) + Namespace func(req *http.Request) (namespace string, err error) + ObjectName func(obj runtime.Object) (namespace, name string, err error) + SetSelfLink func(obj runtime.Object, url string) error + type TimeoutFactory interface + TimeoutCh func() (<-chan time.Time, func() bool) + type WatchServer struct + EmbeddedEncoder runtime.Encoder + Encoder runtime.Encoder + Fixup func(runtime.Object) + Framer runtime.Framer + MediaType string + Scope RequestScope + TimeoutFactory TimeoutFactory + UseTextFraming bool + Watching watch.Interface + func (s *WatchServer) HandleWS(ws *websocket.Conn) + func (s *WatchServer) ServeHTTP(w http.ResponseWriter, req *http.Request)