Skip to content

text🔗

Objects🔗

Builders🔗

Functions🔗

NewCodeOptions🔗

NewCodeOptions creates a new CodeOptions object.

func NewCodeOptions() *CodeOptions

NewOptions🔗

NewOptions creates a new Options object.

func NewOptions() *Options

VariantConfig🔗

VariantConfig returns the configuration related to text panels.

This configuration describes how to unmarshal it, convert it to code, …

func VariantConfig() variants.PanelcfgConfig

CodeOptionsConverter🔗

CodeOptionsConverter accepts a CodeOptions object and generates the Go code to build this object using builders.

func CodeOptionsConverter(input CodeOptions) string

PanelConverter🔗

PanelConverter accepts a Panel object and generates the Go code to build this object using builders.

func PanelConverter(input dashboard.Panel) string