Skip to content

RowsLayoutRowSpec🔗

Definition🔗

type RowsLayoutRowSpec struct {
    Title *string `json:"title,omitempty"`
    Collapse *bool `json:"collapse,omitempty"`
    HideHeader *bool `json:"hideHeader,omitempty"`
    FillScreen *bool `json:"fillScreen,omitempty"`
    ConditionalRendering *dashboardv2beta1.ConditionalRenderingGroupKind `json:"conditionalRendering,omitempty"`
    Repeat *dashboardv2beta1.RowRepeatOptions `json:"repeat,omitempty"`
    Layout dashboardv2beta1.GridLayoutKindOrAutoGridLayoutKindOrTabsLayoutKindOrRowsLayoutKind `json:"layout"`
}

Methods🔗

UnmarshalJSONStrict🔗

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

Equals🔗

Equals tests the equality of two RowsLayoutRowSpec objects.

func (rowsLayoutRowSpec *RowsLayoutRowSpec) Equals(other RowsLayoutRowSpec) bool

Validate🔗

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

func (rowsLayoutRowSpec *RowsLayoutRowSpec) Validate() error

See also🔗