rest

package
v0.0.1-alpha.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 9, 2017 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var WebService *restful.WebService

Functions

func AddGenericResourceProxy

func AddGenericResourceProxy(ws *restful.WebService, ctx context.Context, gvr unversioned.GroupVersionResource, ptr runtime.Object, response ResponseHandlerFunc) error

Types

type ResponseHandlerFunc

type ResponseHandlerFunc func(rest.Result) (runtime.Object, error)

func NewResponseHandler

func NewResponseHandler(gvk unversioned.GroupVersionKind, ptr runtime.Object) ResponseHandlerFunc

FIXME this is basically one big workaround because version and kind are not filled by the restclient

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL