Skip to content

TransformationBuilder🔗

Constructor🔗

func NewTransformationBuilder() *TransformationBuilder

Methods🔗

Build🔗

Builds the object.

func (builder *TransformationBuilder) Build() (TransformationKind, error)

Disabled🔗

Disabled transformations are skipped

func (builder *TransformationBuilder) Disabled(disabled bool) *TransformationBuilder

Filter🔗

Optional frame matcher. When missing it will be applied to all results

func (builder *TransformationBuilder) Filter(filter dashboardv2beta1.MatcherConfig) *TransformationBuilder

Id🔗

Unique identifier of transformer

func (builder *TransformationBuilder) Id(id string) *TransformationBuilder

Kind🔗

The kind of a TransformationKind is the transformation ID

func (builder *TransformationBuilder) Kind(kind string) *TransformationBuilder

Options🔗

Options to be passed to the transformer

Valid options depend on the transformer id

func (builder *TransformationBuilder) Options(options any) *TransformationBuilder

Topic🔗

Where to pull DataFrames from as input to transformation

func (builder *TransformationBuilder) Topic(topic dashboardv2beta1.DataTopic) *TransformationBuilder

See also🔗