Documentation ¶
Index ¶
- type Border
- type BorderAttributes
- type BorderState
- type Configuration
- type ConfigurationAttributes
- func (c ConfigurationAttributes) DataColorPalette() terra.ListValue[DataColorPaletteAttributes]
- func (c ConfigurationAttributes) InternalRef() (terra.Reference, error)
- func (c ConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (c ConfigurationAttributes) InternalWithRef(ref terra.Reference) ConfigurationAttributes
- func (c ConfigurationAttributes) Sheet() terra.ListValue[SheetAttributes]
- func (c ConfigurationAttributes) Typography() terra.ListValue[TypographyAttributes]
- func (c ConfigurationAttributes) UiColorPalette() terra.ListValue[UiColorPaletteAttributes]
- type ConfigurationState
- type DataColorPalette
- type DataColorPaletteAttributes
- func (dcp DataColorPaletteAttributes) Colors() terra.ListValue[terra.StringValue]
- func (dcp DataColorPaletteAttributes) EmptyFillColor() terra.StringValue
- func (dcp DataColorPaletteAttributes) InternalRef() (terra.Reference, error)
- func (dcp DataColorPaletteAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (dcp DataColorPaletteAttributes) InternalWithRef(ref terra.Reference) DataColorPaletteAttributes
- func (dcp DataColorPaletteAttributes) MinMaxGradient() terra.ListValue[terra.StringValue]
- type DataColorPaletteState
- type FontFamilies
- type FontFamiliesAttributes
- func (ff FontFamiliesAttributes) FontFamily() terra.StringValue
- func (ff FontFamiliesAttributes) InternalRef() (terra.Reference, error)
- func (ff FontFamiliesAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ff FontFamiliesAttributes) InternalWithRef(ref terra.Reference) FontFamiliesAttributes
- type FontFamiliesState
- type Gutter
- type GutterAttributes
- type GutterState
- type Margin
- type MarginAttributes
- type MarginState
- type Permissions
- type PermissionsAttributes
- func (p PermissionsAttributes) Actions() terra.SetValue[terra.StringValue]
- func (p PermissionsAttributes) InternalRef() (terra.Reference, error)
- func (p PermissionsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (p PermissionsAttributes) InternalWithRef(ref terra.Reference) PermissionsAttributes
- func (p PermissionsAttributes) Principal() terra.StringValue
- type PermissionsState
- type Sheet
- type SheetAttributes
- func (s SheetAttributes) InternalRef() (terra.Reference, error)
- func (s SheetAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (s SheetAttributes) InternalWithRef(ref terra.Reference) SheetAttributes
- func (s SheetAttributes) Tile() terra.ListValue[TileAttributes]
- func (s SheetAttributes) TileLayout() terra.ListValue[TileLayoutAttributes]
- type SheetState
- type Tile
- type TileAttributes
- type TileLayout
- type TileLayoutAttributes
- func (tl TileLayoutAttributes) Gutter() terra.ListValue[GutterAttributes]
- func (tl TileLayoutAttributes) InternalRef() (terra.Reference, error)
- func (tl TileLayoutAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (tl TileLayoutAttributes) InternalWithRef(ref terra.Reference) TileLayoutAttributes
- func (tl TileLayoutAttributes) Margin() terra.ListValue[MarginAttributes]
- type TileLayoutState
- type TileState
- type Timeouts
- type TimeoutsAttributes
- func (t TimeoutsAttributes) Create() terra.StringValue
- func (t TimeoutsAttributes) Delete() terra.StringValue
- func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)
- func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes
- func (t TimeoutsAttributes) Update() terra.StringValue
- type TimeoutsState
- type Typography
- type TypographyAttributes
- func (t TypographyAttributes) FontFamilies() terra.ListValue[FontFamiliesAttributes]
- func (t TypographyAttributes) InternalRef() (terra.Reference, error)
- func (t TypographyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (t TypographyAttributes) InternalWithRef(ref terra.Reference) TypographyAttributes
- type TypographyState
- type UiColorPalette
- type UiColorPaletteAttributes
- func (ucp UiColorPaletteAttributes) Accent() terra.StringValue
- func (ucp UiColorPaletteAttributes) AccentForeground() terra.StringValue
- func (ucp UiColorPaletteAttributes) Danger() terra.StringValue
- func (ucp UiColorPaletteAttributes) DangerForeground() terra.StringValue
- func (ucp UiColorPaletteAttributes) Dimension() terra.StringValue
- func (ucp UiColorPaletteAttributes) DimensionForeground() terra.StringValue
- func (ucp UiColorPaletteAttributes) InternalRef() (terra.Reference, error)
- func (ucp UiColorPaletteAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ucp UiColorPaletteAttributes) InternalWithRef(ref terra.Reference) UiColorPaletteAttributes
- func (ucp UiColorPaletteAttributes) Measure() terra.StringValue
- func (ucp UiColorPaletteAttributes) MeasureForeground() terra.StringValue
- func (ucp UiColorPaletteAttributes) PrimaryBackground() terra.StringValue
- func (ucp UiColorPaletteAttributes) PrimaryForeground() terra.StringValue
- func (ucp UiColorPaletteAttributes) SecondaryBackground() terra.StringValue
- func (ucp UiColorPaletteAttributes) SecondaryForeground() terra.StringValue
- func (ucp UiColorPaletteAttributes) Success() terra.StringValue
- func (ucp UiColorPaletteAttributes) SuccessForeground() terra.StringValue
- func (ucp UiColorPaletteAttributes) Warning() terra.StringValue
- func (ucp UiColorPaletteAttributes) WarningForeground() terra.StringValue
- type UiColorPaletteState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BorderAttributes ¶
type BorderAttributes struct {
// contains filtered or unexported fields
}
func (BorderAttributes) InternalRef ¶
func (b BorderAttributes) InternalRef() (terra.Reference, error)
func (BorderAttributes) InternalTokens ¶
func (b BorderAttributes) InternalTokens() (hclwrite.Tokens, error)
func (BorderAttributes) InternalWithRef ¶
func (b BorderAttributes) InternalWithRef(ref terra.Reference) BorderAttributes
func (BorderAttributes) Show ¶
func (b BorderAttributes) Show() terra.BoolValue
type BorderState ¶
type BorderState struct {
Show bool `json:"show"`
}
type Configuration ¶
type Configuration struct { // DataColorPalette: optional DataColorPalette *DataColorPalette `hcl:"data_color_palette,block"` // Sheet: optional Sheet *Sheet `hcl:"sheet,block"` // Typography: optional Typography *Typography `hcl:"typography,block"` // UiColorPalette: optional UiColorPalette *UiColorPalette `hcl:"ui_color_palette,block"` }
type ConfigurationAttributes ¶
type ConfigurationAttributes struct {
// contains filtered or unexported fields
}
func (ConfigurationAttributes) DataColorPalette ¶
func (c ConfigurationAttributes) DataColorPalette() terra.ListValue[DataColorPaletteAttributes]
func (ConfigurationAttributes) InternalRef ¶
func (c ConfigurationAttributes) InternalRef() (terra.Reference, error)
func (ConfigurationAttributes) InternalTokens ¶
func (c ConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ConfigurationAttributes) InternalWithRef ¶
func (c ConfigurationAttributes) InternalWithRef(ref terra.Reference) ConfigurationAttributes
func (ConfigurationAttributes) Sheet ¶
func (c ConfigurationAttributes) Sheet() terra.ListValue[SheetAttributes]
func (ConfigurationAttributes) Typography ¶
func (c ConfigurationAttributes) Typography() terra.ListValue[TypographyAttributes]
func (ConfigurationAttributes) UiColorPalette ¶
func (c ConfigurationAttributes) UiColorPalette() terra.ListValue[UiColorPaletteAttributes]
type ConfigurationState ¶
type ConfigurationState struct { DataColorPalette []DataColorPaletteState `json:"data_color_palette"` Sheet []SheetState `json:"sheet"` Typography []TypographyState `json:"typography"` UiColorPalette []UiColorPaletteState `json:"ui_color_palette"` }
type DataColorPalette ¶
type DataColorPalette struct { // Colors: list of string, optional Colors terra.ListValue[terra.StringValue] `hcl:"colors,attr"` // EmptyFillColor: string, optional EmptyFillColor terra.StringValue `hcl:"empty_fill_color,attr"` // MinMaxGradient: list of string, optional MinMaxGradient terra.ListValue[terra.StringValue] `hcl:"min_max_gradient,attr"` }
type DataColorPaletteAttributes ¶
type DataColorPaletteAttributes struct {
// contains filtered or unexported fields
}
func (DataColorPaletteAttributes) Colors ¶
func (dcp DataColorPaletteAttributes) Colors() terra.ListValue[terra.StringValue]
func (DataColorPaletteAttributes) EmptyFillColor ¶
func (dcp DataColorPaletteAttributes) EmptyFillColor() terra.StringValue
func (DataColorPaletteAttributes) InternalRef ¶
func (dcp DataColorPaletteAttributes) InternalRef() (terra.Reference, error)
func (DataColorPaletteAttributes) InternalTokens ¶
func (dcp DataColorPaletteAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataColorPaletteAttributes) InternalWithRef ¶
func (dcp DataColorPaletteAttributes) InternalWithRef(ref terra.Reference) DataColorPaletteAttributes
func (DataColorPaletteAttributes) MinMaxGradient ¶
func (dcp DataColorPaletteAttributes) MinMaxGradient() terra.ListValue[terra.StringValue]
type DataColorPaletteState ¶
type FontFamilies ¶
type FontFamilies struct { // FontFamily: string, optional FontFamily terra.StringValue `hcl:"font_family,attr"` }
type FontFamiliesAttributes ¶
type FontFamiliesAttributes struct {
// contains filtered or unexported fields
}
func (FontFamiliesAttributes) FontFamily ¶
func (ff FontFamiliesAttributes) FontFamily() terra.StringValue
func (FontFamiliesAttributes) InternalRef ¶
func (ff FontFamiliesAttributes) InternalRef() (terra.Reference, error)
func (FontFamiliesAttributes) InternalTokens ¶
func (ff FontFamiliesAttributes) InternalTokens() (hclwrite.Tokens, error)
func (FontFamiliesAttributes) InternalWithRef ¶
func (ff FontFamiliesAttributes) InternalWithRef(ref terra.Reference) FontFamiliesAttributes
type FontFamiliesState ¶
type FontFamiliesState struct {
FontFamily string `json:"font_family"`
}
type GutterAttributes ¶
type GutterAttributes struct {
// contains filtered or unexported fields
}
func (GutterAttributes) InternalRef ¶
func (g GutterAttributes) InternalRef() (terra.Reference, error)
func (GutterAttributes) InternalTokens ¶
func (g GutterAttributes) InternalTokens() (hclwrite.Tokens, error)
func (GutterAttributes) InternalWithRef ¶
func (g GutterAttributes) InternalWithRef(ref terra.Reference) GutterAttributes
func (GutterAttributes) Show ¶
func (g GutterAttributes) Show() terra.BoolValue
type GutterState ¶
type GutterState struct {
Show bool `json:"show"`
}
type MarginAttributes ¶
type MarginAttributes struct {
// contains filtered or unexported fields
}
func (MarginAttributes) InternalRef ¶
func (m MarginAttributes) InternalRef() (terra.Reference, error)
func (MarginAttributes) InternalTokens ¶
func (m MarginAttributes) InternalTokens() (hclwrite.Tokens, error)
func (MarginAttributes) InternalWithRef ¶
func (m MarginAttributes) InternalWithRef(ref terra.Reference) MarginAttributes
func (MarginAttributes) Show ¶
func (m MarginAttributes) Show() terra.BoolValue
type MarginState ¶
type MarginState struct {
Show bool `json:"show"`
}
type Permissions ¶
type Permissions struct { // Actions: set of string, required Actions terra.SetValue[terra.StringValue] `hcl:"actions,attr" validate:"required"` // Principal: string, required Principal terra.StringValue `hcl:"principal,attr" validate:"required"` }
type PermissionsAttributes ¶
type PermissionsAttributes struct {
// contains filtered or unexported fields
}
func (PermissionsAttributes) Actions ¶
func (p PermissionsAttributes) Actions() terra.SetValue[terra.StringValue]
func (PermissionsAttributes) InternalRef ¶
func (p PermissionsAttributes) InternalRef() (terra.Reference, error)
func (PermissionsAttributes) InternalTokens ¶
func (p PermissionsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (PermissionsAttributes) InternalWithRef ¶
func (p PermissionsAttributes) InternalWithRef(ref terra.Reference) PermissionsAttributes
func (PermissionsAttributes) Principal ¶
func (p PermissionsAttributes) Principal() terra.StringValue
type PermissionsState ¶
type Sheet ¶
type Sheet struct { // Tile: optional Tile *Tile `hcl:"tile,block"` // TileLayout: optional TileLayout *TileLayout `hcl:"tile_layout,block"` }
type SheetAttributes ¶
type SheetAttributes struct {
// contains filtered or unexported fields
}
func (SheetAttributes) InternalRef ¶
func (s SheetAttributes) InternalRef() (terra.Reference, error)
func (SheetAttributes) InternalTokens ¶
func (s SheetAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SheetAttributes) InternalWithRef ¶
func (s SheetAttributes) InternalWithRef(ref terra.Reference) SheetAttributes
func (SheetAttributes) Tile ¶
func (s SheetAttributes) Tile() terra.ListValue[TileAttributes]
func (SheetAttributes) TileLayout ¶
func (s SheetAttributes) TileLayout() terra.ListValue[TileLayoutAttributes]
type SheetState ¶
type SheetState struct { Tile []TileState `json:"tile"` TileLayout []TileLayoutState `json:"tile_layout"` }
type TileAttributes ¶
type TileAttributes struct {
// contains filtered or unexported fields
}
func (TileAttributes) Border ¶
func (t TileAttributes) Border() terra.ListValue[BorderAttributes]
func (TileAttributes) InternalRef ¶
func (t TileAttributes) InternalRef() (terra.Reference, error)
func (TileAttributes) InternalTokens ¶
func (t TileAttributes) InternalTokens() (hclwrite.Tokens, error)
func (TileAttributes) InternalWithRef ¶
func (t TileAttributes) InternalWithRef(ref terra.Reference) TileAttributes
type TileLayout ¶
type TileLayoutAttributes ¶
type TileLayoutAttributes struct {
// contains filtered or unexported fields
}
func (TileLayoutAttributes) Gutter ¶
func (tl TileLayoutAttributes) Gutter() terra.ListValue[GutterAttributes]
func (TileLayoutAttributes) InternalRef ¶
func (tl TileLayoutAttributes) InternalRef() (terra.Reference, error)
func (TileLayoutAttributes) InternalTokens ¶
func (tl TileLayoutAttributes) InternalTokens() (hclwrite.Tokens, error)
func (TileLayoutAttributes) InternalWithRef ¶
func (tl TileLayoutAttributes) InternalWithRef(ref terra.Reference) TileLayoutAttributes
func (TileLayoutAttributes) Margin ¶
func (tl TileLayoutAttributes) Margin() terra.ListValue[MarginAttributes]
type TileLayoutState ¶
type TileLayoutState struct { Gutter []GutterState `json:"gutter"` Margin []MarginState `json:"margin"` }
type TileState ¶
type TileState struct {
Border []BorderState `json:"border"`
}
type Timeouts ¶
type Timeouts struct { // Create: string, optional Create terra.StringValue `hcl:"create,attr"` // Delete: string, optional Delete terra.StringValue `hcl:"delete,attr"` // Update: string, optional Update terra.StringValue `hcl:"update,attr"` }
type TimeoutsAttributes ¶
type TimeoutsAttributes struct {
// contains filtered or unexported fields
}
func (TimeoutsAttributes) Create ¶
func (t TimeoutsAttributes) Create() terra.StringValue
func (TimeoutsAttributes) Delete ¶
func (t TimeoutsAttributes) Delete() terra.StringValue
func (TimeoutsAttributes) InternalRef ¶
func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)
func (TimeoutsAttributes) InternalTokens ¶
func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (TimeoutsAttributes) InternalWithRef ¶
func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes
func (TimeoutsAttributes) Update ¶
func (t TimeoutsAttributes) Update() terra.StringValue
type TimeoutsState ¶
type Typography ¶
type Typography struct { // FontFamilies: min=0,max=5 FontFamilies []FontFamilies `hcl:"font_families,block" validate:"min=0,max=5"` }
type TypographyAttributes ¶
type TypographyAttributes struct {
// contains filtered or unexported fields
}
func (TypographyAttributes) FontFamilies ¶
func (t TypographyAttributes) FontFamilies() terra.ListValue[FontFamiliesAttributes]
func (TypographyAttributes) InternalRef ¶
func (t TypographyAttributes) InternalRef() (terra.Reference, error)
func (TypographyAttributes) InternalTokens ¶
func (t TypographyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (TypographyAttributes) InternalWithRef ¶
func (t TypographyAttributes) InternalWithRef(ref terra.Reference) TypographyAttributes
type TypographyState ¶
type TypographyState struct {
FontFamilies []FontFamiliesState `json:"font_families"`
}
type UiColorPalette ¶
type UiColorPalette struct { // Accent: string, optional Accent terra.StringValue `hcl:"accent,attr"` // AccentForeground: string, optional AccentForeground terra.StringValue `hcl:"accent_foreground,attr"` // Danger: string, optional Danger terra.StringValue `hcl:"danger,attr"` // DangerForeground: string, optional DangerForeground terra.StringValue `hcl:"danger_foreground,attr"` // Dimension: string, optional Dimension terra.StringValue `hcl:"dimension,attr"` // DimensionForeground: string, optional DimensionForeground terra.StringValue `hcl:"dimension_foreground,attr"` // Measure: string, optional Measure terra.StringValue `hcl:"measure,attr"` // MeasureForeground: string, optional MeasureForeground terra.StringValue `hcl:"measure_foreground,attr"` // PrimaryBackground: string, optional PrimaryBackground terra.StringValue `hcl:"primary_background,attr"` // PrimaryForeground: string, optional PrimaryForeground terra.StringValue `hcl:"primary_foreground,attr"` // SecondaryBackground: string, optional SecondaryBackground terra.StringValue `hcl:"secondary_background,attr"` // SecondaryForeground: string, optional SecondaryForeground terra.StringValue `hcl:"secondary_foreground,attr"` // Success: string, optional Success terra.StringValue `hcl:"success,attr"` // SuccessForeground: string, optional SuccessForeground terra.StringValue `hcl:"success_foreground,attr"` // Warning: string, optional Warning terra.StringValue `hcl:"warning,attr"` // WarningForeground: string, optional WarningForeground terra.StringValue `hcl:"warning_foreground,attr"` }
type UiColorPaletteAttributes ¶
type UiColorPaletteAttributes struct {
// contains filtered or unexported fields
}
func (UiColorPaletteAttributes) Accent ¶
func (ucp UiColorPaletteAttributes) Accent() terra.StringValue
func (UiColorPaletteAttributes) AccentForeground ¶
func (ucp UiColorPaletteAttributes) AccentForeground() terra.StringValue
func (UiColorPaletteAttributes) Danger ¶
func (ucp UiColorPaletteAttributes) Danger() terra.StringValue
func (UiColorPaletteAttributes) DangerForeground ¶
func (ucp UiColorPaletteAttributes) DangerForeground() terra.StringValue
func (UiColorPaletteAttributes) Dimension ¶
func (ucp UiColorPaletteAttributes) Dimension() terra.StringValue
func (UiColorPaletteAttributes) DimensionForeground ¶
func (ucp UiColorPaletteAttributes) DimensionForeground() terra.StringValue
func (UiColorPaletteAttributes) InternalRef ¶
func (ucp UiColorPaletteAttributes) InternalRef() (terra.Reference, error)
func (UiColorPaletteAttributes) InternalTokens ¶
func (ucp UiColorPaletteAttributes) InternalTokens() (hclwrite.Tokens, error)
func (UiColorPaletteAttributes) InternalWithRef ¶
func (ucp UiColorPaletteAttributes) InternalWithRef(ref terra.Reference) UiColorPaletteAttributes
func (UiColorPaletteAttributes) Measure ¶
func (ucp UiColorPaletteAttributes) Measure() terra.StringValue
func (UiColorPaletteAttributes) MeasureForeground ¶
func (ucp UiColorPaletteAttributes) MeasureForeground() terra.StringValue
func (UiColorPaletteAttributes) PrimaryBackground ¶
func (ucp UiColorPaletteAttributes) PrimaryBackground() terra.StringValue
func (UiColorPaletteAttributes) PrimaryForeground ¶
func (ucp UiColorPaletteAttributes) PrimaryForeground() terra.StringValue
func (UiColorPaletteAttributes) SecondaryBackground ¶
func (ucp UiColorPaletteAttributes) SecondaryBackground() terra.StringValue
func (UiColorPaletteAttributes) SecondaryForeground ¶
func (ucp UiColorPaletteAttributes) SecondaryForeground() terra.StringValue
func (UiColorPaletteAttributes) Success ¶
func (ucp UiColorPaletteAttributes) Success() terra.StringValue
func (UiColorPaletteAttributes) SuccessForeground ¶
func (ucp UiColorPaletteAttributes) SuccessForeground() terra.StringValue
func (UiColorPaletteAttributes) Warning ¶
func (ucp UiColorPaletteAttributes) Warning() terra.StringValue
func (UiColorPaletteAttributes) WarningForeground ¶
func (ucp UiColorPaletteAttributes) WarningForeground() terra.StringValue
type UiColorPaletteState ¶
type UiColorPaletteState struct { Accent string `json:"accent"` AccentForeground string `json:"accent_foreground"` Danger string `json:"danger"` DangerForeground string `json:"danger_foreground"` Dimension string `json:"dimension"` DimensionForeground string `json:"dimension_foreground"` Measure string `json:"measure"` MeasureForeground string `json:"measure_foreground"` PrimaryBackground string `json:"primary_background"` PrimaryForeground string `json:"primary_foreground"` SecondaryBackground string `json:"secondary_background"` SecondaryForeground string `json:"secondary_foreground"` Success string `json:"success"` SuccessForeground string `json:"success_foreground"` Warning string `json:"warning"` WarningForeground string `json:"warning_foreground"` }
Click to show internal directories.
Click to hide internal directories.