Skip to content

TabsLayoutTabSpec🔗

Definition🔗

type TabsLayoutTabSpec struct {
    Title *string `json:"title,omitempty"`
    Layout dashboardv2beta1.GridLayoutKindOrRowsLayoutKindOrAutoGridLayoutKindOrTabsLayoutKind `json:"layout"`
    ConditionalRendering *dashboardv2beta1.ConditionalRenderingGroupKind `json:"conditionalRendering,omitempty"`
    Repeat *dashboardv2beta1.TabRepeatOptions `json:"repeat,omitempty"`
}

Methods🔗

UnmarshalJSONStrict🔗

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

Equals🔗

Equals tests the equality of two TabsLayoutTabSpec objects.

func (tabsLayoutTabSpec *TabsLayoutTabSpec) Equals(other TabsLayoutTabSpec) bool

Validate🔗

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

func (tabsLayoutTabSpec *TabsLayoutTabSpec) Validate() error

See also🔗