Skip to content

ThresholdsConfigBuilder🔗

Constructor🔗

func NewThresholdsConfigBuilder() *ThresholdsConfigBuilder

Methods🔗

Build🔗

Builds the object.

func (builder *ThresholdsConfigBuilder) Build() (ThresholdsConfig, error)

Mode🔗

Thresholds mode.

func (builder *ThresholdsConfigBuilder) Mode(mode dashboard.ThresholdsMode) *ThresholdsConfigBuilder

Steps🔗

Must be sorted by 'value', first value is always -Infinity

func (builder *ThresholdsConfigBuilder) Steps(steps []dashboard.Threshold) *ThresholdsConfigBuilder

See also🔗