Skip to content

canvas🔗

Objects🔗

Builders🔗

Functions🔗

VariantConfig🔗

VariantConfig returns the configuration related to canvas panels.

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

func VariantConfig() variants.PanelcfgConfig

ConstraintConverter🔗

ConstraintConverter accepts a Constraint object and generates the Go code to build this object using builders.

func ConstraintConverter(input Constraint) string

PlacementConverter🔗

PlacementConverter accepts a Placement object and generates the Go code to build this object using builders.

func PlacementConverter(input Placement) string

BackgroundConfigConverter🔗

BackgroundConfigConverter accepts a BackgroundConfig object and generates the Go code to build this object using builders.

func BackgroundConfigConverter(input BackgroundConfig) string

LineConfigConverter🔗

LineConfigConverter accepts a LineConfig object and generates the Go code to build this object using builders.

func LineConfigConverter(input LineConfig) string

ConnectionCoordinatesConverter🔗

ConnectionCoordinatesConverter accepts a ConnectionCoordinates object and generates the Go code to build this object using builders.

func ConnectionCoordinatesConverter(input ConnectionCoordinates) string

CanvasConnectionConverter🔗

CanvasConnectionConverter accepts a CanvasConnection object and generates the Go code to build this object using builders.

func CanvasConnectionConverter(input CanvasConnection) string

CanvasElementOptionsConverter🔗

CanvasElementOptionsConverter accepts a CanvasElementOptions object and generates the Go code to build this object using builders.

func CanvasElementOptionsConverter(input CanvasElementOptions) string

CanvasOptionsRootConverter🔗

CanvasOptionsRootConverter accepts a CanvasOptionsRoot object and generates the Go code to build this object using builders.

func CanvasOptionsRootConverter(input CanvasOptionsRoot) string

PanelConverter🔗

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

func PanelConverter(input dashboard.Panel) string