v1alpha1

package
v0.7.86 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

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

func (CatalogData) Value

func (cd CatalogData) Value() (driver.Value, 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"`
}

Jump to

Keyboard shortcuts

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