Documentation ¶
Index ¶
- func GenericResourceProxy(ws *restful.WebService, ctx context.Context, gvr schema.GroupVersionResource, ...) (*restful.WebService, error)
- func GroupBasePath(gvr schema.GroupVersion) string
- func GroupVersionBasePath(gvr schema.GroupVersion) string
- func GroupVersionProxyBase(ctx context.Context, gv schema.GroupVersion) (*restful.WebService, error)
- func NameParam(ws *restful.WebService) *restful.Parameter
- func NamespaceParam(ws *restful.WebService) *restful.Parameter
- func NewAutodiscoveryEndpoint(cli *rest.RESTClient) endpoint.Endpoint
- func NewGenericDeleteEndpoint(cli *rest.RESTClient, gvr schema.GroupVersionResource, ...) endpoint.Endpoint
- func NewGenericDeleteListEndpoint(cli *rest.RESTClient, gvr schema.GroupVersionResource, ...) endpoint.Endpoint
- func NewGenericGetEndpoint(cli *rest.RESTClient, gvr schema.GroupVersionResource, ...) endpoint.Endpoint
- func NewGenericGetListEndpoint(cli *rest.RESTClient, gvr schema.GroupVersionResource, ...) endpoint.Endpoint
- func NewGenericPatchEndpoint(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
- func NewSpiceEndpoint(cli *rest.RESTClient, coreCli *kubernetes.Clientset, ...) endpoint.Endpoint
- func NotImplementedYet(request *restful.Request, response *restful.Response)
- func ResourceBasePath(gvr schema.GroupVersionResource) string
- func ResourcePath(gvr schema.GroupVersionResource) string
- func ResourceProxyAutodiscovery(ctx context.Context, gvr schema.GroupVersionResource) (*restful.WebService, error)
- func SubResourcePath(subResource string) string
- type ResponseHandlerFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenericResourceProxy ¶
func GroupBasePath ¶
func GroupBasePath(gvr schema.GroupVersion) string
func GroupVersionBasePath ¶
func GroupVersionBasePath(gvr schema.GroupVersion) string
func GroupVersionProxyBase ¶
func GroupVersionProxyBase(ctx context.Context, gv schema.GroupVersion) (*restful.WebService, error)
func NamespaceParam ¶
func NamespaceParam(ws *restful.WebService) *restful.Parameter
func NewAutodiscoveryEndpoint ¶
func NewAutodiscoveryEndpoint(cli *rest.RESTClient) endpoint.Endpoint
func NewGenericDeleteEndpoint ¶
func NewGenericDeleteEndpoint(cli *rest.RESTClient, gvr schema.GroupVersionResource, response ResponseHandlerFunc) endpoint.Endpoint
func NewGenericDeleteListEndpoint ¶
func NewGenericDeleteListEndpoint(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 NewGenericGetListEndpoint ¶
func NewGenericGetListEndpoint(cli *rest.RESTClient, gvr schema.GroupVersionResource, response ResponseHandlerFunc) endpoint.Endpoint
func NewGenericPatchEndpoint ¶
func NewGenericPatchEndpoint(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
func NewSpiceEndpoint ¶
func NewSpiceEndpoint(cli *rest.RESTClient, coreCli *kubernetes.Clientset, gvr schema.GroupVersionResource) endpoint.Endpoint
func NotImplementedYet ¶
func NotImplementedYet(request *restful.Request, response *restful.Response)
func ResourceBasePath ¶
func ResourceBasePath(gvr schema.GroupVersionResource) string
func ResourcePath ¶
func ResourcePath(gvr schema.GroupVersionResource) string
func ResourceProxyAutodiscovery ¶
func ResourceProxyAutodiscovery(ctx context.Context, gvr schema.GroupVersionResource) (*restful.WebService, error)
func SubResourcePath ¶
Types ¶
type ResponseHandlerFunc ¶
Click to show internal directories.
Click to hide internal directories.