Documentation ¶
Index ¶
- func AddGenericNamespacedResourceRoutes(ws *restful.WebService, resource string, objPointer runtime.Object, ...)
- func AddGenericNonNamespacedResourceRoutes(ws *restful.WebService, resource string, objPointer runtime.Object, ...)
- func AddGenericResourceRoutes(ws *restful.WebService, resource string, objPointer runtime.Object, ...)
- func AggregatedWebServices() []*restful.WebService
- func GroupVersionBasePath(gvr schema.GroupVersion) string
- func MetaRequired(definitions map[string]common.OpenAPIDefinition)
- func NameParam(ws *restful.WebService) *restful.Parameter
- func NamespaceParam(ws *restful.WebService) *restful.Parameter
- func NewGroupVersionWebService(gv schema.GroupVersion) *restful.WebService
- func Noop(request *restful.Request, response *restful.Response)
- func ResourceBasePath(resource string, namespaced bool) string
- func ResourcePath(resource string, namespaced bool) string
- func SetDefinitions(definitions map[string]common.OpenAPIDefinition) map[string]common.OpenAPIDefinition
- type DefinitionsChain
- type DefinitionsFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AggregatedWebServices ¶
func AggregatedWebServices() []*restful.WebService
func GroupVersionBasePath ¶
func GroupVersionBasePath(gvr schema.GroupVersion) string
func MetaRequired ¶
func MetaRequired(definitions map[string]common.OpenAPIDefinition)
MetaRequired sets name, kind, and apiVersion to be required
func NamespaceParam ¶
func NamespaceParam(ws *restful.WebService) *restful.Parameter
func NewGroupVersionWebService ¶
func NewGroupVersionWebService(gv schema.GroupVersion) *restful.WebService
func ResourceBasePath ¶
func ResourcePath ¶
func SetDefinitions ¶
func SetDefinitions(definitions map[string]common.OpenAPIDefinition) map[string]common.OpenAPIDefinition
Types ¶
type DefinitionsChain ¶
type DefinitionsChain []DefinitionsFunc
type DefinitionsFunc ¶
type DefinitionsFunc func(map[string]common.OpenAPIDefinition)
Click to show internal directories.
Click to hide internal directories.