Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CatalogData ¶
type CatalogData struct { ContentClass ContentClass `json:"content_class,omitempty"` //Tracks the specific content version that has been made available in the Catalog PublishedVersion string `json:"published_version"` // Compatibility A list of technologies included in or implicated by this design; a list of relevant technology tags. Compatibility []CatalogDataCompatibility `json:"compatibility"` // PatternCaveats Specific stipulations to consider and known behaviors to be aware of when using this design. PatternCaveats string `json:"pattern_caveats"` // PatternInfo Purpose of the design along with its intended and unintended uses. PatternInfo string `json:"pattern_info"` // Contains reference to the dark and light mode snapshots of the catalog. SnapshotURL []string `json:"imageURL,omitempty"` // this will require updating exisitng catalog data as well. updated the json tag to match previous key name, so changes will not be required in exisitng catgalogs // Type Categorization of the type of design or operational flow depicted in this design. Type CatalogDataType `json:"type"` }
CatalogData defines model for catalog_data.
func (*CatalogData) IsNil ¶
func (cd *CatalogData) IsNil() bool
func (*CatalogData) Scan ¶
func (cd *CatalogData) Scan(value interface{}) error
type CatalogDataCompatibility ¶
type CatalogDataCompatibility string
CatalogDataCompatibility defines model for CatalogData.Compatibility.
type CatalogDataType ¶
type CatalogDataType string
CatalogDataType Categorization of the type of design or operational flow depicted in this design.
type ContentClass ¶
type ContentClass string
const ( Official ContentClass = "official" Verified ContentClass = "verified" Community ContentClass = "community" )
func (ContentClass) String ¶
func (c ContentClass) String() string
type ContentClassObj ¶ added in v0.7.38
type ContentClassObj struct { Class ContentClass `json:"class"` Description string `json:"description"` }
func GetCatalogClasses ¶
func GetCatalogClasses() []ContentClassObj
Ref to catalog schema - https://github.com/meshery/schemas/blob/master/schemas/constructs/v1alpha1/catalog_data.json
Click to show internal directories.
Click to hide internal directories.