Documentation ¶
Index ¶
Constants ¶
View Source
const ( ROUTE_META_GVK = "x-cloudops-group-version-kind" ROUTE_META_ACTION = "x-cloudops-action" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIGroupVersion ¶
type APIGroupVersion struct { Root string Storage map[string]rest.Storage GroupVersion schema.GroupVersion Mapper meta.RESTMapper Serializer runtime.NegotiatedSerializer Typer runtime.ObjectTyper Creater runtime.ObjectCreater Copier runtime.ObjectCopier // performs deepcopies per API Group type Convertor runtime.ObjectConvertor Defaulter runtime.ObjectDefaulter // for setting our defaults per API Group type Linker runtime.SelfLinker Context apirequest.RequestContextMapper // SubresourceGroupVersionKind contains the GroupVersionKind overrides for each subresource that is // accessible from this API group version. SubresourceGroupVersionKind map[string]schema.GroupVersionKind MinRequestTimeout time.Duration }
func (*APIGroupVersion) InstallREST ¶
func (g *APIGroupVersion) InstallREST(container *restful.Container) error
type APIInstaller ¶
type APIInstaller struct {
// contains filtered or unexported fields
}
func (*APIInstaller) Install ¶
func (a *APIInstaller) Install(ws *restful.WebService) (apiResources []metav1.APIResource, errors []error)
Installs handlers for API resources.
func (*APIInstaller) NewWebService ¶
func (a *APIInstaller) NewWebService() *restful.WebService
Click to show internal directories.
Click to hide internal directories.