source

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2025 License: MPL-2.0 Imports: 3 Imported by: 0

Documentation

Overview

templ: version: v0.3.943

Index

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"
)

Jump to

Keyboard shortcuts

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