Skip to content

Dashboardv2beta1FieldConfigSourceOverrides🔗

Definition🔗

type Dashboardv2beta1FieldConfigSourceOverrides struct {
    // Describes config override rules created when interacting with Grafana.
    SystemRef *string `json:"__systemRef,omitempty"`
    Matcher dashboardv2beta1.MatcherConfig `json:"matcher"`
    Properties []dashboardv2beta1.DynamicConfigValue `json:"properties"`
}

Methods🔗

UnmarshalJSONStrict🔗

UnmarshalJSONStrict implements a custom JSON unmarshalling logic to decode Dashboardv2beta1FieldConfigSourceOverrides from JSON.

Note: the unmarshalling done by this function is strict. It will fail over required fields being absent from the input, fields having an incorrect type, unexpected fields being present, …

func (dashboardv2beta1FieldConfigSourceOverrides *Dashboardv2beta1FieldConfigSourceOverrides) UnmarshalJSONStrict(raw []byte) error

Equals🔗

Equals tests the equality of two Dashboardv2beta1FieldConfigSourceOverrides objects.

func (dashboardv2beta1FieldConfigSourceOverrides *Dashboardv2beta1FieldConfigSourceOverrides) Equals(other Dashboardv2beta1FieldConfigSourceOverrides) bool

Validate🔗

Validate checks all the validation constraints that may be defined on Dashboardv2beta1FieldConfigSourceOverrides fields for violations and returns them.

func (dashboardv2beta1FieldConfigSourceOverrides *Dashboardv2beta1FieldConfigSourceOverrides) Validate() error

See also🔗