Skip to content

TabsLayoutSpec🔗

Definition🔗

type TabsLayoutSpec struct {
    Tabs []dashboardv2beta1.TabsLayoutTabKind `json:"tabs"`
}

Methods🔗

UnmarshalJSONStrict🔗

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

Equals🔗

Equals tests the equality of two TabsLayoutSpec objects.

func (tabsLayoutSpec *TabsLayoutSpec) Equals(other TabsLayoutSpec) bool

Validate🔗

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

func (tabsLayoutSpec *TabsLayoutSpec) Validate() error

See also🔗