Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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 ¶
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 ¶
Click to show internal directories.
Click to hide internal directories.