Documentation ¶ Overview ¶ templ: version: v0.3.943 Index ¶ func IconAPI() templ.Component func IconTerraform() templ.Component func IconUI() templ.Component type IconDB func NewIconDB() *IconDB func (db *IconDB) GetSourceIcon(source Source) templ.Component func (db *IconDB) RegisterSourceIcon(source Source, icon templ.Component) type Source Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func IconAPI ¶ func IconAPI() templ.Component func IconTerraform ¶ func IconTerraform() templ.Component func IconUI ¶ func IconUI() templ.Component Types ¶ type IconDB ¶ type IconDB struct { // contains filtered or unexported fields } IconDB is a database of sources and their icons func NewIconDB ¶ func NewIconDB() *IconDB func (*IconDB) GetSourceIcon ¶ func (db *IconDB) GetSourceIcon(source Source) templ.Component func (*IconDB) RegisterSourceIcon ¶ func (db *IconDB) RegisterSourceIcon(source Source, icon templ.Component) type Source ¶ type Source string Source is the source or origin of the configuration var ( Default = API API Source = "tfe-api" UI Source = "tfe-ui" Terraform Source = "terraform+cloud" ) Source Files ¶ View all Source files source.goview_templ.go Click to show internal directories. Click to hide internal directories.