Documentation ¶
Index ¶
- func CollectionFormatter(request *types.APIContext, collection *types.GenericCollection)
- func Formatter(apiContext *types.APIContext, resource *types.RawResource)
- func TemplateFormatter(apiContext *types.APIContext, resource *types.RawResource)
- func Validator(request *types.APIContext, schema *types.Schema, data map[string]interface{}) error
- type ActionHandler
- func (a ActionHandler) ExportYamlHandler(apiContext *types.APIContext, next types.RequestHandler) error
- func (a ActionHandler) RefreshActionHandler(actionName string, action *types.Action, apiContext *types.APIContext) error
- func (a ActionHandler) RefreshClusterCatalogActionHandler(actionName string, action *types.Action, apiContext *types.APIContext) error
- func (a ActionHandler) RefreshProjectCatalogActionHandler(actionName string, action *types.Action, apiContext *types.APIContext) error
- type TemplateVerionFormatterWrapper
- type TemplateWrapper
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CollectionFormatter ¶
func CollectionFormatter(request *types.APIContext, collection *types.GenericCollection)
func Formatter ¶
func Formatter(apiContext *types.APIContext, resource *types.RawResource)
func TemplateFormatter ¶
func TemplateFormatter(apiContext *types.APIContext, resource *types.RawResource)
Types ¶
type ActionHandler ¶
type ActionHandler struct { CatalogClient v3.CatalogInterface ProjectCatalogClient v3.ProjectCatalogInterface ClusterCatalogClient v3.ClusterCatalogInterface }
func (ActionHandler) ExportYamlHandler ¶
func (a ActionHandler) ExportYamlHandler(apiContext *types.APIContext, next types.RequestHandler) error
func (ActionHandler) RefreshActionHandler ¶
func (a ActionHandler) RefreshActionHandler(actionName string, action *types.Action, apiContext *types.APIContext) error
func (ActionHandler) RefreshClusterCatalogActionHandler ¶
func (a ActionHandler) RefreshClusterCatalogActionHandler(actionName string, action *types.Action, apiContext *types.APIContext) error
func (ActionHandler) RefreshProjectCatalogActionHandler ¶
func (a ActionHandler) RefreshProjectCatalogActionHandler(actionName string, action *types.Action, apiContext *types.APIContext) error
type TemplateVerionFormatterWrapper ¶
type TemplateVerionFormatterWrapper struct { CatalogLister v3.CatalogLister ClusterCatalogLister v3.ClusterCatalogLister ProjectCatalogLister v3.ProjectCatalogLister }
func (TemplateVerionFormatterWrapper) TemplateVersionFormatter ¶
func (t TemplateVerionFormatterWrapper) TemplateVersionFormatter(apiContext *types.APIContext, resource *types.RawResource)
func (TemplateVerionFormatterWrapper) TemplateVersionReadmeHandler ¶
func (t TemplateVerionFormatterWrapper) TemplateVersionReadmeHandler(apiContext *types.APIContext, next types.RequestHandler) error
type TemplateWrapper ¶
type TemplateWrapper struct { CatalogLister v3.CatalogLister ClusterCatalogLister v3.ClusterCatalogLister ProjectCatalogLister v3.ProjectCatalogLister }
func (TemplateWrapper) TemplateIconHandler ¶
func (t TemplateWrapper) TemplateIconHandler(apiContext *types.APIContext, next types.RequestHandler) error
Click to show internal directories.
Click to hide internal directories.