Skip to content

canvas🔗

Objects🔗

Builders🔗

Functions🔗

NewConstraint🔗

NewConstraint creates a new Constraint object.

func NewConstraint() *Constraint

NewPlacement🔗

NewPlacement creates a new Placement object.

func NewPlacement() *Placement

NewBackgroundConfig🔗

NewBackgroundConfig creates a new BackgroundConfig object.

func NewBackgroundConfig() *BackgroundConfig

NewLineConfig🔗

NewLineConfig creates a new LineConfig object.

func NewLineConfig() *LineConfig

NewConnectionCoordinates🔗

NewConnectionCoordinates creates a new ConnectionCoordinates object.

func NewConnectionCoordinates() *ConnectionCoordinates

NewCanvasConnection🔗

NewCanvasConnection creates a new CanvasConnection object.

func NewCanvasConnection() *CanvasConnection

NewCanvasElementOptions🔗

NewCanvasElementOptions creates a new CanvasElementOptions object.

func NewCanvasElementOptions() *CanvasElementOptions

NewOptions🔗

NewOptions creates a new Options object.

func NewOptions() *Options

NewCanvasOptionsRoot🔗

NewCanvasOptionsRoot creates a new CanvasOptionsRoot object.

func NewCanvasOptionsRoot() *CanvasOptionsRoot

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