Documentation ¶
Index ¶
- Variables
- func AddGenericResourceProxy(ws *restful.WebService, ctx context.Context, ...) error
- func NewGenericDeleteEndpoint(cli *rest.RESTClient, gvr unversioned.GroupVersionResource, ...) endpoint.Endpoint
- func NewGenericGetEndpoint(cli *rest.RESTClient, gvr unversioned.GroupVersionResource, ...) endpoint.Endpoint
- func NewGenericPostEndpoint(cli *rest.RESTClient, gvr unversioned.GroupVersionResource, ...) endpoint.Endpoint
- func NewGenericPutEndpoint(cli *rest.RESTClient, gvr unversioned.GroupVersionResource, ...) endpoint.Endpoint
- type ResponseHandlerFunc
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
func NewGenericDeleteEndpoint ¶
func NewGenericDeleteEndpoint(cli *rest.RESTClient, gvr unversioned.GroupVersionResource, response ResponseHandlerFunc) endpoint.Endpoint
func NewGenericGetEndpoint ¶
func NewGenericGetEndpoint(cli *rest.RESTClient, gvr unversioned.GroupVersionResource, response ResponseHandlerFunc) endpoint.Endpoint
func NewGenericPostEndpoint ¶
func NewGenericPostEndpoint(cli *rest.RESTClient, gvr unversioned.GroupVersionResource, response ResponseHandlerFunc) endpoint.Endpoint
func NewGenericPutEndpoint ¶
func NewGenericPutEndpoint(cli *rest.RESTClient, gvr unversioned.GroupVersionResource, response ResponseHandlerFunc) endpoint.Endpoint
Types ¶
type ResponseHandlerFunc ¶
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
Click to show internal directories.
Click to hide internal directories.