quicksighttheme

package
v0.0.0-...-964ba77 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Border

type Border struct {
	// Show: bool, optional
	Show terra.BoolValue `hcl:"show,attr"`
}

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 (ConfigurationAttributes) InternalRef

func (c ConfigurationAttributes) InternalRef() (terra.Reference, error)

func (ConfigurationAttributes) InternalTokens

func (c ConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ConfigurationAttributes) InternalWithRef

func (ConfigurationAttributes) Sheet

func (ConfigurationAttributes) Typography

func (ConfigurationAttributes) UiColorPalette

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 (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 (DataColorPaletteAttributes) MinMaxGradient

type DataColorPaletteState

type DataColorPaletteState struct {
	Colors         []string `json:"colors"`
	EmptyFillColor string   `json:"empty_fill_color"`
	MinMaxGradient []string `json:"min_max_gradient"`
}

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

type FontFamiliesState

type FontFamiliesState struct {
	FontFamily string `json:"font_family"`
}

type Gutter

type Gutter struct {
	// Show: bool, optional
	Show terra.BoolValue `hcl:"show,attr"`
}

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 Margin

type Margin struct {
	// Show: bool, optional
	Show terra.BoolValue `hcl:"show,attr"`
}

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 (PermissionsAttributes) InternalRef

func (p PermissionsAttributes) InternalRef() (terra.Reference, error)

func (PermissionsAttributes) InternalTokens

func (p PermissionsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (PermissionsAttributes) InternalWithRef

func (PermissionsAttributes) Principal

func (p PermissionsAttributes) Principal() terra.StringValue

type PermissionsState

type PermissionsState struct {
	Actions   []string `json:"actions"`
	Principal string   `json:"principal"`
}

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 (SheetAttributes) TileLayout

type SheetState

type SheetState struct {
	Tile       []TileState       `json:"tile"`
	TileLayout []TileLayoutState `json:"tile_layout"`
}

type Tile

type Tile struct {
	// Border: optional
	Border *Border `hcl:"border,block"`
}

type TileAttributes

type TileAttributes struct {
	// contains filtered or unexported fields
}

func (TileAttributes) Border

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 TileLayout struct {
	// Gutter: optional
	Gutter *Gutter `hcl:"gutter,block"`
	// Margin: optional
	Margin *Margin `hcl:"margin,block"`
}

type TileLayoutAttributes

type TileLayoutAttributes struct {
	// contains filtered or unexported fields
}

func (TileLayoutAttributes) Gutter

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

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 (TimeoutsAttributes) Delete

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

type TimeoutsState

type TimeoutsState struct {
	Create string `json:"create"`
	Delete string `json:"delete"`
	Update string `json:"update"`
}

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 (TypographyAttributes) InternalRef

func (t TypographyAttributes) InternalRef() (terra.Reference, error)

func (TypographyAttributes) InternalTokens

func (t TypographyAttributes) InternalTokens() (hclwrite.Tokens, error)

func (TypographyAttributes) InternalWithRef

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 (UiColorPaletteAttributes) AccentForeground

func (ucp UiColorPaletteAttributes) AccentForeground() terra.StringValue

func (UiColorPaletteAttributes) Danger

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 (UiColorPaletteAttributes) Measure

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 (UiColorPaletteAttributes) SuccessForeground

func (ucp UiColorPaletteAttributes) SuccessForeground() terra.StringValue

func (UiColorPaletteAttributes) Warning

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"`
}

Jump to

Keyboard shortcuts

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