catalog

package
v2.1.14+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 3, 2020 License: Apache-2.0 Imports: 24 Imported by: 57

Documentation

Index

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 Validator

func Validator(request *types.APIContext, schema *types.Schema, data map[string]interface{}) error

Types

type ActionHandler

type ActionHandler struct {
	CatalogClient v3.CatalogInterface
}

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

type TemplateVerionFormatterWrapper

type TemplateVerionFormatterWrapper struct {
	TemplateContentClient v3.TemplateContentInterface
}

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 {
	TemplateContentClients v3.TemplateContentInterface
	TemplateVersions       v3.TemplateVersionLister
	TemplateClients        v3.TemplateInterface
}

func (TemplateWrapper) TemplateFormatter

func (t TemplateWrapper) TemplateFormatter(apiContext *types.APIContext, resource *types.RawResource)

func (TemplateWrapper) TemplateIconHandler

func (t TemplateWrapper) TemplateIconHandler(apiContext *types.APIContext, next types.RequestHandler) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL