Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // CatalogMap is a map indexing the attribute names of Catalog by view name. CatalogMap = map[string][]string{ "min": { "id", "name", "type", }, "default": { "id", "name", "type", "url", "provider", }, } )
Functions ¶
func ValidateCatalogView ¶
func ValidateCatalogView(result *CatalogView) (err error)
ValidateCatalogView runs the validations defined on CatalogView using the "default" view.
func ValidateCatalogViewMin ¶
func ValidateCatalogViewMin(result *CatalogView) (err error)
ValidateCatalogViewMin runs the validations defined on CatalogView using the "min" view.
Types ¶
Click to show internal directories.
Click to hide internal directories.