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"`
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"`
}
type Layout ¶
type Layout struct {
Kind LayoutKind `json:"kind" yaml:"kind"`
Spec LayoutSpec `json:"spec" yaml:"spec"`
}
func (*Layout) UnmarshalJSON ¶
func (*Layout) UnmarshalYAML ¶
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(interface{}) error) error
type LayoutSpec ¶ added in v0.5.0
type LayoutSpec interface {
}
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(interface{}) 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(interface{}) 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"`
Spec variableSpec `json:"spec" yaml:"spec"`
}
func (*Variable) UnmarshalJSON ¶
func (*Variable) UnmarshalYAML ¶
type VariableGroup ¶ added in v0.11.0
type VariableGroup struct {
Variables []string
}
func BuildVariableOrder ¶ added in v0.11.0
func BuildVariableOrder(variables []Variable) ([]VariableGroup, error)
BuildVariableOrder determinate which variable we have to build first (aka to perform the query). Here is the description of the algorithm followed:
1. First calculate which variable depend on others 2. Then, thanks to the dependencies, we can create a dependency graph. 3. Then we have to determinate the build order.
Click to show internal directories.
Click to hide internal directories.