dashboard

package
v0.53.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 26, 2026 License: Apache-2.0 Imports: 6 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GridItem added in v0.5.0

type GridItem struct {
	X       int             `json:"x" yaml:"x"`
	Y       int             `json:"y" yaml:"y"`
	Width   int             `json:"width" yaml:"width"`
	Height  int             `json:"height" yaml:"height"`
	Content *common.JSONRef `json:"content" yaml:"content"`
}

type GridLayoutCollapse added in v0.5.0

type GridLayoutCollapse struct {
	Open bool `json:"open" yaml:"open"`
}

type GridLayoutDisplay added in v0.5.0

type GridLayoutDisplay struct {
	Title string `json:"title" yaml:"title"`
	// If Collapse is defined, the grid layout will be rendered in a collapsible group.
	// If not defined, the grid layout will be rendered expanded without the ability to collapse it.
	Collapse *GridLayoutCollapse `json:"collapse,omitempty" yaml:"collapse,omitempty"`
}

type GridLayoutSpec added in v0.5.0

type GridLayoutSpec struct {
	Display        *GridLayoutDisplay `json:"display,omitempty" yaml:"display,omitempty"`
	Items          []GridItem         `json:"items" yaml:"items"`
	RepeatVariable string             `json:"repeatVariable,omitempty" yaml:"repeatVariable,omitempty"`
}

type Layout

type Layout struct {
	Kind LayoutKind `json:"kind" yaml:"kind"`
	// +kubebuilder:pruning:PreserveUnknownFields
	// +kubebuilder:validation:Schemaless
	Spec LayoutSpec `json:"spec" yaml:"spec"`
}

func (*Layout) UnmarshalJSON

func (d *Layout) UnmarshalJSON(data []byte) error

func (*Layout) UnmarshalYAML

func (d *Layout) UnmarshalYAML(unmarshal func(any) error) error

type LayoutKind

type LayoutKind string
const (
	KindGridLayout LayoutKind = "Grid"
)

func (*LayoutKind) UnmarshalJSON

func (k *LayoutKind) UnmarshalJSON(data []byte) error

func (*LayoutKind) UnmarshalYAML

func (k *LayoutKind) UnmarshalYAML(unmarshal func(any) error) error

type LayoutSpec added in v0.5.0

type LayoutSpec any

type ListVariableSpec added in v0.11.0

type ListVariableSpec struct {
	variable.ListSpec `json:",inline" yaml:",inline"`
	Name              string `json:"name" yaml:"name"`
	// contains filtered or unexported fields
}

func (*ListVariableSpec) GetName added in v0.11.0

func (v *ListVariableSpec) GetName() string

func (*ListVariableSpec) UnmarshalJSON added in v0.11.0

func (v *ListVariableSpec) UnmarshalJSON(data []byte) error

func (*ListVariableSpec) UnmarshalYAML added in v0.11.0

func (v *ListVariableSpec) UnmarshalYAML(unmarshal func(any) error) error

type TextVariableSpec added in v0.11.0

type TextVariableSpec struct {
	variable.TextSpec `json:",inline" yaml:",inline"`
	Name              string `json:"name" yaml:"name"`
	// contains filtered or unexported fields
}

func (*TextVariableSpec) GetName added in v0.11.0

func (v *TextVariableSpec) GetName() string

func (*TextVariableSpec) UnmarshalJSON added in v0.11.0

func (v *TextVariableSpec) UnmarshalJSON(data []byte) error

func (*TextVariableSpec) UnmarshalYAML added in v0.11.0

func (v *TextVariableSpec) UnmarshalYAML(unmarshal func(any) error) error

type Variable

type Variable struct {
	// Kind is the type of the variable. Depending on the value of Kind, it will change the content of Spec.
	Kind variable.Kind `json:"kind" yaml:"kind"`
	// +kubebuilder:pruning:PreserveUnknownFields
	// +kubebuilder:validation:Schemaless
	Spec variableSpec `json:"spec" yaml:"spec"`
}

func (*Variable) UnmarshalJSON

func (v *Variable) UnmarshalJSON(data []byte) error

func (*Variable) UnmarshalYAML

func (v *Variable) UnmarshalYAML(unmarshal func(any) error) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL