Skip to content

RowsLayoutSpec🔗

Definition🔗

type RowsLayoutSpec struct {
    Rows []dashboardv2beta1.RowsLayoutRowKind `json:"rows"`
}

Methods🔗

UnmarshalJSONStrict🔗

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

Equals🔗

Equals tests the equality of two RowsLayoutSpec objects.

func (rowsLayoutSpec *RowsLayoutSpec) Equals(other RowsLayoutSpec) bool

Validate🔗

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

func (rowsLayoutSpec *RowsLayoutSpec) Validate() error

See also🔗