Documentation
¶
Index ¶
- Variables
- func AddGenericResourceProxy(ws *restful.WebService, ctx context.Context, gvr schema.GroupVersionResource, ...) error
- func NewGenericDeleteEndpoint(cli *rest.RESTClient, gvr schema.GroupVersionResource, ...) endpoint.Endpoint
- func NewGenericGetEndpoint(cli *rest.RESTClient, gvr schema.GroupVersionResource, ...) endpoint.Endpoint
- func NewGenericPostEndpoint(cli *rest.RESTClient, gvr schema.GroupVersionResource, ...) endpoint.Endpoint
- func NewGenericPutEndpoint(cli *rest.RESTClient, gvr schema.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 schema.GroupVersionResource, ptr runtime.Object, response ResponseHandlerFunc) error
func NewGenericDeleteEndpoint ¶
func NewGenericDeleteEndpoint(cli *rest.RESTClient, gvr schema.GroupVersionResource, response ResponseHandlerFunc) endpoint.Endpoint
func NewGenericGetEndpoint ¶
func NewGenericGetEndpoint(cli *rest.RESTClient, gvr schema.GroupVersionResource, response ResponseHandlerFunc) endpoint.Endpoint
func NewGenericPostEndpoint ¶
func NewGenericPostEndpoint(cli *rest.RESTClient, gvr schema.GroupVersionResource, response ResponseHandlerFunc) endpoint.Endpoint
func NewGenericPutEndpoint ¶
func NewGenericPutEndpoint(cli *rest.RESTClient, gvr schema.GroupVersionResource, response ResponseHandlerFunc) endpoint.Endpoint
Types ¶
type ResponseHandlerFunc ¶
func NewResponseHandler ¶
func NewResponseHandler(gvk schema.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.