Skip to content

V2TransformationSpecBuilder🔗

Dashboard v2 shape: no id, it is carried by the parent's group.

Constructor🔗

func NewV2TransformationSpecBuilder() *V2TransformationSpecBuilder

Methods🔗

Build🔗

Builds the object.

func (builder *V2TransformationSpecBuilder) Build() (V2TransformationSpec, error)

Disabled🔗

Disabled transformations are skipped

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

Filter🔗

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

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

Options🔗

Options to be passed to the transformer

Valid options depend on the transformer id

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

Topic🔗

Where to pull DataFrames from as input to transformation

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

See also🔗