Skip to content

VizConfigKind🔗

Definition🔗

type VizConfigKind struct {
    Kind string `json:"kind"`
    // The group is the plugin ID
    Group string `json:"group"`
    Version string `json:"version"`
    Spec dashboardv2beta1.VizConfigSpec `json:"spec"`
}

Methods🔗

UnmarshalJSON🔗

UnmarshalJSON implements a custom JSON unmarshalling logic to decode VizConfigKind from JSON.

func (vizConfigKind *VizConfigKind) UnmarshalJSON(raw []byte) error

UnmarshalJSONStrict🔗

UnmarshalJSONStrict implements a custom JSON unmarshalling logic to decode VizConfigKind 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 (vizConfigKind *VizConfigKind) UnmarshalJSONStrict(raw []byte) error

Equals🔗

Equals tests the equality of two VizConfigKind objects.

func (vizConfigKind *VizConfigKind) Equals(other VizConfigKind) bool

Validate🔗

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

func (vizConfigKind *VizConfigKind) Validate() error

See also🔗