provider

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2023 License: MPL-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(version string) func() provider.Provider

func NewCoreDashboardDataSource

func NewCoreDashboardDataSource() datasource.DataSource

func NewPanelAlertGroupsDataSource

func NewPanelAlertGroupsDataSource() datasource.DataSource

func NewPanelAnnotationsListDataSource

func NewPanelAnnotationsListDataSource() datasource.DataSource

func NewPanelBarChartDataSource

func NewPanelBarChartDataSource() datasource.DataSource

func NewPanelBarGaugeDataSource

func NewPanelBarGaugeDataSource() datasource.DataSource

func NewPanelCandlestickDataSource added in v0.2.0

func NewPanelCandlestickDataSource() datasource.DataSource

func NewPanelCanvasDataSource added in v0.2.0

func NewPanelCanvasDataSource() datasource.DataSource

func NewPanelDashboardListDataSource

func NewPanelDashboardListDataSource() datasource.DataSource

func NewPanelDatagridDataSource

func NewPanelDatagridDataSource() datasource.DataSource

func NewPanelDebugDataSource

func NewPanelDebugDataSource() datasource.DataSource

func NewPanelGaugeDataSource

func NewPanelGaugeDataSource() datasource.DataSource

func NewPanelGeomapDataSource

func NewPanelGeomapDataSource() datasource.DataSource

func NewPanelHeatmapDataSource

func NewPanelHeatmapDataSource() datasource.DataSource

func NewPanelHistogramDataSource

func NewPanelHistogramDataSource() datasource.DataSource

func NewPanelLogsDataSource

func NewPanelLogsDataSource() datasource.DataSource

func NewPanelNewsDataSource

func NewPanelNewsDataSource() datasource.DataSource

func NewPanelNodeGraphDataSource

func NewPanelNodeGraphDataSource() datasource.DataSource

func NewPanelPieChartDataSource

func NewPanelPieChartDataSource() datasource.DataSource

func NewPanelStatDataSource

func NewPanelStatDataSource() datasource.DataSource

func NewPanelStateTimelineDataSource

func NewPanelStateTimelineDataSource() datasource.DataSource

func NewPanelStatusHistoryDataSource

func NewPanelStatusHistoryDataSource() datasource.DataSource

func NewPanelTableDataSource

func NewPanelTableDataSource() datasource.DataSource

func NewPanelTextDataSource

func NewPanelTextDataSource() datasource.DataSource

func NewPanelTimeSeriesDataSource

func NewPanelTimeSeriesDataSource() datasource.DataSource

func NewPanelTrendDataSource

func NewPanelTrendDataSource() datasource.DataSource

func NewPanelXYChartDataSource

func NewPanelXYChartDataSource() datasource.DataSource

func NewQueryElasticsearchDataSource

func NewQueryElasticsearchDataSource() datasource.DataSource

func NewQueryGrafanaPyroscopeDataSource

func NewQueryGrafanaPyroscopeDataSource() datasource.DataSource

func NewQueryLokiDataSource

func NewQueryLokiDataSource() datasource.DataSource

func NewQueryParcaDataSource

func NewQueryParcaDataSource() datasource.DataSource

func NewQueryPrometheusDataSource

func NewQueryPrometheusDataSource() datasource.DataSource

func NewQueryTestDataDataSource

func NewQueryTestDataDataSource() datasource.DataSource

Types

type CoreDashboardDataSource

type CoreDashboardDataSource struct{}

CoreDashboardDataSource defines the data source implementation.

func (*CoreDashboardDataSource) Configure

func (*CoreDashboardDataSource) Metadata

func (*CoreDashboardDataSource) Read

func (*CoreDashboardDataSource) Schema

type CoreDashboardDataSourceModel

type CoreDashboardDataSourceModel struct {
	RenderedJSON         types.String                              `tfsdk:"rendered_json"`
	Uid                  types.String                              `tfsdk:"uid"`
	Title                types.String                              `tfsdk:"title"`
	Description          types.String                              `tfsdk:"description"`
	Revision             types.Int64                               `tfsdk:"revision"`
	GnetId               types.String                              `tfsdk:"gnet_id"`
	Tags                 types.List                                `tfsdk:"tags"`
	Style                types.String                              `tfsdk:"style"`
	Timezone             types.String                              `tfsdk:"timezone"`
	Editable             types.Bool                                `tfsdk:"editable"`
	GraphTooltip         types.Int64                               `tfsdk:"graph_tooltip"`
	Time                 *CoreDashboardDataSourceModel_Time        `tfsdk:"time"`
	Timepicker           *CoreDashboardDataSourceModel_Timepicker  `tfsdk:"timepicker"`
	FiscalYearStartMonth types.Int64                               `tfsdk:"fiscal_year_start_month"`
	LiveNow              types.Bool                                `tfsdk:"live_now"`
	WeekStart            types.String                              `tfsdk:"week_start"`
	Refresh              types.String                              `tfsdk:"refresh"`
	SchemaVersion        types.Int64                               `tfsdk:"schema_version"`
	Version              types.Int64                               `tfsdk:"version"`
	Panels               types.List                                `tfsdk:"panels"`
	Templating           *CoreDashboardDataSourceModel_Templating  `tfsdk:"templating"`
	Annotations          *CoreDashboardDataSourceModel_Annotations `tfsdk:"annotations"`
	Links                []CoreDashboardDataSourceModel_Links      `tfsdk:"links"`
	Snapshot             *CoreDashboardDataSourceModel_Snapshot    `tfsdk:"snapshot"`
}

func (CoreDashboardDataSourceModel) ApplyDefaults

func (CoreDashboardDataSourceModel) GetAttrRefresh

func (m CoreDashboardDataSourceModel) GetAttrRefresh() interface{}

func (CoreDashboardDataSourceModel) MarshalJSON

func (m CoreDashboardDataSourceModel) MarshalJSON() ([]byte, error)

type CoreDashboardDataSourceModel_Annotations

type CoreDashboardDataSourceModel_Annotations struct {
	List []CoreDashboardDataSourceModel_Annotations_List `tfsdk:"list"`
}

func (CoreDashboardDataSourceModel_Annotations) ApplyDefaults

func (CoreDashboardDataSourceModel_Annotations) MarshalJSON

type CoreDashboardDataSourceModel_Annotations_List

type CoreDashboardDataSourceModel_Annotations_List struct {
	Name       types.String                                              `tfsdk:"name"`
	Datasource *CoreDashboardDataSourceModel_Annotations_List_Datasource `tfsdk:"datasource"`
	Enable     types.Bool                                                `tfsdk:"enable"`
	Hide       types.Bool                                                `tfsdk:"hide"`
	IconColor  types.String                                              `tfsdk:"icon_color"`
	Filter     *CoreDashboardDataSourceModel_Annotations_List_Filter     `tfsdk:"filter"`
	Target     *CoreDashboardDataSourceModel_Annotations_List_Target     `tfsdk:"target"`
	Type       types.String                                              `tfsdk:"type"`
}

func (CoreDashboardDataSourceModel_Annotations_List) ApplyDefaults

func (CoreDashboardDataSourceModel_Annotations_List) MarshalJSON

type CoreDashboardDataSourceModel_Annotations_List_Datasource

type CoreDashboardDataSourceModel_Annotations_List_Datasource struct {
	Type types.String `tfsdk:"type"`
	Uid  types.String `tfsdk:"uid"`
}

func (CoreDashboardDataSourceModel_Annotations_List_Datasource) ApplyDefaults

func (CoreDashboardDataSourceModel_Annotations_List_Datasource) MarshalJSON

type CoreDashboardDataSourceModel_Annotations_List_Filter

type CoreDashboardDataSourceModel_Annotations_List_Filter struct {
	Exclude types.Bool `tfsdk:"exclude"`
	Ids     types.List `tfsdk:"ids"`
}

func (CoreDashboardDataSourceModel_Annotations_List_Filter) ApplyDefaults

func (CoreDashboardDataSourceModel_Annotations_List_Filter) MarshalJSON

type CoreDashboardDataSourceModel_Annotations_List_Target

type CoreDashboardDataSourceModel_Annotations_List_Target struct {
	Limit    types.Int64  `tfsdk:"limit"`
	MatchAny types.Bool   `tfsdk:"match_any"`
	Tags     types.List   `tfsdk:"tags"`
	Type     types.String `tfsdk:"type"`
}

func (CoreDashboardDataSourceModel_Annotations_List_Target) ApplyDefaults

func (CoreDashboardDataSourceModel_Annotations_List_Target) MarshalJSON

type CoreDashboardDataSourceModel_Links struct {
	Title       types.String `tfsdk:"title"`
	Type        types.String `tfsdk:"type"`
	Icon        types.String `tfsdk:"icon"`
	Tooltip     types.String `tfsdk:"tooltip"`
	Url         types.String `tfsdk:"url"`
	Tags        types.List   `tfsdk:"tags"`
	AsDropdown  types.Bool   `tfsdk:"as_dropdown"`
	TargetBlank types.Bool   `tfsdk:"target_blank"`
	IncludeVars types.Bool   `tfsdk:"include_vars"`
	KeepTime    types.Bool   `tfsdk:"keep_time"`
}

func (CoreDashboardDataSourceModel_Links) ApplyDefaults

func (CoreDashboardDataSourceModel_Links) MarshalJSON

func (m CoreDashboardDataSourceModel_Links) MarshalJSON() ([]byte, error)

type CoreDashboardDataSourceModel_Snapshot

type CoreDashboardDataSourceModel_Snapshot struct {
	Created     types.String `tfsdk:"created"`
	Expires     types.String `tfsdk:"expires"`
	External    types.Bool   `tfsdk:"external"`
	ExternalUrl types.String `tfsdk:"external_url"`
	Key         types.String `tfsdk:"key"`
	Name        types.String `tfsdk:"name"`
	OrgId       types.Int64  `tfsdk:"org_id"`
	Updated     types.String `tfsdk:"updated"`
	Url         types.String `tfsdk:"url"`
	UserId      types.Int64  `tfsdk:"user_id"`
}

func (CoreDashboardDataSourceModel_Snapshot) ApplyDefaults

func (CoreDashboardDataSourceModel_Snapshot) MarshalJSON

func (m CoreDashboardDataSourceModel_Snapshot) MarshalJSON() ([]byte, error)

type CoreDashboardDataSourceModel_Templating

type CoreDashboardDataSourceModel_Templating struct {
	List []CoreDashboardDataSourceModel_Templating_List `tfsdk:"list"`
}

func (CoreDashboardDataSourceModel_Templating) ApplyDefaults

func (CoreDashboardDataSourceModel_Templating) MarshalJSON

func (m CoreDashboardDataSourceModel_Templating) MarshalJSON() ([]byte, error)

type CoreDashboardDataSourceModel_Templating_List

type CoreDashboardDataSourceModel_Templating_List struct {
	Type        types.String                                             `tfsdk:"type"`
	Name        types.String                                             `tfsdk:"name"`
	Label       types.String                                             `tfsdk:"label"`
	Hide        types.Int64                                              `tfsdk:"hide"`
	SkipUrlSync types.Bool                                               `tfsdk:"skip_url_sync"`
	Description types.String                                             `tfsdk:"description"`
	Query       types.String                                             `tfsdk:"query"`
	Datasource  *CoreDashboardDataSourceModel_Templating_List_Datasource `tfsdk:"datasource"`
	AllFormat   types.String                                             `tfsdk:"all_format"`
	Current     *CoreDashboardDataSourceModel_Templating_List_Current    `tfsdk:"current"`
	Multi       types.Bool                                               `tfsdk:"multi"`
	Options     []CoreDashboardDataSourceModel_Templating_List_Options   `tfsdk:"options"`
	Refresh     types.Int64                                              `tfsdk:"refresh"`
}

func (CoreDashboardDataSourceModel_Templating_List) ApplyDefaults

func (CoreDashboardDataSourceModel_Templating_List) GetAttrQuery

func (m CoreDashboardDataSourceModel_Templating_List) GetAttrQuery() interface{}

func (CoreDashboardDataSourceModel_Templating_List) MarshalJSON

type CoreDashboardDataSourceModel_Templating_List_Current added in v0.2.0

type CoreDashboardDataSourceModel_Templating_List_Current struct {
	Selected types.Bool   `tfsdk:"selected"`
	Text     types.String `tfsdk:"text"`
	Value    types.String `tfsdk:"value"`
}

func (CoreDashboardDataSourceModel_Templating_List_Current) ApplyDefaults added in v0.2.0

func (CoreDashboardDataSourceModel_Templating_List_Current) GetAttrText added in v0.2.0

func (m CoreDashboardDataSourceModel_Templating_List_Current) GetAttrText() interface{}

func (CoreDashboardDataSourceModel_Templating_List_Current) GetAttrValue added in v0.2.0

func (m CoreDashboardDataSourceModel_Templating_List_Current) GetAttrValue() interface{}

func (CoreDashboardDataSourceModel_Templating_List_Current) MarshalJSON added in v0.2.0

type CoreDashboardDataSourceModel_Templating_List_Datasource

type CoreDashboardDataSourceModel_Templating_List_Datasource struct {
	Type types.String `tfsdk:"type"`
	Uid  types.String `tfsdk:"uid"`
}

func (CoreDashboardDataSourceModel_Templating_List_Datasource) ApplyDefaults

func (CoreDashboardDataSourceModel_Templating_List_Datasource) MarshalJSON

type CoreDashboardDataSourceModel_Templating_List_Options added in v0.2.0

type CoreDashboardDataSourceModel_Templating_List_Options struct {
	Selected types.Bool   `tfsdk:"selected"`
	Text     types.String `tfsdk:"text"`
	Value    types.String `tfsdk:"value"`
}

func (CoreDashboardDataSourceModel_Templating_List_Options) ApplyDefaults added in v0.2.0

func (CoreDashboardDataSourceModel_Templating_List_Options) GetAttrText added in v0.2.0

func (m CoreDashboardDataSourceModel_Templating_List_Options) GetAttrText() interface{}

func (CoreDashboardDataSourceModel_Templating_List_Options) GetAttrValue added in v0.2.0

func (m CoreDashboardDataSourceModel_Templating_List_Options) GetAttrValue() interface{}

func (CoreDashboardDataSourceModel_Templating_List_Options) MarshalJSON added in v0.2.0

type CoreDashboardDataSourceModel_Time

type CoreDashboardDataSourceModel_Time struct {
	From types.String `tfsdk:"from"`
	To   types.String `tfsdk:"to"`
}

func (CoreDashboardDataSourceModel_Time) ApplyDefaults

func (CoreDashboardDataSourceModel_Time) MarshalJSON

func (m CoreDashboardDataSourceModel_Time) MarshalJSON() ([]byte, error)

type CoreDashboardDataSourceModel_Timepicker

type CoreDashboardDataSourceModel_Timepicker struct {
	Hidden           types.Bool `tfsdk:"hidden"`
	RefreshIntervals types.List `tfsdk:"refresh_intervals"`
	Collapse         types.Bool `tfsdk:"collapse"`
	Enable           types.Bool `tfsdk:"enable"`
	TimeOptions      types.List `tfsdk:"time_options"`
}

func (CoreDashboardDataSourceModel_Timepicker) ApplyDefaults

func (CoreDashboardDataSourceModel_Timepicker) MarshalJSON

func (m CoreDashboardDataSourceModel_Timepicker) MarshalJSON() ([]byte, error)

type PanelAlertGroupsDataSource

type PanelAlertGroupsDataSource struct{}

PanelAlertGroupsDataSource defines the data source implementation.

func (*PanelAlertGroupsDataSource) Configure

func (*PanelAlertGroupsDataSource) Metadata

func (*PanelAlertGroupsDataSource) Read

func (*PanelAlertGroupsDataSource) Schema

type PanelAlertGroupsDataSourceModel

type PanelAlertGroupsDataSourceModel struct {
	RenderedJSON    types.String                                      `tfsdk:"rendered_json"`
	Type            types.String                                      `tfsdk:"type"`
	PluginVersion   types.String                                      `tfsdk:"plugin_version"`
	Tags            types.List                                        `tfsdk:"tags"`
	Targets         types.List                                        `tfsdk:"targets"`
	Title           types.String                                      `tfsdk:"title"`
	Description     types.String                                      `tfsdk:"description"`
	Transparent     types.Bool                                        `tfsdk:"transparent"`
	Datasource      *PanelAlertGroupsDataSourceModel_Datasource       `tfsdk:"datasource"`
	GridPos         *PanelAlertGroupsDataSourceModel_GridPos          `tfsdk:"grid_pos"`
	Links           []PanelAlertGroupsDataSourceModel_Links           `tfsdk:"links"`
	Repeat          types.String                                      `tfsdk:"repeat"`
	RepeatDirection types.String                                      `tfsdk:"repeat_direction"`
	RepeatPanelId   types.Int64                                       `tfsdk:"repeat_panel_id"`
	MaxDataPoints   types.Float64                                     `tfsdk:"max_data_points"`
	Transformations []PanelAlertGroupsDataSourceModel_Transformations `tfsdk:"transformations"`
	Interval        types.String                                      `tfsdk:"interval"`
	TimeFrom        types.String                                      `tfsdk:"time_from"`
	TimeShift       types.String                                      `tfsdk:"time_shift"`
	LibraryPanel    *PanelAlertGroupsDataSourceModel_LibraryPanel     `tfsdk:"library_panel"`
	Options         *PanelAlertGroupsDataSourceModel_Options          `tfsdk:"options"`
	FieldConfig     *PanelAlertGroupsDataSourceModel_FieldConfig      `tfsdk:"field_config"`
}

func (PanelAlertGroupsDataSourceModel) ApplyDefaults

func (PanelAlertGroupsDataSourceModel) MarshalJSON

func (m PanelAlertGroupsDataSourceModel) MarshalJSON() ([]byte, error)

type PanelAlertGroupsDataSourceModel_Datasource

type PanelAlertGroupsDataSourceModel_Datasource struct {
	Type types.String `tfsdk:"type"`
	Uid  types.String `tfsdk:"uid"`
}

func (PanelAlertGroupsDataSourceModel_Datasource) ApplyDefaults

func (PanelAlertGroupsDataSourceModel_Datasource) MarshalJSON

type PanelAlertGroupsDataSourceModel_FieldConfig

type PanelAlertGroupsDataSourceModel_FieldConfig struct {
	Defaults  *PanelAlertGroupsDataSourceModel_FieldConfig_Defaults   `tfsdk:"defaults"`
	Overrides []PanelAlertGroupsDataSourceModel_FieldConfig_Overrides `tfsdk:"overrides"`
}

func (PanelAlertGroupsDataSourceModel_FieldConfig) ApplyDefaults

func (PanelAlertGroupsDataSourceModel_FieldConfig) MarshalJSON

type PanelAlertGroupsDataSourceModel_FieldConfig_Defaults

type PanelAlertGroupsDataSourceModel_FieldConfig_Defaults struct {
	DisplayName       types.String                                                     `tfsdk:"display_name"`
	DisplayNameFromDS types.String                                                     `tfsdk:"display_name_from_ds"`
	Description       types.String                                                     `tfsdk:"description"`
	Path              types.String                                                     `tfsdk:"path"`
	Writeable         types.Bool                                                       `tfsdk:"writeable"`
	Filterable        types.Bool                                                       `tfsdk:"filterable"`
	Unit              types.String                                                     `tfsdk:"unit"`
	Decimals          types.Float64                                                    `tfsdk:"decimals"`
	Min               types.Float64                                                    `tfsdk:"min"`
	Max               types.Float64                                                    `tfsdk:"max"`
	Mappings          []PanelAlertGroupsDataSourceModel_FieldConfig_Defaults_Mappings  `tfsdk:"mappings"`
	Thresholds        *PanelAlertGroupsDataSourceModel_FieldConfig_Defaults_Thresholds `tfsdk:"thresholds"`
	Color             *PanelAlertGroupsDataSourceModel_FieldConfig_Defaults_Color      `tfsdk:"color"`
	NoValue           types.String                                                     `tfsdk:"no_value"`
	Custom            *PanelAlertGroupsDataSourceModel_FieldConfig_Defaults_Custom     `tfsdk:"custom"`
}

func (PanelAlertGroupsDataSourceModel_FieldConfig_Defaults) ApplyDefaults

func (PanelAlertGroupsDataSourceModel_FieldConfig_Defaults) MarshalJSON

type PanelAlertGroupsDataSourceModel_FieldConfig_Defaults_Color

type PanelAlertGroupsDataSourceModel_FieldConfig_Defaults_Color struct {
	Mode       types.String `tfsdk:"mode"`
	FixedColor types.String `tfsdk:"fixed_color"`
	SeriesBy   types.String `tfsdk:"series_by"`
}

func (PanelAlertGroupsDataSourceModel_FieldConfig_Defaults_Color) ApplyDefaults

func (PanelAlertGroupsDataSourceModel_FieldConfig_Defaults_Color) MarshalJSON

type PanelAlertGroupsDataSourceModel_FieldConfig_Defaults_Custom

type PanelAlertGroupsDataSourceModel_FieldConfig_Defaults_Custom struct {
}

func (PanelAlertGroupsDataSourceModel_FieldConfig_Defaults_Custom) ApplyDefaults

func (PanelAlertGroupsDataSourceModel_FieldConfig_Defaults_Custom) MarshalJSON

type PanelAlertGroupsDataSourceModel_FieldConfig_Defaults_Mappings

type PanelAlertGroupsDataSourceModel_FieldConfig_Defaults_Mappings struct {
	ValueMap        *PanelAlertGroupsDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap        `tfsdk:"value_map"`
	RangeMap        *PanelAlertGroupsDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap        `tfsdk:"range_map"`
	RegexMap        *PanelAlertGroupsDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap        `tfsdk:"regex_map"`
	SpecialValueMap *PanelAlertGroupsDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap `tfsdk:"special_value_map"`
}

func (PanelAlertGroupsDataSourceModel_FieldConfig_Defaults_Mappings) ApplyDefaults

func (PanelAlertGroupsDataSourceModel_FieldConfig_Defaults_Mappings) MarshalJSON

type PanelAlertGroupsDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap

type PanelAlertGroupsDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap struct {
	Type    types.String                                                                    `tfsdk:"type"`
	Options *PanelAlertGroupsDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options `tfsdk:"options"`
}

func (PanelAlertGroupsDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap) ApplyDefaults

func (PanelAlertGroupsDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap) MarshalJSON

type PanelAlertGroupsDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options

type PanelAlertGroupsDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options struct {
	From   types.String                                                                           `tfsdk:"from"`
	To     types.String                                                                           `tfsdk:"to"`
	Result *PanelAlertGroupsDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options_Result `tfsdk:"result"`
}

func (PanelAlertGroupsDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options) ApplyDefaults

func (PanelAlertGroupsDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options) GetAttrFrom added in v0.2.0

func (PanelAlertGroupsDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options) GetAttrTo added in v0.2.0

func (PanelAlertGroupsDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options) MarshalJSON

type PanelAlertGroupsDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options_Result

type PanelAlertGroupsDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options_Result struct {
	Text  types.String `tfsdk:"text"`
	Color types.String `tfsdk:"color"`
	Icon  types.String `tfsdk:"icon"`
	Index types.Int64  `tfsdk:"index"`
}

func (PanelAlertGroupsDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options_Result) MarshalJSON

type PanelAlertGroupsDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap

type PanelAlertGroupsDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap struct {
	Type    types.String                                                                    `tfsdk:"type"`
	Options *PanelAlertGroupsDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options `tfsdk:"options"`
}

func (PanelAlertGroupsDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap) ApplyDefaults

func (PanelAlertGroupsDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap) MarshalJSON

type PanelAlertGroupsDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options

type PanelAlertGroupsDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options struct {
	Pattern types.String                                                                           `tfsdk:"pattern"`
	Result  *PanelAlertGroupsDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options_Result `tfsdk:"result"`
}

func (PanelAlertGroupsDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options) ApplyDefaults

func (PanelAlertGroupsDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options) MarshalJSON

type PanelAlertGroupsDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options_Result

type PanelAlertGroupsDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options_Result struct {
	Text  types.String `tfsdk:"text"`
	Color types.String `tfsdk:"color"`
	Icon  types.String `tfsdk:"icon"`
	Index types.Int64  `tfsdk:"index"`
}

func (PanelAlertGroupsDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options_Result) MarshalJSON

type PanelAlertGroupsDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap

type PanelAlertGroupsDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap struct {
	Type    types.String                                                                           `tfsdk:"type"`
	Options *PanelAlertGroupsDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options `tfsdk:"options"`
}

func (PanelAlertGroupsDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap) ApplyDefaults

func (PanelAlertGroupsDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap) MarshalJSON

type PanelAlertGroupsDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options

type PanelAlertGroupsDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options struct {
	Match  types.String                                                                                  `tfsdk:"match"`
	Result *PanelAlertGroupsDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options_Result `tfsdk:"result"`
}

func (PanelAlertGroupsDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options) MarshalJSON

type PanelAlertGroupsDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options_Result

type PanelAlertGroupsDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options_Result struct {
	Text  types.String `tfsdk:"text"`
	Color types.String `tfsdk:"color"`
	Icon  types.String `tfsdk:"icon"`
	Index types.Int64  `tfsdk:"index"`
}

func (PanelAlertGroupsDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options_Result) MarshalJSON

type PanelAlertGroupsDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap

type PanelAlertGroupsDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap struct {
	Type    types.String                                                                               `tfsdk:"type"`
	Options *map[string]PanelAlertGroupsDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap_Options `tfsdk:"options"`
}

func (PanelAlertGroupsDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap) ApplyDefaults

func (PanelAlertGroupsDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap) MarshalJSON

type PanelAlertGroupsDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap_Options

type PanelAlertGroupsDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap_Options struct {
	Text  types.String `tfsdk:"text"`
	Color types.String `tfsdk:"color"`
	Icon  types.String `tfsdk:"icon"`
	Index types.Int64  `tfsdk:"index"`
}

func (PanelAlertGroupsDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap_Options) ApplyDefaults

func (PanelAlertGroupsDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap_Options) MarshalJSON

type PanelAlertGroupsDataSourceModel_FieldConfig_Defaults_Thresholds

type PanelAlertGroupsDataSourceModel_FieldConfig_Defaults_Thresholds struct {
	Mode  types.String                                                            `tfsdk:"mode"`
	Steps []PanelAlertGroupsDataSourceModel_FieldConfig_Defaults_Thresholds_Steps `tfsdk:"steps"`
}

func (PanelAlertGroupsDataSourceModel_FieldConfig_Defaults_Thresholds) ApplyDefaults

func (PanelAlertGroupsDataSourceModel_FieldConfig_Defaults_Thresholds) MarshalJSON

type PanelAlertGroupsDataSourceModel_FieldConfig_Defaults_Thresholds_Steps

type PanelAlertGroupsDataSourceModel_FieldConfig_Defaults_Thresholds_Steps struct {
	Value types.String `tfsdk:"value"`
	Color types.String `tfsdk:"color"`
}

func (PanelAlertGroupsDataSourceModel_FieldConfig_Defaults_Thresholds_Steps) ApplyDefaults

func (PanelAlertGroupsDataSourceModel_FieldConfig_Defaults_Thresholds_Steps) GetAttrValue added in v0.2.0

func (PanelAlertGroupsDataSourceModel_FieldConfig_Defaults_Thresholds_Steps) MarshalJSON

type PanelAlertGroupsDataSourceModel_FieldConfig_Overrides

type PanelAlertGroupsDataSourceModel_FieldConfig_Overrides struct {
	Matcher    *PanelAlertGroupsDataSourceModel_FieldConfig_Overrides_Matcher     `tfsdk:"matcher"`
	Properties []PanelAlertGroupsDataSourceModel_FieldConfig_Overrides_Properties `tfsdk:"properties"`
}

func (PanelAlertGroupsDataSourceModel_FieldConfig_Overrides) ApplyDefaults

func (PanelAlertGroupsDataSourceModel_FieldConfig_Overrides) MarshalJSON

type PanelAlertGroupsDataSourceModel_FieldConfig_Overrides_Matcher

type PanelAlertGroupsDataSourceModel_FieldConfig_Overrides_Matcher struct {
}

func (PanelAlertGroupsDataSourceModel_FieldConfig_Overrides_Matcher) ApplyDefaults

func (PanelAlertGroupsDataSourceModel_FieldConfig_Overrides_Matcher) MarshalJSON

type PanelAlertGroupsDataSourceModel_FieldConfig_Overrides_Properties

type PanelAlertGroupsDataSourceModel_FieldConfig_Overrides_Properties struct {
}

func (PanelAlertGroupsDataSourceModel_FieldConfig_Overrides_Properties) ApplyDefaults

func (PanelAlertGroupsDataSourceModel_FieldConfig_Overrides_Properties) MarshalJSON

type PanelAlertGroupsDataSourceModel_GridPos

type PanelAlertGroupsDataSourceModel_GridPos struct {
	H      types.Int64 `tfsdk:"h"`
	W      types.Int64 `tfsdk:"w"`
	X      types.Int64 `tfsdk:"x"`
	Y      types.Int64 `tfsdk:"y"`
	Static types.Bool  `tfsdk:"static"`
}

func (PanelAlertGroupsDataSourceModel_GridPos) ApplyDefaults

func (PanelAlertGroupsDataSourceModel_GridPos) MarshalJSON

func (m PanelAlertGroupsDataSourceModel_GridPos) MarshalJSON() ([]byte, error)

type PanelAlertGroupsDataSourceModel_LibraryPanel

type PanelAlertGroupsDataSourceModel_LibraryPanel struct {
	Name types.String `tfsdk:"name"`
	Uid  types.String `tfsdk:"uid"`
}

func (PanelAlertGroupsDataSourceModel_LibraryPanel) ApplyDefaults

func (PanelAlertGroupsDataSourceModel_LibraryPanel) MarshalJSON

type PanelAlertGroupsDataSourceModel_Links struct {
	Title       types.String `tfsdk:"title"`
	Type        types.String `tfsdk:"type"`
	Icon        types.String `tfsdk:"icon"`
	Tooltip     types.String `tfsdk:"tooltip"`
	Url         types.String `tfsdk:"url"`
	Tags        types.List   `tfsdk:"tags"`
	AsDropdown  types.Bool   `tfsdk:"as_dropdown"`
	TargetBlank types.Bool   `tfsdk:"target_blank"`
	IncludeVars types.Bool   `tfsdk:"include_vars"`
	KeepTime    types.Bool   `tfsdk:"keep_time"`
}

func (PanelAlertGroupsDataSourceModel_Links) ApplyDefaults

func (PanelAlertGroupsDataSourceModel_Links) MarshalJSON

func (m PanelAlertGroupsDataSourceModel_Links) MarshalJSON() ([]byte, error)

type PanelAlertGroupsDataSourceModel_Options

type PanelAlertGroupsDataSourceModel_Options struct {
	Labels       types.String `tfsdk:"labels"`
	Alertmanager types.String `tfsdk:"alertmanager"`
	ExpandAll    types.Bool   `tfsdk:"expand_all"`
}

func (PanelAlertGroupsDataSourceModel_Options) ApplyDefaults

func (PanelAlertGroupsDataSourceModel_Options) MarshalJSON

func (m PanelAlertGroupsDataSourceModel_Options) MarshalJSON() ([]byte, error)

type PanelAlertGroupsDataSourceModel_Transformations

type PanelAlertGroupsDataSourceModel_Transformations struct {
	Disabled types.Bool                                              `tfsdk:"disabled"`
	Filter   *PanelAlertGroupsDataSourceModel_Transformations_Filter `tfsdk:"filter"`
}

func (PanelAlertGroupsDataSourceModel_Transformations) ApplyDefaults

func (PanelAlertGroupsDataSourceModel_Transformations) MarshalJSON

type PanelAlertGroupsDataSourceModel_Transformations_Filter

type PanelAlertGroupsDataSourceModel_Transformations_Filter struct {
}

func (PanelAlertGroupsDataSourceModel_Transformations_Filter) ApplyDefaults

func (PanelAlertGroupsDataSourceModel_Transformations_Filter) MarshalJSON

type PanelAnnotationsListDataSource

type PanelAnnotationsListDataSource struct{}

PanelAnnotationsListDataSource defines the data source implementation.

func (*PanelAnnotationsListDataSource) Configure

func (*PanelAnnotationsListDataSource) Metadata

func (*PanelAnnotationsListDataSource) Read

func (*PanelAnnotationsListDataSource) Schema

type PanelAnnotationsListDataSourceModel

type PanelAnnotationsListDataSourceModel struct {
	RenderedJSON    types.String                                          `tfsdk:"rendered_json"`
	Type            types.String                                          `tfsdk:"type"`
	PluginVersion   types.String                                          `tfsdk:"plugin_version"`
	Tags            types.List                                            `tfsdk:"tags"`
	Targets         types.List                                            `tfsdk:"targets"`
	Title           types.String                                          `tfsdk:"title"`
	Description     types.String                                          `tfsdk:"description"`
	Transparent     types.Bool                                            `tfsdk:"transparent"`
	Datasource      *PanelAnnotationsListDataSourceModel_Datasource       `tfsdk:"datasource"`
	GridPos         *PanelAnnotationsListDataSourceModel_GridPos          `tfsdk:"grid_pos"`
	Links           []PanelAnnotationsListDataSourceModel_Links           `tfsdk:"links"`
	Repeat          types.String                                          `tfsdk:"repeat"`
	RepeatDirection types.String                                          `tfsdk:"repeat_direction"`
	RepeatPanelId   types.Int64                                           `tfsdk:"repeat_panel_id"`
	MaxDataPoints   types.Float64                                         `tfsdk:"max_data_points"`
	Transformations []PanelAnnotationsListDataSourceModel_Transformations `tfsdk:"transformations"`
	Interval        types.String                                          `tfsdk:"interval"`
	TimeFrom        types.String                                          `tfsdk:"time_from"`
	TimeShift       types.String                                          `tfsdk:"time_shift"`
	LibraryPanel    *PanelAnnotationsListDataSourceModel_LibraryPanel     `tfsdk:"library_panel"`
	Options         *PanelAnnotationsListDataSourceModel_Options          `tfsdk:"options"`
	FieldConfig     *PanelAnnotationsListDataSourceModel_FieldConfig      `tfsdk:"field_config"`
}

func (PanelAnnotationsListDataSourceModel) ApplyDefaults

func (PanelAnnotationsListDataSourceModel) MarshalJSON

func (m PanelAnnotationsListDataSourceModel) MarshalJSON() ([]byte, error)

type PanelAnnotationsListDataSourceModel_Datasource

type PanelAnnotationsListDataSourceModel_Datasource struct {
	Type types.String `tfsdk:"type"`
	Uid  types.String `tfsdk:"uid"`
}

func (PanelAnnotationsListDataSourceModel_Datasource) ApplyDefaults

func (PanelAnnotationsListDataSourceModel_Datasource) MarshalJSON

type PanelAnnotationsListDataSourceModel_FieldConfig

type PanelAnnotationsListDataSourceModel_FieldConfig struct {
	Defaults  *PanelAnnotationsListDataSourceModel_FieldConfig_Defaults   `tfsdk:"defaults"`
	Overrides []PanelAnnotationsListDataSourceModel_FieldConfig_Overrides `tfsdk:"overrides"`
}

func (PanelAnnotationsListDataSourceModel_FieldConfig) ApplyDefaults

func (PanelAnnotationsListDataSourceModel_FieldConfig) MarshalJSON

type PanelAnnotationsListDataSourceModel_FieldConfig_Defaults

type PanelAnnotationsListDataSourceModel_FieldConfig_Defaults struct {
	DisplayName       types.String                                                         `tfsdk:"display_name"`
	DisplayNameFromDS types.String                                                         `tfsdk:"display_name_from_ds"`
	Description       types.String                                                         `tfsdk:"description"`
	Path              types.String                                                         `tfsdk:"path"`
	Writeable         types.Bool                                                           `tfsdk:"writeable"`
	Filterable        types.Bool                                                           `tfsdk:"filterable"`
	Unit              types.String                                                         `tfsdk:"unit"`
	Decimals          types.Float64                                                        `tfsdk:"decimals"`
	Min               types.Float64                                                        `tfsdk:"min"`
	Max               types.Float64                                                        `tfsdk:"max"`
	Mappings          []PanelAnnotationsListDataSourceModel_FieldConfig_Defaults_Mappings  `tfsdk:"mappings"`
	Thresholds        *PanelAnnotationsListDataSourceModel_FieldConfig_Defaults_Thresholds `tfsdk:"thresholds"`
	Color             *PanelAnnotationsListDataSourceModel_FieldConfig_Defaults_Color      `tfsdk:"color"`
	NoValue           types.String                                                         `tfsdk:"no_value"`
	Custom            *PanelAnnotationsListDataSourceModel_FieldConfig_Defaults_Custom     `tfsdk:"custom"`
}

func (PanelAnnotationsListDataSourceModel_FieldConfig_Defaults) ApplyDefaults

func (PanelAnnotationsListDataSourceModel_FieldConfig_Defaults) MarshalJSON

type PanelAnnotationsListDataSourceModel_FieldConfig_Defaults_Color

type PanelAnnotationsListDataSourceModel_FieldConfig_Defaults_Color struct {
	Mode       types.String `tfsdk:"mode"`
	FixedColor types.String `tfsdk:"fixed_color"`
	SeriesBy   types.String `tfsdk:"series_by"`
}

func (PanelAnnotationsListDataSourceModel_FieldConfig_Defaults_Color) ApplyDefaults

func (PanelAnnotationsListDataSourceModel_FieldConfig_Defaults_Color) MarshalJSON

type PanelAnnotationsListDataSourceModel_FieldConfig_Defaults_Custom

type PanelAnnotationsListDataSourceModel_FieldConfig_Defaults_Custom struct {
}

func (PanelAnnotationsListDataSourceModel_FieldConfig_Defaults_Custom) ApplyDefaults

func (PanelAnnotationsListDataSourceModel_FieldConfig_Defaults_Custom) MarshalJSON

type PanelAnnotationsListDataSourceModel_FieldConfig_Defaults_Mappings

type PanelAnnotationsListDataSourceModel_FieldConfig_Defaults_Mappings struct {
	ValueMap        *PanelAnnotationsListDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap        `tfsdk:"value_map"`
	RangeMap        *PanelAnnotationsListDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap        `tfsdk:"range_map"`
	RegexMap        *PanelAnnotationsListDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap        `tfsdk:"regex_map"`
	SpecialValueMap *PanelAnnotationsListDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap `tfsdk:"special_value_map"`
}

func (PanelAnnotationsListDataSourceModel_FieldConfig_Defaults_Mappings) ApplyDefaults

func (PanelAnnotationsListDataSourceModel_FieldConfig_Defaults_Mappings) MarshalJSON

type PanelAnnotationsListDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap

type PanelAnnotationsListDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap struct {
	Type    types.String                                                                        `tfsdk:"type"`
	Options *PanelAnnotationsListDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options `tfsdk:"options"`
}

func (PanelAnnotationsListDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap) ApplyDefaults

func (PanelAnnotationsListDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap) MarshalJSON

type PanelAnnotationsListDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options

type PanelAnnotationsListDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options struct {
	From   types.String                                                                               `tfsdk:"from"`
	To     types.String                                                                               `tfsdk:"to"`
	Result *PanelAnnotationsListDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options_Result `tfsdk:"result"`
}

func (PanelAnnotationsListDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options) ApplyDefaults

func (PanelAnnotationsListDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options) GetAttrFrom added in v0.2.0

func (PanelAnnotationsListDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options) GetAttrTo added in v0.2.0

func (PanelAnnotationsListDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options) MarshalJSON

type PanelAnnotationsListDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options_Result

type PanelAnnotationsListDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options_Result struct {
	Text  types.String `tfsdk:"text"`
	Color types.String `tfsdk:"color"`
	Icon  types.String `tfsdk:"icon"`
	Index types.Int64  `tfsdk:"index"`
}

func (PanelAnnotationsListDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options_Result) MarshalJSON

type PanelAnnotationsListDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap

type PanelAnnotationsListDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap struct {
	Type    types.String                                                                        `tfsdk:"type"`
	Options *PanelAnnotationsListDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options `tfsdk:"options"`
}

func (PanelAnnotationsListDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap) ApplyDefaults

func (PanelAnnotationsListDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap) MarshalJSON

type PanelAnnotationsListDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options

type PanelAnnotationsListDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options struct {
	Pattern types.String                                                                               `tfsdk:"pattern"`
	Result  *PanelAnnotationsListDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options_Result `tfsdk:"result"`
}

func (PanelAnnotationsListDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options) ApplyDefaults

func (PanelAnnotationsListDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options) MarshalJSON

type PanelAnnotationsListDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options_Result

type PanelAnnotationsListDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options_Result struct {
	Text  types.String `tfsdk:"text"`
	Color types.String `tfsdk:"color"`
	Icon  types.String `tfsdk:"icon"`
	Index types.Int64  `tfsdk:"index"`
}

func (PanelAnnotationsListDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options_Result) MarshalJSON

type PanelAnnotationsListDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap

type PanelAnnotationsListDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap struct {
	Type    types.String                                                                               `tfsdk:"type"`
	Options *PanelAnnotationsListDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options `tfsdk:"options"`
}

func (PanelAnnotationsListDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap) ApplyDefaults

func (PanelAnnotationsListDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap) MarshalJSON

type PanelAnnotationsListDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options

type PanelAnnotationsListDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options struct {
	Match  types.String                                                                                      `tfsdk:"match"`
	Result *PanelAnnotationsListDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options_Result `tfsdk:"result"`
}

func (PanelAnnotationsListDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options) MarshalJSON

type PanelAnnotationsListDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options_Result

type PanelAnnotationsListDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options_Result struct {
	Text  types.String `tfsdk:"text"`
	Color types.String `tfsdk:"color"`
	Icon  types.String `tfsdk:"icon"`
	Index types.Int64  `tfsdk:"index"`
}

func (PanelAnnotationsListDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options_Result) MarshalJSON

type PanelAnnotationsListDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap

type PanelAnnotationsListDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap struct {
	Type    types.String                                                                                   `tfsdk:"type"`
	Options *map[string]PanelAnnotationsListDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap_Options `tfsdk:"options"`
}

func (PanelAnnotationsListDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap) ApplyDefaults

func (PanelAnnotationsListDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap) MarshalJSON

type PanelAnnotationsListDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap_Options

type PanelAnnotationsListDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap_Options struct {
	Text  types.String `tfsdk:"text"`
	Color types.String `tfsdk:"color"`
	Icon  types.String `tfsdk:"icon"`
	Index types.Int64  `tfsdk:"index"`
}

func (PanelAnnotationsListDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap_Options) ApplyDefaults

func (PanelAnnotationsListDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap_Options) MarshalJSON

type PanelAnnotationsListDataSourceModel_FieldConfig_Defaults_Thresholds

type PanelAnnotationsListDataSourceModel_FieldConfig_Defaults_Thresholds struct {
	Mode  types.String                                                                `tfsdk:"mode"`
	Steps []PanelAnnotationsListDataSourceModel_FieldConfig_Defaults_Thresholds_Steps `tfsdk:"steps"`
}

func (PanelAnnotationsListDataSourceModel_FieldConfig_Defaults_Thresholds) ApplyDefaults

func (PanelAnnotationsListDataSourceModel_FieldConfig_Defaults_Thresholds) MarshalJSON

type PanelAnnotationsListDataSourceModel_FieldConfig_Defaults_Thresholds_Steps

type PanelAnnotationsListDataSourceModel_FieldConfig_Defaults_Thresholds_Steps struct {
	Value types.String `tfsdk:"value"`
	Color types.String `tfsdk:"color"`
}

func (PanelAnnotationsListDataSourceModel_FieldConfig_Defaults_Thresholds_Steps) ApplyDefaults

func (PanelAnnotationsListDataSourceModel_FieldConfig_Defaults_Thresholds_Steps) GetAttrValue added in v0.2.0

func (PanelAnnotationsListDataSourceModel_FieldConfig_Defaults_Thresholds_Steps) MarshalJSON

type PanelAnnotationsListDataSourceModel_FieldConfig_Overrides

type PanelAnnotationsListDataSourceModel_FieldConfig_Overrides struct {
	Matcher    *PanelAnnotationsListDataSourceModel_FieldConfig_Overrides_Matcher     `tfsdk:"matcher"`
	Properties []PanelAnnotationsListDataSourceModel_FieldConfig_Overrides_Properties `tfsdk:"properties"`
}

func (PanelAnnotationsListDataSourceModel_FieldConfig_Overrides) ApplyDefaults

func (PanelAnnotationsListDataSourceModel_FieldConfig_Overrides) MarshalJSON

type PanelAnnotationsListDataSourceModel_FieldConfig_Overrides_Matcher

type PanelAnnotationsListDataSourceModel_FieldConfig_Overrides_Matcher struct {
}

func (PanelAnnotationsListDataSourceModel_FieldConfig_Overrides_Matcher) ApplyDefaults

func (PanelAnnotationsListDataSourceModel_FieldConfig_Overrides_Matcher) MarshalJSON

type PanelAnnotationsListDataSourceModel_FieldConfig_Overrides_Properties

type PanelAnnotationsListDataSourceModel_FieldConfig_Overrides_Properties struct {
}

func (PanelAnnotationsListDataSourceModel_FieldConfig_Overrides_Properties) ApplyDefaults

func (PanelAnnotationsListDataSourceModel_FieldConfig_Overrides_Properties) MarshalJSON

type PanelAnnotationsListDataSourceModel_GridPos

type PanelAnnotationsListDataSourceModel_GridPos struct {
	H      types.Int64 `tfsdk:"h"`
	W      types.Int64 `tfsdk:"w"`
	X      types.Int64 `tfsdk:"x"`
	Y      types.Int64 `tfsdk:"y"`
	Static types.Bool  `tfsdk:"static"`
}

func (PanelAnnotationsListDataSourceModel_GridPos) ApplyDefaults

func (PanelAnnotationsListDataSourceModel_GridPos) MarshalJSON

type PanelAnnotationsListDataSourceModel_LibraryPanel

type PanelAnnotationsListDataSourceModel_LibraryPanel struct {
	Name types.String `tfsdk:"name"`
	Uid  types.String `tfsdk:"uid"`
}

func (PanelAnnotationsListDataSourceModel_LibraryPanel) ApplyDefaults

func (PanelAnnotationsListDataSourceModel_LibraryPanel) MarshalJSON

type PanelAnnotationsListDataSourceModel_Links struct {
	Title       types.String `tfsdk:"title"`
	Type        types.String `tfsdk:"type"`
	Icon        types.String `tfsdk:"icon"`
	Tooltip     types.String `tfsdk:"tooltip"`
	Url         types.String `tfsdk:"url"`
	Tags        types.List   `tfsdk:"tags"`
	AsDropdown  types.Bool   `tfsdk:"as_dropdown"`
	TargetBlank types.Bool   `tfsdk:"target_blank"`
	IncludeVars types.Bool   `tfsdk:"include_vars"`
	KeepTime    types.Bool   `tfsdk:"keep_time"`
}

func (PanelAnnotationsListDataSourceModel_Links) ApplyDefaults

func (PanelAnnotationsListDataSourceModel_Links) MarshalJSON

type PanelAnnotationsListDataSourceModel_Options

type PanelAnnotationsListDataSourceModel_Options struct {
	OnlyFromThisDashboard types.Bool   `tfsdk:"only_from_this_dashboard"`
	OnlyInTimeRange       types.Bool   `tfsdk:"only_in_time_range"`
	Tags                  types.List   `tfsdk:"tags"`
	Limit                 types.Int64  `tfsdk:"limit"`
	ShowUser              types.Bool   `tfsdk:"show_user"`
	ShowTime              types.Bool   `tfsdk:"show_time"`
	ShowTags              types.Bool   `tfsdk:"show_tags"`
	NavigateToPanel       types.Bool   `tfsdk:"navigate_to_panel"`
	NavigateBefore        types.String `tfsdk:"navigate_before"`
	NavigateAfter         types.String `tfsdk:"navigate_after"`
}

func (PanelAnnotationsListDataSourceModel_Options) ApplyDefaults

func (PanelAnnotationsListDataSourceModel_Options) MarshalJSON

type PanelAnnotationsListDataSourceModel_Transformations

type PanelAnnotationsListDataSourceModel_Transformations struct {
	Disabled types.Bool                                                  `tfsdk:"disabled"`
	Filter   *PanelAnnotationsListDataSourceModel_Transformations_Filter `tfsdk:"filter"`
}

func (PanelAnnotationsListDataSourceModel_Transformations) ApplyDefaults

func (PanelAnnotationsListDataSourceModel_Transformations) MarshalJSON

type PanelAnnotationsListDataSourceModel_Transformations_Filter

type PanelAnnotationsListDataSourceModel_Transformations_Filter struct {
}

func (PanelAnnotationsListDataSourceModel_Transformations_Filter) ApplyDefaults

func (PanelAnnotationsListDataSourceModel_Transformations_Filter) MarshalJSON

type PanelBarChartDataSource

type PanelBarChartDataSource struct{}

PanelBarChartDataSource defines the data source implementation.

func (*PanelBarChartDataSource) Configure

func (*PanelBarChartDataSource) Metadata

func (*PanelBarChartDataSource) Read

func (*PanelBarChartDataSource) Schema

type PanelBarChartDataSourceModel

type PanelBarChartDataSourceModel struct {
	RenderedJSON    types.String                                   `tfsdk:"rendered_json"`
	Type            types.String                                   `tfsdk:"type"`
	PluginVersion   types.String                                   `tfsdk:"plugin_version"`
	Tags            types.List                                     `tfsdk:"tags"`
	Targets         types.List                                     `tfsdk:"targets"`
	Title           types.String                                   `tfsdk:"title"`
	Description     types.String                                   `tfsdk:"description"`
	Transparent     types.Bool                                     `tfsdk:"transparent"`
	Datasource      *PanelBarChartDataSourceModel_Datasource       `tfsdk:"datasource"`
	GridPos         *PanelBarChartDataSourceModel_GridPos          `tfsdk:"grid_pos"`
	Links           []PanelBarChartDataSourceModel_Links           `tfsdk:"links"`
	Repeat          types.String                                   `tfsdk:"repeat"`
	RepeatDirection types.String                                   `tfsdk:"repeat_direction"`
	RepeatPanelId   types.Int64                                    `tfsdk:"repeat_panel_id"`
	MaxDataPoints   types.Float64                                  `tfsdk:"max_data_points"`
	Transformations []PanelBarChartDataSourceModel_Transformations `tfsdk:"transformations"`
	Interval        types.String                                   `tfsdk:"interval"`
	TimeFrom        types.String                                   `tfsdk:"time_from"`
	TimeShift       types.String                                   `tfsdk:"time_shift"`
	LibraryPanel    *PanelBarChartDataSourceModel_LibraryPanel     `tfsdk:"library_panel"`
	Options         *PanelBarChartDataSourceModel_Options          `tfsdk:"options"`
	FieldConfig     *PanelBarChartDataSourceModel_FieldConfig      `tfsdk:"field_config"`
}

func (PanelBarChartDataSourceModel) ApplyDefaults

func (PanelBarChartDataSourceModel) MarshalJSON

func (m PanelBarChartDataSourceModel) MarshalJSON() ([]byte, error)

type PanelBarChartDataSourceModel_Datasource

type PanelBarChartDataSourceModel_Datasource struct {
	Type types.String `tfsdk:"type"`
	Uid  types.String `tfsdk:"uid"`
}

func (PanelBarChartDataSourceModel_Datasource) ApplyDefaults

func (PanelBarChartDataSourceModel_Datasource) MarshalJSON

func (m PanelBarChartDataSourceModel_Datasource) MarshalJSON() ([]byte, error)

type PanelBarChartDataSourceModel_FieldConfig

type PanelBarChartDataSourceModel_FieldConfig struct {
	Defaults  *PanelBarChartDataSourceModel_FieldConfig_Defaults   `tfsdk:"defaults"`
	Overrides []PanelBarChartDataSourceModel_FieldConfig_Overrides `tfsdk:"overrides"`
}

func (PanelBarChartDataSourceModel_FieldConfig) ApplyDefaults

func (PanelBarChartDataSourceModel_FieldConfig) MarshalJSON

type PanelBarChartDataSourceModel_FieldConfig_Defaults

type PanelBarChartDataSourceModel_FieldConfig_Defaults struct {
	DisplayName       types.String                                                  `tfsdk:"display_name"`
	DisplayNameFromDS types.String                                                  `tfsdk:"display_name_from_ds"`
	Description       types.String                                                  `tfsdk:"description"`
	Path              types.String                                                  `tfsdk:"path"`
	Writeable         types.Bool                                                    `tfsdk:"writeable"`
	Filterable        types.Bool                                                    `tfsdk:"filterable"`
	Unit              types.String                                                  `tfsdk:"unit"`
	Decimals          types.Float64                                                 `tfsdk:"decimals"`
	Min               types.Float64                                                 `tfsdk:"min"`
	Max               types.Float64                                                 `tfsdk:"max"`
	Mappings          []PanelBarChartDataSourceModel_FieldConfig_Defaults_Mappings  `tfsdk:"mappings"`
	Thresholds        *PanelBarChartDataSourceModel_FieldConfig_Defaults_Thresholds `tfsdk:"thresholds"`
	Color             *PanelBarChartDataSourceModel_FieldConfig_Defaults_Color      `tfsdk:"color"`
	NoValue           types.String                                                  `tfsdk:"no_value"`
	Custom            *PanelBarChartDataSourceModel_FieldConfig_Defaults_Custom     `tfsdk:"custom"`
}

func (PanelBarChartDataSourceModel_FieldConfig_Defaults) ApplyDefaults

func (PanelBarChartDataSourceModel_FieldConfig_Defaults) MarshalJSON

type PanelBarChartDataSourceModel_FieldConfig_Defaults_Color

type PanelBarChartDataSourceModel_FieldConfig_Defaults_Color struct {
	Mode       types.String `tfsdk:"mode"`
	FixedColor types.String `tfsdk:"fixed_color"`
	SeriesBy   types.String `tfsdk:"series_by"`
}

func (PanelBarChartDataSourceModel_FieldConfig_Defaults_Color) ApplyDefaults

func (PanelBarChartDataSourceModel_FieldConfig_Defaults_Color) MarshalJSON

type PanelBarChartDataSourceModel_FieldConfig_Defaults_Custom

type PanelBarChartDataSourceModel_FieldConfig_Defaults_Custom struct {
	LineWidth         types.Int64                                                                 `tfsdk:"line_width"`
	FillOpacity       types.Int64                                                                 `tfsdk:"fill_opacity"`
	GradientMode      types.String                                                                `tfsdk:"gradient_mode"`
	AxisPlacement     types.String                                                                `tfsdk:"axis_placement"`
	AxisColorMode     types.String                                                                `tfsdk:"axis_color_mode"`
	AxisLabel         types.String                                                                `tfsdk:"axis_label"`
	AxisWidth         types.Float64                                                               `tfsdk:"axis_width"`
	AxisSoftMin       types.Float64                                                               `tfsdk:"axis_soft_min"`
	AxisSoftMax       types.Float64                                                               `tfsdk:"axis_soft_max"`
	AxisGridShow      types.Bool                                                                  `tfsdk:"axis_grid_show"`
	ScaleDistribution *PanelBarChartDataSourceModel_FieldConfig_Defaults_Custom_ScaleDistribution `tfsdk:"scale_distribution"`
	HideFrom          *PanelBarChartDataSourceModel_FieldConfig_Defaults_Custom_HideFrom          `tfsdk:"hide_from"`
	ThresholdsStyle   *PanelBarChartDataSourceModel_FieldConfig_Defaults_Custom_ThresholdsStyle   `tfsdk:"thresholds_style"`
	AxisCenteredZero  types.Bool                                                                  `tfsdk:"axis_centered_zero"`
}

func (PanelBarChartDataSourceModel_FieldConfig_Defaults_Custom) ApplyDefaults

func (PanelBarChartDataSourceModel_FieldConfig_Defaults_Custom) MarshalJSON

type PanelBarChartDataSourceModel_FieldConfig_Defaults_Custom_HideFrom

type PanelBarChartDataSourceModel_FieldConfig_Defaults_Custom_HideFrom struct {
	Tooltip types.Bool `tfsdk:"tooltip"`
	Legend  types.Bool `tfsdk:"legend"`
	Viz     types.Bool `tfsdk:"viz"`
}

func (PanelBarChartDataSourceModel_FieldConfig_Defaults_Custom_HideFrom) ApplyDefaults

func (PanelBarChartDataSourceModel_FieldConfig_Defaults_Custom_HideFrom) MarshalJSON

type PanelBarChartDataSourceModel_FieldConfig_Defaults_Custom_ScaleDistribution

type PanelBarChartDataSourceModel_FieldConfig_Defaults_Custom_ScaleDistribution struct {
	Type            types.String  `tfsdk:"type"`
	Log             types.Float64 `tfsdk:"log"`
	LinearThreshold types.Float64 `tfsdk:"linear_threshold"`
}

func (PanelBarChartDataSourceModel_FieldConfig_Defaults_Custom_ScaleDistribution) ApplyDefaults

func (PanelBarChartDataSourceModel_FieldConfig_Defaults_Custom_ScaleDistribution) MarshalJSON

type PanelBarChartDataSourceModel_FieldConfig_Defaults_Custom_ThresholdsStyle

type PanelBarChartDataSourceModel_FieldConfig_Defaults_Custom_ThresholdsStyle struct {
	Mode types.String `tfsdk:"mode"`
}

func (PanelBarChartDataSourceModel_FieldConfig_Defaults_Custom_ThresholdsStyle) ApplyDefaults

func (PanelBarChartDataSourceModel_FieldConfig_Defaults_Custom_ThresholdsStyle) MarshalJSON

type PanelBarChartDataSourceModel_FieldConfig_Defaults_Mappings

type PanelBarChartDataSourceModel_FieldConfig_Defaults_Mappings struct {
	ValueMap        *PanelBarChartDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap        `tfsdk:"value_map"`
	RangeMap        *PanelBarChartDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap        `tfsdk:"range_map"`
	RegexMap        *PanelBarChartDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap        `tfsdk:"regex_map"`
	SpecialValueMap *PanelBarChartDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap `tfsdk:"special_value_map"`
}

func (PanelBarChartDataSourceModel_FieldConfig_Defaults_Mappings) ApplyDefaults

func (PanelBarChartDataSourceModel_FieldConfig_Defaults_Mappings) MarshalJSON

type PanelBarChartDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap

type PanelBarChartDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap struct {
	Type    types.String                                                                 `tfsdk:"type"`
	Options *PanelBarChartDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options `tfsdk:"options"`
}

func (PanelBarChartDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap) ApplyDefaults

func (PanelBarChartDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap) MarshalJSON

type PanelBarChartDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options

type PanelBarChartDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options struct {
	From   types.String                                                                        `tfsdk:"from"`
	To     types.String                                                                        `tfsdk:"to"`
	Result *PanelBarChartDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options_Result `tfsdk:"result"`
}

func (PanelBarChartDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options) ApplyDefaults

func (PanelBarChartDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options) GetAttrFrom added in v0.2.0

func (PanelBarChartDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options) GetAttrTo added in v0.2.0

func (PanelBarChartDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options) MarshalJSON

type PanelBarChartDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options_Result

type PanelBarChartDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options_Result struct {
	Text  types.String `tfsdk:"text"`
	Color types.String `tfsdk:"color"`
	Icon  types.String `tfsdk:"icon"`
	Index types.Int64  `tfsdk:"index"`
}

func (PanelBarChartDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options_Result) ApplyDefaults

func (PanelBarChartDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options_Result) MarshalJSON

type PanelBarChartDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap

type PanelBarChartDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap struct {
	Type    types.String                                                                 `tfsdk:"type"`
	Options *PanelBarChartDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options `tfsdk:"options"`
}

func (PanelBarChartDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap) ApplyDefaults

func (PanelBarChartDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap) MarshalJSON

type PanelBarChartDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options

type PanelBarChartDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options struct {
	Pattern types.String                                                                        `tfsdk:"pattern"`
	Result  *PanelBarChartDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options_Result `tfsdk:"result"`
}

func (PanelBarChartDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options) ApplyDefaults

func (PanelBarChartDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options) MarshalJSON

type PanelBarChartDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options_Result

type PanelBarChartDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options_Result struct {
	Text  types.String `tfsdk:"text"`
	Color types.String `tfsdk:"color"`
	Icon  types.String `tfsdk:"icon"`
	Index types.Int64  `tfsdk:"index"`
}

func (PanelBarChartDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options_Result) ApplyDefaults

func (PanelBarChartDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options_Result) MarshalJSON

type PanelBarChartDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap

type PanelBarChartDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap struct {
	Type    types.String                                                                        `tfsdk:"type"`
	Options *PanelBarChartDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options `tfsdk:"options"`
}

func (PanelBarChartDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap) ApplyDefaults

func (PanelBarChartDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap) MarshalJSON

type PanelBarChartDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options

type PanelBarChartDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options struct {
	Match  types.String                                                                               `tfsdk:"match"`
	Result *PanelBarChartDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options_Result `tfsdk:"result"`
}

func (PanelBarChartDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options) ApplyDefaults

func (PanelBarChartDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options) MarshalJSON

type PanelBarChartDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options_Result

type PanelBarChartDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options_Result struct {
	Text  types.String `tfsdk:"text"`
	Color types.String `tfsdk:"color"`
	Icon  types.String `tfsdk:"icon"`
	Index types.Int64  `tfsdk:"index"`
}

func (PanelBarChartDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options_Result) MarshalJSON

type PanelBarChartDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap

type PanelBarChartDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap struct {
	Type    types.String                                                                            `tfsdk:"type"`
	Options *map[string]PanelBarChartDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap_Options `tfsdk:"options"`
}

func (PanelBarChartDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap) ApplyDefaults

func (PanelBarChartDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap) MarshalJSON

type PanelBarChartDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap_Options

type PanelBarChartDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap_Options struct {
	Text  types.String `tfsdk:"text"`
	Color types.String `tfsdk:"color"`
	Icon  types.String `tfsdk:"icon"`
	Index types.Int64  `tfsdk:"index"`
}

func (PanelBarChartDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap_Options) ApplyDefaults

func (PanelBarChartDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap_Options) MarshalJSON

type PanelBarChartDataSourceModel_FieldConfig_Defaults_Thresholds

type PanelBarChartDataSourceModel_FieldConfig_Defaults_Thresholds struct {
	Mode  types.String                                                         `tfsdk:"mode"`
	Steps []PanelBarChartDataSourceModel_FieldConfig_Defaults_Thresholds_Steps `tfsdk:"steps"`
}

func (PanelBarChartDataSourceModel_FieldConfig_Defaults_Thresholds) ApplyDefaults

func (PanelBarChartDataSourceModel_FieldConfig_Defaults_Thresholds) MarshalJSON

type PanelBarChartDataSourceModel_FieldConfig_Defaults_Thresholds_Steps

type PanelBarChartDataSourceModel_FieldConfig_Defaults_Thresholds_Steps struct {
	Value types.String `tfsdk:"value"`
	Color types.String `tfsdk:"color"`
}

func (PanelBarChartDataSourceModel_FieldConfig_Defaults_Thresholds_Steps) ApplyDefaults

func (PanelBarChartDataSourceModel_FieldConfig_Defaults_Thresholds_Steps) GetAttrValue added in v0.2.0

func (PanelBarChartDataSourceModel_FieldConfig_Defaults_Thresholds_Steps) MarshalJSON

type PanelBarChartDataSourceModel_FieldConfig_Overrides

type PanelBarChartDataSourceModel_FieldConfig_Overrides struct {
	Matcher    *PanelBarChartDataSourceModel_FieldConfig_Overrides_Matcher     `tfsdk:"matcher"`
	Properties []PanelBarChartDataSourceModel_FieldConfig_Overrides_Properties `tfsdk:"properties"`
}

func (PanelBarChartDataSourceModel_FieldConfig_Overrides) ApplyDefaults

func (PanelBarChartDataSourceModel_FieldConfig_Overrides) MarshalJSON

type PanelBarChartDataSourceModel_FieldConfig_Overrides_Matcher

type PanelBarChartDataSourceModel_FieldConfig_Overrides_Matcher struct {
}

func (PanelBarChartDataSourceModel_FieldConfig_Overrides_Matcher) ApplyDefaults

func (PanelBarChartDataSourceModel_FieldConfig_Overrides_Matcher) MarshalJSON

type PanelBarChartDataSourceModel_FieldConfig_Overrides_Properties

type PanelBarChartDataSourceModel_FieldConfig_Overrides_Properties struct {
}

func (PanelBarChartDataSourceModel_FieldConfig_Overrides_Properties) ApplyDefaults

func (PanelBarChartDataSourceModel_FieldConfig_Overrides_Properties) MarshalJSON

type PanelBarChartDataSourceModel_GridPos

type PanelBarChartDataSourceModel_GridPos struct {
	H      types.Int64 `tfsdk:"h"`
	W      types.Int64 `tfsdk:"w"`
	X      types.Int64 `tfsdk:"x"`
	Y      types.Int64 `tfsdk:"y"`
	Static types.Bool  `tfsdk:"static"`
}

func (PanelBarChartDataSourceModel_GridPos) ApplyDefaults

func (PanelBarChartDataSourceModel_GridPos) MarshalJSON

func (m PanelBarChartDataSourceModel_GridPos) MarshalJSON() ([]byte, error)

type PanelBarChartDataSourceModel_LibraryPanel

type PanelBarChartDataSourceModel_LibraryPanel struct {
	Name types.String `tfsdk:"name"`
	Uid  types.String `tfsdk:"uid"`
}

func (PanelBarChartDataSourceModel_LibraryPanel) ApplyDefaults

func (PanelBarChartDataSourceModel_LibraryPanel) MarshalJSON

type PanelBarChartDataSourceModel_Links struct {
	Title       types.String `tfsdk:"title"`
	Type        types.String `tfsdk:"type"`
	Icon        types.String `tfsdk:"icon"`
	Tooltip     types.String `tfsdk:"tooltip"`
	Url         types.String `tfsdk:"url"`
	Tags        types.List   `tfsdk:"tags"`
	AsDropdown  types.Bool   `tfsdk:"as_dropdown"`
	TargetBlank types.Bool   `tfsdk:"target_blank"`
	IncludeVars types.Bool   `tfsdk:"include_vars"`
	KeepTime    types.Bool   `tfsdk:"keep_time"`
}

func (PanelBarChartDataSourceModel_Links) ApplyDefaults

func (PanelBarChartDataSourceModel_Links) MarshalJSON

func (m PanelBarChartDataSourceModel_Links) MarshalJSON() ([]byte, error)

type PanelBarChartDataSourceModel_Options

type PanelBarChartDataSourceModel_Options struct {
	XField              types.String                                  `tfsdk:"x_field"`
	ColorByField        types.String                                  `tfsdk:"color_by_field"`
	Orientation         types.String                                  `tfsdk:"orientation"`
	BarRadius           types.Float64                                 `tfsdk:"bar_radius"`
	XTickLabelRotation  types.Int64                                   `tfsdk:"x_tick_label_rotation"`
	XTickLabelMaxLength types.Int64                                   `tfsdk:"x_tick_label_max_length"`
	XTickLabelSpacing   types.Int64                                   `tfsdk:"x_tick_label_spacing"`
	Stacking            types.String                                  `tfsdk:"stacking"`
	ShowValue           types.String                                  `tfsdk:"show_value"`
	BarWidth            types.Float64                                 `tfsdk:"bar_width"`
	GroupWidth          types.Float64                                 `tfsdk:"group_width"`
	Legend              *PanelBarChartDataSourceModel_Options_Legend  `tfsdk:"legend"`
	Tooltip             *PanelBarChartDataSourceModel_Options_Tooltip `tfsdk:"tooltip"`
	Text                *PanelBarChartDataSourceModel_Options_Text    `tfsdk:"text"`
	FullHighlight       types.Bool                                    `tfsdk:"full_highlight"`
}

func (PanelBarChartDataSourceModel_Options) ApplyDefaults

func (PanelBarChartDataSourceModel_Options) MarshalJSON

func (m PanelBarChartDataSourceModel_Options) MarshalJSON() ([]byte, error)

type PanelBarChartDataSourceModel_Options_Legend

type PanelBarChartDataSourceModel_Options_Legend struct {
	DisplayMode types.String  `tfsdk:"display_mode"`
	Placement   types.String  `tfsdk:"placement"`
	ShowLegend  types.Bool    `tfsdk:"show_legend"`
	AsTable     types.Bool    `tfsdk:"as_table"`
	IsVisible   types.Bool    `tfsdk:"is_visible"`
	SortBy      types.String  `tfsdk:"sort_by"`
	SortDesc    types.Bool    `tfsdk:"sort_desc"`
	Width       types.Float64 `tfsdk:"width"`
	Calcs       types.List    `tfsdk:"calcs"`
}

func (PanelBarChartDataSourceModel_Options_Legend) ApplyDefaults

func (PanelBarChartDataSourceModel_Options_Legend) MarshalJSON

type PanelBarChartDataSourceModel_Options_Text

type PanelBarChartDataSourceModel_Options_Text struct {
	TitleSize types.Float64 `tfsdk:"title_size"`
	ValueSize types.Float64 `tfsdk:"value_size"`
}

func (PanelBarChartDataSourceModel_Options_Text) ApplyDefaults

func (PanelBarChartDataSourceModel_Options_Text) MarshalJSON

type PanelBarChartDataSourceModel_Options_Tooltip

type PanelBarChartDataSourceModel_Options_Tooltip struct {
	Mode types.String `tfsdk:"mode"`
	Sort types.String `tfsdk:"sort"`
}

func (PanelBarChartDataSourceModel_Options_Tooltip) ApplyDefaults

func (PanelBarChartDataSourceModel_Options_Tooltip) MarshalJSON

type PanelBarChartDataSourceModel_Transformations

type PanelBarChartDataSourceModel_Transformations struct {
	Disabled types.Bool                                           `tfsdk:"disabled"`
	Filter   *PanelBarChartDataSourceModel_Transformations_Filter `tfsdk:"filter"`
}

func (PanelBarChartDataSourceModel_Transformations) ApplyDefaults

func (PanelBarChartDataSourceModel_Transformations) MarshalJSON

type PanelBarChartDataSourceModel_Transformations_Filter

type PanelBarChartDataSourceModel_Transformations_Filter struct {
}

func (PanelBarChartDataSourceModel_Transformations_Filter) ApplyDefaults

func (PanelBarChartDataSourceModel_Transformations_Filter) MarshalJSON

type PanelBarGaugeDataSource

type PanelBarGaugeDataSource struct{}

PanelBarGaugeDataSource defines the data source implementation.

func (*PanelBarGaugeDataSource) Configure

func (*PanelBarGaugeDataSource) Metadata

func (*PanelBarGaugeDataSource) Read

func (*PanelBarGaugeDataSource) Schema

type PanelBarGaugeDataSourceModel

type PanelBarGaugeDataSourceModel struct {
	RenderedJSON    types.String                                   `tfsdk:"rendered_json"`
	Type            types.String                                   `tfsdk:"type"`
	PluginVersion   types.String                                   `tfsdk:"plugin_version"`
	Tags            types.List                                     `tfsdk:"tags"`
	Targets         types.List                                     `tfsdk:"targets"`
	Title           types.String                                   `tfsdk:"title"`
	Description     types.String                                   `tfsdk:"description"`
	Transparent     types.Bool                                     `tfsdk:"transparent"`
	Datasource      *PanelBarGaugeDataSourceModel_Datasource       `tfsdk:"datasource"`
	GridPos         *PanelBarGaugeDataSourceModel_GridPos          `tfsdk:"grid_pos"`
	Links           []PanelBarGaugeDataSourceModel_Links           `tfsdk:"links"`
	Repeat          types.String                                   `tfsdk:"repeat"`
	RepeatDirection types.String                                   `tfsdk:"repeat_direction"`
	RepeatPanelId   types.Int64                                    `tfsdk:"repeat_panel_id"`
	MaxDataPoints   types.Float64                                  `tfsdk:"max_data_points"`
	Transformations []PanelBarGaugeDataSourceModel_Transformations `tfsdk:"transformations"`
	Interval        types.String                                   `tfsdk:"interval"`
	TimeFrom        types.String                                   `tfsdk:"time_from"`
	TimeShift       types.String                                   `tfsdk:"time_shift"`
	LibraryPanel    *PanelBarGaugeDataSourceModel_LibraryPanel     `tfsdk:"library_panel"`
	Options         *PanelBarGaugeDataSourceModel_Options          `tfsdk:"options"`
	FieldConfig     *PanelBarGaugeDataSourceModel_FieldConfig      `tfsdk:"field_config"`
}

func (PanelBarGaugeDataSourceModel) ApplyDefaults

func (PanelBarGaugeDataSourceModel) MarshalJSON

func (m PanelBarGaugeDataSourceModel) MarshalJSON() ([]byte, error)

type PanelBarGaugeDataSourceModel_Datasource

type PanelBarGaugeDataSourceModel_Datasource struct {
	Type types.String `tfsdk:"type"`
	Uid  types.String `tfsdk:"uid"`
}

func (PanelBarGaugeDataSourceModel_Datasource) ApplyDefaults

func (PanelBarGaugeDataSourceModel_Datasource) MarshalJSON

func (m PanelBarGaugeDataSourceModel_Datasource) MarshalJSON() ([]byte, error)

type PanelBarGaugeDataSourceModel_FieldConfig

type PanelBarGaugeDataSourceModel_FieldConfig struct {
	Defaults  *PanelBarGaugeDataSourceModel_FieldConfig_Defaults   `tfsdk:"defaults"`
	Overrides []PanelBarGaugeDataSourceModel_FieldConfig_Overrides `tfsdk:"overrides"`
}

func (PanelBarGaugeDataSourceModel_FieldConfig) ApplyDefaults

func (PanelBarGaugeDataSourceModel_FieldConfig) MarshalJSON

type PanelBarGaugeDataSourceModel_FieldConfig_Defaults

type PanelBarGaugeDataSourceModel_FieldConfig_Defaults struct {
	DisplayName       types.String                                                  `tfsdk:"display_name"`
	DisplayNameFromDS types.String                                                  `tfsdk:"display_name_from_ds"`
	Description       types.String                                                  `tfsdk:"description"`
	Path              types.String                                                  `tfsdk:"path"`
	Writeable         types.Bool                                                    `tfsdk:"writeable"`
	Filterable        types.Bool                                                    `tfsdk:"filterable"`
	Unit              types.String                                                  `tfsdk:"unit"`
	Decimals          types.Float64                                                 `tfsdk:"decimals"`
	Min               types.Float64                                                 `tfsdk:"min"`
	Max               types.Float64                                                 `tfsdk:"max"`
	Mappings          []PanelBarGaugeDataSourceModel_FieldConfig_Defaults_Mappings  `tfsdk:"mappings"`
	Thresholds        *PanelBarGaugeDataSourceModel_FieldConfig_Defaults_Thresholds `tfsdk:"thresholds"`
	Color             *PanelBarGaugeDataSourceModel_FieldConfig_Defaults_Color      `tfsdk:"color"`
	NoValue           types.String                                                  `tfsdk:"no_value"`
	Custom            *PanelBarGaugeDataSourceModel_FieldConfig_Defaults_Custom     `tfsdk:"custom"`
}

func (PanelBarGaugeDataSourceModel_FieldConfig_Defaults) ApplyDefaults

func (PanelBarGaugeDataSourceModel_FieldConfig_Defaults) MarshalJSON

type PanelBarGaugeDataSourceModel_FieldConfig_Defaults_Color

type PanelBarGaugeDataSourceModel_FieldConfig_Defaults_Color struct {
	Mode       types.String `tfsdk:"mode"`
	FixedColor types.String `tfsdk:"fixed_color"`
	SeriesBy   types.String `tfsdk:"series_by"`
}

func (PanelBarGaugeDataSourceModel_FieldConfig_Defaults_Color) ApplyDefaults

func (PanelBarGaugeDataSourceModel_FieldConfig_Defaults_Color) MarshalJSON

type PanelBarGaugeDataSourceModel_FieldConfig_Defaults_Custom

type PanelBarGaugeDataSourceModel_FieldConfig_Defaults_Custom struct {
	LineWidth         types.Int64                                                                 `tfsdk:"line_width"`
	FillOpacity       types.Int64                                                                 `tfsdk:"fill_opacity"`
	GradientMode      types.String                                                                `tfsdk:"gradient_mode"`
	AxisPlacement     types.String                                                                `tfsdk:"axis_placement"`
	AxisColorMode     types.String                                                                `tfsdk:"axis_color_mode"`
	AxisLabel         types.String                                                                `tfsdk:"axis_label"`
	AxisWidth         types.Float64                                                               `tfsdk:"axis_width"`
	AxisSoftMin       types.Float64                                                               `tfsdk:"axis_soft_min"`
	AxisSoftMax       types.Float64                                                               `tfsdk:"axis_soft_max"`
	AxisGridShow      types.Bool                                                                  `tfsdk:"axis_grid_show"`
	ScaleDistribution *PanelBarGaugeDataSourceModel_FieldConfig_Defaults_Custom_ScaleDistribution `tfsdk:"scale_distribution"`
	HideFrom          *PanelBarGaugeDataSourceModel_FieldConfig_Defaults_Custom_HideFrom          `tfsdk:"hide_from"`
	ThresholdsStyle   *PanelBarGaugeDataSourceModel_FieldConfig_Defaults_Custom_ThresholdsStyle   `tfsdk:"thresholds_style"`
	AxisCenteredZero  types.Bool                                                                  `tfsdk:"axis_centered_zero"`
}

func (PanelBarGaugeDataSourceModel_FieldConfig_Defaults_Custom) ApplyDefaults

func (PanelBarGaugeDataSourceModel_FieldConfig_Defaults_Custom) MarshalJSON

type PanelBarGaugeDataSourceModel_FieldConfig_Defaults_Custom_HideFrom

type PanelBarGaugeDataSourceModel_FieldConfig_Defaults_Custom_HideFrom struct {
	Tooltip types.Bool `tfsdk:"tooltip"`
	Legend  types.Bool `tfsdk:"legend"`
	Viz     types.Bool `tfsdk:"viz"`
}

func (PanelBarGaugeDataSourceModel_FieldConfig_Defaults_Custom_HideFrom) ApplyDefaults

func (PanelBarGaugeDataSourceModel_FieldConfig_Defaults_Custom_HideFrom) MarshalJSON

type PanelBarGaugeDataSourceModel_FieldConfig_Defaults_Custom_ScaleDistribution

type PanelBarGaugeDataSourceModel_FieldConfig_Defaults_Custom_ScaleDistribution struct {
	Type            types.String  `tfsdk:"type"`
	Log             types.Float64 `tfsdk:"log"`
	LinearThreshold types.Float64 `tfsdk:"linear_threshold"`
}

func (PanelBarGaugeDataSourceModel_FieldConfig_Defaults_Custom_ScaleDistribution) ApplyDefaults

func (PanelBarGaugeDataSourceModel_FieldConfig_Defaults_Custom_ScaleDistribution) MarshalJSON

type PanelBarGaugeDataSourceModel_FieldConfig_Defaults_Custom_ThresholdsStyle

type PanelBarGaugeDataSourceModel_FieldConfig_Defaults_Custom_ThresholdsStyle struct {
	Mode types.String `tfsdk:"mode"`
}

func (PanelBarGaugeDataSourceModel_FieldConfig_Defaults_Custom_ThresholdsStyle) ApplyDefaults

func (PanelBarGaugeDataSourceModel_FieldConfig_Defaults_Custom_ThresholdsStyle) MarshalJSON

type PanelBarGaugeDataSourceModel_FieldConfig_Defaults_Mappings

type PanelBarGaugeDataSourceModel_FieldConfig_Defaults_Mappings struct {
	ValueMap        *PanelBarGaugeDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap        `tfsdk:"value_map"`
	RangeMap        *PanelBarGaugeDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap        `tfsdk:"range_map"`
	RegexMap        *PanelBarGaugeDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap        `tfsdk:"regex_map"`
	SpecialValueMap *PanelBarGaugeDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap `tfsdk:"special_value_map"`
}

func (PanelBarGaugeDataSourceModel_FieldConfig_Defaults_Mappings) ApplyDefaults

func (PanelBarGaugeDataSourceModel_FieldConfig_Defaults_Mappings) MarshalJSON

type PanelBarGaugeDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap

type PanelBarGaugeDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap struct {
	Type    types.String                                                                 `tfsdk:"type"`
	Options *PanelBarGaugeDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options `tfsdk:"options"`
}

func (PanelBarGaugeDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap) ApplyDefaults

func (PanelBarGaugeDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap) MarshalJSON

type PanelBarGaugeDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options

type PanelBarGaugeDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options struct {
	From   types.String                                                                        `tfsdk:"from"`
	To     types.String                                                                        `tfsdk:"to"`
	Result *PanelBarGaugeDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options_Result `tfsdk:"result"`
}

func (PanelBarGaugeDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options) ApplyDefaults

func (PanelBarGaugeDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options) GetAttrFrom added in v0.2.0

func (PanelBarGaugeDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options) GetAttrTo added in v0.2.0

func (PanelBarGaugeDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options) MarshalJSON

type PanelBarGaugeDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options_Result

type PanelBarGaugeDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options_Result struct {
	Text  types.String `tfsdk:"text"`
	Color types.String `tfsdk:"color"`
	Icon  types.String `tfsdk:"icon"`
	Index types.Int64  `tfsdk:"index"`
}

func (PanelBarGaugeDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options_Result) ApplyDefaults

func (PanelBarGaugeDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options_Result) MarshalJSON

type PanelBarGaugeDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap

type PanelBarGaugeDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap struct {
	Type    types.String                                                                 `tfsdk:"type"`
	Options *PanelBarGaugeDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options `tfsdk:"options"`
}

func (PanelBarGaugeDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap) ApplyDefaults

func (PanelBarGaugeDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap) MarshalJSON

type PanelBarGaugeDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options

type PanelBarGaugeDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options struct {
	Pattern types.String                                                                        `tfsdk:"pattern"`
	Result  *PanelBarGaugeDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options_Result `tfsdk:"result"`
}

func (PanelBarGaugeDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options) ApplyDefaults

func (PanelBarGaugeDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options) MarshalJSON

type PanelBarGaugeDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options_Result

type PanelBarGaugeDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options_Result struct {
	Text  types.String `tfsdk:"text"`
	Color types.String `tfsdk:"color"`
	Icon  types.String `tfsdk:"icon"`
	Index types.Int64  `tfsdk:"index"`
}

func (PanelBarGaugeDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options_Result) ApplyDefaults

func (PanelBarGaugeDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options_Result) MarshalJSON

type PanelBarGaugeDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap

type PanelBarGaugeDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap struct {
	Type    types.String                                                                        `tfsdk:"type"`
	Options *PanelBarGaugeDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options `tfsdk:"options"`
}

func (PanelBarGaugeDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap) ApplyDefaults

func (PanelBarGaugeDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap) MarshalJSON

type PanelBarGaugeDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options

type PanelBarGaugeDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options struct {
	Match  types.String                                                                               `tfsdk:"match"`
	Result *PanelBarGaugeDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options_Result `tfsdk:"result"`
}

func (PanelBarGaugeDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options) ApplyDefaults

func (PanelBarGaugeDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options) MarshalJSON

type PanelBarGaugeDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options_Result

type PanelBarGaugeDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options_Result struct {
	Text  types.String `tfsdk:"text"`
	Color types.String `tfsdk:"color"`
	Icon  types.String `tfsdk:"icon"`
	Index types.Int64  `tfsdk:"index"`
}

func (PanelBarGaugeDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options_Result) MarshalJSON

type PanelBarGaugeDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap

type PanelBarGaugeDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap struct {
	Type    types.String                                                                            `tfsdk:"type"`
	Options *map[string]PanelBarGaugeDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap_Options `tfsdk:"options"`
}

func (PanelBarGaugeDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap) ApplyDefaults

func (PanelBarGaugeDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap) MarshalJSON

type PanelBarGaugeDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap_Options

type PanelBarGaugeDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap_Options struct {
	Text  types.String `tfsdk:"text"`
	Color types.String `tfsdk:"color"`
	Icon  types.String `tfsdk:"icon"`
	Index types.Int64  `tfsdk:"index"`
}

func (PanelBarGaugeDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap_Options) ApplyDefaults

func (PanelBarGaugeDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap_Options) MarshalJSON

type PanelBarGaugeDataSourceModel_FieldConfig_Defaults_Thresholds

type PanelBarGaugeDataSourceModel_FieldConfig_Defaults_Thresholds struct {
	Mode  types.String                                                         `tfsdk:"mode"`
	Steps []PanelBarGaugeDataSourceModel_FieldConfig_Defaults_Thresholds_Steps `tfsdk:"steps"`
}

func (PanelBarGaugeDataSourceModel_FieldConfig_Defaults_Thresholds) ApplyDefaults

func (PanelBarGaugeDataSourceModel_FieldConfig_Defaults_Thresholds) MarshalJSON

type PanelBarGaugeDataSourceModel_FieldConfig_Defaults_Thresholds_Steps

type PanelBarGaugeDataSourceModel_FieldConfig_Defaults_Thresholds_Steps struct {
	Value types.String `tfsdk:"value"`
	Color types.String `tfsdk:"color"`
}

func (PanelBarGaugeDataSourceModel_FieldConfig_Defaults_Thresholds_Steps) ApplyDefaults

func (PanelBarGaugeDataSourceModel_FieldConfig_Defaults_Thresholds_Steps) GetAttrValue added in v0.2.0

func (PanelBarGaugeDataSourceModel_FieldConfig_Defaults_Thresholds_Steps) MarshalJSON

type PanelBarGaugeDataSourceModel_FieldConfig_Overrides

type PanelBarGaugeDataSourceModel_FieldConfig_Overrides struct {
	Matcher    *PanelBarGaugeDataSourceModel_FieldConfig_Overrides_Matcher     `tfsdk:"matcher"`
	Properties []PanelBarGaugeDataSourceModel_FieldConfig_Overrides_Properties `tfsdk:"properties"`
}

func (PanelBarGaugeDataSourceModel_FieldConfig_Overrides) ApplyDefaults

func (PanelBarGaugeDataSourceModel_FieldConfig_Overrides) MarshalJSON

type PanelBarGaugeDataSourceModel_FieldConfig_Overrides_Matcher

type PanelBarGaugeDataSourceModel_FieldConfig_Overrides_Matcher struct {
}

func (PanelBarGaugeDataSourceModel_FieldConfig_Overrides_Matcher) ApplyDefaults

func (PanelBarGaugeDataSourceModel_FieldConfig_Overrides_Matcher) MarshalJSON

type PanelBarGaugeDataSourceModel_FieldConfig_Overrides_Properties

type PanelBarGaugeDataSourceModel_FieldConfig_Overrides_Properties struct {
}

func (PanelBarGaugeDataSourceModel_FieldConfig_Overrides_Properties) ApplyDefaults

func (PanelBarGaugeDataSourceModel_FieldConfig_Overrides_Properties) MarshalJSON

type PanelBarGaugeDataSourceModel_GridPos

type PanelBarGaugeDataSourceModel_GridPos struct {
	H      types.Int64 `tfsdk:"h"`
	W      types.Int64 `tfsdk:"w"`
	X      types.Int64 `tfsdk:"x"`
	Y      types.Int64 `tfsdk:"y"`
	Static types.Bool  `tfsdk:"static"`
}

func (PanelBarGaugeDataSourceModel_GridPos) ApplyDefaults

func (PanelBarGaugeDataSourceModel_GridPos) MarshalJSON

func (m PanelBarGaugeDataSourceModel_GridPos) MarshalJSON() ([]byte, error)

type PanelBarGaugeDataSourceModel_LibraryPanel

type PanelBarGaugeDataSourceModel_LibraryPanel struct {
	Name types.String `tfsdk:"name"`
	Uid  types.String `tfsdk:"uid"`
}

func (PanelBarGaugeDataSourceModel_LibraryPanel) ApplyDefaults

func (PanelBarGaugeDataSourceModel_LibraryPanel) MarshalJSON

type PanelBarGaugeDataSourceModel_Links struct {
	Title       types.String `tfsdk:"title"`
	Type        types.String `tfsdk:"type"`
	Icon        types.String `tfsdk:"icon"`
	Tooltip     types.String `tfsdk:"tooltip"`
	Url         types.String `tfsdk:"url"`
	Tags        types.List   `tfsdk:"tags"`
	AsDropdown  types.Bool   `tfsdk:"as_dropdown"`
	TargetBlank types.Bool   `tfsdk:"target_blank"`
	IncludeVars types.Bool   `tfsdk:"include_vars"`
	KeepTime    types.Bool   `tfsdk:"keep_time"`
}

func (PanelBarGaugeDataSourceModel_Links) ApplyDefaults

func (PanelBarGaugeDataSourceModel_Links) MarshalJSON

func (m PanelBarGaugeDataSourceModel_Links) MarshalJSON() ([]byte, error)

type PanelBarGaugeDataSourceModel_Options

type PanelBarGaugeDataSourceModel_Options struct {
	DisplayMode   types.String                                        `tfsdk:"display_mode"`
	ValueMode     types.String                                        `tfsdk:"value_mode"`
	ShowUnfilled  types.Bool                                          `tfsdk:"show_unfilled"`
	MinVizWidth   types.Int64                                         `tfsdk:"min_viz_width"`
	ReduceOptions *PanelBarGaugeDataSourceModel_Options_ReduceOptions `tfsdk:"reduce_options"`
	Text          *PanelBarGaugeDataSourceModel_Options_Text          `tfsdk:"text"`
	MinVizHeight  types.Int64                                         `tfsdk:"min_viz_height"`
	Orientation   types.String                                        `tfsdk:"orientation"`
}

func (PanelBarGaugeDataSourceModel_Options) ApplyDefaults

func (PanelBarGaugeDataSourceModel_Options) MarshalJSON

func (m PanelBarGaugeDataSourceModel_Options) MarshalJSON() ([]byte, error)

type PanelBarGaugeDataSourceModel_Options_ReduceOptions

type PanelBarGaugeDataSourceModel_Options_ReduceOptions struct {
	Values types.Bool    `tfsdk:"values"`
	Limit  types.Float64 `tfsdk:"limit"`
	Calcs  types.List    `tfsdk:"calcs"`
	Fields types.String  `tfsdk:"fields"`
}

func (PanelBarGaugeDataSourceModel_Options_ReduceOptions) ApplyDefaults

func (PanelBarGaugeDataSourceModel_Options_ReduceOptions) MarshalJSON

type PanelBarGaugeDataSourceModel_Options_Text

type PanelBarGaugeDataSourceModel_Options_Text struct {
	TitleSize types.Float64 `tfsdk:"title_size"`
	ValueSize types.Float64 `tfsdk:"value_size"`
}

func (PanelBarGaugeDataSourceModel_Options_Text) ApplyDefaults

func (PanelBarGaugeDataSourceModel_Options_Text) MarshalJSON

type PanelBarGaugeDataSourceModel_Transformations

type PanelBarGaugeDataSourceModel_Transformations struct {
	Disabled types.Bool                                           `tfsdk:"disabled"`
	Filter   *PanelBarGaugeDataSourceModel_Transformations_Filter `tfsdk:"filter"`
}

func (PanelBarGaugeDataSourceModel_Transformations) ApplyDefaults

func (PanelBarGaugeDataSourceModel_Transformations) MarshalJSON

type PanelBarGaugeDataSourceModel_Transformations_Filter

type PanelBarGaugeDataSourceModel_Transformations_Filter struct {
}

func (PanelBarGaugeDataSourceModel_Transformations_Filter) ApplyDefaults

func (PanelBarGaugeDataSourceModel_Transformations_Filter) MarshalJSON

type PanelCandlestickDataSource added in v0.2.0

type PanelCandlestickDataSource struct{}

PanelCandlestickDataSource defines the data source implementation.

func (*PanelCandlestickDataSource) Configure added in v0.2.0

func (*PanelCandlestickDataSource) Metadata added in v0.2.0

func (*PanelCandlestickDataSource) Read added in v0.2.0

func (*PanelCandlestickDataSource) Schema added in v0.2.0

type PanelCandlestickDataSourceModel added in v0.2.0

type PanelCandlestickDataSourceModel struct {
	RenderedJSON    types.String                                      `tfsdk:"rendered_json"`
	Type            types.String                                      `tfsdk:"type"`
	PluginVersion   types.String                                      `tfsdk:"plugin_version"`
	Tags            types.List                                        `tfsdk:"tags"`
	Targets         types.List                                        `tfsdk:"targets"`
	Title           types.String                                      `tfsdk:"title"`
	Description     types.String                                      `tfsdk:"description"`
	Transparent     types.Bool                                        `tfsdk:"transparent"`
	Datasource      *PanelCandlestickDataSourceModel_Datasource       `tfsdk:"datasource"`
	GridPos         *PanelCandlestickDataSourceModel_GridPos          `tfsdk:"grid_pos"`
	Links           []PanelCandlestickDataSourceModel_Links           `tfsdk:"links"`
	Repeat          types.String                                      `tfsdk:"repeat"`
	RepeatDirection types.String                                      `tfsdk:"repeat_direction"`
	RepeatPanelId   types.Int64                                       `tfsdk:"repeat_panel_id"`
	MaxDataPoints   types.Float64                                     `tfsdk:"max_data_points"`
	Transformations []PanelCandlestickDataSourceModel_Transformations `tfsdk:"transformations"`
	Interval        types.String                                      `tfsdk:"interval"`
	TimeFrom        types.String                                      `tfsdk:"time_from"`
	TimeShift       types.String                                      `tfsdk:"time_shift"`
	LibraryPanel    *PanelCandlestickDataSourceModel_LibraryPanel     `tfsdk:"library_panel"`
	Options         *PanelCandlestickDataSourceModel_Options          `tfsdk:"options"`
	FieldConfig     *PanelCandlestickDataSourceModel_FieldConfig      `tfsdk:"field_config"`
}

func (PanelCandlestickDataSourceModel) ApplyDefaults added in v0.2.0

func (PanelCandlestickDataSourceModel) MarshalJSON added in v0.2.0

func (m PanelCandlestickDataSourceModel) MarshalJSON() ([]byte, error)

type PanelCandlestickDataSourceModel_Datasource added in v0.2.0

type PanelCandlestickDataSourceModel_Datasource struct {
	Type types.String `tfsdk:"type"`
	Uid  types.String `tfsdk:"uid"`
}

func (PanelCandlestickDataSourceModel_Datasource) ApplyDefaults added in v0.2.0

func (PanelCandlestickDataSourceModel_Datasource) MarshalJSON added in v0.2.0

type PanelCandlestickDataSourceModel_FieldConfig added in v0.2.0

type PanelCandlestickDataSourceModel_FieldConfig struct {
	Defaults  *PanelCandlestickDataSourceModel_FieldConfig_Defaults   `tfsdk:"defaults"`
	Overrides []PanelCandlestickDataSourceModel_FieldConfig_Overrides `tfsdk:"overrides"`
}

func (PanelCandlestickDataSourceModel_FieldConfig) ApplyDefaults added in v0.2.0

func (PanelCandlestickDataSourceModel_FieldConfig) MarshalJSON added in v0.2.0

type PanelCandlestickDataSourceModel_FieldConfig_Defaults added in v0.2.0

type PanelCandlestickDataSourceModel_FieldConfig_Defaults struct {
	DisplayName       types.String                                                     `tfsdk:"display_name"`
	DisplayNameFromDS types.String                                                     `tfsdk:"display_name_from_ds"`
	Description       types.String                                                     `tfsdk:"description"`
	Path              types.String                                                     `tfsdk:"path"`
	Writeable         types.Bool                                                       `tfsdk:"writeable"`
	Filterable        types.Bool                                                       `tfsdk:"filterable"`
	Unit              types.String                                                     `tfsdk:"unit"`
	Decimals          types.Float64                                                    `tfsdk:"decimals"`
	Min               types.Float64                                                    `tfsdk:"min"`
	Max               types.Float64                                                    `tfsdk:"max"`
	Mappings          []PanelCandlestickDataSourceModel_FieldConfig_Defaults_Mappings  `tfsdk:"mappings"`
	Thresholds        *PanelCandlestickDataSourceModel_FieldConfig_Defaults_Thresholds `tfsdk:"thresholds"`
	Color             *PanelCandlestickDataSourceModel_FieldConfig_Defaults_Color      `tfsdk:"color"`
	NoValue           types.String                                                     `tfsdk:"no_value"`
	Custom            *PanelCandlestickDataSourceModel_FieldConfig_Defaults_Custom     `tfsdk:"custom"`
}

func (PanelCandlestickDataSourceModel_FieldConfig_Defaults) ApplyDefaults added in v0.2.0

func (PanelCandlestickDataSourceModel_FieldConfig_Defaults) MarshalJSON added in v0.2.0

type PanelCandlestickDataSourceModel_FieldConfig_Defaults_Color added in v0.2.0

type PanelCandlestickDataSourceModel_FieldConfig_Defaults_Color struct {
	Mode       types.String `tfsdk:"mode"`
	FixedColor types.String `tfsdk:"fixed_color"`
	SeriesBy   types.String `tfsdk:"series_by"`
}

func (PanelCandlestickDataSourceModel_FieldConfig_Defaults_Color) ApplyDefaults added in v0.2.0

func (PanelCandlestickDataSourceModel_FieldConfig_Defaults_Color) MarshalJSON added in v0.2.0

type PanelCandlestickDataSourceModel_FieldConfig_Defaults_Custom added in v0.2.0

type PanelCandlestickDataSourceModel_FieldConfig_Defaults_Custom struct {
	DrawStyle         types.String                                                                   `tfsdk:"draw_style"`
	GradientMode      types.String                                                                   `tfsdk:"gradient_mode"`
	ThresholdsStyle   *PanelCandlestickDataSourceModel_FieldConfig_Defaults_Custom_ThresholdsStyle   `tfsdk:"thresholds_style"`
	LineColor         types.String                                                                   `tfsdk:"line_color"`
	LineWidth         types.Float64                                                                  `tfsdk:"line_width"`
	LineInterpolation types.String                                                                   `tfsdk:"line_interpolation"`
	LineStyle         *PanelCandlestickDataSourceModel_FieldConfig_Defaults_Custom_LineStyle         `tfsdk:"line_style"`
	FillColor         types.String                                                                   `tfsdk:"fill_color"`
	FillOpacity       types.Float64                                                                  `tfsdk:"fill_opacity"`
	ShowPoints        types.String                                                                   `tfsdk:"show_points"`
	PointSize         types.Float64                                                                  `tfsdk:"point_size"`
	PointColor        types.String                                                                   `tfsdk:"point_color"`
	AxisPlacement     types.String                                                                   `tfsdk:"axis_placement"`
	AxisColorMode     types.String                                                                   `tfsdk:"axis_color_mode"`
	AxisLabel         types.String                                                                   `tfsdk:"axis_label"`
	AxisWidth         types.Float64                                                                  `tfsdk:"axis_width"`
	AxisSoftMin       types.Float64                                                                  `tfsdk:"axis_soft_min"`
	AxisSoftMax       types.Float64                                                                  `tfsdk:"axis_soft_max"`
	AxisGridShow      types.Bool                                                                     `tfsdk:"axis_grid_show"`
	ScaleDistribution *PanelCandlestickDataSourceModel_FieldConfig_Defaults_Custom_ScaleDistribution `tfsdk:"scale_distribution"`
	BarAlignment      types.Int64                                                                    `tfsdk:"bar_alignment"`
	BarWidthFactor    types.Float64                                                                  `tfsdk:"bar_width_factor"`
	Stacking          *PanelCandlestickDataSourceModel_FieldConfig_Defaults_Custom_Stacking          `tfsdk:"stacking"`
	HideFrom          *PanelCandlestickDataSourceModel_FieldConfig_Defaults_Custom_HideFrom          `tfsdk:"hide_from"`
	Transform         types.String                                                                   `tfsdk:"transform"`
	SpanNulls         types.String                                                                   `tfsdk:"span_nulls"`
	FillBelowTo       types.String                                                                   `tfsdk:"fill_below_to"`
	PointSymbol       types.String                                                                   `tfsdk:"point_symbol"`
	AxisCenteredZero  types.Bool                                                                     `tfsdk:"axis_centered_zero"`
	BarMaxWidth       types.Float64                                                                  `tfsdk:"bar_max_width"`
}

func (PanelCandlestickDataSourceModel_FieldConfig_Defaults_Custom) ApplyDefaults added in v0.2.0

func (PanelCandlestickDataSourceModel_FieldConfig_Defaults_Custom) GetAttrSpanNulls added in v0.2.0

func (m PanelCandlestickDataSourceModel_FieldConfig_Defaults_Custom) GetAttrSpanNulls() interface{}

func (PanelCandlestickDataSourceModel_FieldConfig_Defaults_Custom) MarshalJSON added in v0.2.0

type PanelCandlestickDataSourceModel_FieldConfig_Defaults_Custom_HideFrom added in v0.2.0

type PanelCandlestickDataSourceModel_FieldConfig_Defaults_Custom_HideFrom struct {
	Tooltip types.Bool `tfsdk:"tooltip"`
	Legend  types.Bool `tfsdk:"legend"`
	Viz     types.Bool `tfsdk:"viz"`
}

func (PanelCandlestickDataSourceModel_FieldConfig_Defaults_Custom_HideFrom) ApplyDefaults added in v0.2.0

func (PanelCandlestickDataSourceModel_FieldConfig_Defaults_Custom_HideFrom) MarshalJSON added in v0.2.0

type PanelCandlestickDataSourceModel_FieldConfig_Defaults_Custom_LineStyle added in v0.2.0

type PanelCandlestickDataSourceModel_FieldConfig_Defaults_Custom_LineStyle struct {
	Fill types.String `tfsdk:"fill"`
	Dash types.List   `tfsdk:"dash"`
}

func (PanelCandlestickDataSourceModel_FieldConfig_Defaults_Custom_LineStyle) ApplyDefaults added in v0.2.0

func (PanelCandlestickDataSourceModel_FieldConfig_Defaults_Custom_LineStyle) MarshalJSON added in v0.2.0

type PanelCandlestickDataSourceModel_FieldConfig_Defaults_Custom_ScaleDistribution added in v0.2.0

type PanelCandlestickDataSourceModel_FieldConfig_Defaults_Custom_ScaleDistribution struct {
	Type            types.String  `tfsdk:"type"`
	Log             types.Float64 `tfsdk:"log"`
	LinearThreshold types.Float64 `tfsdk:"linear_threshold"`
}

func (PanelCandlestickDataSourceModel_FieldConfig_Defaults_Custom_ScaleDistribution) ApplyDefaults added in v0.2.0

func (PanelCandlestickDataSourceModel_FieldConfig_Defaults_Custom_ScaleDistribution) MarshalJSON added in v0.2.0

type PanelCandlestickDataSourceModel_FieldConfig_Defaults_Custom_Stacking added in v0.2.0

type PanelCandlestickDataSourceModel_FieldConfig_Defaults_Custom_Stacking struct {
	Mode  types.String `tfsdk:"mode"`
	Group types.String `tfsdk:"group"`
}

func (PanelCandlestickDataSourceModel_FieldConfig_Defaults_Custom_Stacking) ApplyDefaults added in v0.2.0

func (PanelCandlestickDataSourceModel_FieldConfig_Defaults_Custom_Stacking) MarshalJSON added in v0.2.0

type PanelCandlestickDataSourceModel_FieldConfig_Defaults_Custom_ThresholdsStyle added in v0.2.0

type PanelCandlestickDataSourceModel_FieldConfig_Defaults_Custom_ThresholdsStyle struct {
	Mode types.String `tfsdk:"mode"`
}

func (PanelCandlestickDataSourceModel_FieldConfig_Defaults_Custom_ThresholdsStyle) ApplyDefaults added in v0.2.0

func (PanelCandlestickDataSourceModel_FieldConfig_Defaults_Custom_ThresholdsStyle) MarshalJSON added in v0.2.0

type PanelCandlestickDataSourceModel_FieldConfig_Defaults_Mappings added in v0.2.0

type PanelCandlestickDataSourceModel_FieldConfig_Defaults_Mappings struct {
	ValueMap        *PanelCandlestickDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap        `tfsdk:"value_map"`
	RangeMap        *PanelCandlestickDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap        `tfsdk:"range_map"`
	RegexMap        *PanelCandlestickDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap        `tfsdk:"regex_map"`
	SpecialValueMap *PanelCandlestickDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap `tfsdk:"special_value_map"`
}

func (PanelCandlestickDataSourceModel_FieldConfig_Defaults_Mappings) ApplyDefaults added in v0.2.0

func (PanelCandlestickDataSourceModel_FieldConfig_Defaults_Mappings) MarshalJSON added in v0.2.0

type PanelCandlestickDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap added in v0.2.0

type PanelCandlestickDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap struct {
	Type    types.String                                                                    `tfsdk:"type"`
	Options *PanelCandlestickDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options `tfsdk:"options"`
}

func (PanelCandlestickDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap) ApplyDefaults added in v0.2.0

func (PanelCandlestickDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap) MarshalJSON added in v0.2.0

type PanelCandlestickDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options added in v0.2.0

type PanelCandlestickDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options struct {
	From   types.String                                                                           `tfsdk:"from"`
	To     types.String                                                                           `tfsdk:"to"`
	Result *PanelCandlestickDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options_Result `tfsdk:"result"`
}

func (PanelCandlestickDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options) ApplyDefaults added in v0.2.0

func (PanelCandlestickDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options) GetAttrFrom added in v0.2.0

func (PanelCandlestickDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options) GetAttrTo added in v0.2.0

func (PanelCandlestickDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options) MarshalJSON added in v0.2.0

type PanelCandlestickDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options_Result added in v0.2.0

type PanelCandlestickDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options_Result struct {
	Text  types.String `tfsdk:"text"`
	Color types.String `tfsdk:"color"`
	Icon  types.String `tfsdk:"icon"`
	Index types.Int64  `tfsdk:"index"`
}

func (PanelCandlestickDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options_Result) ApplyDefaults added in v0.2.0

func (PanelCandlestickDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options_Result) MarshalJSON added in v0.2.0

type PanelCandlestickDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap added in v0.2.0

type PanelCandlestickDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap struct {
	Type    types.String                                                                    `tfsdk:"type"`
	Options *PanelCandlestickDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options `tfsdk:"options"`
}

func (PanelCandlestickDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap) ApplyDefaults added in v0.2.0

func (PanelCandlestickDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap) MarshalJSON added in v0.2.0

type PanelCandlestickDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options added in v0.2.0

type PanelCandlestickDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options struct {
	Pattern types.String                                                                           `tfsdk:"pattern"`
	Result  *PanelCandlestickDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options_Result `tfsdk:"result"`
}

func (PanelCandlestickDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options) ApplyDefaults added in v0.2.0

func (PanelCandlestickDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options) MarshalJSON added in v0.2.0

type PanelCandlestickDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options_Result added in v0.2.0

type PanelCandlestickDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options_Result struct {
	Text  types.String `tfsdk:"text"`
	Color types.String `tfsdk:"color"`
	Icon  types.String `tfsdk:"icon"`
	Index types.Int64  `tfsdk:"index"`
}

func (PanelCandlestickDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options_Result) ApplyDefaults added in v0.2.0

func (PanelCandlestickDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options_Result) MarshalJSON added in v0.2.0

type PanelCandlestickDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap added in v0.2.0

type PanelCandlestickDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap struct {
	Type    types.String                                                                           `tfsdk:"type"`
	Options *PanelCandlestickDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options `tfsdk:"options"`
}

func (PanelCandlestickDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap) ApplyDefaults added in v0.2.0

func (PanelCandlestickDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap) MarshalJSON added in v0.2.0

type PanelCandlestickDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options added in v0.2.0

type PanelCandlestickDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options struct {
	Match  types.String                                                                                  `tfsdk:"match"`
	Result *PanelCandlestickDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options_Result `tfsdk:"result"`
}

func (PanelCandlestickDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options) ApplyDefaults added in v0.2.0

func (PanelCandlestickDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options) MarshalJSON added in v0.2.0

type PanelCandlestickDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options_Result added in v0.2.0

type PanelCandlestickDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options_Result struct {
	Text  types.String `tfsdk:"text"`
	Color types.String `tfsdk:"color"`
	Icon  types.String `tfsdk:"icon"`
	Index types.Int64  `tfsdk:"index"`
}

func (PanelCandlestickDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options_Result) ApplyDefaults added in v0.2.0

func (PanelCandlestickDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options_Result) MarshalJSON added in v0.2.0

type PanelCandlestickDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap added in v0.2.0

type PanelCandlestickDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap struct {
	Type    types.String                                                                               `tfsdk:"type"`
	Options *map[string]PanelCandlestickDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap_Options `tfsdk:"options"`
}

func (PanelCandlestickDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap) ApplyDefaults added in v0.2.0

func (PanelCandlestickDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap) MarshalJSON added in v0.2.0

type PanelCandlestickDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap_Options added in v0.2.0

type PanelCandlestickDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap_Options struct {
	Text  types.String `tfsdk:"text"`
	Color types.String `tfsdk:"color"`
	Icon  types.String `tfsdk:"icon"`
	Index types.Int64  `tfsdk:"index"`
}

func (PanelCandlestickDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap_Options) ApplyDefaults added in v0.2.0

func (PanelCandlestickDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap_Options) MarshalJSON added in v0.2.0

type PanelCandlestickDataSourceModel_FieldConfig_Defaults_Thresholds added in v0.2.0

type PanelCandlestickDataSourceModel_FieldConfig_Defaults_Thresholds struct {
	Mode  types.String                                                            `tfsdk:"mode"`
	Steps []PanelCandlestickDataSourceModel_FieldConfig_Defaults_Thresholds_Steps `tfsdk:"steps"`
}

func (PanelCandlestickDataSourceModel_FieldConfig_Defaults_Thresholds) ApplyDefaults added in v0.2.0

func (PanelCandlestickDataSourceModel_FieldConfig_Defaults_Thresholds) MarshalJSON added in v0.2.0

type PanelCandlestickDataSourceModel_FieldConfig_Defaults_Thresholds_Steps added in v0.2.0

type PanelCandlestickDataSourceModel_FieldConfig_Defaults_Thresholds_Steps struct {
	Value types.String `tfsdk:"value"`
	Color types.String `tfsdk:"color"`
}

func (PanelCandlestickDataSourceModel_FieldConfig_Defaults_Thresholds_Steps) ApplyDefaults added in v0.2.0

func (PanelCandlestickDataSourceModel_FieldConfig_Defaults_Thresholds_Steps) GetAttrValue added in v0.2.0

func (PanelCandlestickDataSourceModel_FieldConfig_Defaults_Thresholds_Steps) MarshalJSON added in v0.2.0

type PanelCandlestickDataSourceModel_FieldConfig_Overrides added in v0.2.0

type PanelCandlestickDataSourceModel_FieldConfig_Overrides struct {
	Matcher    *PanelCandlestickDataSourceModel_FieldConfig_Overrides_Matcher     `tfsdk:"matcher"`
	Properties []PanelCandlestickDataSourceModel_FieldConfig_Overrides_Properties `tfsdk:"properties"`
}

func (PanelCandlestickDataSourceModel_FieldConfig_Overrides) ApplyDefaults added in v0.2.0

func (PanelCandlestickDataSourceModel_FieldConfig_Overrides) MarshalJSON added in v0.2.0

type PanelCandlestickDataSourceModel_FieldConfig_Overrides_Matcher added in v0.2.0

type PanelCandlestickDataSourceModel_FieldConfig_Overrides_Matcher struct {
}

func (PanelCandlestickDataSourceModel_FieldConfig_Overrides_Matcher) ApplyDefaults added in v0.2.0

func (PanelCandlestickDataSourceModel_FieldConfig_Overrides_Matcher) MarshalJSON added in v0.2.0

type PanelCandlestickDataSourceModel_FieldConfig_Overrides_Properties added in v0.2.0

type PanelCandlestickDataSourceModel_FieldConfig_Overrides_Properties struct {
}

func (PanelCandlestickDataSourceModel_FieldConfig_Overrides_Properties) ApplyDefaults added in v0.2.0

func (PanelCandlestickDataSourceModel_FieldConfig_Overrides_Properties) MarshalJSON added in v0.2.0

type PanelCandlestickDataSourceModel_GridPos added in v0.2.0

type PanelCandlestickDataSourceModel_GridPos struct {
	H      types.Int64 `tfsdk:"h"`
	W      types.Int64 `tfsdk:"w"`
	X      types.Int64 `tfsdk:"x"`
	Y      types.Int64 `tfsdk:"y"`
	Static types.Bool  `tfsdk:"static"`
}

func (PanelCandlestickDataSourceModel_GridPos) ApplyDefaults added in v0.2.0

func (PanelCandlestickDataSourceModel_GridPos) MarshalJSON added in v0.2.0

func (m PanelCandlestickDataSourceModel_GridPos) MarshalJSON() ([]byte, error)

type PanelCandlestickDataSourceModel_LibraryPanel added in v0.2.0

type PanelCandlestickDataSourceModel_LibraryPanel struct {
	Name types.String `tfsdk:"name"`
	Uid  types.String `tfsdk:"uid"`
}

func (PanelCandlestickDataSourceModel_LibraryPanel) ApplyDefaults added in v0.2.0

func (PanelCandlestickDataSourceModel_LibraryPanel) MarshalJSON added in v0.2.0

type PanelCandlestickDataSourceModel_Links struct {
	Title       types.String `tfsdk:"title"`
	Type        types.String `tfsdk:"type"`
	Icon        types.String `tfsdk:"icon"`
	Tooltip     types.String `tfsdk:"tooltip"`
	Url         types.String `tfsdk:"url"`
	Tags        types.List   `tfsdk:"tags"`
	AsDropdown  types.Bool   `tfsdk:"as_dropdown"`
	TargetBlank types.Bool   `tfsdk:"target_blank"`
	IncludeVars types.Bool   `tfsdk:"include_vars"`
	KeepTime    types.Bool   `tfsdk:"keep_time"`
}

func (PanelCandlestickDataSourceModel_Links) ApplyDefaults added in v0.2.0

func (PanelCandlestickDataSourceModel_Links) MarshalJSON added in v0.2.0

func (m PanelCandlestickDataSourceModel_Links) MarshalJSON() ([]byte, error)

type PanelCandlestickDataSourceModel_Options added in v0.2.0

type PanelCandlestickDataSourceModel_Options struct {
	Mode             types.String                                    `tfsdk:"mode"`
	CandleStyle      types.String                                    `tfsdk:"candle_style"`
	ColorStrategy    types.String                                    `tfsdk:"color_strategy"`
	Fields           *PanelCandlestickDataSourceModel_Options_Fields `tfsdk:"fields"`
	Colors           *PanelCandlestickDataSourceModel_Options_Colors `tfsdk:"colors"`
	Legend           *PanelCandlestickDataSourceModel_Options_Legend `tfsdk:"legend"`
	IncludeAllFields types.Bool                                      `tfsdk:"include_all_fields"`
}

func (PanelCandlestickDataSourceModel_Options) ApplyDefaults added in v0.2.0

func (PanelCandlestickDataSourceModel_Options) MarshalJSON added in v0.2.0

func (m PanelCandlestickDataSourceModel_Options) MarshalJSON() ([]byte, error)

type PanelCandlestickDataSourceModel_Options_Colors added in v0.2.0

type PanelCandlestickDataSourceModel_Options_Colors struct {
	Down types.String `tfsdk:"down"`
	Up   types.String `tfsdk:"up"`
	Flat types.String `tfsdk:"flat"`
}

func (PanelCandlestickDataSourceModel_Options_Colors) ApplyDefaults added in v0.2.0

func (PanelCandlestickDataSourceModel_Options_Colors) MarshalJSON added in v0.2.0

type PanelCandlestickDataSourceModel_Options_Fields added in v0.2.0

type PanelCandlestickDataSourceModel_Options_Fields struct {
	CandlestickFieldMap *PanelCandlestickDataSourceModel_Options_Fields_CandlestickFieldMap `tfsdk:"candlestick_field_map"`
}

func (PanelCandlestickDataSourceModel_Options_Fields) ApplyDefaults added in v0.2.0

func (PanelCandlestickDataSourceModel_Options_Fields) MarshalJSON added in v0.2.0

type PanelCandlestickDataSourceModel_Options_Fields_CandlestickFieldMap added in v0.2.0

type PanelCandlestickDataSourceModel_Options_Fields_CandlestickFieldMap struct {
	Open   types.String `tfsdk:"open"`
	High   types.String `tfsdk:"high"`
	Low    types.String `tfsdk:"low"`
	Close  types.String `tfsdk:"close"`
	Volume types.String `tfsdk:"volume"`
}

func (PanelCandlestickDataSourceModel_Options_Fields_CandlestickFieldMap) ApplyDefaults added in v0.2.0

func (PanelCandlestickDataSourceModel_Options_Fields_CandlestickFieldMap) MarshalJSON added in v0.2.0

type PanelCandlestickDataSourceModel_Options_Legend added in v0.2.0

type PanelCandlestickDataSourceModel_Options_Legend struct {
	DisplayMode types.String  `tfsdk:"display_mode"`
	Placement   types.String  `tfsdk:"placement"`
	ShowLegend  types.Bool    `tfsdk:"show_legend"`
	AsTable     types.Bool    `tfsdk:"as_table"`
	IsVisible   types.Bool    `tfsdk:"is_visible"`
	SortBy      types.String  `tfsdk:"sort_by"`
	SortDesc    types.Bool    `tfsdk:"sort_desc"`
	Width       types.Float64 `tfsdk:"width"`
	Calcs       types.List    `tfsdk:"calcs"`
}

func (PanelCandlestickDataSourceModel_Options_Legend) ApplyDefaults added in v0.2.0

func (PanelCandlestickDataSourceModel_Options_Legend) MarshalJSON added in v0.2.0

type PanelCandlestickDataSourceModel_Transformations added in v0.2.0

type PanelCandlestickDataSourceModel_Transformations struct {
	Disabled types.Bool                                              `tfsdk:"disabled"`
	Filter   *PanelCandlestickDataSourceModel_Transformations_Filter `tfsdk:"filter"`
}

func (PanelCandlestickDataSourceModel_Transformations) ApplyDefaults added in v0.2.0

func (PanelCandlestickDataSourceModel_Transformations) MarshalJSON added in v0.2.0

type PanelCandlestickDataSourceModel_Transformations_Filter added in v0.2.0

type PanelCandlestickDataSourceModel_Transformations_Filter struct {
}

func (PanelCandlestickDataSourceModel_Transformations_Filter) ApplyDefaults added in v0.2.0

func (PanelCandlestickDataSourceModel_Transformations_Filter) MarshalJSON added in v0.2.0

type PanelCanvasDataSource added in v0.2.0

type PanelCanvasDataSource struct{}

PanelCanvasDataSource defines the data source implementation.

func (*PanelCanvasDataSource) Configure added in v0.2.0

func (*PanelCanvasDataSource) Metadata added in v0.2.0

func (*PanelCanvasDataSource) Read added in v0.2.0

func (*PanelCanvasDataSource) Schema added in v0.2.0

type PanelCanvasDataSourceModel added in v0.2.0

type PanelCanvasDataSourceModel struct {
	RenderedJSON    types.String                                 `tfsdk:"rendered_json"`
	Type            types.String                                 `tfsdk:"type"`
	PluginVersion   types.String                                 `tfsdk:"plugin_version"`
	Tags            types.List                                   `tfsdk:"tags"`
	Targets         types.List                                   `tfsdk:"targets"`
	Title           types.String                                 `tfsdk:"title"`
	Description     types.String                                 `tfsdk:"description"`
	Transparent     types.Bool                                   `tfsdk:"transparent"`
	Datasource      *PanelCanvasDataSourceModel_Datasource       `tfsdk:"datasource"`
	GridPos         *PanelCanvasDataSourceModel_GridPos          `tfsdk:"grid_pos"`
	Links           []PanelCanvasDataSourceModel_Links           `tfsdk:"links"`
	Repeat          types.String                                 `tfsdk:"repeat"`
	RepeatDirection types.String                                 `tfsdk:"repeat_direction"`
	RepeatPanelId   types.Int64                                  `tfsdk:"repeat_panel_id"`
	MaxDataPoints   types.Float64                                `tfsdk:"max_data_points"`
	Transformations []PanelCanvasDataSourceModel_Transformations `tfsdk:"transformations"`
	Interval        types.String                                 `tfsdk:"interval"`
	TimeFrom        types.String                                 `tfsdk:"time_from"`
	TimeShift       types.String                                 `tfsdk:"time_shift"`
	LibraryPanel    *PanelCanvasDataSourceModel_LibraryPanel     `tfsdk:"library_panel"`
	Options         *PanelCanvasDataSourceModel_Options          `tfsdk:"options"`
	FieldConfig     *PanelCanvasDataSourceModel_FieldConfig      `tfsdk:"field_config"`
}

func (PanelCanvasDataSourceModel) ApplyDefaults added in v0.2.0

func (PanelCanvasDataSourceModel) MarshalJSON added in v0.2.0

func (m PanelCanvasDataSourceModel) MarshalJSON() ([]byte, error)

type PanelCanvasDataSourceModel_Datasource added in v0.2.0

type PanelCanvasDataSourceModel_Datasource struct {
	Type types.String `tfsdk:"type"`
	Uid  types.String `tfsdk:"uid"`
}

func (PanelCanvasDataSourceModel_Datasource) ApplyDefaults added in v0.2.0

func (PanelCanvasDataSourceModel_Datasource) MarshalJSON added in v0.2.0

func (m PanelCanvasDataSourceModel_Datasource) MarshalJSON() ([]byte, error)

type PanelCanvasDataSourceModel_FieldConfig added in v0.2.0

type PanelCanvasDataSourceModel_FieldConfig struct {
	Defaults  *PanelCanvasDataSourceModel_FieldConfig_Defaults   `tfsdk:"defaults"`
	Overrides []PanelCanvasDataSourceModel_FieldConfig_Overrides `tfsdk:"overrides"`
}

func (PanelCanvasDataSourceModel_FieldConfig) ApplyDefaults added in v0.2.0

func (PanelCanvasDataSourceModel_FieldConfig) MarshalJSON added in v0.2.0

func (m PanelCanvasDataSourceModel_FieldConfig) MarshalJSON() ([]byte, error)

type PanelCanvasDataSourceModel_FieldConfig_Defaults added in v0.2.0

type PanelCanvasDataSourceModel_FieldConfig_Defaults struct {
	DisplayName       types.String                                                `tfsdk:"display_name"`
	DisplayNameFromDS types.String                                                `tfsdk:"display_name_from_ds"`
	Description       types.String                                                `tfsdk:"description"`
	Path              types.String                                                `tfsdk:"path"`
	Writeable         types.Bool                                                  `tfsdk:"writeable"`
	Filterable        types.Bool                                                  `tfsdk:"filterable"`
	Unit              types.String                                                `tfsdk:"unit"`
	Decimals          types.Float64                                               `tfsdk:"decimals"`
	Min               types.Float64                                               `tfsdk:"min"`
	Max               types.Float64                                               `tfsdk:"max"`
	Mappings          []PanelCanvasDataSourceModel_FieldConfig_Defaults_Mappings  `tfsdk:"mappings"`
	Thresholds        *PanelCanvasDataSourceModel_FieldConfig_Defaults_Thresholds `tfsdk:"thresholds"`
	Color             *PanelCanvasDataSourceModel_FieldConfig_Defaults_Color      `tfsdk:"color"`
	NoValue           types.String                                                `tfsdk:"no_value"`
	Custom            *PanelCanvasDataSourceModel_FieldConfig_Defaults_Custom     `tfsdk:"custom"`
}

func (PanelCanvasDataSourceModel_FieldConfig_Defaults) ApplyDefaults added in v0.2.0

func (PanelCanvasDataSourceModel_FieldConfig_Defaults) MarshalJSON added in v0.2.0

type PanelCanvasDataSourceModel_FieldConfig_Defaults_Color added in v0.2.0

type PanelCanvasDataSourceModel_FieldConfig_Defaults_Color struct {
	Mode       types.String `tfsdk:"mode"`
	FixedColor types.String `tfsdk:"fixed_color"`
	SeriesBy   types.String `tfsdk:"series_by"`
}

func (PanelCanvasDataSourceModel_FieldConfig_Defaults_Color) ApplyDefaults added in v0.2.0

func (PanelCanvasDataSourceModel_FieldConfig_Defaults_Color) MarshalJSON added in v0.2.0

type PanelCanvasDataSourceModel_FieldConfig_Defaults_Custom added in v0.2.0

type PanelCanvasDataSourceModel_FieldConfig_Defaults_Custom struct {
	DrawStyle         types.String                                                              `tfsdk:"draw_style"`
	GradientMode      types.String                                                              `tfsdk:"gradient_mode"`
	ThresholdsStyle   *PanelCanvasDataSourceModel_FieldConfig_Defaults_Custom_ThresholdsStyle   `tfsdk:"thresholds_style"`
	LineColor         types.String                                                              `tfsdk:"line_color"`
	LineWidth         types.Float64                                                             `tfsdk:"line_width"`
	LineInterpolation types.String                                                              `tfsdk:"line_interpolation"`
	LineStyle         *PanelCanvasDataSourceModel_FieldConfig_Defaults_Custom_LineStyle         `tfsdk:"line_style"`
	FillColor         types.String                                                              `tfsdk:"fill_color"`
	FillOpacity       types.Float64                                                             `tfsdk:"fill_opacity"`
	ShowPoints        types.String                                                              `tfsdk:"show_points"`
	PointSize         types.Float64                                                             `tfsdk:"point_size"`
	PointColor        types.String                                                              `tfsdk:"point_color"`
	AxisPlacement     types.String                                                              `tfsdk:"axis_placement"`
	AxisColorMode     types.String                                                              `tfsdk:"axis_color_mode"`
	AxisLabel         types.String                                                              `tfsdk:"axis_label"`
	AxisWidth         types.Float64                                                             `tfsdk:"axis_width"`
	AxisSoftMin       types.Float64                                                             `tfsdk:"axis_soft_min"`
	AxisSoftMax       types.Float64                                                             `tfsdk:"axis_soft_max"`
	AxisGridShow      types.Bool                                                                `tfsdk:"axis_grid_show"`
	ScaleDistribution *PanelCanvasDataSourceModel_FieldConfig_Defaults_Custom_ScaleDistribution `tfsdk:"scale_distribution"`
	BarAlignment      types.Int64                                                               `tfsdk:"bar_alignment"`
	BarWidthFactor    types.Float64                                                             `tfsdk:"bar_width_factor"`
	Stacking          *PanelCanvasDataSourceModel_FieldConfig_Defaults_Custom_Stacking          `tfsdk:"stacking"`
	HideFrom          *PanelCanvasDataSourceModel_FieldConfig_Defaults_Custom_HideFrom          `tfsdk:"hide_from"`
	Transform         types.String                                                              `tfsdk:"transform"`
	SpanNulls         types.String                                                              `tfsdk:"span_nulls"`
	FillBelowTo       types.String                                                              `tfsdk:"fill_below_to"`
	PointSymbol       types.String                                                              `tfsdk:"point_symbol"`
	AxisCenteredZero  types.Bool                                                                `tfsdk:"axis_centered_zero"`
	BarMaxWidth       types.Float64                                                             `tfsdk:"bar_max_width"`
}

func (PanelCanvasDataSourceModel_FieldConfig_Defaults_Custom) ApplyDefaults added in v0.2.0

func (PanelCanvasDataSourceModel_FieldConfig_Defaults_Custom) GetAttrSpanNulls added in v0.2.0

func (m PanelCanvasDataSourceModel_FieldConfig_Defaults_Custom) GetAttrSpanNulls() interface{}

func (PanelCanvasDataSourceModel_FieldConfig_Defaults_Custom) MarshalJSON added in v0.2.0

type PanelCanvasDataSourceModel_FieldConfig_Defaults_Custom_HideFrom added in v0.2.0

type PanelCanvasDataSourceModel_FieldConfig_Defaults_Custom_HideFrom struct {
	Tooltip types.Bool `tfsdk:"tooltip"`
	Legend  types.Bool `tfsdk:"legend"`
	Viz     types.Bool `tfsdk:"viz"`
}

func (PanelCanvasDataSourceModel_FieldConfig_Defaults_Custom_HideFrom) ApplyDefaults added in v0.2.0

func (PanelCanvasDataSourceModel_FieldConfig_Defaults_Custom_HideFrom) MarshalJSON added in v0.2.0

type PanelCanvasDataSourceModel_FieldConfig_Defaults_Custom_LineStyle added in v0.2.0

type PanelCanvasDataSourceModel_FieldConfig_Defaults_Custom_LineStyle struct {
	Fill types.String `tfsdk:"fill"`
	Dash types.List   `tfsdk:"dash"`
}

func (PanelCanvasDataSourceModel_FieldConfig_Defaults_Custom_LineStyle) ApplyDefaults added in v0.2.0

func (PanelCanvasDataSourceModel_FieldConfig_Defaults_Custom_LineStyle) MarshalJSON added in v0.2.0

type PanelCanvasDataSourceModel_FieldConfig_Defaults_Custom_ScaleDistribution added in v0.2.0

type PanelCanvasDataSourceModel_FieldConfig_Defaults_Custom_ScaleDistribution struct {
	Type            types.String  `tfsdk:"type"`
	Log             types.Float64 `tfsdk:"log"`
	LinearThreshold types.Float64 `tfsdk:"linear_threshold"`
}

func (PanelCanvasDataSourceModel_FieldConfig_Defaults_Custom_ScaleDistribution) ApplyDefaults added in v0.2.0

func (PanelCanvasDataSourceModel_FieldConfig_Defaults_Custom_ScaleDistribution) MarshalJSON added in v0.2.0

type PanelCanvasDataSourceModel_FieldConfig_Defaults_Custom_Stacking added in v0.2.0

type PanelCanvasDataSourceModel_FieldConfig_Defaults_Custom_Stacking struct {
	Mode  types.String `tfsdk:"mode"`
	Group types.String `tfsdk:"group"`
}

func (PanelCanvasDataSourceModel_FieldConfig_Defaults_Custom_Stacking) ApplyDefaults added in v0.2.0

func (PanelCanvasDataSourceModel_FieldConfig_Defaults_Custom_Stacking) MarshalJSON added in v0.2.0

type PanelCanvasDataSourceModel_FieldConfig_Defaults_Custom_ThresholdsStyle added in v0.2.0

type PanelCanvasDataSourceModel_FieldConfig_Defaults_Custom_ThresholdsStyle struct {
	Mode types.String `tfsdk:"mode"`
}

func (PanelCanvasDataSourceModel_FieldConfig_Defaults_Custom_ThresholdsStyle) ApplyDefaults added in v0.2.0

func (PanelCanvasDataSourceModel_FieldConfig_Defaults_Custom_ThresholdsStyle) MarshalJSON added in v0.2.0

type PanelCanvasDataSourceModel_FieldConfig_Defaults_Mappings added in v0.2.0

type PanelCanvasDataSourceModel_FieldConfig_Defaults_Mappings struct {
	ValueMap        *PanelCanvasDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap        `tfsdk:"value_map"`
	RangeMap        *PanelCanvasDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap        `tfsdk:"range_map"`
	RegexMap        *PanelCanvasDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap        `tfsdk:"regex_map"`
	SpecialValueMap *PanelCanvasDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap `tfsdk:"special_value_map"`
}

func (PanelCanvasDataSourceModel_FieldConfig_Defaults_Mappings) ApplyDefaults added in v0.2.0

func (PanelCanvasDataSourceModel_FieldConfig_Defaults_Mappings) MarshalJSON added in v0.2.0

type PanelCanvasDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap added in v0.2.0

type PanelCanvasDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap struct {
	Type    types.String                                                               `tfsdk:"type"`
	Options *PanelCanvasDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options `tfsdk:"options"`
}

func (PanelCanvasDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap) ApplyDefaults added in v0.2.0

func (PanelCanvasDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap) MarshalJSON added in v0.2.0

type PanelCanvasDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options added in v0.2.0

type PanelCanvasDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options struct {
	From   types.String                                                                      `tfsdk:"from"`
	To     types.String                                                                      `tfsdk:"to"`
	Result *PanelCanvasDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options_Result `tfsdk:"result"`
}

func (PanelCanvasDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options) ApplyDefaults added in v0.2.0

func (PanelCanvasDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options) GetAttrFrom added in v0.2.0

func (PanelCanvasDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options) GetAttrTo added in v0.2.0

func (PanelCanvasDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options) MarshalJSON added in v0.2.0

type PanelCanvasDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options_Result added in v0.2.0

type PanelCanvasDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options_Result struct {
	Text  types.String `tfsdk:"text"`
	Color types.String `tfsdk:"color"`
	Icon  types.String `tfsdk:"icon"`
	Index types.Int64  `tfsdk:"index"`
}

func (PanelCanvasDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options_Result) ApplyDefaults added in v0.2.0

func (PanelCanvasDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options_Result) MarshalJSON added in v0.2.0

type PanelCanvasDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap added in v0.2.0

type PanelCanvasDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap struct {
	Type    types.String                                                               `tfsdk:"type"`
	Options *PanelCanvasDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options `tfsdk:"options"`
}

func (PanelCanvasDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap) ApplyDefaults added in v0.2.0

func (PanelCanvasDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap) MarshalJSON added in v0.2.0

type PanelCanvasDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options added in v0.2.0

type PanelCanvasDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options struct {
	Pattern types.String                                                                      `tfsdk:"pattern"`
	Result  *PanelCanvasDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options_Result `tfsdk:"result"`
}

func (PanelCanvasDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options) ApplyDefaults added in v0.2.0

func (PanelCanvasDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options) MarshalJSON added in v0.2.0

type PanelCanvasDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options_Result added in v0.2.0

type PanelCanvasDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options_Result struct {
	Text  types.String `tfsdk:"text"`
	Color types.String `tfsdk:"color"`
	Icon  types.String `tfsdk:"icon"`
	Index types.Int64  `tfsdk:"index"`
}

func (PanelCanvasDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options_Result) ApplyDefaults added in v0.2.0

func (PanelCanvasDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options_Result) MarshalJSON added in v0.2.0

type PanelCanvasDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap added in v0.2.0

type PanelCanvasDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap struct {
	Type    types.String                                                                      `tfsdk:"type"`
	Options *PanelCanvasDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options `tfsdk:"options"`
}

func (PanelCanvasDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap) ApplyDefaults added in v0.2.0

func (PanelCanvasDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap) MarshalJSON added in v0.2.0

type PanelCanvasDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options added in v0.2.0

type PanelCanvasDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options struct {
	Match  types.String                                                                             `tfsdk:"match"`
	Result *PanelCanvasDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options_Result `tfsdk:"result"`
}

func (PanelCanvasDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options) ApplyDefaults added in v0.2.0

func (PanelCanvasDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options) MarshalJSON added in v0.2.0

type PanelCanvasDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options_Result added in v0.2.0

type PanelCanvasDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options_Result struct {
	Text  types.String `tfsdk:"text"`
	Color types.String `tfsdk:"color"`
	Icon  types.String `tfsdk:"icon"`
	Index types.Int64  `tfsdk:"index"`
}

func (PanelCanvasDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options_Result) ApplyDefaults added in v0.2.0

func (PanelCanvasDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options_Result) MarshalJSON added in v0.2.0

type PanelCanvasDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap added in v0.2.0

type PanelCanvasDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap struct {
	Type    types.String                                                                          `tfsdk:"type"`
	Options *map[string]PanelCanvasDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap_Options `tfsdk:"options"`
}

func (PanelCanvasDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap) ApplyDefaults added in v0.2.0

func (PanelCanvasDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap) MarshalJSON added in v0.2.0

type PanelCanvasDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap_Options added in v0.2.0

type PanelCanvasDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap_Options struct {
	Text  types.String `tfsdk:"text"`
	Color types.String `tfsdk:"color"`
	Icon  types.String `tfsdk:"icon"`
	Index types.Int64  `tfsdk:"index"`
}

func (PanelCanvasDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap_Options) ApplyDefaults added in v0.2.0

func (PanelCanvasDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap_Options) MarshalJSON added in v0.2.0

type PanelCanvasDataSourceModel_FieldConfig_Defaults_Thresholds added in v0.2.0

type PanelCanvasDataSourceModel_FieldConfig_Defaults_Thresholds struct {
	Mode  types.String                                                       `tfsdk:"mode"`
	Steps []PanelCanvasDataSourceModel_FieldConfig_Defaults_Thresholds_Steps `tfsdk:"steps"`
}

func (PanelCanvasDataSourceModel_FieldConfig_Defaults_Thresholds) ApplyDefaults added in v0.2.0

func (PanelCanvasDataSourceModel_FieldConfig_Defaults_Thresholds) MarshalJSON added in v0.2.0

type PanelCanvasDataSourceModel_FieldConfig_Defaults_Thresholds_Steps added in v0.2.0

type PanelCanvasDataSourceModel_FieldConfig_Defaults_Thresholds_Steps struct {
	Value types.String `tfsdk:"value"`
	Color types.String `tfsdk:"color"`
}

func (PanelCanvasDataSourceModel_FieldConfig_Defaults_Thresholds_Steps) ApplyDefaults added in v0.2.0

func (PanelCanvasDataSourceModel_FieldConfig_Defaults_Thresholds_Steps) GetAttrValue added in v0.2.0

func (PanelCanvasDataSourceModel_FieldConfig_Defaults_Thresholds_Steps) MarshalJSON added in v0.2.0

type PanelCanvasDataSourceModel_FieldConfig_Overrides added in v0.2.0

type PanelCanvasDataSourceModel_FieldConfig_Overrides struct {
	Matcher    *PanelCanvasDataSourceModel_FieldConfig_Overrides_Matcher     `tfsdk:"matcher"`
	Properties []PanelCanvasDataSourceModel_FieldConfig_Overrides_Properties `tfsdk:"properties"`
}

func (PanelCanvasDataSourceModel_FieldConfig_Overrides) ApplyDefaults added in v0.2.0

func (PanelCanvasDataSourceModel_FieldConfig_Overrides) MarshalJSON added in v0.2.0

type PanelCanvasDataSourceModel_FieldConfig_Overrides_Matcher added in v0.2.0

type PanelCanvasDataSourceModel_FieldConfig_Overrides_Matcher struct {
}

func (PanelCanvasDataSourceModel_FieldConfig_Overrides_Matcher) ApplyDefaults added in v0.2.0

func (PanelCanvasDataSourceModel_FieldConfig_Overrides_Matcher) MarshalJSON added in v0.2.0

type PanelCanvasDataSourceModel_FieldConfig_Overrides_Properties added in v0.2.0

type PanelCanvasDataSourceModel_FieldConfig_Overrides_Properties struct {
}

func (PanelCanvasDataSourceModel_FieldConfig_Overrides_Properties) ApplyDefaults added in v0.2.0

func (PanelCanvasDataSourceModel_FieldConfig_Overrides_Properties) MarshalJSON added in v0.2.0

type PanelCanvasDataSourceModel_GridPos added in v0.2.0

type PanelCanvasDataSourceModel_GridPos struct {
	H      types.Int64 `tfsdk:"h"`
	W      types.Int64 `tfsdk:"w"`
	X      types.Int64 `tfsdk:"x"`
	Y      types.Int64 `tfsdk:"y"`
	Static types.Bool  `tfsdk:"static"`
}

func (PanelCanvasDataSourceModel_GridPos) ApplyDefaults added in v0.2.0

func (PanelCanvasDataSourceModel_GridPos) MarshalJSON added in v0.2.0

func (m PanelCanvasDataSourceModel_GridPos) MarshalJSON() ([]byte, error)

type PanelCanvasDataSourceModel_LibraryPanel added in v0.2.0

type PanelCanvasDataSourceModel_LibraryPanel struct {
	Name types.String `tfsdk:"name"`
	Uid  types.String `tfsdk:"uid"`
}

func (PanelCanvasDataSourceModel_LibraryPanel) ApplyDefaults added in v0.2.0

func (PanelCanvasDataSourceModel_LibraryPanel) MarshalJSON added in v0.2.0

func (m PanelCanvasDataSourceModel_LibraryPanel) MarshalJSON() ([]byte, error)
type PanelCanvasDataSourceModel_Links struct {
	Title       types.String `tfsdk:"title"`
	Type        types.String `tfsdk:"type"`
	Icon        types.String `tfsdk:"icon"`
	Tooltip     types.String `tfsdk:"tooltip"`
	Url         types.String `tfsdk:"url"`
	Tags        types.List   `tfsdk:"tags"`
	AsDropdown  types.Bool   `tfsdk:"as_dropdown"`
	TargetBlank types.Bool   `tfsdk:"target_blank"`
	IncludeVars types.Bool   `tfsdk:"include_vars"`
	KeepTime    types.Bool   `tfsdk:"keep_time"`
}

func (PanelCanvasDataSourceModel_Links) ApplyDefaults added in v0.2.0

func (PanelCanvasDataSourceModel_Links) MarshalJSON added in v0.2.0

func (m PanelCanvasDataSourceModel_Links) MarshalJSON() ([]byte, error)

type PanelCanvasDataSourceModel_Options added in v0.2.0

type PanelCanvasDataSourceModel_Options struct {
	InlineEditing     types.Bool                               `tfsdk:"inline_editing"`
	ShowAdvancedTypes types.Bool                               `tfsdk:"show_advanced_types"`
	Root              *PanelCanvasDataSourceModel_Options_Root `tfsdk:"root"`
}

func (PanelCanvasDataSourceModel_Options) ApplyDefaults added in v0.2.0

func (PanelCanvasDataSourceModel_Options) MarshalJSON added in v0.2.0

func (m PanelCanvasDataSourceModel_Options) MarshalJSON() ([]byte, error)

type PanelCanvasDataSourceModel_Options_Root added in v0.2.0

type PanelCanvasDataSourceModel_Options_Root struct {
	Name     types.String                                       `tfsdk:"name"`
	Type     types.String                                       `tfsdk:"type"`
	Elements []PanelCanvasDataSourceModel_Options_Root_Elements `tfsdk:"elements"`
}

func (PanelCanvasDataSourceModel_Options_Root) ApplyDefaults added in v0.2.0

func (PanelCanvasDataSourceModel_Options_Root) MarshalJSON added in v0.2.0

func (m PanelCanvasDataSourceModel_Options_Root) MarshalJSON() ([]byte, error)

type PanelCanvasDataSourceModel_Options_Root_Elements added in v0.2.0

type PanelCanvasDataSourceModel_Options_Root_Elements struct {
	Name        types.String                                                   `tfsdk:"name"`
	Type        types.String                                                   `tfsdk:"type"`
	Constraint  *PanelCanvasDataSourceModel_Options_Root_Elements_Constraint   `tfsdk:"constraint"`
	Placement   *PanelCanvasDataSourceModel_Options_Root_Elements_Placement    `tfsdk:"placement"`
	Background  *PanelCanvasDataSourceModel_Options_Root_Elements_Background   `tfsdk:"background"`
	Border      *PanelCanvasDataSourceModel_Options_Root_Elements_Border       `tfsdk:"border"`
	Connections []PanelCanvasDataSourceModel_Options_Root_Elements_Connections `tfsdk:"connections"`
}

func (PanelCanvasDataSourceModel_Options_Root_Elements) ApplyDefaults added in v0.2.0

func (PanelCanvasDataSourceModel_Options_Root_Elements) MarshalJSON added in v0.2.0

type PanelCanvasDataSourceModel_Options_Root_Elements_Background added in v0.2.0

type PanelCanvasDataSourceModel_Options_Root_Elements_Background struct {
	Color *PanelCanvasDataSourceModel_Options_Root_Elements_Background_Color `tfsdk:"color"`
	Image *PanelCanvasDataSourceModel_Options_Root_Elements_Background_Image `tfsdk:"image"`
	Size  types.String                                                       `tfsdk:"size"`
}

func (PanelCanvasDataSourceModel_Options_Root_Elements_Background) ApplyDefaults added in v0.2.0

func (PanelCanvasDataSourceModel_Options_Root_Elements_Background) MarshalJSON added in v0.2.0

type PanelCanvasDataSourceModel_Options_Root_Elements_Background_Color added in v0.2.0

type PanelCanvasDataSourceModel_Options_Root_Elements_Background_Color struct {
	Fixed types.String `tfsdk:"fixed"`
	Field types.String `tfsdk:"field"`
}

func (PanelCanvasDataSourceModel_Options_Root_Elements_Background_Color) ApplyDefaults added in v0.2.0

func (PanelCanvasDataSourceModel_Options_Root_Elements_Background_Color) MarshalJSON added in v0.2.0

type PanelCanvasDataSourceModel_Options_Root_Elements_Background_Image added in v0.2.0

type PanelCanvasDataSourceModel_Options_Root_Elements_Background_Image struct {
	Mode  types.String `tfsdk:"mode"`
	Field types.String `tfsdk:"field"`
	Fixed types.String `tfsdk:"fixed"`
}

func (PanelCanvasDataSourceModel_Options_Root_Elements_Background_Image) ApplyDefaults added in v0.2.0

func (PanelCanvasDataSourceModel_Options_Root_Elements_Background_Image) MarshalJSON added in v0.2.0

type PanelCanvasDataSourceModel_Options_Root_Elements_Border added in v0.2.0

type PanelCanvasDataSourceModel_Options_Root_Elements_Border struct {
	Color *PanelCanvasDataSourceModel_Options_Root_Elements_Border_Color `tfsdk:"color"`
	Width types.Float64                                                  `tfsdk:"width"`
}

func (PanelCanvasDataSourceModel_Options_Root_Elements_Border) ApplyDefaults added in v0.2.0

func (PanelCanvasDataSourceModel_Options_Root_Elements_Border) MarshalJSON added in v0.2.0

type PanelCanvasDataSourceModel_Options_Root_Elements_Border_Color added in v0.2.0

type PanelCanvasDataSourceModel_Options_Root_Elements_Border_Color struct {
	Fixed types.String `tfsdk:"fixed"`
	Field types.String `tfsdk:"field"`
}

func (PanelCanvasDataSourceModel_Options_Root_Elements_Border_Color) ApplyDefaults added in v0.2.0

func (PanelCanvasDataSourceModel_Options_Root_Elements_Border_Color) MarshalJSON added in v0.2.0

type PanelCanvasDataSourceModel_Options_Root_Elements_Connections added in v0.2.0

type PanelCanvasDataSourceModel_Options_Root_Elements_Connections struct {
	Source     *PanelCanvasDataSourceModel_Options_Root_Elements_Connections_Source `tfsdk:"source"`
	Target     *PanelCanvasDataSourceModel_Options_Root_Elements_Connections_Target `tfsdk:"target"`
	TargetName types.String                                                         `tfsdk:"target_name"`
	Path       types.String                                                         `tfsdk:"path"`
	Color      *PanelCanvasDataSourceModel_Options_Root_Elements_Connections_Color  `tfsdk:"color"`
	Size       *PanelCanvasDataSourceModel_Options_Root_Elements_Connections_Size   `tfsdk:"size"`
}

func (PanelCanvasDataSourceModel_Options_Root_Elements_Connections) ApplyDefaults added in v0.2.0

func (PanelCanvasDataSourceModel_Options_Root_Elements_Connections) MarshalJSON added in v0.2.0

type PanelCanvasDataSourceModel_Options_Root_Elements_Connections_Color added in v0.2.0

type PanelCanvasDataSourceModel_Options_Root_Elements_Connections_Color struct {
	Fixed types.String `tfsdk:"fixed"`
	Field types.String `tfsdk:"field"`
}

func (PanelCanvasDataSourceModel_Options_Root_Elements_Connections_Color) ApplyDefaults added in v0.2.0

func (PanelCanvasDataSourceModel_Options_Root_Elements_Connections_Color) MarshalJSON added in v0.2.0

type PanelCanvasDataSourceModel_Options_Root_Elements_Connections_Size added in v0.2.0

type PanelCanvasDataSourceModel_Options_Root_Elements_Connections_Size struct {
	Min   types.Float64 `tfsdk:"min"`
	Max   types.Float64 `tfsdk:"max"`
	Fixed types.Float64 `tfsdk:"fixed"`
	Field types.String  `tfsdk:"field"`
	Mode  types.String  `tfsdk:"mode"`
}

func (PanelCanvasDataSourceModel_Options_Root_Elements_Connections_Size) ApplyDefaults added in v0.2.0

func (PanelCanvasDataSourceModel_Options_Root_Elements_Connections_Size) MarshalJSON added in v0.2.0

type PanelCanvasDataSourceModel_Options_Root_Elements_Connections_Source added in v0.2.0

type PanelCanvasDataSourceModel_Options_Root_Elements_Connections_Source struct {
	X types.Float64 `tfsdk:"x"`
	Y types.Float64 `tfsdk:"y"`
}

func (PanelCanvasDataSourceModel_Options_Root_Elements_Connections_Source) ApplyDefaults added in v0.2.0

func (PanelCanvasDataSourceModel_Options_Root_Elements_Connections_Source) MarshalJSON added in v0.2.0

type PanelCanvasDataSourceModel_Options_Root_Elements_Connections_Target added in v0.2.0

type PanelCanvasDataSourceModel_Options_Root_Elements_Connections_Target struct {
	X types.Float64 `tfsdk:"x"`
	Y types.Float64 `tfsdk:"y"`
}

func (PanelCanvasDataSourceModel_Options_Root_Elements_Connections_Target) ApplyDefaults added in v0.2.0

func (PanelCanvasDataSourceModel_Options_Root_Elements_Connections_Target) MarshalJSON added in v0.2.0

type PanelCanvasDataSourceModel_Options_Root_Elements_Constraint added in v0.2.0

type PanelCanvasDataSourceModel_Options_Root_Elements_Constraint struct {
	Horizontal types.String `tfsdk:"horizontal"`
	Vertical   types.String `tfsdk:"vertical"`
}

func (PanelCanvasDataSourceModel_Options_Root_Elements_Constraint) ApplyDefaults added in v0.2.0

func (PanelCanvasDataSourceModel_Options_Root_Elements_Constraint) MarshalJSON added in v0.2.0

type PanelCanvasDataSourceModel_Options_Root_Elements_Placement added in v0.2.0

type PanelCanvasDataSourceModel_Options_Root_Elements_Placement struct {
	Top    types.Float64 `tfsdk:"top"`
	Left   types.Float64 `tfsdk:"left"`
	Right  types.Float64 `tfsdk:"right"`
	Bottom types.Float64 `tfsdk:"bottom"`
	Width  types.Float64 `tfsdk:"width"`
	Height types.Float64 `tfsdk:"height"`
}

func (PanelCanvasDataSourceModel_Options_Root_Elements_Placement) ApplyDefaults added in v0.2.0

func (PanelCanvasDataSourceModel_Options_Root_Elements_Placement) MarshalJSON added in v0.2.0

type PanelCanvasDataSourceModel_Transformations added in v0.2.0

type PanelCanvasDataSourceModel_Transformations struct {
	Disabled types.Bool                                         `tfsdk:"disabled"`
	Filter   *PanelCanvasDataSourceModel_Transformations_Filter `tfsdk:"filter"`
}

func (PanelCanvasDataSourceModel_Transformations) ApplyDefaults added in v0.2.0

func (PanelCanvasDataSourceModel_Transformations) MarshalJSON added in v0.2.0

type PanelCanvasDataSourceModel_Transformations_Filter added in v0.2.0

type PanelCanvasDataSourceModel_Transformations_Filter struct {
}

func (PanelCanvasDataSourceModel_Transformations_Filter) ApplyDefaults added in v0.2.0

func (PanelCanvasDataSourceModel_Transformations_Filter) MarshalJSON added in v0.2.0

type PanelDashboardListDataSource

type PanelDashboardListDataSource struct{}

PanelDashboardListDataSource defines the data source implementation.

func (*PanelDashboardListDataSource) Configure

func (*PanelDashboardListDataSource) Metadata

func (*PanelDashboardListDataSource) Read

func (*PanelDashboardListDataSource) Schema

type PanelDashboardListDataSourceModel

type PanelDashboardListDataSourceModel struct {
	RenderedJSON    types.String                                        `tfsdk:"rendered_json"`
	Type            types.String                                        `tfsdk:"type"`
	PluginVersion   types.String                                        `tfsdk:"plugin_version"`
	Tags            types.List                                          `tfsdk:"tags"`
	Targets         types.List                                          `tfsdk:"targets"`
	Title           types.String                                        `tfsdk:"title"`
	Description     types.String                                        `tfsdk:"description"`
	Transparent     types.Bool                                          `tfsdk:"transparent"`
	Datasource      *PanelDashboardListDataSourceModel_Datasource       `tfsdk:"datasource"`
	GridPos         *PanelDashboardListDataSourceModel_GridPos          `tfsdk:"grid_pos"`
	Links           []PanelDashboardListDataSourceModel_Links           `tfsdk:"links"`
	Repeat          types.String                                        `tfsdk:"repeat"`
	RepeatDirection types.String                                        `tfsdk:"repeat_direction"`
	RepeatPanelId   types.Int64                                         `tfsdk:"repeat_panel_id"`
	MaxDataPoints   types.Float64                                       `tfsdk:"max_data_points"`
	Transformations []PanelDashboardListDataSourceModel_Transformations `tfsdk:"transformations"`
	Interval        types.String                                        `tfsdk:"interval"`
	TimeFrom        types.String                                        `tfsdk:"time_from"`
	TimeShift       types.String                                        `tfsdk:"time_shift"`
	LibraryPanel    *PanelDashboardListDataSourceModel_LibraryPanel     `tfsdk:"library_panel"`
	Options         *PanelDashboardListDataSourceModel_Options          `tfsdk:"options"`
	FieldConfig     *PanelDashboardListDataSourceModel_FieldConfig      `tfsdk:"field_config"`
}

func (PanelDashboardListDataSourceModel) ApplyDefaults

func (PanelDashboardListDataSourceModel) MarshalJSON

func (m PanelDashboardListDataSourceModel) MarshalJSON() ([]byte, error)

type PanelDashboardListDataSourceModel_Datasource

type PanelDashboardListDataSourceModel_Datasource struct {
	Type types.String `tfsdk:"type"`
	Uid  types.String `tfsdk:"uid"`
}

func (PanelDashboardListDataSourceModel_Datasource) ApplyDefaults

func (PanelDashboardListDataSourceModel_Datasource) MarshalJSON

type PanelDashboardListDataSourceModel_FieldConfig

type PanelDashboardListDataSourceModel_FieldConfig struct {
	Defaults  *PanelDashboardListDataSourceModel_FieldConfig_Defaults   `tfsdk:"defaults"`
	Overrides []PanelDashboardListDataSourceModel_FieldConfig_Overrides `tfsdk:"overrides"`
}

func (PanelDashboardListDataSourceModel_FieldConfig) ApplyDefaults

func (PanelDashboardListDataSourceModel_FieldConfig) MarshalJSON

type PanelDashboardListDataSourceModel_FieldConfig_Defaults

type PanelDashboardListDataSourceModel_FieldConfig_Defaults struct {
	DisplayName       types.String                                                       `tfsdk:"display_name"`
	DisplayNameFromDS types.String                                                       `tfsdk:"display_name_from_ds"`
	Description       types.String                                                       `tfsdk:"description"`
	Path              types.String                                                       `tfsdk:"path"`
	Writeable         types.Bool                                                         `tfsdk:"writeable"`
	Filterable        types.Bool                                                         `tfsdk:"filterable"`
	Unit              types.String                                                       `tfsdk:"unit"`
	Decimals          types.Float64                                                      `tfsdk:"decimals"`
	Min               types.Float64                                                      `tfsdk:"min"`
	Max               types.Float64                                                      `tfsdk:"max"`
	Mappings          []PanelDashboardListDataSourceModel_FieldConfig_Defaults_Mappings  `tfsdk:"mappings"`
	Thresholds        *PanelDashboardListDataSourceModel_FieldConfig_Defaults_Thresholds `tfsdk:"thresholds"`
	Color             *PanelDashboardListDataSourceModel_FieldConfig_Defaults_Color      `tfsdk:"color"`
	NoValue           types.String                                                       `tfsdk:"no_value"`
	Custom            *PanelDashboardListDataSourceModel_FieldConfig_Defaults_Custom     `tfsdk:"custom"`
}

func (PanelDashboardListDataSourceModel_FieldConfig_Defaults) ApplyDefaults

func (PanelDashboardListDataSourceModel_FieldConfig_Defaults) MarshalJSON

type PanelDashboardListDataSourceModel_FieldConfig_Defaults_Color

type PanelDashboardListDataSourceModel_FieldConfig_Defaults_Color struct {
	Mode       types.String `tfsdk:"mode"`
	FixedColor types.String `tfsdk:"fixed_color"`
	SeriesBy   types.String `tfsdk:"series_by"`
}

func (PanelDashboardListDataSourceModel_FieldConfig_Defaults_Color) ApplyDefaults

func (PanelDashboardListDataSourceModel_FieldConfig_Defaults_Color) MarshalJSON

type PanelDashboardListDataSourceModel_FieldConfig_Defaults_Custom

type PanelDashboardListDataSourceModel_FieldConfig_Defaults_Custom struct {
	DrawStyle         types.String                                                                     `tfsdk:"draw_style"`
	GradientMode      types.String                                                                     `tfsdk:"gradient_mode"`
	ThresholdsStyle   *PanelDashboardListDataSourceModel_FieldConfig_Defaults_Custom_ThresholdsStyle   `tfsdk:"thresholds_style"`
	LineColor         types.String                                                                     `tfsdk:"line_color"`
	LineWidth         types.Float64                                                                    `tfsdk:"line_width"`
	LineInterpolation types.String                                                                     `tfsdk:"line_interpolation"`
	LineStyle         *PanelDashboardListDataSourceModel_FieldConfig_Defaults_Custom_LineStyle         `tfsdk:"line_style"`
	FillColor         types.String                                                                     `tfsdk:"fill_color"`
	FillOpacity       types.Float64                                                                    `tfsdk:"fill_opacity"`
	ShowPoints        types.String                                                                     `tfsdk:"show_points"`
	PointSize         types.Float64                                                                    `tfsdk:"point_size"`
	PointColor        types.String                                                                     `tfsdk:"point_color"`
	AxisPlacement     types.String                                                                     `tfsdk:"axis_placement"`
	AxisColorMode     types.String                                                                     `tfsdk:"axis_color_mode"`
	AxisLabel         types.String                                                                     `tfsdk:"axis_label"`
	AxisWidth         types.Float64                                                                    `tfsdk:"axis_width"`
	AxisSoftMin       types.Float64                                                                    `tfsdk:"axis_soft_min"`
	AxisSoftMax       types.Float64                                                                    `tfsdk:"axis_soft_max"`
	AxisGridShow      types.Bool                                                                       `tfsdk:"axis_grid_show"`
	ScaleDistribution *PanelDashboardListDataSourceModel_FieldConfig_Defaults_Custom_ScaleDistribution `tfsdk:"scale_distribution"`
	BarAlignment      types.Int64                                                                      `tfsdk:"bar_alignment"`
	BarWidthFactor    types.Float64                                                                    `tfsdk:"bar_width_factor"`
	Stacking          *PanelDashboardListDataSourceModel_FieldConfig_Defaults_Custom_Stacking          `tfsdk:"stacking"`
	HideFrom          *PanelDashboardListDataSourceModel_FieldConfig_Defaults_Custom_HideFrom          `tfsdk:"hide_from"`
	Transform         types.String                                                                     `tfsdk:"transform"`
	SpanNulls         types.String                                                                     `tfsdk:"span_nulls"`
	FillBelowTo       types.String                                                                     `tfsdk:"fill_below_to"`
	PointSymbol       types.String                                                                     `tfsdk:"point_symbol"`
	AxisCenteredZero  types.Bool                                                                       `tfsdk:"axis_centered_zero"`
	BarMaxWidth       types.Float64                                                                    `tfsdk:"bar_max_width"`
}

func (PanelDashboardListDataSourceModel_FieldConfig_Defaults_Custom) ApplyDefaults

func (PanelDashboardListDataSourceModel_FieldConfig_Defaults_Custom) GetAttrSpanNulls added in v0.2.0

func (m PanelDashboardListDataSourceModel_FieldConfig_Defaults_Custom) GetAttrSpanNulls() interface{}

func (PanelDashboardListDataSourceModel_FieldConfig_Defaults_Custom) MarshalJSON

type PanelDashboardListDataSourceModel_FieldConfig_Defaults_Custom_HideFrom

type PanelDashboardListDataSourceModel_FieldConfig_Defaults_Custom_HideFrom struct {
	Tooltip types.Bool `tfsdk:"tooltip"`
	Legend  types.Bool `tfsdk:"legend"`
	Viz     types.Bool `tfsdk:"viz"`
}

func (PanelDashboardListDataSourceModel_FieldConfig_Defaults_Custom_HideFrom) ApplyDefaults

func (PanelDashboardListDataSourceModel_FieldConfig_Defaults_Custom_HideFrom) MarshalJSON

type PanelDashboardListDataSourceModel_FieldConfig_Defaults_Custom_LineStyle added in v0.2.0

type PanelDashboardListDataSourceModel_FieldConfig_Defaults_Custom_LineStyle struct {
	Fill types.String `tfsdk:"fill"`
	Dash types.List   `tfsdk:"dash"`
}

func (PanelDashboardListDataSourceModel_FieldConfig_Defaults_Custom_LineStyle) ApplyDefaults added in v0.2.0

func (PanelDashboardListDataSourceModel_FieldConfig_Defaults_Custom_LineStyle) MarshalJSON added in v0.2.0

type PanelDashboardListDataSourceModel_FieldConfig_Defaults_Custom_ScaleDistribution

type PanelDashboardListDataSourceModel_FieldConfig_Defaults_Custom_ScaleDistribution struct {
	Type            types.String  `tfsdk:"type"`
	Log             types.Float64 `tfsdk:"log"`
	LinearThreshold types.Float64 `tfsdk:"linear_threshold"`
}

func (PanelDashboardListDataSourceModel_FieldConfig_Defaults_Custom_ScaleDistribution) ApplyDefaults

func (PanelDashboardListDataSourceModel_FieldConfig_Defaults_Custom_ScaleDistribution) MarshalJSON

type PanelDashboardListDataSourceModel_FieldConfig_Defaults_Custom_Stacking added in v0.2.0

type PanelDashboardListDataSourceModel_FieldConfig_Defaults_Custom_Stacking struct {
	Mode  types.String `tfsdk:"mode"`
	Group types.String `tfsdk:"group"`
}

func (PanelDashboardListDataSourceModel_FieldConfig_Defaults_Custom_Stacking) ApplyDefaults added in v0.2.0

func (PanelDashboardListDataSourceModel_FieldConfig_Defaults_Custom_Stacking) MarshalJSON added in v0.2.0

type PanelDashboardListDataSourceModel_FieldConfig_Defaults_Custom_ThresholdsStyle

type PanelDashboardListDataSourceModel_FieldConfig_Defaults_Custom_ThresholdsStyle struct {
	Mode types.String `tfsdk:"mode"`
}

func (PanelDashboardListDataSourceModel_FieldConfig_Defaults_Custom_ThresholdsStyle) ApplyDefaults

func (PanelDashboardListDataSourceModel_FieldConfig_Defaults_Custom_ThresholdsStyle) MarshalJSON

type PanelDashboardListDataSourceModel_FieldConfig_Defaults_Mappings

type PanelDashboardListDataSourceModel_FieldConfig_Defaults_Mappings struct {
	ValueMap        *PanelDashboardListDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap        `tfsdk:"value_map"`
	RangeMap        *PanelDashboardListDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap        `tfsdk:"range_map"`
	RegexMap        *PanelDashboardListDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap        `tfsdk:"regex_map"`
	SpecialValueMap *PanelDashboardListDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap `tfsdk:"special_value_map"`
}

func (PanelDashboardListDataSourceModel_FieldConfig_Defaults_Mappings) ApplyDefaults

func (PanelDashboardListDataSourceModel_FieldConfig_Defaults_Mappings) MarshalJSON

type PanelDashboardListDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap

type PanelDashboardListDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap struct {
	Type    types.String                                                                      `tfsdk:"type"`
	Options *PanelDashboardListDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options `tfsdk:"options"`
}

func (PanelDashboardListDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap) ApplyDefaults

func (PanelDashboardListDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap) MarshalJSON

type PanelDashboardListDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options

type PanelDashboardListDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options struct {
	From   types.String                                                                             `tfsdk:"from"`
	To     types.String                                                                             `tfsdk:"to"`
	Result *PanelDashboardListDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options_Result `tfsdk:"result"`
}

func (PanelDashboardListDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options) ApplyDefaults

func (PanelDashboardListDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options) GetAttrFrom added in v0.2.0

func (PanelDashboardListDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options) GetAttrTo added in v0.2.0

func (PanelDashboardListDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options) MarshalJSON

type PanelDashboardListDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options_Result

type PanelDashboardListDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options_Result struct {
	Text  types.String `tfsdk:"text"`
	Color types.String `tfsdk:"color"`
	Icon  types.String `tfsdk:"icon"`
	Index types.Int64  `tfsdk:"index"`
}

func (PanelDashboardListDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options_Result) MarshalJSON

type PanelDashboardListDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap

type PanelDashboardListDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap struct {
	Type    types.String                                                                      `tfsdk:"type"`
	Options *PanelDashboardListDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options `tfsdk:"options"`
}

func (PanelDashboardListDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap) ApplyDefaults

func (PanelDashboardListDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap) MarshalJSON

type PanelDashboardListDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options

type PanelDashboardListDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options struct {
	Pattern types.String                                                                             `tfsdk:"pattern"`
	Result  *PanelDashboardListDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options_Result `tfsdk:"result"`
}

func (PanelDashboardListDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options) ApplyDefaults

func (PanelDashboardListDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options) MarshalJSON

type PanelDashboardListDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options_Result

type PanelDashboardListDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options_Result struct {
	Text  types.String `tfsdk:"text"`
	Color types.String `tfsdk:"color"`
	Icon  types.String `tfsdk:"icon"`
	Index types.Int64  `tfsdk:"index"`
}

func (PanelDashboardListDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options_Result) MarshalJSON

type PanelDashboardListDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap

type PanelDashboardListDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap struct {
	Type    types.String                                                                             `tfsdk:"type"`
	Options *PanelDashboardListDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options `tfsdk:"options"`
}

func (PanelDashboardListDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap) ApplyDefaults

func (PanelDashboardListDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap) MarshalJSON

type PanelDashboardListDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options

type PanelDashboardListDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options struct {
	Match  types.String                                                                                    `tfsdk:"match"`
	Result *PanelDashboardListDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options_Result `tfsdk:"result"`
}

func (PanelDashboardListDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options) MarshalJSON

type PanelDashboardListDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options_Result

type PanelDashboardListDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options_Result struct {
	Text  types.String `tfsdk:"text"`
	Color types.String `tfsdk:"color"`
	Icon  types.String `tfsdk:"icon"`
	Index types.Int64  `tfsdk:"index"`
}

func (PanelDashboardListDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options_Result) MarshalJSON

type PanelDashboardListDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap

type PanelDashboardListDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap struct {
	Type    types.String                                                                                 `tfsdk:"type"`
	Options *map[string]PanelDashboardListDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap_Options `tfsdk:"options"`
}

func (PanelDashboardListDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap) ApplyDefaults

func (PanelDashboardListDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap) MarshalJSON

type PanelDashboardListDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap_Options

type PanelDashboardListDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap_Options struct {
	Text  types.String `tfsdk:"text"`
	Color types.String `tfsdk:"color"`
	Icon  types.String `tfsdk:"icon"`
	Index types.Int64  `tfsdk:"index"`
}

func (PanelDashboardListDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap_Options) ApplyDefaults

func (PanelDashboardListDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap_Options) MarshalJSON

type PanelDashboardListDataSourceModel_FieldConfig_Defaults_Thresholds

type PanelDashboardListDataSourceModel_FieldConfig_Defaults_Thresholds struct {
	Mode  types.String                                                              `tfsdk:"mode"`
	Steps []PanelDashboardListDataSourceModel_FieldConfig_Defaults_Thresholds_Steps `tfsdk:"steps"`
}

func (PanelDashboardListDataSourceModel_FieldConfig_Defaults_Thresholds) ApplyDefaults

func (PanelDashboardListDataSourceModel_FieldConfig_Defaults_Thresholds) MarshalJSON

type PanelDashboardListDataSourceModel_FieldConfig_Defaults_Thresholds_Steps

type PanelDashboardListDataSourceModel_FieldConfig_Defaults_Thresholds_Steps struct {
	Value types.String `tfsdk:"value"`
	Color types.String `tfsdk:"color"`
}

func (PanelDashboardListDataSourceModel_FieldConfig_Defaults_Thresholds_Steps) ApplyDefaults

func (PanelDashboardListDataSourceModel_FieldConfig_Defaults_Thresholds_Steps) GetAttrValue added in v0.2.0

func (PanelDashboardListDataSourceModel_FieldConfig_Defaults_Thresholds_Steps) MarshalJSON

type PanelDashboardListDataSourceModel_FieldConfig_Overrides

type PanelDashboardListDataSourceModel_FieldConfig_Overrides struct {
	Matcher    *PanelDashboardListDataSourceModel_FieldConfig_Overrides_Matcher     `tfsdk:"matcher"`
	Properties []PanelDashboardListDataSourceModel_FieldConfig_Overrides_Properties `tfsdk:"properties"`
}

func (PanelDashboardListDataSourceModel_FieldConfig_Overrides) ApplyDefaults

func (PanelDashboardListDataSourceModel_FieldConfig_Overrides) MarshalJSON

type PanelDashboardListDataSourceModel_FieldConfig_Overrides_Matcher

type PanelDashboardListDataSourceModel_FieldConfig_Overrides_Matcher struct {
}

func (PanelDashboardListDataSourceModel_FieldConfig_Overrides_Matcher) ApplyDefaults

func (PanelDashboardListDataSourceModel_FieldConfig_Overrides_Matcher) MarshalJSON

type PanelDashboardListDataSourceModel_FieldConfig_Overrides_Properties

type PanelDashboardListDataSourceModel_FieldConfig_Overrides_Properties struct {
}

func (PanelDashboardListDataSourceModel_FieldConfig_Overrides_Properties) ApplyDefaults

func (PanelDashboardListDataSourceModel_FieldConfig_Overrides_Properties) MarshalJSON

type PanelDashboardListDataSourceModel_GridPos

type PanelDashboardListDataSourceModel_GridPos struct {
	H      types.Int64 `tfsdk:"h"`
	W      types.Int64 `tfsdk:"w"`
	X      types.Int64 `tfsdk:"x"`
	Y      types.Int64 `tfsdk:"y"`
	Static types.Bool  `tfsdk:"static"`
}

func (PanelDashboardListDataSourceModel_GridPos) ApplyDefaults

func (PanelDashboardListDataSourceModel_GridPos) MarshalJSON

type PanelDashboardListDataSourceModel_LibraryPanel

type PanelDashboardListDataSourceModel_LibraryPanel struct {
	Name types.String `tfsdk:"name"`
	Uid  types.String `tfsdk:"uid"`
}

func (PanelDashboardListDataSourceModel_LibraryPanel) ApplyDefaults

func (PanelDashboardListDataSourceModel_LibraryPanel) MarshalJSON

type PanelDashboardListDataSourceModel_Links struct {
	Title       types.String `tfsdk:"title"`
	Type        types.String `tfsdk:"type"`
	Icon        types.String `tfsdk:"icon"`
	Tooltip     types.String `tfsdk:"tooltip"`
	Url         types.String `tfsdk:"url"`
	Tags        types.List   `tfsdk:"tags"`
	AsDropdown  types.Bool   `tfsdk:"as_dropdown"`
	TargetBlank types.Bool   `tfsdk:"target_blank"`
	IncludeVars types.Bool   `tfsdk:"include_vars"`
	KeepTime    types.Bool   `tfsdk:"keep_time"`
}

func (PanelDashboardListDataSourceModel_Links) ApplyDefaults

func (PanelDashboardListDataSourceModel_Links) MarshalJSON

func (m PanelDashboardListDataSourceModel_Links) MarshalJSON() ([]byte, error)

type PanelDashboardListDataSourceModel_Options

type PanelDashboardListDataSourceModel_Options struct {
	KeepTime           types.Bool   `tfsdk:"keep_time"`
	IncludeVars        types.Bool   `tfsdk:"include_vars"`
	ShowStarred        types.Bool   `tfsdk:"show_starred"`
	ShowRecentlyViewed types.Bool   `tfsdk:"show_recently_viewed"`
	ShowSearch         types.Bool   `tfsdk:"show_search"`
	ShowHeadings       types.Bool   `tfsdk:"show_headings"`
	MaxItems           types.Int64  `tfsdk:"max_items"`
	Query              types.String `tfsdk:"query"`
	FolderId           types.Int64  `tfsdk:"folder_id"`
	Tags               types.List   `tfsdk:"tags"`
}

func (PanelDashboardListDataSourceModel_Options) ApplyDefaults

func (PanelDashboardListDataSourceModel_Options) MarshalJSON

type PanelDashboardListDataSourceModel_Transformations

type PanelDashboardListDataSourceModel_Transformations struct {
	Disabled types.Bool                                                `tfsdk:"disabled"`
	Filter   *PanelDashboardListDataSourceModel_Transformations_Filter `tfsdk:"filter"`
}

func (PanelDashboardListDataSourceModel_Transformations) ApplyDefaults

func (PanelDashboardListDataSourceModel_Transformations) MarshalJSON

type PanelDashboardListDataSourceModel_Transformations_Filter

type PanelDashboardListDataSourceModel_Transformations_Filter struct {
}

func (PanelDashboardListDataSourceModel_Transformations_Filter) ApplyDefaults

func (PanelDashboardListDataSourceModel_Transformations_Filter) MarshalJSON

type PanelDatagridDataSource

type PanelDatagridDataSource struct{}

PanelDatagridDataSource defines the data source implementation.

func (*PanelDatagridDataSource) Configure

func (*PanelDatagridDataSource) Metadata

func (*PanelDatagridDataSource) Read

func (*PanelDatagridDataSource) Schema

type PanelDatagridDataSourceModel

type PanelDatagridDataSourceModel struct {
	RenderedJSON    types.String                                   `tfsdk:"rendered_json"`
	Type            types.String                                   `tfsdk:"type"`
	PluginVersion   types.String                                   `tfsdk:"plugin_version"`
	Tags            types.List                                     `tfsdk:"tags"`
	Targets         types.List                                     `tfsdk:"targets"`
	Title           types.String                                   `tfsdk:"title"`
	Description     types.String                                   `tfsdk:"description"`
	Transparent     types.Bool                                     `tfsdk:"transparent"`
	Datasource      *PanelDatagridDataSourceModel_Datasource       `tfsdk:"datasource"`
	GridPos         *PanelDatagridDataSourceModel_GridPos          `tfsdk:"grid_pos"`
	Links           []PanelDatagridDataSourceModel_Links           `tfsdk:"links"`
	Repeat          types.String                                   `tfsdk:"repeat"`
	RepeatDirection types.String                                   `tfsdk:"repeat_direction"`
	RepeatPanelId   types.Int64                                    `tfsdk:"repeat_panel_id"`
	MaxDataPoints   types.Float64                                  `tfsdk:"max_data_points"`
	Transformations []PanelDatagridDataSourceModel_Transformations `tfsdk:"transformations"`
	Interval        types.String                                   `tfsdk:"interval"`
	TimeFrom        types.String                                   `tfsdk:"time_from"`
	TimeShift       types.String                                   `tfsdk:"time_shift"`
	LibraryPanel    *PanelDatagridDataSourceModel_LibraryPanel     `tfsdk:"library_panel"`
	Options         *PanelDatagridDataSourceModel_Options          `tfsdk:"options"`
	FieldConfig     *PanelDatagridDataSourceModel_FieldConfig      `tfsdk:"field_config"`
}

func (PanelDatagridDataSourceModel) ApplyDefaults

func (PanelDatagridDataSourceModel) MarshalJSON

func (m PanelDatagridDataSourceModel) MarshalJSON() ([]byte, error)

type PanelDatagridDataSourceModel_Datasource

type PanelDatagridDataSourceModel_Datasource struct {
	Type types.String `tfsdk:"type"`
	Uid  types.String `tfsdk:"uid"`
}

func (PanelDatagridDataSourceModel_Datasource) ApplyDefaults

func (PanelDatagridDataSourceModel_Datasource) MarshalJSON

func (m PanelDatagridDataSourceModel_Datasource) MarshalJSON() ([]byte, error)

type PanelDatagridDataSourceModel_FieldConfig

type PanelDatagridDataSourceModel_FieldConfig struct {
	Defaults  *PanelDatagridDataSourceModel_FieldConfig_Defaults   `tfsdk:"defaults"`
	Overrides []PanelDatagridDataSourceModel_FieldConfig_Overrides `tfsdk:"overrides"`
}

func (PanelDatagridDataSourceModel_FieldConfig) ApplyDefaults

func (PanelDatagridDataSourceModel_FieldConfig) MarshalJSON

type PanelDatagridDataSourceModel_FieldConfig_Defaults

type PanelDatagridDataSourceModel_FieldConfig_Defaults struct {
	DisplayName       types.String                                                  `tfsdk:"display_name"`
	DisplayNameFromDS types.String                                                  `tfsdk:"display_name_from_ds"`
	Description       types.String                                                  `tfsdk:"description"`
	Path              types.String                                                  `tfsdk:"path"`
	Writeable         types.Bool                                                    `tfsdk:"writeable"`
	Filterable        types.Bool                                                    `tfsdk:"filterable"`
	Unit              types.String                                                  `tfsdk:"unit"`
	Decimals          types.Float64                                                 `tfsdk:"decimals"`
	Min               types.Float64                                                 `tfsdk:"min"`
	Max               types.Float64                                                 `tfsdk:"max"`
	Mappings          []PanelDatagridDataSourceModel_FieldConfig_Defaults_Mappings  `tfsdk:"mappings"`
	Thresholds        *PanelDatagridDataSourceModel_FieldConfig_Defaults_Thresholds `tfsdk:"thresholds"`
	Color             *PanelDatagridDataSourceModel_FieldConfig_Defaults_Color      `tfsdk:"color"`
	NoValue           types.String                                                  `tfsdk:"no_value"`
	Custom            *PanelDatagridDataSourceModel_FieldConfig_Defaults_Custom     `tfsdk:"custom"`
}

func (PanelDatagridDataSourceModel_FieldConfig_Defaults) ApplyDefaults

func (PanelDatagridDataSourceModel_FieldConfig_Defaults) MarshalJSON

type PanelDatagridDataSourceModel_FieldConfig_Defaults_Color

type PanelDatagridDataSourceModel_FieldConfig_Defaults_Color struct {
	Mode       types.String `tfsdk:"mode"`
	FixedColor types.String `tfsdk:"fixed_color"`
	SeriesBy   types.String `tfsdk:"series_by"`
}

func (PanelDatagridDataSourceModel_FieldConfig_Defaults_Color) ApplyDefaults

func (PanelDatagridDataSourceModel_FieldConfig_Defaults_Color) MarshalJSON

type PanelDatagridDataSourceModel_FieldConfig_Defaults_Custom

type PanelDatagridDataSourceModel_FieldConfig_Defaults_Custom struct {
	DrawStyle         types.String                                                                `tfsdk:"draw_style"`
	GradientMode      types.String                                                                `tfsdk:"gradient_mode"`
	ThresholdsStyle   *PanelDatagridDataSourceModel_FieldConfig_Defaults_Custom_ThresholdsStyle   `tfsdk:"thresholds_style"`
	LineColor         types.String                                                                `tfsdk:"line_color"`
	LineWidth         types.Float64                                                               `tfsdk:"line_width"`
	LineInterpolation types.String                                                                `tfsdk:"line_interpolation"`
	LineStyle         *PanelDatagridDataSourceModel_FieldConfig_Defaults_Custom_LineStyle         `tfsdk:"line_style"`
	FillColor         types.String                                                                `tfsdk:"fill_color"`
	FillOpacity       types.Float64                                                               `tfsdk:"fill_opacity"`
	ShowPoints        types.String                                                                `tfsdk:"show_points"`
	PointSize         types.Float64                                                               `tfsdk:"point_size"`
	PointColor        types.String                                                                `tfsdk:"point_color"`
	AxisPlacement     types.String                                                                `tfsdk:"axis_placement"`
	AxisColorMode     types.String                                                                `tfsdk:"axis_color_mode"`
	AxisLabel         types.String                                                                `tfsdk:"axis_label"`
	AxisWidth         types.Float64                                                               `tfsdk:"axis_width"`
	AxisSoftMin       types.Float64                                                               `tfsdk:"axis_soft_min"`
	AxisSoftMax       types.Float64                                                               `tfsdk:"axis_soft_max"`
	AxisGridShow      types.Bool                                                                  `tfsdk:"axis_grid_show"`
	ScaleDistribution *PanelDatagridDataSourceModel_FieldConfig_Defaults_Custom_ScaleDistribution `tfsdk:"scale_distribution"`
	BarAlignment      types.Int64                                                                 `tfsdk:"bar_alignment"`
	BarWidthFactor    types.Float64                                                               `tfsdk:"bar_width_factor"`
	Stacking          *PanelDatagridDataSourceModel_FieldConfig_Defaults_Custom_Stacking          `tfsdk:"stacking"`
	HideFrom          *PanelDatagridDataSourceModel_FieldConfig_Defaults_Custom_HideFrom          `tfsdk:"hide_from"`
	Transform         types.String                                                                `tfsdk:"transform"`
	SpanNulls         types.String                                                                `tfsdk:"span_nulls"`
	FillBelowTo       types.String                                                                `tfsdk:"fill_below_to"`
	PointSymbol       types.String                                                                `tfsdk:"point_symbol"`
	AxisCenteredZero  types.Bool                                                                  `tfsdk:"axis_centered_zero"`
	BarMaxWidth       types.Float64                                                               `tfsdk:"bar_max_width"`
}

func (PanelDatagridDataSourceModel_FieldConfig_Defaults_Custom) ApplyDefaults

func (PanelDatagridDataSourceModel_FieldConfig_Defaults_Custom) GetAttrSpanNulls added in v0.2.0

func (m PanelDatagridDataSourceModel_FieldConfig_Defaults_Custom) GetAttrSpanNulls() interface{}

func (PanelDatagridDataSourceModel_FieldConfig_Defaults_Custom) MarshalJSON

type PanelDatagridDataSourceModel_FieldConfig_Defaults_Custom_HideFrom

type PanelDatagridDataSourceModel_FieldConfig_Defaults_Custom_HideFrom struct {
	Tooltip types.Bool `tfsdk:"tooltip"`
	Legend  types.Bool `tfsdk:"legend"`
	Viz     types.Bool `tfsdk:"viz"`
}

func (PanelDatagridDataSourceModel_FieldConfig_Defaults_Custom_HideFrom) ApplyDefaults

func (PanelDatagridDataSourceModel_FieldConfig_Defaults_Custom_HideFrom) MarshalJSON

type PanelDatagridDataSourceModel_FieldConfig_Defaults_Custom_LineStyle added in v0.2.0

type PanelDatagridDataSourceModel_FieldConfig_Defaults_Custom_LineStyle struct {
	Fill types.String `tfsdk:"fill"`
	Dash types.List   `tfsdk:"dash"`
}

func (PanelDatagridDataSourceModel_FieldConfig_Defaults_Custom_LineStyle) ApplyDefaults added in v0.2.0

func (PanelDatagridDataSourceModel_FieldConfig_Defaults_Custom_LineStyle) MarshalJSON added in v0.2.0

type PanelDatagridDataSourceModel_FieldConfig_Defaults_Custom_ScaleDistribution

type PanelDatagridDataSourceModel_FieldConfig_Defaults_Custom_ScaleDistribution struct {
	Type            types.String  `tfsdk:"type"`
	Log             types.Float64 `tfsdk:"log"`
	LinearThreshold types.Float64 `tfsdk:"linear_threshold"`
}

func (PanelDatagridDataSourceModel_FieldConfig_Defaults_Custom_ScaleDistribution) ApplyDefaults

func (PanelDatagridDataSourceModel_FieldConfig_Defaults_Custom_ScaleDistribution) MarshalJSON

type PanelDatagridDataSourceModel_FieldConfig_Defaults_Custom_Stacking added in v0.2.0

type PanelDatagridDataSourceModel_FieldConfig_Defaults_Custom_Stacking struct {
	Mode  types.String `tfsdk:"mode"`
	Group types.String `tfsdk:"group"`
}

func (PanelDatagridDataSourceModel_FieldConfig_Defaults_Custom_Stacking) ApplyDefaults added in v0.2.0

func (PanelDatagridDataSourceModel_FieldConfig_Defaults_Custom_Stacking) MarshalJSON added in v0.2.0

type PanelDatagridDataSourceModel_FieldConfig_Defaults_Custom_ThresholdsStyle

type PanelDatagridDataSourceModel_FieldConfig_Defaults_Custom_ThresholdsStyle struct {
	Mode types.String `tfsdk:"mode"`
}

func (PanelDatagridDataSourceModel_FieldConfig_Defaults_Custom_ThresholdsStyle) ApplyDefaults

func (PanelDatagridDataSourceModel_FieldConfig_Defaults_Custom_ThresholdsStyle) MarshalJSON

type PanelDatagridDataSourceModel_FieldConfig_Defaults_Mappings

type PanelDatagridDataSourceModel_FieldConfig_Defaults_Mappings struct {
	ValueMap        *PanelDatagridDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap        `tfsdk:"value_map"`
	RangeMap        *PanelDatagridDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap        `tfsdk:"range_map"`
	RegexMap        *PanelDatagridDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap        `tfsdk:"regex_map"`
	SpecialValueMap *PanelDatagridDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap `tfsdk:"special_value_map"`
}

func (PanelDatagridDataSourceModel_FieldConfig_Defaults_Mappings) ApplyDefaults

func (PanelDatagridDataSourceModel_FieldConfig_Defaults_Mappings) MarshalJSON

type PanelDatagridDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap

type PanelDatagridDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap struct {
	Type    types.String                                                                 `tfsdk:"type"`
	Options *PanelDatagridDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options `tfsdk:"options"`
}

func (PanelDatagridDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap) ApplyDefaults

func (PanelDatagridDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap) MarshalJSON

type PanelDatagridDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options

type PanelDatagridDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options struct {
	From   types.String                                                                        `tfsdk:"from"`
	To     types.String                                                                        `tfsdk:"to"`
	Result *PanelDatagridDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options_Result `tfsdk:"result"`
}

func (PanelDatagridDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options) ApplyDefaults

func (PanelDatagridDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options) GetAttrFrom added in v0.2.0

func (PanelDatagridDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options) GetAttrTo added in v0.2.0

func (PanelDatagridDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options) MarshalJSON

type PanelDatagridDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options_Result

type PanelDatagridDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options_Result struct {
	Text  types.String `tfsdk:"text"`
	Color types.String `tfsdk:"color"`
	Icon  types.String `tfsdk:"icon"`
	Index types.Int64  `tfsdk:"index"`
}

func (PanelDatagridDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options_Result) ApplyDefaults

func (PanelDatagridDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options_Result) MarshalJSON

type PanelDatagridDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap

type PanelDatagridDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap struct {
	Type    types.String                                                                 `tfsdk:"type"`
	Options *PanelDatagridDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options `tfsdk:"options"`
}

func (PanelDatagridDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap) ApplyDefaults

func (PanelDatagridDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap) MarshalJSON

type PanelDatagridDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options

type PanelDatagridDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options struct {
	Pattern types.String                                                                        `tfsdk:"pattern"`
	Result  *PanelDatagridDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options_Result `tfsdk:"result"`
}

func (PanelDatagridDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options) ApplyDefaults

func (PanelDatagridDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options) MarshalJSON

type PanelDatagridDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options_Result

type PanelDatagridDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options_Result struct {
	Text  types.String `tfsdk:"text"`
	Color types.String `tfsdk:"color"`
	Icon  types.String `tfsdk:"icon"`
	Index types.Int64  `tfsdk:"index"`
}

func (PanelDatagridDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options_Result) ApplyDefaults

func (PanelDatagridDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options_Result) MarshalJSON

type PanelDatagridDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap

type PanelDatagridDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap struct {
	Type    types.String                                                                        `tfsdk:"type"`
	Options *PanelDatagridDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options `tfsdk:"options"`
}

func (PanelDatagridDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap) ApplyDefaults

func (PanelDatagridDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap) MarshalJSON

type PanelDatagridDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options

type PanelDatagridDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options struct {
	Match  types.String                                                                               `tfsdk:"match"`
	Result *PanelDatagridDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options_Result `tfsdk:"result"`
}

func (PanelDatagridDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options) ApplyDefaults

func (PanelDatagridDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options) MarshalJSON

type PanelDatagridDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options_Result

type PanelDatagridDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options_Result struct {
	Text  types.String `tfsdk:"text"`
	Color types.String `tfsdk:"color"`
	Icon  types.String `tfsdk:"icon"`
	Index types.Int64  `tfsdk:"index"`
}

func (PanelDatagridDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options_Result) MarshalJSON

type PanelDatagridDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap

type PanelDatagridDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap struct {
	Type    types.String                                                                            `tfsdk:"type"`
	Options *map[string]PanelDatagridDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap_Options `tfsdk:"options"`
}

func (PanelDatagridDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap) ApplyDefaults

func (PanelDatagridDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap) MarshalJSON

type PanelDatagridDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap_Options

type PanelDatagridDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap_Options struct {
	Text  types.String `tfsdk:"text"`
	Color types.String `tfsdk:"color"`
	Icon  types.String `tfsdk:"icon"`
	Index types.Int64  `tfsdk:"index"`
}

func (PanelDatagridDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap_Options) ApplyDefaults

func (PanelDatagridDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap_Options) MarshalJSON

type PanelDatagridDataSourceModel_FieldConfig_Defaults_Thresholds

type PanelDatagridDataSourceModel_FieldConfig_Defaults_Thresholds struct {
	Mode  types.String                                                         `tfsdk:"mode"`
	Steps []PanelDatagridDataSourceModel_FieldConfig_Defaults_Thresholds_Steps `tfsdk:"steps"`
}

func (PanelDatagridDataSourceModel_FieldConfig_Defaults_Thresholds) ApplyDefaults

func (PanelDatagridDataSourceModel_FieldConfig_Defaults_Thresholds) MarshalJSON

type PanelDatagridDataSourceModel_FieldConfig_Defaults_Thresholds_Steps

type PanelDatagridDataSourceModel_FieldConfig_Defaults_Thresholds_Steps struct {
	Value types.String `tfsdk:"value"`
	Color types.String `tfsdk:"color"`
}

func (PanelDatagridDataSourceModel_FieldConfig_Defaults_Thresholds_Steps) ApplyDefaults

func (PanelDatagridDataSourceModel_FieldConfig_Defaults_Thresholds_Steps) GetAttrValue added in v0.2.0

func (PanelDatagridDataSourceModel_FieldConfig_Defaults_Thresholds_Steps) MarshalJSON

type PanelDatagridDataSourceModel_FieldConfig_Overrides

type PanelDatagridDataSourceModel_FieldConfig_Overrides struct {
	Matcher    *PanelDatagridDataSourceModel_FieldConfig_Overrides_Matcher     `tfsdk:"matcher"`
	Properties []PanelDatagridDataSourceModel_FieldConfig_Overrides_Properties `tfsdk:"properties"`
}

func (PanelDatagridDataSourceModel_FieldConfig_Overrides) ApplyDefaults

func (PanelDatagridDataSourceModel_FieldConfig_Overrides) MarshalJSON

type PanelDatagridDataSourceModel_FieldConfig_Overrides_Matcher

type PanelDatagridDataSourceModel_FieldConfig_Overrides_Matcher struct {
}

func (PanelDatagridDataSourceModel_FieldConfig_Overrides_Matcher) ApplyDefaults

func (PanelDatagridDataSourceModel_FieldConfig_Overrides_Matcher) MarshalJSON

type PanelDatagridDataSourceModel_FieldConfig_Overrides_Properties

type PanelDatagridDataSourceModel_FieldConfig_Overrides_Properties struct {
}

func (PanelDatagridDataSourceModel_FieldConfig_Overrides_Properties) ApplyDefaults

func (PanelDatagridDataSourceModel_FieldConfig_Overrides_Properties) MarshalJSON

type PanelDatagridDataSourceModel_GridPos

type PanelDatagridDataSourceModel_GridPos struct {
	H      types.Int64 `tfsdk:"h"`
	W      types.Int64 `tfsdk:"w"`
	X      types.Int64 `tfsdk:"x"`
	Y      types.Int64 `tfsdk:"y"`
	Static types.Bool  `tfsdk:"static"`
}

func (PanelDatagridDataSourceModel_GridPos) ApplyDefaults

func (PanelDatagridDataSourceModel_GridPos) MarshalJSON

func (m PanelDatagridDataSourceModel_GridPos) MarshalJSON() ([]byte, error)

type PanelDatagridDataSourceModel_LibraryPanel

type PanelDatagridDataSourceModel_LibraryPanel struct {
	Name types.String `tfsdk:"name"`
	Uid  types.String `tfsdk:"uid"`
}

func (PanelDatagridDataSourceModel_LibraryPanel) ApplyDefaults

func (PanelDatagridDataSourceModel_LibraryPanel) MarshalJSON

type PanelDatagridDataSourceModel_Links struct {
	Title       types.String `tfsdk:"title"`
	Type        types.String `tfsdk:"type"`
	Icon        types.String `tfsdk:"icon"`
	Tooltip     types.String `tfsdk:"tooltip"`
	Url         types.String `tfsdk:"url"`
	Tags        types.List   `tfsdk:"tags"`
	AsDropdown  types.Bool   `tfsdk:"as_dropdown"`
	TargetBlank types.Bool   `tfsdk:"target_blank"`
	IncludeVars types.Bool   `tfsdk:"include_vars"`
	KeepTime    types.Bool   `tfsdk:"keep_time"`
}

func (PanelDatagridDataSourceModel_Links) ApplyDefaults

func (PanelDatagridDataSourceModel_Links) MarshalJSON

func (m PanelDatagridDataSourceModel_Links) MarshalJSON() ([]byte, error)

type PanelDatagridDataSourceModel_Options

type PanelDatagridDataSourceModel_Options struct {
	SelectedSeries types.Int64 `tfsdk:"selected_series"`
}

func (PanelDatagridDataSourceModel_Options) ApplyDefaults

func (PanelDatagridDataSourceModel_Options) MarshalJSON

func (m PanelDatagridDataSourceModel_Options) MarshalJSON() ([]byte, error)

type PanelDatagridDataSourceModel_Transformations

type PanelDatagridDataSourceModel_Transformations struct {
	Disabled types.Bool                                           `tfsdk:"disabled"`
	Filter   *PanelDatagridDataSourceModel_Transformations_Filter `tfsdk:"filter"`
}

func (PanelDatagridDataSourceModel_Transformations) ApplyDefaults

func (PanelDatagridDataSourceModel_Transformations) MarshalJSON

type PanelDatagridDataSourceModel_Transformations_Filter

type PanelDatagridDataSourceModel_Transformations_Filter struct {
}

func (PanelDatagridDataSourceModel_Transformations_Filter) ApplyDefaults

func (PanelDatagridDataSourceModel_Transformations_Filter) MarshalJSON

type PanelDebugDataSource

type PanelDebugDataSource struct{}

PanelDebugDataSource defines the data source implementation.

func (*PanelDebugDataSource) Configure

func (*PanelDebugDataSource) Metadata

func (*PanelDebugDataSource) Read

func (*PanelDebugDataSource) Schema

type PanelDebugDataSourceModel

type PanelDebugDataSourceModel struct {
	RenderedJSON    types.String                                `tfsdk:"rendered_json"`
	Type            types.String                                `tfsdk:"type"`
	PluginVersion   types.String                                `tfsdk:"plugin_version"`
	Tags            types.List                                  `tfsdk:"tags"`
	Targets         types.List                                  `tfsdk:"targets"`
	Title           types.String                                `tfsdk:"title"`
	Description     types.String                                `tfsdk:"description"`
	Transparent     types.Bool                                  `tfsdk:"transparent"`
	Datasource      *PanelDebugDataSourceModel_Datasource       `tfsdk:"datasource"`
	GridPos         *PanelDebugDataSourceModel_GridPos          `tfsdk:"grid_pos"`
	Links           []PanelDebugDataSourceModel_Links           `tfsdk:"links"`
	Repeat          types.String                                `tfsdk:"repeat"`
	RepeatDirection types.String                                `tfsdk:"repeat_direction"`
	RepeatPanelId   types.Int64                                 `tfsdk:"repeat_panel_id"`
	MaxDataPoints   types.Float64                               `tfsdk:"max_data_points"`
	Transformations []PanelDebugDataSourceModel_Transformations `tfsdk:"transformations"`
	Interval        types.String                                `tfsdk:"interval"`
	TimeFrom        types.String                                `tfsdk:"time_from"`
	TimeShift       types.String                                `tfsdk:"time_shift"`
	LibraryPanel    *PanelDebugDataSourceModel_LibraryPanel     `tfsdk:"library_panel"`
	Options         *PanelDebugDataSourceModel_Options          `tfsdk:"options"`
	FieldConfig     *PanelDebugDataSourceModel_FieldConfig      `tfsdk:"field_config"`
}

func (PanelDebugDataSourceModel) ApplyDefaults

func (PanelDebugDataSourceModel) MarshalJSON

func (m PanelDebugDataSourceModel) MarshalJSON() ([]byte, error)

type PanelDebugDataSourceModel_Datasource

type PanelDebugDataSourceModel_Datasource struct {
	Type types.String `tfsdk:"type"`
	Uid  types.String `tfsdk:"uid"`
}

func (PanelDebugDataSourceModel_Datasource) ApplyDefaults

func (PanelDebugDataSourceModel_Datasource) MarshalJSON

func (m PanelDebugDataSourceModel_Datasource) MarshalJSON() ([]byte, error)

type PanelDebugDataSourceModel_FieldConfig

type PanelDebugDataSourceModel_FieldConfig struct {
	Defaults  *PanelDebugDataSourceModel_FieldConfig_Defaults   `tfsdk:"defaults"`
	Overrides []PanelDebugDataSourceModel_FieldConfig_Overrides `tfsdk:"overrides"`
}

func (PanelDebugDataSourceModel_FieldConfig) ApplyDefaults

func (PanelDebugDataSourceModel_FieldConfig) MarshalJSON

func (m PanelDebugDataSourceModel_FieldConfig) MarshalJSON() ([]byte, error)

type PanelDebugDataSourceModel_FieldConfig_Defaults

type PanelDebugDataSourceModel_FieldConfig_Defaults struct {
	DisplayName       types.String                                               `tfsdk:"display_name"`
	DisplayNameFromDS types.String                                               `tfsdk:"display_name_from_ds"`
	Description       types.String                                               `tfsdk:"description"`
	Path              types.String                                               `tfsdk:"path"`
	Writeable         types.Bool                                                 `tfsdk:"writeable"`
	Filterable        types.Bool                                                 `tfsdk:"filterable"`
	Unit              types.String                                               `tfsdk:"unit"`
	Decimals          types.Float64                                              `tfsdk:"decimals"`
	Min               types.Float64                                              `tfsdk:"min"`
	Max               types.Float64                                              `tfsdk:"max"`
	Mappings          []PanelDebugDataSourceModel_FieldConfig_Defaults_Mappings  `tfsdk:"mappings"`
	Thresholds        *PanelDebugDataSourceModel_FieldConfig_Defaults_Thresholds `tfsdk:"thresholds"`
	Color             *PanelDebugDataSourceModel_FieldConfig_Defaults_Color      `tfsdk:"color"`
	NoValue           types.String                                               `tfsdk:"no_value"`
	Custom            *PanelDebugDataSourceModel_FieldConfig_Defaults_Custom     `tfsdk:"custom"`
}

func (PanelDebugDataSourceModel_FieldConfig_Defaults) ApplyDefaults

func (PanelDebugDataSourceModel_FieldConfig_Defaults) MarshalJSON

type PanelDebugDataSourceModel_FieldConfig_Defaults_Color

type PanelDebugDataSourceModel_FieldConfig_Defaults_Color struct {
	Mode       types.String `tfsdk:"mode"`
	FixedColor types.String `tfsdk:"fixed_color"`
	SeriesBy   types.String `tfsdk:"series_by"`
}

func (PanelDebugDataSourceModel_FieldConfig_Defaults_Color) ApplyDefaults

func (PanelDebugDataSourceModel_FieldConfig_Defaults_Color) MarshalJSON

type PanelDebugDataSourceModel_FieldConfig_Defaults_Custom

type PanelDebugDataSourceModel_FieldConfig_Defaults_Custom struct {
	DrawStyle         types.String                                                             `tfsdk:"draw_style"`
	GradientMode      types.String                                                             `tfsdk:"gradient_mode"`
	ThresholdsStyle   *PanelDebugDataSourceModel_FieldConfig_Defaults_Custom_ThresholdsStyle   `tfsdk:"thresholds_style"`
	LineColor         types.String                                                             `tfsdk:"line_color"`
	LineWidth         types.Float64                                                            `tfsdk:"line_width"`
	LineInterpolation types.String                                                             `tfsdk:"line_interpolation"`
	LineStyle         *PanelDebugDataSourceModel_FieldConfig_Defaults_Custom_LineStyle         `tfsdk:"line_style"`
	FillColor         types.String                                                             `tfsdk:"fill_color"`
	FillOpacity       types.Float64                                                            `tfsdk:"fill_opacity"`
	ShowPoints        types.String                                                             `tfsdk:"show_points"`
	PointSize         types.Float64                                                            `tfsdk:"point_size"`
	PointColor        types.String                                                             `tfsdk:"point_color"`
	AxisPlacement     types.String                                                             `tfsdk:"axis_placement"`
	AxisColorMode     types.String                                                             `tfsdk:"axis_color_mode"`
	AxisLabel         types.String                                                             `tfsdk:"axis_label"`
	AxisWidth         types.Float64                                                            `tfsdk:"axis_width"`
	AxisSoftMin       types.Float64                                                            `tfsdk:"axis_soft_min"`
	AxisSoftMax       types.Float64                                                            `tfsdk:"axis_soft_max"`
	AxisGridShow      types.Bool                                                               `tfsdk:"axis_grid_show"`
	ScaleDistribution *PanelDebugDataSourceModel_FieldConfig_Defaults_Custom_ScaleDistribution `tfsdk:"scale_distribution"`
	BarAlignment      types.Int64                                                              `tfsdk:"bar_alignment"`
	BarWidthFactor    types.Float64                                                            `tfsdk:"bar_width_factor"`
	Stacking          *PanelDebugDataSourceModel_FieldConfig_Defaults_Custom_Stacking          `tfsdk:"stacking"`
	HideFrom          *PanelDebugDataSourceModel_FieldConfig_Defaults_Custom_HideFrom          `tfsdk:"hide_from"`
	Transform         types.String                                                             `tfsdk:"transform"`
	SpanNulls         types.String                                                             `tfsdk:"span_nulls"`
	FillBelowTo       types.String                                                             `tfsdk:"fill_below_to"`
	PointSymbol       types.String                                                             `tfsdk:"point_symbol"`
	AxisCenteredZero  types.Bool                                                               `tfsdk:"axis_centered_zero"`
	BarMaxWidth       types.Float64                                                            `tfsdk:"bar_max_width"`
}

func (PanelDebugDataSourceModel_FieldConfig_Defaults_Custom) ApplyDefaults

func (PanelDebugDataSourceModel_FieldConfig_Defaults_Custom) GetAttrSpanNulls added in v0.2.0

func (m PanelDebugDataSourceModel_FieldConfig_Defaults_Custom) GetAttrSpanNulls() interface{}

func (PanelDebugDataSourceModel_FieldConfig_Defaults_Custom) MarshalJSON

type PanelDebugDataSourceModel_FieldConfig_Defaults_Custom_HideFrom

type PanelDebugDataSourceModel_FieldConfig_Defaults_Custom_HideFrom struct {
	Tooltip types.Bool `tfsdk:"tooltip"`
	Legend  types.Bool `tfsdk:"legend"`
	Viz     types.Bool `tfsdk:"viz"`
}

func (PanelDebugDataSourceModel_FieldConfig_Defaults_Custom_HideFrom) ApplyDefaults

func (PanelDebugDataSourceModel_FieldConfig_Defaults_Custom_HideFrom) MarshalJSON

type PanelDebugDataSourceModel_FieldConfig_Defaults_Custom_LineStyle added in v0.2.0

type PanelDebugDataSourceModel_FieldConfig_Defaults_Custom_LineStyle struct {
	Fill types.String `tfsdk:"fill"`
	Dash types.List   `tfsdk:"dash"`
}

func (PanelDebugDataSourceModel_FieldConfig_Defaults_Custom_LineStyle) ApplyDefaults added in v0.2.0

func (PanelDebugDataSourceModel_FieldConfig_Defaults_Custom_LineStyle) MarshalJSON added in v0.2.0

type PanelDebugDataSourceModel_FieldConfig_Defaults_Custom_ScaleDistribution

type PanelDebugDataSourceModel_FieldConfig_Defaults_Custom_ScaleDistribution struct {
	Type            types.String  `tfsdk:"type"`
	Log             types.Float64 `tfsdk:"log"`
	LinearThreshold types.Float64 `tfsdk:"linear_threshold"`
}

func (PanelDebugDataSourceModel_FieldConfig_Defaults_Custom_ScaleDistribution) ApplyDefaults

func (PanelDebugDataSourceModel_FieldConfig_Defaults_Custom_ScaleDistribution) MarshalJSON

type PanelDebugDataSourceModel_FieldConfig_Defaults_Custom_Stacking added in v0.2.0

type PanelDebugDataSourceModel_FieldConfig_Defaults_Custom_Stacking struct {
	Mode  types.String `tfsdk:"mode"`
	Group types.String `tfsdk:"group"`
}

func (PanelDebugDataSourceModel_FieldConfig_Defaults_Custom_Stacking) ApplyDefaults added in v0.2.0

func (PanelDebugDataSourceModel_FieldConfig_Defaults_Custom_Stacking) MarshalJSON added in v0.2.0

type PanelDebugDataSourceModel_FieldConfig_Defaults_Custom_ThresholdsStyle

type PanelDebugDataSourceModel_FieldConfig_Defaults_Custom_ThresholdsStyle struct {
	Mode types.String `tfsdk:"mode"`
}

func (PanelDebugDataSourceModel_FieldConfig_Defaults_Custom_ThresholdsStyle) ApplyDefaults

func (PanelDebugDataSourceModel_FieldConfig_Defaults_Custom_ThresholdsStyle) MarshalJSON

type PanelDebugDataSourceModel_FieldConfig_Defaults_Mappings

type PanelDebugDataSourceModel_FieldConfig_Defaults_Mappings struct {
	ValueMap        *PanelDebugDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap        `tfsdk:"value_map"`
	RangeMap        *PanelDebugDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap        `tfsdk:"range_map"`
	RegexMap        *PanelDebugDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap        `tfsdk:"regex_map"`
	SpecialValueMap *PanelDebugDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap `tfsdk:"special_value_map"`
}

func (PanelDebugDataSourceModel_FieldConfig_Defaults_Mappings) ApplyDefaults

func (PanelDebugDataSourceModel_FieldConfig_Defaults_Mappings) MarshalJSON

type PanelDebugDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap

type PanelDebugDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap struct {
	Type    types.String                                                              `tfsdk:"type"`
	Options *PanelDebugDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options `tfsdk:"options"`
}

func (PanelDebugDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap) ApplyDefaults

func (PanelDebugDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap) MarshalJSON

type PanelDebugDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options

type PanelDebugDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options struct {
	From   types.String                                                                     `tfsdk:"from"`
	To     types.String                                                                     `tfsdk:"to"`
	Result *PanelDebugDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options_Result `tfsdk:"result"`
}

func (PanelDebugDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options) ApplyDefaults

func (PanelDebugDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options) GetAttrFrom added in v0.2.0

func (PanelDebugDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options) GetAttrTo added in v0.2.0

func (PanelDebugDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options) MarshalJSON

type PanelDebugDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options_Result

type PanelDebugDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options_Result struct {
	Text  types.String `tfsdk:"text"`
	Color types.String `tfsdk:"color"`
	Icon  types.String `tfsdk:"icon"`
	Index types.Int64  `tfsdk:"index"`
}

func (PanelDebugDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options_Result) ApplyDefaults

func (PanelDebugDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options_Result) MarshalJSON

type PanelDebugDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap

type PanelDebugDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap struct {
	Type    types.String                                                              `tfsdk:"type"`
	Options *PanelDebugDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options `tfsdk:"options"`
}

func (PanelDebugDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap) ApplyDefaults

func (PanelDebugDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap) MarshalJSON

type PanelDebugDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options

type PanelDebugDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options struct {
	Pattern types.String                                                                     `tfsdk:"pattern"`
	Result  *PanelDebugDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options_Result `tfsdk:"result"`
}

func (PanelDebugDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options) ApplyDefaults

func (PanelDebugDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options) MarshalJSON

type PanelDebugDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options_Result

type PanelDebugDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options_Result struct {
	Text  types.String `tfsdk:"text"`
	Color types.String `tfsdk:"color"`
	Icon  types.String `tfsdk:"icon"`
	Index types.Int64  `tfsdk:"index"`
}

func (PanelDebugDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options_Result) ApplyDefaults

func (PanelDebugDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options_Result) MarshalJSON

type PanelDebugDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap

type PanelDebugDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap struct {
	Type    types.String                                                                     `tfsdk:"type"`
	Options *PanelDebugDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options `tfsdk:"options"`
}

func (PanelDebugDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap) ApplyDefaults

func (PanelDebugDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap) MarshalJSON

type PanelDebugDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options

type PanelDebugDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options struct {
	Match  types.String                                                                            `tfsdk:"match"`
	Result *PanelDebugDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options_Result `tfsdk:"result"`
}

func (PanelDebugDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options) ApplyDefaults

func (PanelDebugDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options) MarshalJSON

type PanelDebugDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options_Result

type PanelDebugDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options_Result struct {
	Text  types.String `tfsdk:"text"`
	Color types.String `tfsdk:"color"`
	Icon  types.String `tfsdk:"icon"`
	Index types.Int64  `tfsdk:"index"`
}

func (PanelDebugDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options_Result) MarshalJSON

type PanelDebugDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap

type PanelDebugDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap struct {
	Type    types.String                                                                         `tfsdk:"type"`
	Options *map[string]PanelDebugDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap_Options `tfsdk:"options"`
}

func (PanelDebugDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap) ApplyDefaults

func (PanelDebugDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap) MarshalJSON

type PanelDebugDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap_Options

type PanelDebugDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap_Options struct {
	Text  types.String `tfsdk:"text"`
	Color types.String `tfsdk:"color"`
	Icon  types.String `tfsdk:"icon"`
	Index types.Int64  `tfsdk:"index"`
}

func (PanelDebugDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap_Options) ApplyDefaults

func (PanelDebugDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap_Options) MarshalJSON

type PanelDebugDataSourceModel_FieldConfig_Defaults_Thresholds

type PanelDebugDataSourceModel_FieldConfig_Defaults_Thresholds struct {
	Mode  types.String                                                      `tfsdk:"mode"`
	Steps []PanelDebugDataSourceModel_FieldConfig_Defaults_Thresholds_Steps `tfsdk:"steps"`
}

func (PanelDebugDataSourceModel_FieldConfig_Defaults_Thresholds) ApplyDefaults

func (PanelDebugDataSourceModel_FieldConfig_Defaults_Thresholds) MarshalJSON

type PanelDebugDataSourceModel_FieldConfig_Defaults_Thresholds_Steps

type PanelDebugDataSourceModel_FieldConfig_Defaults_Thresholds_Steps struct {
	Value types.String `tfsdk:"value"`
	Color types.String `tfsdk:"color"`
}

func (PanelDebugDataSourceModel_FieldConfig_Defaults_Thresholds_Steps) ApplyDefaults

func (PanelDebugDataSourceModel_FieldConfig_Defaults_Thresholds_Steps) GetAttrValue added in v0.2.0

func (PanelDebugDataSourceModel_FieldConfig_Defaults_Thresholds_Steps) MarshalJSON

type PanelDebugDataSourceModel_FieldConfig_Overrides

type PanelDebugDataSourceModel_FieldConfig_Overrides struct {
	Matcher    *PanelDebugDataSourceModel_FieldConfig_Overrides_Matcher     `tfsdk:"matcher"`
	Properties []PanelDebugDataSourceModel_FieldConfig_Overrides_Properties `tfsdk:"properties"`
}

func (PanelDebugDataSourceModel_FieldConfig_Overrides) ApplyDefaults

func (PanelDebugDataSourceModel_FieldConfig_Overrides) MarshalJSON

type PanelDebugDataSourceModel_FieldConfig_Overrides_Matcher

type PanelDebugDataSourceModel_FieldConfig_Overrides_Matcher struct {
}

func (PanelDebugDataSourceModel_FieldConfig_Overrides_Matcher) ApplyDefaults

func (PanelDebugDataSourceModel_FieldConfig_Overrides_Matcher) MarshalJSON

type PanelDebugDataSourceModel_FieldConfig_Overrides_Properties

type PanelDebugDataSourceModel_FieldConfig_Overrides_Properties struct {
}

func (PanelDebugDataSourceModel_FieldConfig_Overrides_Properties) ApplyDefaults

func (PanelDebugDataSourceModel_FieldConfig_Overrides_Properties) MarshalJSON

type PanelDebugDataSourceModel_GridPos

type PanelDebugDataSourceModel_GridPos struct {
	H      types.Int64 `tfsdk:"h"`
	W      types.Int64 `tfsdk:"w"`
	X      types.Int64 `tfsdk:"x"`
	Y      types.Int64 `tfsdk:"y"`
	Static types.Bool  `tfsdk:"static"`
}

func (PanelDebugDataSourceModel_GridPos) ApplyDefaults

func (PanelDebugDataSourceModel_GridPos) MarshalJSON

func (m PanelDebugDataSourceModel_GridPos) MarshalJSON() ([]byte, error)

type PanelDebugDataSourceModel_LibraryPanel

type PanelDebugDataSourceModel_LibraryPanel struct {
	Name types.String `tfsdk:"name"`
	Uid  types.String `tfsdk:"uid"`
}

func (PanelDebugDataSourceModel_LibraryPanel) ApplyDefaults

func (PanelDebugDataSourceModel_LibraryPanel) MarshalJSON

func (m PanelDebugDataSourceModel_LibraryPanel) MarshalJSON() ([]byte, error)
type PanelDebugDataSourceModel_Links struct {
	Title       types.String `tfsdk:"title"`
	Type        types.String `tfsdk:"type"`
	Icon        types.String `tfsdk:"icon"`
	Tooltip     types.String `tfsdk:"tooltip"`
	Url         types.String `tfsdk:"url"`
	Tags        types.List   `tfsdk:"tags"`
	AsDropdown  types.Bool   `tfsdk:"as_dropdown"`
	TargetBlank types.Bool   `tfsdk:"target_blank"`
	IncludeVars types.Bool   `tfsdk:"include_vars"`
	KeepTime    types.Bool   `tfsdk:"keep_time"`
}

func (PanelDebugDataSourceModel_Links) ApplyDefaults

func (PanelDebugDataSourceModel_Links) MarshalJSON

func (m PanelDebugDataSourceModel_Links) MarshalJSON() ([]byte, error)

type PanelDebugDataSourceModel_Options

type PanelDebugDataSourceModel_Options struct {
	Mode     types.String                                `tfsdk:"mode"`
	Counters *PanelDebugDataSourceModel_Options_Counters `tfsdk:"counters"`
}

func (PanelDebugDataSourceModel_Options) ApplyDefaults

func (PanelDebugDataSourceModel_Options) MarshalJSON

func (m PanelDebugDataSourceModel_Options) MarshalJSON() ([]byte, error)

type PanelDebugDataSourceModel_Options_Counters

type PanelDebugDataSourceModel_Options_Counters struct {
	Render        types.Bool `tfsdk:"render"`
	DataChanged   types.Bool `tfsdk:"data_changed"`
	SchemaChanged types.Bool `tfsdk:"schema_changed"`
}

func (PanelDebugDataSourceModel_Options_Counters) ApplyDefaults

func (PanelDebugDataSourceModel_Options_Counters) MarshalJSON

type PanelDebugDataSourceModel_Transformations

type PanelDebugDataSourceModel_Transformations struct {
	Disabled types.Bool                                        `tfsdk:"disabled"`
	Filter   *PanelDebugDataSourceModel_Transformations_Filter `tfsdk:"filter"`
}

func (PanelDebugDataSourceModel_Transformations) ApplyDefaults

func (PanelDebugDataSourceModel_Transformations) MarshalJSON

type PanelDebugDataSourceModel_Transformations_Filter

type PanelDebugDataSourceModel_Transformations_Filter struct {
}

func (PanelDebugDataSourceModel_Transformations_Filter) ApplyDefaults

func (PanelDebugDataSourceModel_Transformations_Filter) MarshalJSON

type PanelGaugeDataSource

type PanelGaugeDataSource struct{}

PanelGaugeDataSource defines the data source implementation.

func (*PanelGaugeDataSource) Configure

func (*PanelGaugeDataSource) Metadata

func (*PanelGaugeDataSource) Read

func (*PanelGaugeDataSource) Schema

type PanelGaugeDataSourceModel

type PanelGaugeDataSourceModel struct {
	RenderedJSON    types.String                                `tfsdk:"rendered_json"`
	Type            types.String                                `tfsdk:"type"`
	PluginVersion   types.String                                `tfsdk:"plugin_version"`
	Tags            types.List                                  `tfsdk:"tags"`
	Targets         types.List                                  `tfsdk:"targets"`
	Title           types.String                                `tfsdk:"title"`
	Description     types.String                                `tfsdk:"description"`
	Transparent     types.Bool                                  `tfsdk:"transparent"`
	Datasource      *PanelGaugeDataSourceModel_Datasource       `tfsdk:"datasource"`
	GridPos         *PanelGaugeDataSourceModel_GridPos          `tfsdk:"grid_pos"`
	Links           []PanelGaugeDataSourceModel_Links           `tfsdk:"links"`
	Repeat          types.String                                `tfsdk:"repeat"`
	RepeatDirection types.String                                `tfsdk:"repeat_direction"`
	RepeatPanelId   types.Int64                                 `tfsdk:"repeat_panel_id"`
	MaxDataPoints   types.Float64                               `tfsdk:"max_data_points"`
	Transformations []PanelGaugeDataSourceModel_Transformations `tfsdk:"transformations"`
	Interval        types.String                                `tfsdk:"interval"`
	TimeFrom        types.String                                `tfsdk:"time_from"`
	TimeShift       types.String                                `tfsdk:"time_shift"`
	LibraryPanel    *PanelGaugeDataSourceModel_LibraryPanel     `tfsdk:"library_panel"`
	Options         *PanelGaugeDataSourceModel_Options          `tfsdk:"options"`
	FieldConfig     *PanelGaugeDataSourceModel_FieldConfig      `tfsdk:"field_config"`
}

func (PanelGaugeDataSourceModel) ApplyDefaults

func (PanelGaugeDataSourceModel) MarshalJSON

func (m PanelGaugeDataSourceModel) MarshalJSON() ([]byte, error)

type PanelGaugeDataSourceModel_Datasource

type PanelGaugeDataSourceModel_Datasource struct {
	Type types.String `tfsdk:"type"`
	Uid  types.String `tfsdk:"uid"`
}

func (PanelGaugeDataSourceModel_Datasource) ApplyDefaults

func (PanelGaugeDataSourceModel_Datasource) MarshalJSON

func (m PanelGaugeDataSourceModel_Datasource) MarshalJSON() ([]byte, error)

type PanelGaugeDataSourceModel_FieldConfig

type PanelGaugeDataSourceModel_FieldConfig struct {
	Defaults  *PanelGaugeDataSourceModel_FieldConfig_Defaults   `tfsdk:"defaults"`
	Overrides []PanelGaugeDataSourceModel_FieldConfig_Overrides `tfsdk:"overrides"`
}

func (PanelGaugeDataSourceModel_FieldConfig) ApplyDefaults

func (PanelGaugeDataSourceModel_FieldConfig) MarshalJSON

func (m PanelGaugeDataSourceModel_FieldConfig) MarshalJSON() ([]byte, error)

type PanelGaugeDataSourceModel_FieldConfig_Defaults

type PanelGaugeDataSourceModel_FieldConfig_Defaults struct {
	DisplayName       types.String                                               `tfsdk:"display_name"`
	DisplayNameFromDS types.String                                               `tfsdk:"display_name_from_ds"`
	Description       types.String                                               `tfsdk:"description"`
	Path              types.String                                               `tfsdk:"path"`
	Writeable         types.Bool                                                 `tfsdk:"writeable"`
	Filterable        types.Bool                                                 `tfsdk:"filterable"`
	Unit              types.String                                               `tfsdk:"unit"`
	Decimals          types.Float64                                              `tfsdk:"decimals"`
	Min               types.Float64                                              `tfsdk:"min"`
	Max               types.Float64                                              `tfsdk:"max"`
	Mappings          []PanelGaugeDataSourceModel_FieldConfig_Defaults_Mappings  `tfsdk:"mappings"`
	Thresholds        *PanelGaugeDataSourceModel_FieldConfig_Defaults_Thresholds `tfsdk:"thresholds"`
	Color             *PanelGaugeDataSourceModel_FieldConfig_Defaults_Color      `tfsdk:"color"`
	NoValue           types.String                                               `tfsdk:"no_value"`
	Custom            *PanelGaugeDataSourceModel_FieldConfig_Defaults_Custom     `tfsdk:"custom"`
}

func (PanelGaugeDataSourceModel_FieldConfig_Defaults) ApplyDefaults

func (PanelGaugeDataSourceModel_FieldConfig_Defaults) MarshalJSON

type PanelGaugeDataSourceModel_FieldConfig_Defaults_Color

type PanelGaugeDataSourceModel_FieldConfig_Defaults_Color struct {
	Mode       types.String `tfsdk:"mode"`
	FixedColor types.String `tfsdk:"fixed_color"`
	SeriesBy   types.String `tfsdk:"series_by"`
}

func (PanelGaugeDataSourceModel_FieldConfig_Defaults_Color) ApplyDefaults

func (PanelGaugeDataSourceModel_FieldConfig_Defaults_Color) MarshalJSON

type PanelGaugeDataSourceModel_FieldConfig_Defaults_Custom

type PanelGaugeDataSourceModel_FieldConfig_Defaults_Custom struct {
	DrawStyle         types.String                                                             `tfsdk:"draw_style"`
	GradientMode      types.String                                                             `tfsdk:"gradient_mode"`
	ThresholdsStyle   *PanelGaugeDataSourceModel_FieldConfig_Defaults_Custom_ThresholdsStyle   `tfsdk:"thresholds_style"`
	LineColor         types.String                                                             `tfsdk:"line_color"`
	LineWidth         types.Float64                                                            `tfsdk:"line_width"`
	LineInterpolation types.String                                                             `tfsdk:"line_interpolation"`
	LineStyle         *PanelGaugeDataSourceModel_FieldConfig_Defaults_Custom_LineStyle         `tfsdk:"line_style"`
	FillColor         types.String                                                             `tfsdk:"fill_color"`
	FillOpacity       types.Float64                                                            `tfsdk:"fill_opacity"`
	ShowPoints        types.String                                                             `tfsdk:"show_points"`
	PointSize         types.Float64                                                            `tfsdk:"point_size"`
	PointColor        types.String                                                             `tfsdk:"point_color"`
	AxisPlacement     types.String                                                             `tfsdk:"axis_placement"`
	AxisColorMode     types.String                                                             `tfsdk:"axis_color_mode"`
	AxisLabel         types.String                                                             `tfsdk:"axis_label"`
	AxisWidth         types.Float64                                                            `tfsdk:"axis_width"`
	AxisSoftMin       types.Float64                                                            `tfsdk:"axis_soft_min"`
	AxisSoftMax       types.Float64                                                            `tfsdk:"axis_soft_max"`
	AxisGridShow      types.Bool                                                               `tfsdk:"axis_grid_show"`
	ScaleDistribution *PanelGaugeDataSourceModel_FieldConfig_Defaults_Custom_ScaleDistribution `tfsdk:"scale_distribution"`
	BarAlignment      types.Int64                                                              `tfsdk:"bar_alignment"`
	BarWidthFactor    types.Float64                                                            `tfsdk:"bar_width_factor"`
	Stacking          *PanelGaugeDataSourceModel_FieldConfig_Defaults_Custom_Stacking          `tfsdk:"stacking"`
	HideFrom          *PanelGaugeDataSourceModel_FieldConfig_Defaults_Custom_HideFrom          `tfsdk:"hide_from"`
	Transform         types.String                                                             `tfsdk:"transform"`
	SpanNulls         types.String                                                             `tfsdk:"span_nulls"`
	FillBelowTo       types.String                                                             `tfsdk:"fill_below_to"`
	PointSymbol       types.String                                                             `tfsdk:"point_symbol"`
	AxisCenteredZero  types.Bool                                                               `tfsdk:"axis_centered_zero"`
	BarMaxWidth       types.Float64                                                            `tfsdk:"bar_max_width"`
}

func (PanelGaugeDataSourceModel_FieldConfig_Defaults_Custom) ApplyDefaults

func (PanelGaugeDataSourceModel_FieldConfig_Defaults_Custom) GetAttrSpanNulls added in v0.2.0

func (m PanelGaugeDataSourceModel_FieldConfig_Defaults_Custom) GetAttrSpanNulls() interface{}

func (PanelGaugeDataSourceModel_FieldConfig_Defaults_Custom) MarshalJSON

type PanelGaugeDataSourceModel_FieldConfig_Defaults_Custom_HideFrom

type PanelGaugeDataSourceModel_FieldConfig_Defaults_Custom_HideFrom struct {
	Tooltip types.Bool `tfsdk:"tooltip"`
	Legend  types.Bool `tfsdk:"legend"`
	Viz     types.Bool `tfsdk:"viz"`
}

func (PanelGaugeDataSourceModel_FieldConfig_Defaults_Custom_HideFrom) ApplyDefaults

func (PanelGaugeDataSourceModel_FieldConfig_Defaults_Custom_HideFrom) MarshalJSON

type PanelGaugeDataSourceModel_FieldConfig_Defaults_Custom_LineStyle added in v0.2.0

type PanelGaugeDataSourceModel_FieldConfig_Defaults_Custom_LineStyle struct {
	Fill types.String `tfsdk:"fill"`
	Dash types.List   `tfsdk:"dash"`
}

func (PanelGaugeDataSourceModel_FieldConfig_Defaults_Custom_LineStyle) ApplyDefaults added in v0.2.0

func (PanelGaugeDataSourceModel_FieldConfig_Defaults_Custom_LineStyle) MarshalJSON added in v0.2.0

type PanelGaugeDataSourceModel_FieldConfig_Defaults_Custom_ScaleDistribution

type PanelGaugeDataSourceModel_FieldConfig_Defaults_Custom_ScaleDistribution struct {
	Type            types.String  `tfsdk:"type"`
	Log             types.Float64 `tfsdk:"log"`
	LinearThreshold types.Float64 `tfsdk:"linear_threshold"`
}

func (PanelGaugeDataSourceModel_FieldConfig_Defaults_Custom_ScaleDistribution) ApplyDefaults

func (PanelGaugeDataSourceModel_FieldConfig_Defaults_Custom_ScaleDistribution) MarshalJSON

type PanelGaugeDataSourceModel_FieldConfig_Defaults_Custom_Stacking added in v0.2.0

type PanelGaugeDataSourceModel_FieldConfig_Defaults_Custom_Stacking struct {
	Mode  types.String `tfsdk:"mode"`
	Group types.String `tfsdk:"group"`
}

func (PanelGaugeDataSourceModel_FieldConfig_Defaults_Custom_Stacking) ApplyDefaults added in v0.2.0

func (PanelGaugeDataSourceModel_FieldConfig_Defaults_Custom_Stacking) MarshalJSON added in v0.2.0

type PanelGaugeDataSourceModel_FieldConfig_Defaults_Custom_ThresholdsStyle

type PanelGaugeDataSourceModel_FieldConfig_Defaults_Custom_ThresholdsStyle struct {
	Mode types.String `tfsdk:"mode"`
}

func (PanelGaugeDataSourceModel_FieldConfig_Defaults_Custom_ThresholdsStyle) ApplyDefaults

func (PanelGaugeDataSourceModel_FieldConfig_Defaults_Custom_ThresholdsStyle) MarshalJSON

type PanelGaugeDataSourceModel_FieldConfig_Defaults_Mappings

type PanelGaugeDataSourceModel_FieldConfig_Defaults_Mappings struct {
	ValueMap        *PanelGaugeDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap        `tfsdk:"value_map"`
	RangeMap        *PanelGaugeDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap        `tfsdk:"range_map"`
	RegexMap        *PanelGaugeDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap        `tfsdk:"regex_map"`
	SpecialValueMap *PanelGaugeDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap `tfsdk:"special_value_map"`
}

func (PanelGaugeDataSourceModel_FieldConfig_Defaults_Mappings) ApplyDefaults

func (PanelGaugeDataSourceModel_FieldConfig_Defaults_Mappings) MarshalJSON

type PanelGaugeDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap

type PanelGaugeDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap struct {
	Type    types.String                                                              `tfsdk:"type"`
	Options *PanelGaugeDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options `tfsdk:"options"`
}

func (PanelGaugeDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap) ApplyDefaults

func (PanelGaugeDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap) MarshalJSON

type PanelGaugeDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options

type PanelGaugeDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options struct {
	From   types.String                                                                     `tfsdk:"from"`
	To     types.String                                                                     `tfsdk:"to"`
	Result *PanelGaugeDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options_Result `tfsdk:"result"`
}

func (PanelGaugeDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options) ApplyDefaults

func (PanelGaugeDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options) GetAttrFrom added in v0.2.0

func (PanelGaugeDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options) GetAttrTo added in v0.2.0

func (PanelGaugeDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options) MarshalJSON

type PanelGaugeDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options_Result

type PanelGaugeDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options_Result struct {
	Text  types.String `tfsdk:"text"`
	Color types.String `tfsdk:"color"`
	Icon  types.String `tfsdk:"icon"`
	Index types.Int64  `tfsdk:"index"`
}

func (PanelGaugeDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options_Result) ApplyDefaults

func (PanelGaugeDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options_Result) MarshalJSON

type PanelGaugeDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap

type PanelGaugeDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap struct {
	Type    types.String                                                              `tfsdk:"type"`
	Options *PanelGaugeDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options `tfsdk:"options"`
}

func (PanelGaugeDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap) ApplyDefaults

func (PanelGaugeDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap) MarshalJSON

type PanelGaugeDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options

type PanelGaugeDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options struct {
	Pattern types.String                                                                     `tfsdk:"pattern"`
	Result  *PanelGaugeDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options_Result `tfsdk:"result"`
}

func (PanelGaugeDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options) ApplyDefaults

func (PanelGaugeDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options) MarshalJSON

type PanelGaugeDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options_Result

type PanelGaugeDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options_Result struct {
	Text  types.String `tfsdk:"text"`
	Color types.String `tfsdk:"color"`
	Icon  types.String `tfsdk:"icon"`
	Index types.Int64  `tfsdk:"index"`
}

func (PanelGaugeDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options_Result) ApplyDefaults

func (PanelGaugeDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options_Result) MarshalJSON

type PanelGaugeDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap

type PanelGaugeDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap struct {
	Type    types.String                                                                     `tfsdk:"type"`
	Options *PanelGaugeDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options `tfsdk:"options"`
}

func (PanelGaugeDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap) ApplyDefaults

func (PanelGaugeDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap) MarshalJSON

type PanelGaugeDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options

type PanelGaugeDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options struct {
	Match  types.String                                                                            `tfsdk:"match"`
	Result *PanelGaugeDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options_Result `tfsdk:"result"`
}

func (PanelGaugeDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options) ApplyDefaults

func (PanelGaugeDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options) MarshalJSON

type PanelGaugeDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options_Result

type PanelGaugeDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options_Result struct {
	Text  types.String `tfsdk:"text"`
	Color types.String `tfsdk:"color"`
	Icon  types.String `tfsdk:"icon"`
	Index types.Int64  `tfsdk:"index"`
}

func (PanelGaugeDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options_Result) MarshalJSON

type PanelGaugeDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap

type PanelGaugeDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap struct {
	Type    types.String                                                                         `tfsdk:"type"`
	Options *map[string]PanelGaugeDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap_Options `tfsdk:"options"`
}

func (PanelGaugeDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap) ApplyDefaults

func (PanelGaugeDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap) MarshalJSON

type PanelGaugeDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap_Options

type PanelGaugeDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap_Options struct {
	Text  types.String `tfsdk:"text"`
	Color types.String `tfsdk:"color"`
	Icon  types.String `tfsdk:"icon"`
	Index types.Int64  `tfsdk:"index"`
}

func (PanelGaugeDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap_Options) ApplyDefaults

func (PanelGaugeDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap_Options) MarshalJSON

type PanelGaugeDataSourceModel_FieldConfig_Defaults_Thresholds

type PanelGaugeDataSourceModel_FieldConfig_Defaults_Thresholds struct {
	Mode  types.String                                                      `tfsdk:"mode"`
	Steps []PanelGaugeDataSourceModel_FieldConfig_Defaults_Thresholds_Steps `tfsdk:"steps"`
}

func (PanelGaugeDataSourceModel_FieldConfig_Defaults_Thresholds) ApplyDefaults

func (PanelGaugeDataSourceModel_FieldConfig_Defaults_Thresholds) MarshalJSON

type PanelGaugeDataSourceModel_FieldConfig_Defaults_Thresholds_Steps

type PanelGaugeDataSourceModel_FieldConfig_Defaults_Thresholds_Steps struct {
	Value types.String `tfsdk:"value"`
	Color types.String `tfsdk:"color"`
}

func (PanelGaugeDataSourceModel_FieldConfig_Defaults_Thresholds_Steps) ApplyDefaults

func (PanelGaugeDataSourceModel_FieldConfig_Defaults_Thresholds_Steps) GetAttrValue added in v0.2.0

func (PanelGaugeDataSourceModel_FieldConfig_Defaults_Thresholds_Steps) MarshalJSON

type PanelGaugeDataSourceModel_FieldConfig_Overrides

type PanelGaugeDataSourceModel_FieldConfig_Overrides struct {
	Matcher    *PanelGaugeDataSourceModel_FieldConfig_Overrides_Matcher     `tfsdk:"matcher"`
	Properties []PanelGaugeDataSourceModel_FieldConfig_Overrides_Properties `tfsdk:"properties"`
}

func (PanelGaugeDataSourceModel_FieldConfig_Overrides) ApplyDefaults

func (PanelGaugeDataSourceModel_FieldConfig_Overrides) MarshalJSON

type PanelGaugeDataSourceModel_FieldConfig_Overrides_Matcher

type PanelGaugeDataSourceModel_FieldConfig_Overrides_Matcher struct {
}

func (PanelGaugeDataSourceModel_FieldConfig_Overrides_Matcher) ApplyDefaults

func (PanelGaugeDataSourceModel_FieldConfig_Overrides_Matcher) MarshalJSON

type PanelGaugeDataSourceModel_FieldConfig_Overrides_Properties

type PanelGaugeDataSourceModel_FieldConfig_Overrides_Properties struct {
}

func (PanelGaugeDataSourceModel_FieldConfig_Overrides_Properties) ApplyDefaults

func (PanelGaugeDataSourceModel_FieldConfig_Overrides_Properties) MarshalJSON

type PanelGaugeDataSourceModel_GridPos

type PanelGaugeDataSourceModel_GridPos struct {
	H      types.Int64 `tfsdk:"h"`
	W      types.Int64 `tfsdk:"w"`
	X      types.Int64 `tfsdk:"x"`
	Y      types.Int64 `tfsdk:"y"`
	Static types.Bool  `tfsdk:"static"`
}

func (PanelGaugeDataSourceModel_GridPos) ApplyDefaults

func (PanelGaugeDataSourceModel_GridPos) MarshalJSON

func (m PanelGaugeDataSourceModel_GridPos) MarshalJSON() ([]byte, error)

type PanelGaugeDataSourceModel_LibraryPanel

type PanelGaugeDataSourceModel_LibraryPanel struct {
	Name types.String `tfsdk:"name"`
	Uid  types.String `tfsdk:"uid"`
}

func (PanelGaugeDataSourceModel_LibraryPanel) ApplyDefaults

func (PanelGaugeDataSourceModel_LibraryPanel) MarshalJSON

func (m PanelGaugeDataSourceModel_LibraryPanel) MarshalJSON() ([]byte, error)
type PanelGaugeDataSourceModel_Links struct {
	Title       types.String `tfsdk:"title"`
	Type        types.String `tfsdk:"type"`
	Icon        types.String `tfsdk:"icon"`
	Tooltip     types.String `tfsdk:"tooltip"`
	Url         types.String `tfsdk:"url"`
	Tags        types.List   `tfsdk:"tags"`
	AsDropdown  types.Bool   `tfsdk:"as_dropdown"`
	TargetBlank types.Bool   `tfsdk:"target_blank"`
	IncludeVars types.Bool   `tfsdk:"include_vars"`
	KeepTime    types.Bool   `tfsdk:"keep_time"`
}

func (PanelGaugeDataSourceModel_Links) ApplyDefaults

func (PanelGaugeDataSourceModel_Links) MarshalJSON

func (m PanelGaugeDataSourceModel_Links) MarshalJSON() ([]byte, error)

type PanelGaugeDataSourceModel_Options

type PanelGaugeDataSourceModel_Options struct {
	ShowThresholdLabels  types.Bool                                       `tfsdk:"show_threshold_labels"`
	ReduceOptions        *PanelGaugeDataSourceModel_Options_ReduceOptions `tfsdk:"reduce_options"`
	Text                 *PanelGaugeDataSourceModel_Options_Text          `tfsdk:"text"`
	ShowThresholdMarkers types.Bool                                       `tfsdk:"show_threshold_markers"`
	Orientation          types.String                                     `tfsdk:"orientation"`
}

func (PanelGaugeDataSourceModel_Options) ApplyDefaults

func (PanelGaugeDataSourceModel_Options) MarshalJSON

func (m PanelGaugeDataSourceModel_Options) MarshalJSON() ([]byte, error)

type PanelGaugeDataSourceModel_Options_ReduceOptions

type PanelGaugeDataSourceModel_Options_ReduceOptions struct {
	Values types.Bool    `tfsdk:"values"`
	Limit  types.Float64 `tfsdk:"limit"`
	Calcs  types.List    `tfsdk:"calcs"`
	Fields types.String  `tfsdk:"fields"`
}

func (PanelGaugeDataSourceModel_Options_ReduceOptions) ApplyDefaults

func (PanelGaugeDataSourceModel_Options_ReduceOptions) MarshalJSON

type PanelGaugeDataSourceModel_Options_Text

type PanelGaugeDataSourceModel_Options_Text struct {
	TitleSize types.Float64 `tfsdk:"title_size"`
	ValueSize types.Float64 `tfsdk:"value_size"`
}

func (PanelGaugeDataSourceModel_Options_Text) ApplyDefaults

func (PanelGaugeDataSourceModel_Options_Text) MarshalJSON

func (m PanelGaugeDataSourceModel_Options_Text) MarshalJSON() ([]byte, error)

type PanelGaugeDataSourceModel_Transformations

type PanelGaugeDataSourceModel_Transformations struct {
	Disabled types.Bool                                        `tfsdk:"disabled"`
	Filter   *PanelGaugeDataSourceModel_Transformations_Filter `tfsdk:"filter"`
}

func (PanelGaugeDataSourceModel_Transformations) ApplyDefaults

func (PanelGaugeDataSourceModel_Transformations) MarshalJSON

type PanelGaugeDataSourceModel_Transformations_Filter

type PanelGaugeDataSourceModel_Transformations_Filter struct {
}

func (PanelGaugeDataSourceModel_Transformations_Filter) ApplyDefaults

func (PanelGaugeDataSourceModel_Transformations_Filter) MarshalJSON

type PanelGeomapDataSource

type PanelGeomapDataSource struct{}

PanelGeomapDataSource defines the data source implementation.

func (*PanelGeomapDataSource) Configure

func (*PanelGeomapDataSource) Metadata

func (*PanelGeomapDataSource) Read

func (*PanelGeomapDataSource) Schema

type PanelGeomapDataSourceModel

type PanelGeomapDataSourceModel struct {
	RenderedJSON    types.String                                 `tfsdk:"rendered_json"`
	Type            types.String                                 `tfsdk:"type"`
	PluginVersion   types.String                                 `tfsdk:"plugin_version"`
	Tags            types.List                                   `tfsdk:"tags"`
	Targets         types.List                                   `tfsdk:"targets"`
	Title           types.String                                 `tfsdk:"title"`
	Description     types.String                                 `tfsdk:"description"`
	Transparent     types.Bool                                   `tfsdk:"transparent"`
	Datasource      *PanelGeomapDataSourceModel_Datasource       `tfsdk:"datasource"`
	GridPos         *PanelGeomapDataSourceModel_GridPos          `tfsdk:"grid_pos"`
	Links           []PanelGeomapDataSourceModel_Links           `tfsdk:"links"`
	Repeat          types.String                                 `tfsdk:"repeat"`
	RepeatDirection types.String                                 `tfsdk:"repeat_direction"`
	RepeatPanelId   types.Int64                                  `tfsdk:"repeat_panel_id"`
	MaxDataPoints   types.Float64                                `tfsdk:"max_data_points"`
	Transformations []PanelGeomapDataSourceModel_Transformations `tfsdk:"transformations"`
	Interval        types.String                                 `tfsdk:"interval"`
	TimeFrom        types.String                                 `tfsdk:"time_from"`
	TimeShift       types.String                                 `tfsdk:"time_shift"`
	LibraryPanel    *PanelGeomapDataSourceModel_LibraryPanel     `tfsdk:"library_panel"`
	Options         *PanelGeomapDataSourceModel_Options          `tfsdk:"options"`
	FieldConfig     *PanelGeomapDataSourceModel_FieldConfig      `tfsdk:"field_config"`
}

func (PanelGeomapDataSourceModel) ApplyDefaults

func (PanelGeomapDataSourceModel) MarshalJSON

func (m PanelGeomapDataSourceModel) MarshalJSON() ([]byte, error)

type PanelGeomapDataSourceModel_Datasource

type PanelGeomapDataSourceModel_Datasource struct {
	Type types.String `tfsdk:"type"`
	Uid  types.String `tfsdk:"uid"`
}

func (PanelGeomapDataSourceModel_Datasource) ApplyDefaults

func (PanelGeomapDataSourceModel_Datasource) MarshalJSON

func (m PanelGeomapDataSourceModel_Datasource) MarshalJSON() ([]byte, error)

type PanelGeomapDataSourceModel_FieldConfig

type PanelGeomapDataSourceModel_FieldConfig struct {
	Defaults  *PanelGeomapDataSourceModel_FieldConfig_Defaults   `tfsdk:"defaults"`
	Overrides []PanelGeomapDataSourceModel_FieldConfig_Overrides `tfsdk:"overrides"`
}

func (PanelGeomapDataSourceModel_FieldConfig) ApplyDefaults

func (PanelGeomapDataSourceModel_FieldConfig) MarshalJSON

func (m PanelGeomapDataSourceModel_FieldConfig) MarshalJSON() ([]byte, error)

type PanelGeomapDataSourceModel_FieldConfig_Defaults

type PanelGeomapDataSourceModel_FieldConfig_Defaults struct {
	DisplayName       types.String                                                `tfsdk:"display_name"`
	DisplayNameFromDS types.String                                                `tfsdk:"display_name_from_ds"`
	Description       types.String                                                `tfsdk:"description"`
	Path              types.String                                                `tfsdk:"path"`
	Writeable         types.Bool                                                  `tfsdk:"writeable"`
	Filterable        types.Bool                                                  `tfsdk:"filterable"`
	Unit              types.String                                                `tfsdk:"unit"`
	Decimals          types.Float64                                               `tfsdk:"decimals"`
	Min               types.Float64                                               `tfsdk:"min"`
	Max               types.Float64                                               `tfsdk:"max"`
	Mappings          []PanelGeomapDataSourceModel_FieldConfig_Defaults_Mappings  `tfsdk:"mappings"`
	Thresholds        *PanelGeomapDataSourceModel_FieldConfig_Defaults_Thresholds `tfsdk:"thresholds"`
	Color             *PanelGeomapDataSourceModel_FieldConfig_Defaults_Color      `tfsdk:"color"`
	NoValue           types.String                                                `tfsdk:"no_value"`
	Custom            *PanelGeomapDataSourceModel_FieldConfig_Defaults_Custom     `tfsdk:"custom"`
}

func (PanelGeomapDataSourceModel_FieldConfig_Defaults) ApplyDefaults

func (PanelGeomapDataSourceModel_FieldConfig_Defaults) MarshalJSON

type PanelGeomapDataSourceModel_FieldConfig_Defaults_Color

type PanelGeomapDataSourceModel_FieldConfig_Defaults_Color struct {
	Mode       types.String `tfsdk:"mode"`
	FixedColor types.String `tfsdk:"fixed_color"`
	SeriesBy   types.String `tfsdk:"series_by"`
}

func (PanelGeomapDataSourceModel_FieldConfig_Defaults_Color) ApplyDefaults

func (PanelGeomapDataSourceModel_FieldConfig_Defaults_Color) MarshalJSON

type PanelGeomapDataSourceModel_FieldConfig_Defaults_Custom

type PanelGeomapDataSourceModel_FieldConfig_Defaults_Custom struct {
	DrawStyle         types.String                                                              `tfsdk:"draw_style"`
	GradientMode      types.String                                                              `tfsdk:"gradient_mode"`
	ThresholdsStyle   *PanelGeomapDataSourceModel_FieldConfig_Defaults_Custom_ThresholdsStyle   `tfsdk:"thresholds_style"`
	LineColor         types.String                                                              `tfsdk:"line_color"`
	LineWidth         types.Float64                                                             `tfsdk:"line_width"`
	LineInterpolation types.String                                                              `tfsdk:"line_interpolation"`
	LineStyle         *PanelGeomapDataSourceModel_FieldConfig_Defaults_Custom_LineStyle         `tfsdk:"line_style"`
	FillColor         types.String                                                              `tfsdk:"fill_color"`
	FillOpacity       types.Float64                                                             `tfsdk:"fill_opacity"`
	ShowPoints        types.String                                                              `tfsdk:"show_points"`
	PointSize         types.Float64                                                             `tfsdk:"point_size"`
	PointColor        types.String                                                              `tfsdk:"point_color"`
	AxisPlacement     types.String                                                              `tfsdk:"axis_placement"`
	AxisColorMode     types.String                                                              `tfsdk:"axis_color_mode"`
	AxisLabel         types.String                                                              `tfsdk:"axis_label"`
	AxisWidth         types.Float64                                                             `tfsdk:"axis_width"`
	AxisSoftMin       types.Float64                                                             `tfsdk:"axis_soft_min"`
	AxisSoftMax       types.Float64                                                             `tfsdk:"axis_soft_max"`
	AxisGridShow      types.Bool                                                                `tfsdk:"axis_grid_show"`
	ScaleDistribution *PanelGeomapDataSourceModel_FieldConfig_Defaults_Custom_ScaleDistribution `tfsdk:"scale_distribution"`
	BarAlignment      types.Int64                                                               `tfsdk:"bar_alignment"`
	BarWidthFactor    types.Float64                                                             `tfsdk:"bar_width_factor"`
	Stacking          *PanelGeomapDataSourceModel_FieldConfig_Defaults_Custom_Stacking          `tfsdk:"stacking"`
	HideFrom          *PanelGeomapDataSourceModel_FieldConfig_Defaults_Custom_HideFrom          `tfsdk:"hide_from"`
	Transform         types.String                                                              `tfsdk:"transform"`
	SpanNulls         types.String                                                              `tfsdk:"span_nulls"`
	FillBelowTo       types.String                                                              `tfsdk:"fill_below_to"`
	PointSymbol       types.String                                                              `tfsdk:"point_symbol"`
	AxisCenteredZero  types.Bool                                                                `tfsdk:"axis_centered_zero"`
	BarMaxWidth       types.Float64                                                             `tfsdk:"bar_max_width"`
}

func (PanelGeomapDataSourceModel_FieldConfig_Defaults_Custom) ApplyDefaults

func (PanelGeomapDataSourceModel_FieldConfig_Defaults_Custom) GetAttrSpanNulls added in v0.2.0

func (m PanelGeomapDataSourceModel_FieldConfig_Defaults_Custom) GetAttrSpanNulls() interface{}

func (PanelGeomapDataSourceModel_FieldConfig_Defaults_Custom) MarshalJSON

type PanelGeomapDataSourceModel_FieldConfig_Defaults_Custom_HideFrom

type PanelGeomapDataSourceModel_FieldConfig_Defaults_Custom_HideFrom struct {
	Tooltip types.Bool `tfsdk:"tooltip"`
	Legend  types.Bool `tfsdk:"legend"`
	Viz     types.Bool `tfsdk:"viz"`
}

func (PanelGeomapDataSourceModel_FieldConfig_Defaults_Custom_HideFrom) ApplyDefaults

func (PanelGeomapDataSourceModel_FieldConfig_Defaults_Custom_HideFrom) MarshalJSON

type PanelGeomapDataSourceModel_FieldConfig_Defaults_Custom_LineStyle added in v0.2.0

type PanelGeomapDataSourceModel_FieldConfig_Defaults_Custom_LineStyle struct {
	Fill types.String `tfsdk:"fill"`
	Dash types.List   `tfsdk:"dash"`
}

func (PanelGeomapDataSourceModel_FieldConfig_Defaults_Custom_LineStyle) ApplyDefaults added in v0.2.0

func (PanelGeomapDataSourceModel_FieldConfig_Defaults_Custom_LineStyle) MarshalJSON added in v0.2.0

type PanelGeomapDataSourceModel_FieldConfig_Defaults_Custom_ScaleDistribution

type PanelGeomapDataSourceModel_FieldConfig_Defaults_Custom_ScaleDistribution struct {
	Type            types.String  `tfsdk:"type"`
	Log             types.Float64 `tfsdk:"log"`
	LinearThreshold types.Float64 `tfsdk:"linear_threshold"`
}

func (PanelGeomapDataSourceModel_FieldConfig_Defaults_Custom_ScaleDistribution) ApplyDefaults

func (PanelGeomapDataSourceModel_FieldConfig_Defaults_Custom_ScaleDistribution) MarshalJSON

type PanelGeomapDataSourceModel_FieldConfig_Defaults_Custom_Stacking added in v0.2.0

type PanelGeomapDataSourceModel_FieldConfig_Defaults_Custom_Stacking struct {
	Mode  types.String `tfsdk:"mode"`
	Group types.String `tfsdk:"group"`
}

func (PanelGeomapDataSourceModel_FieldConfig_Defaults_Custom_Stacking) ApplyDefaults added in v0.2.0

func (PanelGeomapDataSourceModel_FieldConfig_Defaults_Custom_Stacking) MarshalJSON added in v0.2.0

type PanelGeomapDataSourceModel_FieldConfig_Defaults_Custom_ThresholdsStyle

type PanelGeomapDataSourceModel_FieldConfig_Defaults_Custom_ThresholdsStyle struct {
	Mode types.String `tfsdk:"mode"`
}

func (PanelGeomapDataSourceModel_FieldConfig_Defaults_Custom_ThresholdsStyle) ApplyDefaults

func (PanelGeomapDataSourceModel_FieldConfig_Defaults_Custom_ThresholdsStyle) MarshalJSON

type PanelGeomapDataSourceModel_FieldConfig_Defaults_Mappings

type PanelGeomapDataSourceModel_FieldConfig_Defaults_Mappings struct {
	ValueMap        *PanelGeomapDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap        `tfsdk:"value_map"`
	RangeMap        *PanelGeomapDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap        `tfsdk:"range_map"`
	RegexMap        *PanelGeomapDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap        `tfsdk:"regex_map"`
	SpecialValueMap *PanelGeomapDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap `tfsdk:"special_value_map"`
}

func (PanelGeomapDataSourceModel_FieldConfig_Defaults_Mappings) ApplyDefaults

func (PanelGeomapDataSourceModel_FieldConfig_Defaults_Mappings) MarshalJSON

type PanelGeomapDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap

type PanelGeomapDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap struct {
	Type    types.String                                                               `tfsdk:"type"`
	Options *PanelGeomapDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options `tfsdk:"options"`
}

func (PanelGeomapDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap) ApplyDefaults

func (PanelGeomapDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap) MarshalJSON

type PanelGeomapDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options

type PanelGeomapDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options struct {
	From   types.String                                                                      `tfsdk:"from"`
	To     types.String                                                                      `tfsdk:"to"`
	Result *PanelGeomapDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options_Result `tfsdk:"result"`
}

func (PanelGeomapDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options) ApplyDefaults

func (PanelGeomapDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options) GetAttrFrom added in v0.2.0

func (PanelGeomapDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options) GetAttrTo added in v0.2.0

func (PanelGeomapDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options) MarshalJSON

type PanelGeomapDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options_Result

type PanelGeomapDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options_Result struct {
	Text  types.String `tfsdk:"text"`
	Color types.String `tfsdk:"color"`
	Icon  types.String `tfsdk:"icon"`
	Index types.Int64  `tfsdk:"index"`
}

func (PanelGeomapDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options_Result) ApplyDefaults

func (PanelGeomapDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options_Result) MarshalJSON

type PanelGeomapDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap

type PanelGeomapDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap struct {
	Type    types.String                                                               `tfsdk:"type"`
	Options *PanelGeomapDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options `tfsdk:"options"`
}

func (PanelGeomapDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap) ApplyDefaults

func (PanelGeomapDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap) MarshalJSON

type PanelGeomapDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options

type PanelGeomapDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options struct {
	Pattern types.String                                                                      `tfsdk:"pattern"`
	Result  *PanelGeomapDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options_Result `tfsdk:"result"`
}

func (PanelGeomapDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options) ApplyDefaults

func (PanelGeomapDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options) MarshalJSON

type PanelGeomapDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options_Result

type PanelGeomapDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options_Result struct {
	Text  types.String `tfsdk:"text"`
	Color types.String `tfsdk:"color"`
	Icon  types.String `tfsdk:"icon"`
	Index types.Int64  `tfsdk:"index"`
}

func (PanelGeomapDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options_Result) ApplyDefaults

func (PanelGeomapDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options_Result) MarshalJSON

type PanelGeomapDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap

type PanelGeomapDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap struct {
	Type    types.String                                                                      `tfsdk:"type"`
	Options *PanelGeomapDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options `tfsdk:"options"`
}

func (PanelGeomapDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap) ApplyDefaults

func (PanelGeomapDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap) MarshalJSON

type PanelGeomapDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options

type PanelGeomapDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options struct {
	Match  types.String                                                                             `tfsdk:"match"`
	Result *PanelGeomapDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options_Result `tfsdk:"result"`
}

func (PanelGeomapDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options) ApplyDefaults

func (PanelGeomapDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options) MarshalJSON

type PanelGeomapDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options_Result

type PanelGeomapDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options_Result struct {
	Text  types.String `tfsdk:"text"`
	Color types.String `tfsdk:"color"`
	Icon  types.String `tfsdk:"icon"`
	Index types.Int64  `tfsdk:"index"`
}

func (PanelGeomapDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options_Result) MarshalJSON

type PanelGeomapDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap

type PanelGeomapDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap struct {
	Type    types.String                                                                          `tfsdk:"type"`
	Options *map[string]PanelGeomapDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap_Options `tfsdk:"options"`
}

func (PanelGeomapDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap) ApplyDefaults

func (PanelGeomapDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap) MarshalJSON

type PanelGeomapDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap_Options

type PanelGeomapDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap_Options struct {
	Text  types.String `tfsdk:"text"`
	Color types.String `tfsdk:"color"`
	Icon  types.String `tfsdk:"icon"`
	Index types.Int64  `tfsdk:"index"`
}

func (PanelGeomapDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap_Options) ApplyDefaults

func (PanelGeomapDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap_Options) MarshalJSON

type PanelGeomapDataSourceModel_FieldConfig_Defaults_Thresholds

type PanelGeomapDataSourceModel_FieldConfig_Defaults_Thresholds struct {
	Mode  types.String                                                       `tfsdk:"mode"`
	Steps []PanelGeomapDataSourceModel_FieldConfig_Defaults_Thresholds_Steps `tfsdk:"steps"`
}

func (PanelGeomapDataSourceModel_FieldConfig_Defaults_Thresholds) ApplyDefaults

func (PanelGeomapDataSourceModel_FieldConfig_Defaults_Thresholds) MarshalJSON

type PanelGeomapDataSourceModel_FieldConfig_Defaults_Thresholds_Steps

type PanelGeomapDataSourceModel_FieldConfig_Defaults_Thresholds_Steps struct {
	Value types.String `tfsdk:"value"`
	Color types.String `tfsdk:"color"`
}

func (PanelGeomapDataSourceModel_FieldConfig_Defaults_Thresholds_Steps) ApplyDefaults

func (PanelGeomapDataSourceModel_FieldConfig_Defaults_Thresholds_Steps) GetAttrValue added in v0.2.0

func (PanelGeomapDataSourceModel_FieldConfig_Defaults_Thresholds_Steps) MarshalJSON

type PanelGeomapDataSourceModel_FieldConfig_Overrides

type PanelGeomapDataSourceModel_FieldConfig_Overrides struct {
	Matcher    *PanelGeomapDataSourceModel_FieldConfig_Overrides_Matcher     `tfsdk:"matcher"`
	Properties []PanelGeomapDataSourceModel_FieldConfig_Overrides_Properties `tfsdk:"properties"`
}

func (PanelGeomapDataSourceModel_FieldConfig_Overrides) ApplyDefaults

func (PanelGeomapDataSourceModel_FieldConfig_Overrides) MarshalJSON

type PanelGeomapDataSourceModel_FieldConfig_Overrides_Matcher

type PanelGeomapDataSourceModel_FieldConfig_Overrides_Matcher struct {
}

func (PanelGeomapDataSourceModel_FieldConfig_Overrides_Matcher) ApplyDefaults

func (PanelGeomapDataSourceModel_FieldConfig_Overrides_Matcher) MarshalJSON

type PanelGeomapDataSourceModel_FieldConfig_Overrides_Properties

type PanelGeomapDataSourceModel_FieldConfig_Overrides_Properties struct {
}

func (PanelGeomapDataSourceModel_FieldConfig_Overrides_Properties) ApplyDefaults

func (PanelGeomapDataSourceModel_FieldConfig_Overrides_Properties) MarshalJSON

type PanelGeomapDataSourceModel_GridPos

type PanelGeomapDataSourceModel_GridPos struct {
	H      types.Int64 `tfsdk:"h"`
	W      types.Int64 `tfsdk:"w"`
	X      types.Int64 `tfsdk:"x"`
	Y      types.Int64 `tfsdk:"y"`
	Static types.Bool  `tfsdk:"static"`
}

func (PanelGeomapDataSourceModel_GridPos) ApplyDefaults

func (PanelGeomapDataSourceModel_GridPos) MarshalJSON

func (m PanelGeomapDataSourceModel_GridPos) MarshalJSON() ([]byte, error)

type PanelGeomapDataSourceModel_LibraryPanel

type PanelGeomapDataSourceModel_LibraryPanel struct {
	Name types.String `tfsdk:"name"`
	Uid  types.String `tfsdk:"uid"`
}

func (PanelGeomapDataSourceModel_LibraryPanel) ApplyDefaults

func (PanelGeomapDataSourceModel_LibraryPanel) MarshalJSON

func (m PanelGeomapDataSourceModel_LibraryPanel) MarshalJSON() ([]byte, error)
type PanelGeomapDataSourceModel_Links struct {
	Title       types.String `tfsdk:"title"`
	Type        types.String `tfsdk:"type"`
	Icon        types.String `tfsdk:"icon"`
	Tooltip     types.String `tfsdk:"tooltip"`
	Url         types.String `tfsdk:"url"`
	Tags        types.List   `tfsdk:"tags"`
	AsDropdown  types.Bool   `tfsdk:"as_dropdown"`
	TargetBlank types.Bool   `tfsdk:"target_blank"`
	IncludeVars types.Bool   `tfsdk:"include_vars"`
	KeepTime    types.Bool   `tfsdk:"keep_time"`
}

func (PanelGeomapDataSourceModel_Links) ApplyDefaults

func (PanelGeomapDataSourceModel_Links) MarshalJSON

func (m PanelGeomapDataSourceModel_Links) MarshalJSON() ([]byte, error)

type PanelGeomapDataSourceModel_Options

type PanelGeomapDataSourceModel_Options struct {
	View     *PanelGeomapDataSourceModel_Options_View     `tfsdk:"view"`
	Controls *PanelGeomapDataSourceModel_Options_Controls `tfsdk:"controls"`
	Basemap  *PanelGeomapDataSourceModel_Options_Basemap  `tfsdk:"basemap"`
	Layers   []PanelGeomapDataSourceModel_Options_Layers  `tfsdk:"layers"`
	Tooltip  *PanelGeomapDataSourceModel_Options_Tooltip  `tfsdk:"tooltip"`
}

func (PanelGeomapDataSourceModel_Options) ApplyDefaults

func (PanelGeomapDataSourceModel_Options) MarshalJSON

func (m PanelGeomapDataSourceModel_Options) MarshalJSON() ([]byte, error)

type PanelGeomapDataSourceModel_Options_Basemap

type PanelGeomapDataSourceModel_Options_Basemap struct {
	Type     types.String                                         `tfsdk:"type"`
	Name     types.String                                         `tfsdk:"name"`
	Location *PanelGeomapDataSourceModel_Options_Basemap_Location `tfsdk:"location"`
	Opacity  types.Int64                                          `tfsdk:"opacity"`
	Tooltip  types.Bool                                           `tfsdk:"tooltip"`
}

func (PanelGeomapDataSourceModel_Options_Basemap) ApplyDefaults

func (PanelGeomapDataSourceModel_Options_Basemap) MarshalJSON

type PanelGeomapDataSourceModel_Options_Basemap_Location

type PanelGeomapDataSourceModel_Options_Basemap_Location struct {
	Mode      types.String `tfsdk:"mode"`
	Geohash   types.String `tfsdk:"geohash"`
	Latitude  types.String `tfsdk:"latitude"`
	Longitude types.String `tfsdk:"longitude"`
	Wkt       types.String `tfsdk:"wkt"`
	Lookup    types.String `tfsdk:"lookup"`
	Gazetteer types.String `tfsdk:"gazetteer"`
}

func (PanelGeomapDataSourceModel_Options_Basemap_Location) ApplyDefaults

func (PanelGeomapDataSourceModel_Options_Basemap_Location) MarshalJSON

type PanelGeomapDataSourceModel_Options_Controls

type PanelGeomapDataSourceModel_Options_Controls struct {
	ShowZoom        types.Bool `tfsdk:"show_zoom"`
	MouseWheelZoom  types.Bool `tfsdk:"mouse_wheel_zoom"`
	ShowAttribution types.Bool `tfsdk:"show_attribution"`
	ShowScale       types.Bool `tfsdk:"show_scale"`
	ShowDebug       types.Bool `tfsdk:"show_debug"`
	ShowMeasure     types.Bool `tfsdk:"show_measure"`
}

func (PanelGeomapDataSourceModel_Options_Controls) ApplyDefaults

func (PanelGeomapDataSourceModel_Options_Controls) MarshalJSON

type PanelGeomapDataSourceModel_Options_Layers

type PanelGeomapDataSourceModel_Options_Layers struct {
	Type     types.String                                        `tfsdk:"type"`
	Name     types.String                                        `tfsdk:"name"`
	Location *PanelGeomapDataSourceModel_Options_Layers_Location `tfsdk:"location"`
	Opacity  types.Int64                                         `tfsdk:"opacity"`
	Tooltip  types.Bool                                          `tfsdk:"tooltip"`
}

func (PanelGeomapDataSourceModel_Options_Layers) ApplyDefaults

func (PanelGeomapDataSourceModel_Options_Layers) MarshalJSON

type PanelGeomapDataSourceModel_Options_Layers_Location

type PanelGeomapDataSourceModel_Options_Layers_Location struct {
	Mode      types.String `tfsdk:"mode"`
	Geohash   types.String `tfsdk:"geohash"`
	Latitude  types.String `tfsdk:"latitude"`
	Longitude types.String `tfsdk:"longitude"`
	Wkt       types.String `tfsdk:"wkt"`
	Lookup    types.String `tfsdk:"lookup"`
	Gazetteer types.String `tfsdk:"gazetteer"`
}

func (PanelGeomapDataSourceModel_Options_Layers_Location) ApplyDefaults

func (PanelGeomapDataSourceModel_Options_Layers_Location) MarshalJSON

type PanelGeomapDataSourceModel_Options_Tooltip

type PanelGeomapDataSourceModel_Options_Tooltip struct {
	Mode types.String `tfsdk:"mode"`
}

func (PanelGeomapDataSourceModel_Options_Tooltip) ApplyDefaults

func (PanelGeomapDataSourceModel_Options_Tooltip) MarshalJSON

type PanelGeomapDataSourceModel_Options_View

type PanelGeomapDataSourceModel_Options_View struct {
	Lat       types.Int64  `tfsdk:"lat"`
	Lon       types.Int64  `tfsdk:"lon"`
	Zoom      types.Int64  `tfsdk:"zoom"`
	MinZoom   types.Int64  `tfsdk:"min_zoom"`
	MaxZoom   types.Int64  `tfsdk:"max_zoom"`
	Padding   types.Int64  `tfsdk:"padding"`
	AllLayers types.Bool   `tfsdk:"all_layers"`
	LastOnly  types.Bool   `tfsdk:"last_only"`
	Layer     types.String `tfsdk:"layer"`
	Shared    types.Bool   `tfsdk:"shared"`
}

func (PanelGeomapDataSourceModel_Options_View) ApplyDefaults

func (PanelGeomapDataSourceModel_Options_View) MarshalJSON

func (m PanelGeomapDataSourceModel_Options_View) MarshalJSON() ([]byte, error)

type PanelGeomapDataSourceModel_Transformations

type PanelGeomapDataSourceModel_Transformations struct {
	Disabled types.Bool                                         `tfsdk:"disabled"`
	Filter   *PanelGeomapDataSourceModel_Transformations_Filter `tfsdk:"filter"`
}

func (PanelGeomapDataSourceModel_Transformations) ApplyDefaults

func (PanelGeomapDataSourceModel_Transformations) MarshalJSON

type PanelGeomapDataSourceModel_Transformations_Filter

type PanelGeomapDataSourceModel_Transformations_Filter struct {
}

func (PanelGeomapDataSourceModel_Transformations_Filter) ApplyDefaults

func (PanelGeomapDataSourceModel_Transformations_Filter) MarshalJSON

type PanelHeatmapDataSource

type PanelHeatmapDataSource struct{}

PanelHeatmapDataSource defines the data source implementation.

func (*PanelHeatmapDataSource) Configure

func (*PanelHeatmapDataSource) Metadata

func (*PanelHeatmapDataSource) Read

func (*PanelHeatmapDataSource) Schema

type PanelHeatmapDataSourceModel

type PanelHeatmapDataSourceModel struct {
	RenderedJSON    types.String                                  `tfsdk:"rendered_json"`
	Type            types.String                                  `tfsdk:"type"`
	PluginVersion   types.String                                  `tfsdk:"plugin_version"`
	Tags            types.List                                    `tfsdk:"tags"`
	Targets         types.List                                    `tfsdk:"targets"`
	Title           types.String                                  `tfsdk:"title"`
	Description     types.String                                  `tfsdk:"description"`
	Transparent     types.Bool                                    `tfsdk:"transparent"`
	Datasource      *PanelHeatmapDataSourceModel_Datasource       `tfsdk:"datasource"`
	GridPos         *PanelHeatmapDataSourceModel_GridPos          `tfsdk:"grid_pos"`
	Links           []PanelHeatmapDataSourceModel_Links           `tfsdk:"links"`
	Repeat          types.String                                  `tfsdk:"repeat"`
	RepeatDirection types.String                                  `tfsdk:"repeat_direction"`
	RepeatPanelId   types.Int64                                   `tfsdk:"repeat_panel_id"`
	MaxDataPoints   types.Float64                                 `tfsdk:"max_data_points"`
	Transformations []PanelHeatmapDataSourceModel_Transformations `tfsdk:"transformations"`
	Interval        types.String                                  `tfsdk:"interval"`
	TimeFrom        types.String                                  `tfsdk:"time_from"`
	TimeShift       types.String                                  `tfsdk:"time_shift"`
	LibraryPanel    *PanelHeatmapDataSourceModel_LibraryPanel     `tfsdk:"library_panel"`
	Options         *PanelHeatmapDataSourceModel_Options          `tfsdk:"options"`
	FieldConfig     *PanelHeatmapDataSourceModel_FieldConfig      `tfsdk:"field_config"`
}

func (PanelHeatmapDataSourceModel) ApplyDefaults

func (PanelHeatmapDataSourceModel) MarshalJSON

func (m PanelHeatmapDataSourceModel) MarshalJSON() ([]byte, error)

type PanelHeatmapDataSourceModel_Datasource

type PanelHeatmapDataSourceModel_Datasource struct {
	Type types.String `tfsdk:"type"`
	Uid  types.String `tfsdk:"uid"`
}

func (PanelHeatmapDataSourceModel_Datasource) ApplyDefaults

func (PanelHeatmapDataSourceModel_Datasource) MarshalJSON

func (m PanelHeatmapDataSourceModel_Datasource) MarshalJSON() ([]byte, error)

type PanelHeatmapDataSourceModel_FieldConfig

type PanelHeatmapDataSourceModel_FieldConfig struct {
	Defaults  *PanelHeatmapDataSourceModel_FieldConfig_Defaults   `tfsdk:"defaults"`
	Overrides []PanelHeatmapDataSourceModel_FieldConfig_Overrides `tfsdk:"overrides"`
}

func (PanelHeatmapDataSourceModel_FieldConfig) ApplyDefaults

func (PanelHeatmapDataSourceModel_FieldConfig) MarshalJSON

func (m PanelHeatmapDataSourceModel_FieldConfig) MarshalJSON() ([]byte, error)

type PanelHeatmapDataSourceModel_FieldConfig_Defaults

type PanelHeatmapDataSourceModel_FieldConfig_Defaults struct {
	DisplayName       types.String                                                 `tfsdk:"display_name"`
	DisplayNameFromDS types.String                                                 `tfsdk:"display_name_from_ds"`
	Description       types.String                                                 `tfsdk:"description"`
	Path              types.String                                                 `tfsdk:"path"`
	Writeable         types.Bool                                                   `tfsdk:"writeable"`
	Filterable        types.Bool                                                   `tfsdk:"filterable"`
	Unit              types.String                                                 `tfsdk:"unit"`
	Decimals          types.Float64                                                `tfsdk:"decimals"`
	Min               types.Float64                                                `tfsdk:"min"`
	Max               types.Float64                                                `tfsdk:"max"`
	Mappings          []PanelHeatmapDataSourceModel_FieldConfig_Defaults_Mappings  `tfsdk:"mappings"`
	Thresholds        *PanelHeatmapDataSourceModel_FieldConfig_Defaults_Thresholds `tfsdk:"thresholds"`
	Color             *PanelHeatmapDataSourceModel_FieldConfig_Defaults_Color      `tfsdk:"color"`
	NoValue           types.String                                                 `tfsdk:"no_value"`
	Custom            *PanelHeatmapDataSourceModel_FieldConfig_Defaults_Custom     `tfsdk:"custom"`
}

func (PanelHeatmapDataSourceModel_FieldConfig_Defaults) ApplyDefaults

func (PanelHeatmapDataSourceModel_FieldConfig_Defaults) MarshalJSON

type PanelHeatmapDataSourceModel_FieldConfig_Defaults_Color

type PanelHeatmapDataSourceModel_FieldConfig_Defaults_Color struct {
	Mode       types.String `tfsdk:"mode"`
	FixedColor types.String `tfsdk:"fixed_color"`
	SeriesBy   types.String `tfsdk:"series_by"`
}

func (PanelHeatmapDataSourceModel_FieldConfig_Defaults_Color) ApplyDefaults

func (PanelHeatmapDataSourceModel_FieldConfig_Defaults_Color) MarshalJSON

type PanelHeatmapDataSourceModel_FieldConfig_Defaults_Custom

type PanelHeatmapDataSourceModel_FieldConfig_Defaults_Custom struct {
	ScaleDistribution *PanelHeatmapDataSourceModel_FieldConfig_Defaults_Custom_ScaleDistribution `tfsdk:"scale_distribution"`
	HideFrom          *PanelHeatmapDataSourceModel_FieldConfig_Defaults_Custom_HideFrom          `tfsdk:"hide_from"`
}

func (PanelHeatmapDataSourceModel_FieldConfig_Defaults_Custom) ApplyDefaults

func (PanelHeatmapDataSourceModel_FieldConfig_Defaults_Custom) MarshalJSON

type PanelHeatmapDataSourceModel_FieldConfig_Defaults_Custom_HideFrom

type PanelHeatmapDataSourceModel_FieldConfig_Defaults_Custom_HideFrom struct {
	Tooltip types.Bool `tfsdk:"tooltip"`
	Legend  types.Bool `tfsdk:"legend"`
	Viz     types.Bool `tfsdk:"viz"`
}

func (PanelHeatmapDataSourceModel_FieldConfig_Defaults_Custom_HideFrom) ApplyDefaults

func (PanelHeatmapDataSourceModel_FieldConfig_Defaults_Custom_HideFrom) MarshalJSON

type PanelHeatmapDataSourceModel_FieldConfig_Defaults_Custom_ScaleDistribution

type PanelHeatmapDataSourceModel_FieldConfig_Defaults_Custom_ScaleDistribution struct {
	Type            types.String  `tfsdk:"type"`
	Log             types.Float64 `tfsdk:"log"`
	LinearThreshold types.Float64 `tfsdk:"linear_threshold"`
}

func (PanelHeatmapDataSourceModel_FieldConfig_Defaults_Custom_ScaleDistribution) ApplyDefaults

func (PanelHeatmapDataSourceModel_FieldConfig_Defaults_Custom_ScaleDistribution) MarshalJSON

type PanelHeatmapDataSourceModel_FieldConfig_Defaults_Mappings

type PanelHeatmapDataSourceModel_FieldConfig_Defaults_Mappings struct {
	ValueMap        *PanelHeatmapDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap        `tfsdk:"value_map"`
	RangeMap        *PanelHeatmapDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap        `tfsdk:"range_map"`
	RegexMap        *PanelHeatmapDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap        `tfsdk:"regex_map"`
	SpecialValueMap *PanelHeatmapDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap `tfsdk:"special_value_map"`
}

func (PanelHeatmapDataSourceModel_FieldConfig_Defaults_Mappings) ApplyDefaults

func (PanelHeatmapDataSourceModel_FieldConfig_Defaults_Mappings) MarshalJSON

type PanelHeatmapDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap

type PanelHeatmapDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap struct {
	Type    types.String                                                                `tfsdk:"type"`
	Options *PanelHeatmapDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options `tfsdk:"options"`
}

func (PanelHeatmapDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap) ApplyDefaults

func (PanelHeatmapDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap) MarshalJSON

type PanelHeatmapDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options

type PanelHeatmapDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options struct {
	From   types.String                                                                       `tfsdk:"from"`
	To     types.String                                                                       `tfsdk:"to"`
	Result *PanelHeatmapDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options_Result `tfsdk:"result"`
}

func (PanelHeatmapDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options) ApplyDefaults

func (PanelHeatmapDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options) GetAttrFrom added in v0.2.0

func (PanelHeatmapDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options) GetAttrTo added in v0.2.0

func (PanelHeatmapDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options) MarshalJSON

type PanelHeatmapDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options_Result

type PanelHeatmapDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options_Result struct {
	Text  types.String `tfsdk:"text"`
	Color types.String `tfsdk:"color"`
	Icon  types.String `tfsdk:"icon"`
	Index types.Int64  `tfsdk:"index"`
}

func (PanelHeatmapDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options_Result) ApplyDefaults

func (PanelHeatmapDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options_Result) MarshalJSON

type PanelHeatmapDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap

type PanelHeatmapDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap struct {
	Type    types.String                                                                `tfsdk:"type"`
	Options *PanelHeatmapDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options `tfsdk:"options"`
}

func (PanelHeatmapDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap) ApplyDefaults

func (PanelHeatmapDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap) MarshalJSON

type PanelHeatmapDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options

type PanelHeatmapDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options struct {
	Pattern types.String                                                                       `tfsdk:"pattern"`
	Result  *PanelHeatmapDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options_Result `tfsdk:"result"`
}

func (PanelHeatmapDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options) ApplyDefaults

func (PanelHeatmapDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options) MarshalJSON

type PanelHeatmapDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options_Result

type PanelHeatmapDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options_Result struct {
	Text  types.String `tfsdk:"text"`
	Color types.String `tfsdk:"color"`
	Icon  types.String `tfsdk:"icon"`
	Index types.Int64  `tfsdk:"index"`
}

func (PanelHeatmapDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options_Result) ApplyDefaults

func (PanelHeatmapDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options_Result) MarshalJSON

type PanelHeatmapDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap

type PanelHeatmapDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap struct {
	Type    types.String                                                                       `tfsdk:"type"`
	Options *PanelHeatmapDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options `tfsdk:"options"`
}

func (PanelHeatmapDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap) ApplyDefaults

func (PanelHeatmapDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap) MarshalJSON

type PanelHeatmapDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options

type PanelHeatmapDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options struct {
	Match  types.String                                                                              `tfsdk:"match"`
	Result *PanelHeatmapDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options_Result `tfsdk:"result"`
}

func (PanelHeatmapDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options) ApplyDefaults

func (PanelHeatmapDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options) MarshalJSON

type PanelHeatmapDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options_Result

type PanelHeatmapDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options_Result struct {
	Text  types.String `tfsdk:"text"`
	Color types.String `tfsdk:"color"`
	Icon  types.String `tfsdk:"icon"`
	Index types.Int64  `tfsdk:"index"`
}

func (PanelHeatmapDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options_Result) MarshalJSON

type PanelHeatmapDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap

type PanelHeatmapDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap struct {
	Type    types.String                                                                           `tfsdk:"type"`
	Options *map[string]PanelHeatmapDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap_Options `tfsdk:"options"`
}

func (PanelHeatmapDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap) ApplyDefaults

func (PanelHeatmapDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap) MarshalJSON

type PanelHeatmapDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap_Options

type PanelHeatmapDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap_Options struct {
	Text  types.String `tfsdk:"text"`
	Color types.String `tfsdk:"color"`
	Icon  types.String `tfsdk:"icon"`
	Index types.Int64  `tfsdk:"index"`
}

func (PanelHeatmapDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap_Options) ApplyDefaults

func (PanelHeatmapDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap_Options) MarshalJSON

type PanelHeatmapDataSourceModel_FieldConfig_Defaults_Thresholds

type PanelHeatmapDataSourceModel_FieldConfig_Defaults_Thresholds struct {
	Mode  types.String                                                        `tfsdk:"mode"`
	Steps []PanelHeatmapDataSourceModel_FieldConfig_Defaults_Thresholds_Steps `tfsdk:"steps"`
}

func (PanelHeatmapDataSourceModel_FieldConfig_Defaults_Thresholds) ApplyDefaults

func (PanelHeatmapDataSourceModel_FieldConfig_Defaults_Thresholds) MarshalJSON

type PanelHeatmapDataSourceModel_FieldConfig_Defaults_Thresholds_Steps

type PanelHeatmapDataSourceModel_FieldConfig_Defaults_Thresholds_Steps struct {
	Value types.String `tfsdk:"value"`
	Color types.String `tfsdk:"color"`
}

func (PanelHeatmapDataSourceModel_FieldConfig_Defaults_Thresholds_Steps) ApplyDefaults

func (PanelHeatmapDataSourceModel_FieldConfig_Defaults_Thresholds_Steps) GetAttrValue added in v0.2.0

func (PanelHeatmapDataSourceModel_FieldConfig_Defaults_Thresholds_Steps) MarshalJSON

type PanelHeatmapDataSourceModel_FieldConfig_Overrides

type PanelHeatmapDataSourceModel_FieldConfig_Overrides struct {
	Matcher    *PanelHeatmapDataSourceModel_FieldConfig_Overrides_Matcher     `tfsdk:"matcher"`
	Properties []PanelHeatmapDataSourceModel_FieldConfig_Overrides_Properties `tfsdk:"properties"`
}

func (PanelHeatmapDataSourceModel_FieldConfig_Overrides) ApplyDefaults

func (PanelHeatmapDataSourceModel_FieldConfig_Overrides) MarshalJSON

type PanelHeatmapDataSourceModel_FieldConfig_Overrides_Matcher

type PanelHeatmapDataSourceModel_FieldConfig_Overrides_Matcher struct {
}

func (PanelHeatmapDataSourceModel_FieldConfig_Overrides_Matcher) ApplyDefaults

func (PanelHeatmapDataSourceModel_FieldConfig_Overrides_Matcher) MarshalJSON

type PanelHeatmapDataSourceModel_FieldConfig_Overrides_Properties

type PanelHeatmapDataSourceModel_FieldConfig_Overrides_Properties struct {
}

func (PanelHeatmapDataSourceModel_FieldConfig_Overrides_Properties) ApplyDefaults

func (PanelHeatmapDataSourceModel_FieldConfig_Overrides_Properties) MarshalJSON

type PanelHeatmapDataSourceModel_GridPos

type PanelHeatmapDataSourceModel_GridPos struct {
	H      types.Int64 `tfsdk:"h"`
	W      types.Int64 `tfsdk:"w"`
	X      types.Int64 `tfsdk:"x"`
	Y      types.Int64 `tfsdk:"y"`
	Static types.Bool  `tfsdk:"static"`
}

func (PanelHeatmapDataSourceModel_GridPos) ApplyDefaults

func (PanelHeatmapDataSourceModel_GridPos) MarshalJSON

func (m PanelHeatmapDataSourceModel_GridPos) MarshalJSON() ([]byte, error)

type PanelHeatmapDataSourceModel_LibraryPanel

type PanelHeatmapDataSourceModel_LibraryPanel struct {
	Name types.String `tfsdk:"name"`
	Uid  types.String `tfsdk:"uid"`
}

func (PanelHeatmapDataSourceModel_LibraryPanel) ApplyDefaults

func (PanelHeatmapDataSourceModel_LibraryPanel) MarshalJSON

type PanelHeatmapDataSourceModel_Links struct {
	Title       types.String `tfsdk:"title"`
	Type        types.String `tfsdk:"type"`
	Icon        types.String `tfsdk:"icon"`
	Tooltip     types.String `tfsdk:"tooltip"`
	Url         types.String `tfsdk:"url"`
	Tags        types.List   `tfsdk:"tags"`
	AsDropdown  types.Bool   `tfsdk:"as_dropdown"`
	TargetBlank types.Bool   `tfsdk:"target_blank"`
	IncludeVars types.Bool   `tfsdk:"include_vars"`
	KeepTime    types.Bool   `tfsdk:"keep_time"`
}

func (PanelHeatmapDataSourceModel_Links) ApplyDefaults

func (PanelHeatmapDataSourceModel_Links) MarshalJSON

func (m PanelHeatmapDataSourceModel_Links) MarshalJSON() ([]byte, error)

type PanelHeatmapDataSourceModel_Options

type PanelHeatmapDataSourceModel_Options struct {
	Calculate    types.Bool                                        `tfsdk:"calculate"`
	Calculation  *PanelHeatmapDataSourceModel_Options_Calculation  `tfsdk:"calculation"`
	Color        *PanelHeatmapDataSourceModel_Options_Color        `tfsdk:"color"`
	FilterValues *PanelHeatmapDataSourceModel_Options_FilterValues `tfsdk:"filter_values"`
	RowsFrame    *PanelHeatmapDataSourceModel_Options_RowsFrame    `tfsdk:"rows_frame"`
	ShowValue    types.String                                      `tfsdk:"show_value"`
	CellGap      types.Int64                                       `tfsdk:"cell_gap"`
	CellRadius   types.Float64                                     `tfsdk:"cell_radius"`
	CellValues   *PanelHeatmapDataSourceModel_Options_CellValues   `tfsdk:"cell_values"`
	YAxis        *PanelHeatmapDataSourceModel_Options_YAxis        `tfsdk:"y_axis"`
	Legend       *PanelHeatmapDataSourceModel_Options_Legend       `tfsdk:"legend"`
	Tooltip      *PanelHeatmapDataSourceModel_Options_Tooltip      `tfsdk:"tooltip"`
	Exemplars    *PanelHeatmapDataSourceModel_Options_Exemplars    `tfsdk:"exemplars"`
}

func (PanelHeatmapDataSourceModel_Options) ApplyDefaults

func (PanelHeatmapDataSourceModel_Options) MarshalJSON

func (m PanelHeatmapDataSourceModel_Options) MarshalJSON() ([]byte, error)

type PanelHeatmapDataSourceModel_Options_Calculation

type PanelHeatmapDataSourceModel_Options_Calculation struct {
	XBuckets *PanelHeatmapDataSourceModel_Options_Calculation_XBuckets `tfsdk:"x_buckets"`
	YBuckets *PanelHeatmapDataSourceModel_Options_Calculation_YBuckets `tfsdk:"y_buckets"`
}

func (PanelHeatmapDataSourceModel_Options_Calculation) ApplyDefaults

func (PanelHeatmapDataSourceModel_Options_Calculation) MarshalJSON

type PanelHeatmapDataSourceModel_Options_Calculation_XBuckets

type PanelHeatmapDataSourceModel_Options_Calculation_XBuckets struct {
	Mode  types.String                                                    `tfsdk:"mode"`
	Value types.String                                                    `tfsdk:"value"`
	Scale *PanelHeatmapDataSourceModel_Options_Calculation_XBuckets_Scale `tfsdk:"scale"`
}

func (PanelHeatmapDataSourceModel_Options_Calculation_XBuckets) ApplyDefaults

func (PanelHeatmapDataSourceModel_Options_Calculation_XBuckets) MarshalJSON

type PanelHeatmapDataSourceModel_Options_Calculation_XBuckets_Scale

type PanelHeatmapDataSourceModel_Options_Calculation_XBuckets_Scale struct {
	Type            types.String  `tfsdk:"type"`
	Log             types.Float64 `tfsdk:"log"`
	LinearThreshold types.Float64 `tfsdk:"linear_threshold"`
}

func (PanelHeatmapDataSourceModel_Options_Calculation_XBuckets_Scale) ApplyDefaults

func (PanelHeatmapDataSourceModel_Options_Calculation_XBuckets_Scale) MarshalJSON

type PanelHeatmapDataSourceModel_Options_Calculation_YBuckets

type PanelHeatmapDataSourceModel_Options_Calculation_YBuckets struct {
	Mode  types.String                                                    `tfsdk:"mode"`
	Value types.String                                                    `tfsdk:"value"`
	Scale *PanelHeatmapDataSourceModel_Options_Calculation_YBuckets_Scale `tfsdk:"scale"`
}

func (PanelHeatmapDataSourceModel_Options_Calculation_YBuckets) ApplyDefaults

func (PanelHeatmapDataSourceModel_Options_Calculation_YBuckets) MarshalJSON

type PanelHeatmapDataSourceModel_Options_Calculation_YBuckets_Scale

type PanelHeatmapDataSourceModel_Options_Calculation_YBuckets_Scale struct {
	Type            types.String  `tfsdk:"type"`
	Log             types.Float64 `tfsdk:"log"`
	LinearThreshold types.Float64 `tfsdk:"linear_threshold"`
}

func (PanelHeatmapDataSourceModel_Options_Calculation_YBuckets_Scale) ApplyDefaults

func (PanelHeatmapDataSourceModel_Options_Calculation_YBuckets_Scale) MarshalJSON

type PanelHeatmapDataSourceModel_Options_CellValues

type PanelHeatmapDataSourceModel_Options_CellValues struct {
	CellValues *PanelHeatmapDataSourceModel_Options_CellValues_CellValues `tfsdk:"cell_values"`
}

func (PanelHeatmapDataSourceModel_Options_CellValues) ApplyDefaults

func (PanelHeatmapDataSourceModel_Options_CellValues) MarshalJSON

type PanelHeatmapDataSourceModel_Options_CellValues_CellValues

type PanelHeatmapDataSourceModel_Options_CellValues_CellValues struct {
	Unit     types.String  `tfsdk:"unit"`
	Decimals types.Float64 `tfsdk:"decimals"`
}

func (PanelHeatmapDataSourceModel_Options_CellValues_CellValues) ApplyDefaults

func (PanelHeatmapDataSourceModel_Options_CellValues_CellValues) MarshalJSON

type PanelHeatmapDataSourceModel_Options_Color

type PanelHeatmapDataSourceModel_Options_Color struct {
	HeatmapColorOptions *PanelHeatmapDataSourceModel_Options_Color_HeatmapColorOptions `tfsdk:"heatmap_color_options"`
}

func (PanelHeatmapDataSourceModel_Options_Color) ApplyDefaults

func (PanelHeatmapDataSourceModel_Options_Color) MarshalJSON

type PanelHeatmapDataSourceModel_Options_Color_HeatmapColorOptions

type PanelHeatmapDataSourceModel_Options_Color_HeatmapColorOptions struct {
	Mode     types.String  `tfsdk:"mode"`
	Scheme   types.String  `tfsdk:"scheme"`
	Fill     types.String  `tfsdk:"fill"`
	Scale    types.String  `tfsdk:"scale"`
	Exponent types.Float64 `tfsdk:"exponent"`
	Steps    types.Int64   `tfsdk:"steps"`
	Reverse  types.Bool    `tfsdk:"reverse"`
	Min      types.Float64 `tfsdk:"min"`
	Max      types.Float64 `tfsdk:"max"`
}

func (PanelHeatmapDataSourceModel_Options_Color_HeatmapColorOptions) ApplyDefaults

func (PanelHeatmapDataSourceModel_Options_Color_HeatmapColorOptions) MarshalJSON

type PanelHeatmapDataSourceModel_Options_Exemplars

type PanelHeatmapDataSourceModel_Options_Exemplars struct {
	Color types.String `tfsdk:"color"`
}

func (PanelHeatmapDataSourceModel_Options_Exemplars) ApplyDefaults

func (PanelHeatmapDataSourceModel_Options_Exemplars) MarshalJSON

type PanelHeatmapDataSourceModel_Options_FilterValues

type PanelHeatmapDataSourceModel_Options_FilterValues struct {
	FilterValueRange *PanelHeatmapDataSourceModel_Options_FilterValues_FilterValueRange `tfsdk:"filter_value_range"`
}

func (PanelHeatmapDataSourceModel_Options_FilterValues) ApplyDefaults

func (PanelHeatmapDataSourceModel_Options_FilterValues) MarshalJSON

type PanelHeatmapDataSourceModel_Options_FilterValues_FilterValueRange

type PanelHeatmapDataSourceModel_Options_FilterValues_FilterValueRange struct {
	Le types.Float64 `tfsdk:"le"`
	Ge types.Float64 `tfsdk:"ge"`
}

func (PanelHeatmapDataSourceModel_Options_FilterValues_FilterValueRange) ApplyDefaults

func (PanelHeatmapDataSourceModel_Options_FilterValues_FilterValueRange) MarshalJSON

type PanelHeatmapDataSourceModel_Options_Legend

type PanelHeatmapDataSourceModel_Options_Legend struct {
	Show types.Bool `tfsdk:"show"`
}

func (PanelHeatmapDataSourceModel_Options_Legend) ApplyDefaults

func (PanelHeatmapDataSourceModel_Options_Legend) MarshalJSON

type PanelHeatmapDataSourceModel_Options_RowsFrame

type PanelHeatmapDataSourceModel_Options_RowsFrame struct {
	Value  types.String `tfsdk:"value"`
	Layout types.String `tfsdk:"layout"`
}

func (PanelHeatmapDataSourceModel_Options_RowsFrame) ApplyDefaults

func (PanelHeatmapDataSourceModel_Options_RowsFrame) MarshalJSON

type PanelHeatmapDataSourceModel_Options_Tooltip

type PanelHeatmapDataSourceModel_Options_Tooltip struct {
	Show       types.Bool `tfsdk:"show"`
	YHistogram types.Bool `tfsdk:"y_histogram"`
}

func (PanelHeatmapDataSourceModel_Options_Tooltip) ApplyDefaults

func (PanelHeatmapDataSourceModel_Options_Tooltip) MarshalJSON

type PanelHeatmapDataSourceModel_Options_YAxis

type PanelHeatmapDataSourceModel_Options_YAxis struct {
	Unit              types.String                                                 `tfsdk:"unit"`
	Reverse           types.Bool                                                   `tfsdk:"reverse"`
	Decimals          types.Float64                                                `tfsdk:"decimals"`
	Min               types.Float64                                                `tfsdk:"min"`
	AxisPlacement     types.String                                                 `tfsdk:"axis_placement"`
	AxisColorMode     types.String                                                 `tfsdk:"axis_color_mode"`
	AxisLabel         types.String                                                 `tfsdk:"axis_label"`
	AxisWidth         types.Float64                                                `tfsdk:"axis_width"`
	AxisSoftMin       types.Float64                                                `tfsdk:"axis_soft_min"`
	AxisSoftMax       types.Float64                                                `tfsdk:"axis_soft_max"`
	AxisGridShow      types.Bool                                                   `tfsdk:"axis_grid_show"`
	ScaleDistribution *PanelHeatmapDataSourceModel_Options_YAxis_ScaleDistribution `tfsdk:"scale_distribution"`
	Max               types.Float64                                                `tfsdk:"max"`
	AxisCenteredZero  types.Bool                                                   `tfsdk:"axis_centered_zero"`
}

func (PanelHeatmapDataSourceModel_Options_YAxis) ApplyDefaults

func (PanelHeatmapDataSourceModel_Options_YAxis) MarshalJSON

type PanelHeatmapDataSourceModel_Options_YAxis_ScaleDistribution

type PanelHeatmapDataSourceModel_Options_YAxis_ScaleDistribution struct {
	Type            types.String  `tfsdk:"type"`
	Log             types.Float64 `tfsdk:"log"`
	LinearThreshold types.Float64 `tfsdk:"linear_threshold"`
}

func (PanelHeatmapDataSourceModel_Options_YAxis_ScaleDistribution) ApplyDefaults

func (PanelHeatmapDataSourceModel_Options_YAxis_ScaleDistribution) MarshalJSON

type PanelHeatmapDataSourceModel_Transformations

type PanelHeatmapDataSourceModel_Transformations struct {
	Disabled types.Bool                                          `tfsdk:"disabled"`
	Filter   *PanelHeatmapDataSourceModel_Transformations_Filter `tfsdk:"filter"`
}

func (PanelHeatmapDataSourceModel_Transformations) ApplyDefaults

func (PanelHeatmapDataSourceModel_Transformations) MarshalJSON

type PanelHeatmapDataSourceModel_Transformations_Filter

type PanelHeatmapDataSourceModel_Transformations_Filter struct {
}

func (PanelHeatmapDataSourceModel_Transformations_Filter) ApplyDefaults

func (PanelHeatmapDataSourceModel_Transformations_Filter) MarshalJSON

type PanelHistogramDataSource

type PanelHistogramDataSource struct{}

PanelHistogramDataSource defines the data source implementation.

func (*PanelHistogramDataSource) Configure

func (*PanelHistogramDataSource) Metadata

func (*PanelHistogramDataSource) Read

func (*PanelHistogramDataSource) Schema

type PanelHistogramDataSourceModel

type PanelHistogramDataSourceModel struct {
	RenderedJSON    types.String                                    `tfsdk:"rendered_json"`
	Type            types.String                                    `tfsdk:"type"`
	PluginVersion   types.String                                    `tfsdk:"plugin_version"`
	Tags            types.List                                      `tfsdk:"tags"`
	Targets         types.List                                      `tfsdk:"targets"`
	Title           types.String                                    `tfsdk:"title"`
	Description     types.String                                    `tfsdk:"description"`
	Transparent     types.Bool                                      `tfsdk:"transparent"`
	Datasource      *PanelHistogramDataSourceModel_Datasource       `tfsdk:"datasource"`
	GridPos         *PanelHistogramDataSourceModel_GridPos          `tfsdk:"grid_pos"`
	Links           []PanelHistogramDataSourceModel_Links           `tfsdk:"links"`
	Repeat          types.String                                    `tfsdk:"repeat"`
	RepeatDirection types.String                                    `tfsdk:"repeat_direction"`
	RepeatPanelId   types.Int64                                     `tfsdk:"repeat_panel_id"`
	MaxDataPoints   types.Float64                                   `tfsdk:"max_data_points"`
	Transformations []PanelHistogramDataSourceModel_Transformations `tfsdk:"transformations"`
	Interval        types.String                                    `tfsdk:"interval"`
	TimeFrom        types.String                                    `tfsdk:"time_from"`
	TimeShift       types.String                                    `tfsdk:"time_shift"`
	LibraryPanel    *PanelHistogramDataSourceModel_LibraryPanel     `tfsdk:"library_panel"`
	Options         *PanelHistogramDataSourceModel_Options          `tfsdk:"options"`
	FieldConfig     *PanelHistogramDataSourceModel_FieldConfig      `tfsdk:"field_config"`
}

func (PanelHistogramDataSourceModel) ApplyDefaults

func (PanelHistogramDataSourceModel) MarshalJSON

func (m PanelHistogramDataSourceModel) MarshalJSON() ([]byte, error)

type PanelHistogramDataSourceModel_Datasource

type PanelHistogramDataSourceModel_Datasource struct {
	Type types.String `tfsdk:"type"`
	Uid  types.String `tfsdk:"uid"`
}

func (PanelHistogramDataSourceModel_Datasource) ApplyDefaults

func (PanelHistogramDataSourceModel_Datasource) MarshalJSON

type PanelHistogramDataSourceModel_FieldConfig

type PanelHistogramDataSourceModel_FieldConfig struct {
	Defaults  *PanelHistogramDataSourceModel_FieldConfig_Defaults   `tfsdk:"defaults"`
	Overrides []PanelHistogramDataSourceModel_FieldConfig_Overrides `tfsdk:"overrides"`
}

func (PanelHistogramDataSourceModel_FieldConfig) ApplyDefaults

func (PanelHistogramDataSourceModel_FieldConfig) MarshalJSON

type PanelHistogramDataSourceModel_FieldConfig_Defaults

type PanelHistogramDataSourceModel_FieldConfig_Defaults struct {
	DisplayName       types.String                                                   `tfsdk:"display_name"`
	DisplayNameFromDS types.String                                                   `tfsdk:"display_name_from_ds"`
	Description       types.String                                                   `tfsdk:"description"`
	Path              types.String                                                   `tfsdk:"path"`
	Writeable         types.Bool                                                     `tfsdk:"writeable"`
	Filterable        types.Bool                                                     `tfsdk:"filterable"`
	Unit              types.String                                                   `tfsdk:"unit"`
	Decimals          types.Float64                                                  `tfsdk:"decimals"`
	Min               types.Float64                                                  `tfsdk:"min"`
	Max               types.Float64                                                  `tfsdk:"max"`
	Mappings          []PanelHistogramDataSourceModel_FieldConfig_Defaults_Mappings  `tfsdk:"mappings"`
	Thresholds        *PanelHistogramDataSourceModel_FieldConfig_Defaults_Thresholds `tfsdk:"thresholds"`
	Color             *PanelHistogramDataSourceModel_FieldConfig_Defaults_Color      `tfsdk:"color"`
	NoValue           types.String                                                   `tfsdk:"no_value"`
	Custom            *PanelHistogramDataSourceModel_FieldConfig_Defaults_Custom     `tfsdk:"custom"`
}

func (PanelHistogramDataSourceModel_FieldConfig_Defaults) ApplyDefaults

func (PanelHistogramDataSourceModel_FieldConfig_Defaults) MarshalJSON

type PanelHistogramDataSourceModel_FieldConfig_Defaults_Color

type PanelHistogramDataSourceModel_FieldConfig_Defaults_Color struct {
	Mode       types.String `tfsdk:"mode"`
	FixedColor types.String `tfsdk:"fixed_color"`
	SeriesBy   types.String `tfsdk:"series_by"`
}

func (PanelHistogramDataSourceModel_FieldConfig_Defaults_Color) ApplyDefaults

func (PanelHistogramDataSourceModel_FieldConfig_Defaults_Color) MarshalJSON

type PanelHistogramDataSourceModel_FieldConfig_Defaults_Custom

type PanelHistogramDataSourceModel_FieldConfig_Defaults_Custom struct {
	LineWidth         types.Int64                                                                  `tfsdk:"line_width"`
	FillOpacity       types.Int64                                                                  `tfsdk:"fill_opacity"`
	AxisPlacement     types.String                                                                 `tfsdk:"axis_placement"`
	AxisColorMode     types.String                                                                 `tfsdk:"axis_color_mode"`
	AxisLabel         types.String                                                                 `tfsdk:"axis_label"`
	AxisWidth         types.Float64                                                                `tfsdk:"axis_width"`
	AxisSoftMin       types.Float64                                                                `tfsdk:"axis_soft_min"`
	AxisSoftMax       types.Float64                                                                `tfsdk:"axis_soft_max"`
	AxisGridShow      types.Bool                                                                   `tfsdk:"axis_grid_show"`
	ScaleDistribution *PanelHistogramDataSourceModel_FieldConfig_Defaults_Custom_ScaleDistribution `tfsdk:"scale_distribution"`
	HideFrom          *PanelHistogramDataSourceModel_FieldConfig_Defaults_Custom_HideFrom          `tfsdk:"hide_from"`
	GradientMode      types.String                                                                 `tfsdk:"gradient_mode"`
	AxisCenteredZero  types.Bool                                                                   `tfsdk:"axis_centered_zero"`
}

func (PanelHistogramDataSourceModel_FieldConfig_Defaults_Custom) ApplyDefaults

func (PanelHistogramDataSourceModel_FieldConfig_Defaults_Custom) MarshalJSON

type PanelHistogramDataSourceModel_FieldConfig_Defaults_Custom_HideFrom

type PanelHistogramDataSourceModel_FieldConfig_Defaults_Custom_HideFrom struct {
	Tooltip types.Bool `tfsdk:"tooltip"`
	Legend  types.Bool `tfsdk:"legend"`
	Viz     types.Bool `tfsdk:"viz"`
}

func (PanelHistogramDataSourceModel_FieldConfig_Defaults_Custom_HideFrom) ApplyDefaults

func (PanelHistogramDataSourceModel_FieldConfig_Defaults_Custom_HideFrom) MarshalJSON

type PanelHistogramDataSourceModel_FieldConfig_Defaults_Custom_ScaleDistribution

type PanelHistogramDataSourceModel_FieldConfig_Defaults_Custom_ScaleDistribution struct {
	Type            types.String  `tfsdk:"type"`
	Log             types.Float64 `tfsdk:"log"`
	LinearThreshold types.Float64 `tfsdk:"linear_threshold"`
}

func (PanelHistogramDataSourceModel_FieldConfig_Defaults_Custom_ScaleDistribution) ApplyDefaults

func (PanelHistogramDataSourceModel_FieldConfig_Defaults_Custom_ScaleDistribution) MarshalJSON

type PanelHistogramDataSourceModel_FieldConfig_Defaults_Mappings

type PanelHistogramDataSourceModel_FieldConfig_Defaults_Mappings struct {
	ValueMap        *PanelHistogramDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap        `tfsdk:"value_map"`
	RangeMap        *PanelHistogramDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap        `tfsdk:"range_map"`
	RegexMap        *PanelHistogramDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap        `tfsdk:"regex_map"`
	SpecialValueMap *PanelHistogramDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap `tfsdk:"special_value_map"`
}

func (PanelHistogramDataSourceModel_FieldConfig_Defaults_Mappings) ApplyDefaults

func (PanelHistogramDataSourceModel_FieldConfig_Defaults_Mappings) MarshalJSON

type PanelHistogramDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap

type PanelHistogramDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap struct {
	Type    types.String                                                                  `tfsdk:"type"`
	Options *PanelHistogramDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options `tfsdk:"options"`
}

func (PanelHistogramDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap) ApplyDefaults

func (PanelHistogramDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap) MarshalJSON

type PanelHistogramDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options

type PanelHistogramDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options struct {
	From   types.String                                                                         `tfsdk:"from"`
	To     types.String                                                                         `tfsdk:"to"`
	Result *PanelHistogramDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options_Result `tfsdk:"result"`
}

func (PanelHistogramDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options) ApplyDefaults

func (PanelHistogramDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options) GetAttrFrom added in v0.2.0

func (PanelHistogramDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options) GetAttrTo added in v0.2.0

func (PanelHistogramDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options) MarshalJSON

type PanelHistogramDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options_Result

type PanelHistogramDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options_Result struct {
	Text  types.String `tfsdk:"text"`
	Color types.String `tfsdk:"color"`
	Icon  types.String `tfsdk:"icon"`
	Index types.Int64  `tfsdk:"index"`
}

func (PanelHistogramDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options_Result) ApplyDefaults

func (PanelHistogramDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options_Result) MarshalJSON

type PanelHistogramDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap

type PanelHistogramDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap struct {
	Type    types.String                                                                  `tfsdk:"type"`
	Options *PanelHistogramDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options `tfsdk:"options"`
}

func (PanelHistogramDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap) ApplyDefaults

func (PanelHistogramDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap) MarshalJSON

type PanelHistogramDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options

type PanelHistogramDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options struct {
	Pattern types.String                                                                         `tfsdk:"pattern"`
	Result  *PanelHistogramDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options_Result `tfsdk:"result"`
}

func (PanelHistogramDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options) ApplyDefaults

func (PanelHistogramDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options) MarshalJSON

type PanelHistogramDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options_Result

type PanelHistogramDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options_Result struct {
	Text  types.String `tfsdk:"text"`
	Color types.String `tfsdk:"color"`
	Icon  types.String `tfsdk:"icon"`
	Index types.Int64  `tfsdk:"index"`
}

func (PanelHistogramDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options_Result) ApplyDefaults

func (PanelHistogramDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options_Result) MarshalJSON

type PanelHistogramDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap

type PanelHistogramDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap struct {
	Type    types.String                                                                         `tfsdk:"type"`
	Options *PanelHistogramDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options `tfsdk:"options"`
}

func (PanelHistogramDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap) ApplyDefaults

func (PanelHistogramDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap) MarshalJSON

type PanelHistogramDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options

type PanelHistogramDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options struct {
	Match  types.String                                                                                `tfsdk:"match"`
	Result *PanelHistogramDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options_Result `tfsdk:"result"`
}

func (PanelHistogramDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options) ApplyDefaults

func (PanelHistogramDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options) MarshalJSON

type PanelHistogramDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options_Result

type PanelHistogramDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options_Result struct {
	Text  types.String `tfsdk:"text"`
	Color types.String `tfsdk:"color"`
	Icon  types.String `tfsdk:"icon"`
	Index types.Int64  `tfsdk:"index"`
}

func (PanelHistogramDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options_Result) MarshalJSON

type PanelHistogramDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap

type PanelHistogramDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap struct {
	Type    types.String                                                                             `tfsdk:"type"`
	Options *map[string]PanelHistogramDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap_Options `tfsdk:"options"`
}

func (PanelHistogramDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap) ApplyDefaults

func (PanelHistogramDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap) MarshalJSON

type PanelHistogramDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap_Options

type PanelHistogramDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap_Options struct {
	Text  types.String `tfsdk:"text"`
	Color types.String `tfsdk:"color"`
	Icon  types.String `tfsdk:"icon"`
	Index types.Int64  `tfsdk:"index"`
}

func (PanelHistogramDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap_Options) ApplyDefaults

func (PanelHistogramDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap_Options) MarshalJSON

type PanelHistogramDataSourceModel_FieldConfig_Defaults_Thresholds

type PanelHistogramDataSourceModel_FieldConfig_Defaults_Thresholds struct {
	Mode  types.String                                                          `tfsdk:"mode"`
	Steps []PanelHistogramDataSourceModel_FieldConfig_Defaults_Thresholds_Steps `tfsdk:"steps"`
}

func (PanelHistogramDataSourceModel_FieldConfig_Defaults_Thresholds) ApplyDefaults

func (PanelHistogramDataSourceModel_FieldConfig_Defaults_Thresholds) MarshalJSON

type PanelHistogramDataSourceModel_FieldConfig_Defaults_Thresholds_Steps

type PanelHistogramDataSourceModel_FieldConfig_Defaults_Thresholds_Steps struct {
	Value types.String `tfsdk:"value"`
	Color types.String `tfsdk:"color"`
}

func (PanelHistogramDataSourceModel_FieldConfig_Defaults_Thresholds_Steps) ApplyDefaults

func (PanelHistogramDataSourceModel_FieldConfig_Defaults_Thresholds_Steps) GetAttrValue added in v0.2.0

func (PanelHistogramDataSourceModel_FieldConfig_Defaults_Thresholds_Steps) MarshalJSON

type PanelHistogramDataSourceModel_FieldConfig_Overrides

type PanelHistogramDataSourceModel_FieldConfig_Overrides struct {
	Matcher    *PanelHistogramDataSourceModel_FieldConfig_Overrides_Matcher     `tfsdk:"matcher"`
	Properties []PanelHistogramDataSourceModel_FieldConfig_Overrides_Properties `tfsdk:"properties"`
}

func (PanelHistogramDataSourceModel_FieldConfig_Overrides) ApplyDefaults

func (PanelHistogramDataSourceModel_FieldConfig_Overrides) MarshalJSON

type PanelHistogramDataSourceModel_FieldConfig_Overrides_Matcher

type PanelHistogramDataSourceModel_FieldConfig_Overrides_Matcher struct {
}

func (PanelHistogramDataSourceModel_FieldConfig_Overrides_Matcher) ApplyDefaults

func (PanelHistogramDataSourceModel_FieldConfig_Overrides_Matcher) MarshalJSON

type PanelHistogramDataSourceModel_FieldConfig_Overrides_Properties

type PanelHistogramDataSourceModel_FieldConfig_Overrides_Properties struct {
}

func (PanelHistogramDataSourceModel_FieldConfig_Overrides_Properties) ApplyDefaults

func (PanelHistogramDataSourceModel_FieldConfig_Overrides_Properties) MarshalJSON

type PanelHistogramDataSourceModel_GridPos

type PanelHistogramDataSourceModel_GridPos struct {
	H      types.Int64 `tfsdk:"h"`
	W      types.Int64 `tfsdk:"w"`
	X      types.Int64 `tfsdk:"x"`
	Y      types.Int64 `tfsdk:"y"`
	Static types.Bool  `tfsdk:"static"`
}

func (PanelHistogramDataSourceModel_GridPos) ApplyDefaults

func (PanelHistogramDataSourceModel_GridPos) MarshalJSON

func (m PanelHistogramDataSourceModel_GridPos) MarshalJSON() ([]byte, error)

type PanelHistogramDataSourceModel_LibraryPanel

type PanelHistogramDataSourceModel_LibraryPanel struct {
	Name types.String `tfsdk:"name"`
	Uid  types.String `tfsdk:"uid"`
}

func (PanelHistogramDataSourceModel_LibraryPanel) ApplyDefaults

func (PanelHistogramDataSourceModel_LibraryPanel) MarshalJSON

type PanelHistogramDataSourceModel_Links struct {
	Title       types.String `tfsdk:"title"`
	Type        types.String `tfsdk:"type"`
	Icon        types.String `tfsdk:"icon"`
	Tooltip     types.String `tfsdk:"tooltip"`
	Url         types.String `tfsdk:"url"`
	Tags        types.List   `tfsdk:"tags"`
	AsDropdown  types.Bool   `tfsdk:"as_dropdown"`
	TargetBlank types.Bool   `tfsdk:"target_blank"`
	IncludeVars types.Bool   `tfsdk:"include_vars"`
	KeepTime    types.Bool   `tfsdk:"keep_time"`
}

func (PanelHistogramDataSourceModel_Links) ApplyDefaults

func (PanelHistogramDataSourceModel_Links) MarshalJSON

func (m PanelHistogramDataSourceModel_Links) MarshalJSON() ([]byte, error)

type PanelHistogramDataSourceModel_Options

type PanelHistogramDataSourceModel_Options struct {
	BucketSize   types.Int64                                    `tfsdk:"bucket_size"`
	BucketOffset types.Int64                                    `tfsdk:"bucket_offset"`
	Legend       *PanelHistogramDataSourceModel_Options_Legend  `tfsdk:"legend"`
	Tooltip      *PanelHistogramDataSourceModel_Options_Tooltip `tfsdk:"tooltip"`
	Combine      types.Bool                                     `tfsdk:"combine"`
}

func (PanelHistogramDataSourceModel_Options) ApplyDefaults

func (PanelHistogramDataSourceModel_Options) MarshalJSON

func (m PanelHistogramDataSourceModel_Options) MarshalJSON() ([]byte, error)

type PanelHistogramDataSourceModel_Options_Legend

type PanelHistogramDataSourceModel_Options_Legend struct {
	DisplayMode types.String  `tfsdk:"display_mode"`
	Placement   types.String  `tfsdk:"placement"`
	ShowLegend  types.Bool    `tfsdk:"show_legend"`
	AsTable     types.Bool    `tfsdk:"as_table"`
	IsVisible   types.Bool    `tfsdk:"is_visible"`
	SortBy      types.String  `tfsdk:"sort_by"`
	SortDesc    types.Bool    `tfsdk:"sort_desc"`
	Width       types.Float64 `tfsdk:"width"`
	Calcs       types.List    `tfsdk:"calcs"`
}

func (PanelHistogramDataSourceModel_Options_Legend) ApplyDefaults

func (PanelHistogramDataSourceModel_Options_Legend) MarshalJSON

type PanelHistogramDataSourceModel_Options_Tooltip

type PanelHistogramDataSourceModel_Options_Tooltip struct {
	Mode types.String `tfsdk:"mode"`
	Sort types.String `tfsdk:"sort"`
}

func (PanelHistogramDataSourceModel_Options_Tooltip) ApplyDefaults

func (PanelHistogramDataSourceModel_Options_Tooltip) MarshalJSON

type PanelHistogramDataSourceModel_Transformations

type PanelHistogramDataSourceModel_Transformations struct {
	Disabled types.Bool                                            `tfsdk:"disabled"`
	Filter   *PanelHistogramDataSourceModel_Transformations_Filter `tfsdk:"filter"`
}

func (PanelHistogramDataSourceModel_Transformations) ApplyDefaults

func (PanelHistogramDataSourceModel_Transformations) MarshalJSON

type PanelHistogramDataSourceModel_Transformations_Filter

type PanelHistogramDataSourceModel_Transformations_Filter struct {
}

func (PanelHistogramDataSourceModel_Transformations_Filter) ApplyDefaults

func (PanelHistogramDataSourceModel_Transformations_Filter) MarshalJSON

type PanelLogsDataSource

type PanelLogsDataSource struct{}

PanelLogsDataSource defines the data source implementation.

func (*PanelLogsDataSource) Configure

func (*PanelLogsDataSource) Metadata

func (*PanelLogsDataSource) Read

func (*PanelLogsDataSource) Schema

type PanelLogsDataSourceModel

type PanelLogsDataSourceModel struct {
	RenderedJSON    types.String                               `tfsdk:"rendered_json"`
	Type            types.String                               `tfsdk:"type"`
	PluginVersion   types.String                               `tfsdk:"plugin_version"`
	Tags            types.List                                 `tfsdk:"tags"`
	Targets         types.List                                 `tfsdk:"targets"`
	Title           types.String                               `tfsdk:"title"`
	Description     types.String                               `tfsdk:"description"`
	Transparent     types.Bool                                 `tfsdk:"transparent"`
	Datasource      *PanelLogsDataSourceModel_Datasource       `tfsdk:"datasource"`
	GridPos         *PanelLogsDataSourceModel_GridPos          `tfsdk:"grid_pos"`
	Links           []PanelLogsDataSourceModel_Links           `tfsdk:"links"`
	Repeat          types.String                               `tfsdk:"repeat"`
	RepeatDirection types.String                               `tfsdk:"repeat_direction"`
	RepeatPanelId   types.Int64                                `tfsdk:"repeat_panel_id"`
	MaxDataPoints   types.Float64                              `tfsdk:"max_data_points"`
	Transformations []PanelLogsDataSourceModel_Transformations `tfsdk:"transformations"`
	Interval        types.String                               `tfsdk:"interval"`
	TimeFrom        types.String                               `tfsdk:"time_from"`
	TimeShift       types.String                               `tfsdk:"time_shift"`
	LibraryPanel    *PanelLogsDataSourceModel_LibraryPanel     `tfsdk:"library_panel"`
	Options         *PanelLogsDataSourceModel_Options          `tfsdk:"options"`
	FieldConfig     *PanelLogsDataSourceModel_FieldConfig      `tfsdk:"field_config"`
}

func (PanelLogsDataSourceModel) ApplyDefaults

func (PanelLogsDataSourceModel) MarshalJSON

func (m PanelLogsDataSourceModel) MarshalJSON() ([]byte, error)

type PanelLogsDataSourceModel_Datasource

type PanelLogsDataSourceModel_Datasource struct {
	Type types.String `tfsdk:"type"`
	Uid  types.String `tfsdk:"uid"`
}

func (PanelLogsDataSourceModel_Datasource) ApplyDefaults

func (PanelLogsDataSourceModel_Datasource) MarshalJSON

func (m PanelLogsDataSourceModel_Datasource) MarshalJSON() ([]byte, error)

type PanelLogsDataSourceModel_FieldConfig

type PanelLogsDataSourceModel_FieldConfig struct {
	Defaults  *PanelLogsDataSourceModel_FieldConfig_Defaults   `tfsdk:"defaults"`
	Overrides []PanelLogsDataSourceModel_FieldConfig_Overrides `tfsdk:"overrides"`
}

func (PanelLogsDataSourceModel_FieldConfig) ApplyDefaults

func (PanelLogsDataSourceModel_FieldConfig) MarshalJSON

func (m PanelLogsDataSourceModel_FieldConfig) MarshalJSON() ([]byte, error)

type PanelLogsDataSourceModel_FieldConfig_Defaults

type PanelLogsDataSourceModel_FieldConfig_Defaults struct {
	DisplayName       types.String                                              `tfsdk:"display_name"`
	DisplayNameFromDS types.String                                              `tfsdk:"display_name_from_ds"`
	Description       types.String                                              `tfsdk:"description"`
	Path              types.String                                              `tfsdk:"path"`
	Writeable         types.Bool                                                `tfsdk:"writeable"`
	Filterable        types.Bool                                                `tfsdk:"filterable"`
	Unit              types.String                                              `tfsdk:"unit"`
	Decimals          types.Float64                                             `tfsdk:"decimals"`
	Min               types.Float64                                             `tfsdk:"min"`
	Max               types.Float64                                             `tfsdk:"max"`
	Mappings          []PanelLogsDataSourceModel_FieldConfig_Defaults_Mappings  `tfsdk:"mappings"`
	Thresholds        *PanelLogsDataSourceModel_FieldConfig_Defaults_Thresholds `tfsdk:"thresholds"`
	Color             *PanelLogsDataSourceModel_FieldConfig_Defaults_Color      `tfsdk:"color"`
	NoValue           types.String                                              `tfsdk:"no_value"`
	Custom            *PanelLogsDataSourceModel_FieldConfig_Defaults_Custom     `tfsdk:"custom"`
}

func (PanelLogsDataSourceModel_FieldConfig_Defaults) ApplyDefaults

func (PanelLogsDataSourceModel_FieldConfig_Defaults) MarshalJSON

type PanelLogsDataSourceModel_FieldConfig_Defaults_Color

type PanelLogsDataSourceModel_FieldConfig_Defaults_Color struct {
	Mode       types.String `tfsdk:"mode"`
	FixedColor types.String `tfsdk:"fixed_color"`
	SeriesBy   types.String `tfsdk:"series_by"`
}

func (PanelLogsDataSourceModel_FieldConfig_Defaults_Color) ApplyDefaults

func (PanelLogsDataSourceModel_FieldConfig_Defaults_Color) MarshalJSON

type PanelLogsDataSourceModel_FieldConfig_Defaults_Custom

type PanelLogsDataSourceModel_FieldConfig_Defaults_Custom struct {
	LineWidth         types.Int64                                                             `tfsdk:"line_width"`
	FillOpacity       types.Int64                                                             `tfsdk:"fill_opacity"`
	AxisPlacement     types.String                                                            `tfsdk:"axis_placement"`
	AxisColorMode     types.String                                                            `tfsdk:"axis_color_mode"`
	AxisLabel         types.String                                                            `tfsdk:"axis_label"`
	AxisWidth         types.Float64                                                           `tfsdk:"axis_width"`
	AxisSoftMin       types.Float64                                                           `tfsdk:"axis_soft_min"`
	AxisSoftMax       types.Float64                                                           `tfsdk:"axis_soft_max"`
	AxisGridShow      types.Bool                                                              `tfsdk:"axis_grid_show"`
	ScaleDistribution *PanelLogsDataSourceModel_FieldConfig_Defaults_Custom_ScaleDistribution `tfsdk:"scale_distribution"`
	HideFrom          *PanelLogsDataSourceModel_FieldConfig_Defaults_Custom_HideFrom          `tfsdk:"hide_from"`
	GradientMode      types.String                                                            `tfsdk:"gradient_mode"`
	AxisCenteredZero  types.Bool                                                              `tfsdk:"axis_centered_zero"`
}

func (PanelLogsDataSourceModel_FieldConfig_Defaults_Custom) ApplyDefaults

func (PanelLogsDataSourceModel_FieldConfig_Defaults_Custom) MarshalJSON

type PanelLogsDataSourceModel_FieldConfig_Defaults_Custom_HideFrom

type PanelLogsDataSourceModel_FieldConfig_Defaults_Custom_HideFrom struct {
	Tooltip types.Bool `tfsdk:"tooltip"`
	Legend  types.Bool `tfsdk:"legend"`
	Viz     types.Bool `tfsdk:"viz"`
}

func (PanelLogsDataSourceModel_FieldConfig_Defaults_Custom_HideFrom) ApplyDefaults

func (PanelLogsDataSourceModel_FieldConfig_Defaults_Custom_HideFrom) MarshalJSON

type PanelLogsDataSourceModel_FieldConfig_Defaults_Custom_ScaleDistribution

type PanelLogsDataSourceModel_FieldConfig_Defaults_Custom_ScaleDistribution struct {
	Type            types.String  `tfsdk:"type"`
	Log             types.Float64 `tfsdk:"log"`
	LinearThreshold types.Float64 `tfsdk:"linear_threshold"`
}

func (PanelLogsDataSourceModel_FieldConfig_Defaults_Custom_ScaleDistribution) ApplyDefaults

func (PanelLogsDataSourceModel_FieldConfig_Defaults_Custom_ScaleDistribution) MarshalJSON

type PanelLogsDataSourceModel_FieldConfig_Defaults_Mappings

type PanelLogsDataSourceModel_FieldConfig_Defaults_Mappings struct {
	ValueMap        *PanelLogsDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap        `tfsdk:"value_map"`
	RangeMap        *PanelLogsDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap        `tfsdk:"range_map"`
	RegexMap        *PanelLogsDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap        `tfsdk:"regex_map"`
	SpecialValueMap *PanelLogsDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap `tfsdk:"special_value_map"`
}

func (PanelLogsDataSourceModel_FieldConfig_Defaults_Mappings) ApplyDefaults

func (PanelLogsDataSourceModel_FieldConfig_Defaults_Mappings) MarshalJSON

type PanelLogsDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap

type PanelLogsDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap struct {
	Type    types.String                                                             `tfsdk:"type"`
	Options *PanelLogsDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options `tfsdk:"options"`
}

func (PanelLogsDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap) ApplyDefaults

func (PanelLogsDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap) MarshalJSON

type PanelLogsDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options

type PanelLogsDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options struct {
	From   types.String                                                                    `tfsdk:"from"`
	To     types.String                                                                    `tfsdk:"to"`
	Result *PanelLogsDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options_Result `tfsdk:"result"`
}

func (PanelLogsDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options) ApplyDefaults

func (PanelLogsDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options) GetAttrFrom added in v0.2.0

func (PanelLogsDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options) GetAttrTo added in v0.2.0

func (PanelLogsDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options) MarshalJSON

type PanelLogsDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options_Result

type PanelLogsDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options_Result struct {
	Text  types.String `tfsdk:"text"`
	Color types.String `tfsdk:"color"`
	Icon  types.String `tfsdk:"icon"`
	Index types.Int64  `tfsdk:"index"`
}

func (PanelLogsDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options_Result) ApplyDefaults

func (PanelLogsDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options_Result) MarshalJSON

type PanelLogsDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap

type PanelLogsDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap struct {
	Type    types.String                                                             `tfsdk:"type"`
	Options *PanelLogsDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options `tfsdk:"options"`
}

func (PanelLogsDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap) ApplyDefaults

func (PanelLogsDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap) MarshalJSON

type PanelLogsDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options

type PanelLogsDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options struct {
	Pattern types.String                                                                    `tfsdk:"pattern"`
	Result  *PanelLogsDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options_Result `tfsdk:"result"`
}

func (PanelLogsDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options) ApplyDefaults

func (PanelLogsDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options) MarshalJSON

type PanelLogsDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options_Result

type PanelLogsDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options_Result struct {
	Text  types.String `tfsdk:"text"`
	Color types.String `tfsdk:"color"`
	Icon  types.String `tfsdk:"icon"`
	Index types.Int64  `tfsdk:"index"`
}

func (PanelLogsDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options_Result) ApplyDefaults

func (PanelLogsDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options_Result) MarshalJSON

type PanelLogsDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap

type PanelLogsDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap struct {
	Type    types.String                                                                    `tfsdk:"type"`
	Options *PanelLogsDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options `tfsdk:"options"`
}

func (PanelLogsDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap) ApplyDefaults

func (PanelLogsDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap) MarshalJSON

type PanelLogsDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options

type PanelLogsDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options struct {
	Match  types.String                                                                           `tfsdk:"match"`
	Result *PanelLogsDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options_Result `tfsdk:"result"`
}

func (PanelLogsDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options) ApplyDefaults

func (PanelLogsDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options) MarshalJSON

type PanelLogsDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options_Result

type PanelLogsDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options_Result struct {
	Text  types.String `tfsdk:"text"`
	Color types.String `tfsdk:"color"`
	Icon  types.String `tfsdk:"icon"`
	Index types.Int64  `tfsdk:"index"`
}

func (PanelLogsDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options_Result) MarshalJSON

type PanelLogsDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap

type PanelLogsDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap struct {
	Type    types.String                                                                        `tfsdk:"type"`
	Options *map[string]PanelLogsDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap_Options `tfsdk:"options"`
}

func (PanelLogsDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap) ApplyDefaults

func (PanelLogsDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap) MarshalJSON

type PanelLogsDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap_Options

type PanelLogsDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap_Options struct {
	Text  types.String `tfsdk:"text"`
	Color types.String `tfsdk:"color"`
	Icon  types.String `tfsdk:"icon"`
	Index types.Int64  `tfsdk:"index"`
}

func (PanelLogsDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap_Options) ApplyDefaults

func (PanelLogsDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap_Options) MarshalJSON

type PanelLogsDataSourceModel_FieldConfig_Defaults_Thresholds

type PanelLogsDataSourceModel_FieldConfig_Defaults_Thresholds struct {
	Mode  types.String                                                     `tfsdk:"mode"`
	Steps []PanelLogsDataSourceModel_FieldConfig_Defaults_Thresholds_Steps `tfsdk:"steps"`
}

func (PanelLogsDataSourceModel_FieldConfig_Defaults_Thresholds) ApplyDefaults

func (PanelLogsDataSourceModel_FieldConfig_Defaults_Thresholds) MarshalJSON

type PanelLogsDataSourceModel_FieldConfig_Defaults_Thresholds_Steps

type PanelLogsDataSourceModel_FieldConfig_Defaults_Thresholds_Steps struct {
	Value types.String `tfsdk:"value"`
	Color types.String `tfsdk:"color"`
}

func (PanelLogsDataSourceModel_FieldConfig_Defaults_Thresholds_Steps) ApplyDefaults

func (PanelLogsDataSourceModel_FieldConfig_Defaults_Thresholds_Steps) GetAttrValue added in v0.2.0

func (PanelLogsDataSourceModel_FieldConfig_Defaults_Thresholds_Steps) MarshalJSON

type PanelLogsDataSourceModel_FieldConfig_Overrides

type PanelLogsDataSourceModel_FieldConfig_Overrides struct {
	Matcher    *PanelLogsDataSourceModel_FieldConfig_Overrides_Matcher     `tfsdk:"matcher"`
	Properties []PanelLogsDataSourceModel_FieldConfig_Overrides_Properties `tfsdk:"properties"`
}

func (PanelLogsDataSourceModel_FieldConfig_Overrides) ApplyDefaults

func (PanelLogsDataSourceModel_FieldConfig_Overrides) MarshalJSON

type PanelLogsDataSourceModel_FieldConfig_Overrides_Matcher

type PanelLogsDataSourceModel_FieldConfig_Overrides_Matcher struct {
}

func (PanelLogsDataSourceModel_FieldConfig_Overrides_Matcher) ApplyDefaults

func (PanelLogsDataSourceModel_FieldConfig_Overrides_Matcher) MarshalJSON

type PanelLogsDataSourceModel_FieldConfig_Overrides_Properties

type PanelLogsDataSourceModel_FieldConfig_Overrides_Properties struct {
}

func (PanelLogsDataSourceModel_FieldConfig_Overrides_Properties) ApplyDefaults

func (PanelLogsDataSourceModel_FieldConfig_Overrides_Properties) MarshalJSON

type PanelLogsDataSourceModel_GridPos

type PanelLogsDataSourceModel_GridPos struct {
	H      types.Int64 `tfsdk:"h"`
	W      types.Int64 `tfsdk:"w"`
	X      types.Int64 `tfsdk:"x"`
	Y      types.Int64 `tfsdk:"y"`
	Static types.Bool  `tfsdk:"static"`
}

func (PanelLogsDataSourceModel_GridPos) ApplyDefaults

func (PanelLogsDataSourceModel_GridPos) MarshalJSON

func (m PanelLogsDataSourceModel_GridPos) MarshalJSON() ([]byte, error)

type PanelLogsDataSourceModel_LibraryPanel

type PanelLogsDataSourceModel_LibraryPanel struct {
	Name types.String `tfsdk:"name"`
	Uid  types.String `tfsdk:"uid"`
}

func (PanelLogsDataSourceModel_LibraryPanel) ApplyDefaults

func (PanelLogsDataSourceModel_LibraryPanel) MarshalJSON

func (m PanelLogsDataSourceModel_LibraryPanel) MarshalJSON() ([]byte, error)
type PanelLogsDataSourceModel_Links struct {
	Title       types.String `tfsdk:"title"`
	Type        types.String `tfsdk:"type"`
	Icon        types.String `tfsdk:"icon"`
	Tooltip     types.String `tfsdk:"tooltip"`
	Url         types.String `tfsdk:"url"`
	Tags        types.List   `tfsdk:"tags"`
	AsDropdown  types.Bool   `tfsdk:"as_dropdown"`
	TargetBlank types.Bool   `tfsdk:"target_blank"`
	IncludeVars types.Bool   `tfsdk:"include_vars"`
	KeepTime    types.Bool   `tfsdk:"keep_time"`
}

func (PanelLogsDataSourceModel_Links) ApplyDefaults

func (PanelLogsDataSourceModel_Links) MarshalJSON

func (m PanelLogsDataSourceModel_Links) MarshalJSON() ([]byte, error)

type PanelLogsDataSourceModel_Options

type PanelLogsDataSourceModel_Options struct {
	ShowLabels         types.Bool   `tfsdk:"show_labels"`
	ShowCommonLabels   types.Bool   `tfsdk:"show_common_labels"`
	ShowTime           types.Bool   `tfsdk:"show_time"`
	WrapLogMessage     types.Bool   `tfsdk:"wrap_log_message"`
	PrettifyLogMessage types.Bool   `tfsdk:"prettify_log_message"`
	EnableLogDetails   types.Bool   `tfsdk:"enable_log_details"`
	SortOrder          types.String `tfsdk:"sort_order"`
	DedupStrategy      types.String `tfsdk:"dedup_strategy"`
}

func (PanelLogsDataSourceModel_Options) ApplyDefaults

func (PanelLogsDataSourceModel_Options) MarshalJSON

func (m PanelLogsDataSourceModel_Options) MarshalJSON() ([]byte, error)

type PanelLogsDataSourceModel_Transformations

type PanelLogsDataSourceModel_Transformations struct {
	Disabled types.Bool                                       `tfsdk:"disabled"`
	Filter   *PanelLogsDataSourceModel_Transformations_Filter `tfsdk:"filter"`
}

func (PanelLogsDataSourceModel_Transformations) ApplyDefaults

func (PanelLogsDataSourceModel_Transformations) MarshalJSON

type PanelLogsDataSourceModel_Transformations_Filter

type PanelLogsDataSourceModel_Transformations_Filter struct {
}

func (PanelLogsDataSourceModel_Transformations_Filter) ApplyDefaults

func (PanelLogsDataSourceModel_Transformations_Filter) MarshalJSON

type PanelNewsDataSource

type PanelNewsDataSource struct{}

PanelNewsDataSource defines the data source implementation.

func (*PanelNewsDataSource) Configure

func (*PanelNewsDataSource) Metadata

func (*PanelNewsDataSource) Read

func (*PanelNewsDataSource) Schema

type PanelNewsDataSourceModel

type PanelNewsDataSourceModel struct {
	RenderedJSON    types.String                               `tfsdk:"rendered_json"`
	Type            types.String                               `tfsdk:"type"`
	PluginVersion   types.String                               `tfsdk:"plugin_version"`
	Tags            types.List                                 `tfsdk:"tags"`
	Targets         types.List                                 `tfsdk:"targets"`
	Title           types.String                               `tfsdk:"title"`
	Description     types.String                               `tfsdk:"description"`
	Transparent     types.Bool                                 `tfsdk:"transparent"`
	Datasource      *PanelNewsDataSourceModel_Datasource       `tfsdk:"datasource"`
	GridPos         *PanelNewsDataSourceModel_GridPos          `tfsdk:"grid_pos"`
	Links           []PanelNewsDataSourceModel_Links           `tfsdk:"links"`
	Repeat          types.String                               `tfsdk:"repeat"`
	RepeatDirection types.String                               `tfsdk:"repeat_direction"`
	RepeatPanelId   types.Int64                                `tfsdk:"repeat_panel_id"`
	MaxDataPoints   types.Float64                              `tfsdk:"max_data_points"`
	Transformations []PanelNewsDataSourceModel_Transformations `tfsdk:"transformations"`
	Interval        types.String                               `tfsdk:"interval"`
	TimeFrom        types.String                               `tfsdk:"time_from"`
	TimeShift       types.String                               `tfsdk:"time_shift"`
	LibraryPanel    *PanelNewsDataSourceModel_LibraryPanel     `tfsdk:"library_panel"`
	Options         *PanelNewsDataSourceModel_Options          `tfsdk:"options"`
	FieldConfig     *PanelNewsDataSourceModel_FieldConfig      `tfsdk:"field_config"`
}

func (PanelNewsDataSourceModel) ApplyDefaults

func (PanelNewsDataSourceModel) MarshalJSON

func (m PanelNewsDataSourceModel) MarshalJSON() ([]byte, error)

type PanelNewsDataSourceModel_Datasource

type PanelNewsDataSourceModel_Datasource struct {
	Type types.String `tfsdk:"type"`
	Uid  types.String `tfsdk:"uid"`
}

func (PanelNewsDataSourceModel_Datasource) ApplyDefaults

func (PanelNewsDataSourceModel_Datasource) MarshalJSON

func (m PanelNewsDataSourceModel_Datasource) MarshalJSON() ([]byte, error)

type PanelNewsDataSourceModel_FieldConfig

type PanelNewsDataSourceModel_FieldConfig struct {
	Defaults  *PanelNewsDataSourceModel_FieldConfig_Defaults   `tfsdk:"defaults"`
	Overrides []PanelNewsDataSourceModel_FieldConfig_Overrides `tfsdk:"overrides"`
}

func (PanelNewsDataSourceModel_FieldConfig) ApplyDefaults

func (PanelNewsDataSourceModel_FieldConfig) MarshalJSON

func (m PanelNewsDataSourceModel_FieldConfig) MarshalJSON() ([]byte, error)

type PanelNewsDataSourceModel_FieldConfig_Defaults

type PanelNewsDataSourceModel_FieldConfig_Defaults struct {
	DisplayName       types.String                                              `tfsdk:"display_name"`
	DisplayNameFromDS types.String                                              `tfsdk:"display_name_from_ds"`
	Description       types.String                                              `tfsdk:"description"`
	Path              types.String                                              `tfsdk:"path"`
	Writeable         types.Bool                                                `tfsdk:"writeable"`
	Filterable        types.Bool                                                `tfsdk:"filterable"`
	Unit              types.String                                              `tfsdk:"unit"`
	Decimals          types.Float64                                             `tfsdk:"decimals"`
	Min               types.Float64                                             `tfsdk:"min"`
	Max               types.Float64                                             `tfsdk:"max"`
	Mappings          []PanelNewsDataSourceModel_FieldConfig_Defaults_Mappings  `tfsdk:"mappings"`
	Thresholds        *PanelNewsDataSourceModel_FieldConfig_Defaults_Thresholds `tfsdk:"thresholds"`
	Color             *PanelNewsDataSourceModel_FieldConfig_Defaults_Color      `tfsdk:"color"`
	NoValue           types.String                                              `tfsdk:"no_value"`
	Custom            *PanelNewsDataSourceModel_FieldConfig_Defaults_Custom     `tfsdk:"custom"`
}

func (PanelNewsDataSourceModel_FieldConfig_Defaults) ApplyDefaults

func (PanelNewsDataSourceModel_FieldConfig_Defaults) MarshalJSON

type PanelNewsDataSourceModel_FieldConfig_Defaults_Color

type PanelNewsDataSourceModel_FieldConfig_Defaults_Color struct {
	Mode       types.String `tfsdk:"mode"`
	FixedColor types.String `tfsdk:"fixed_color"`
	SeriesBy   types.String `tfsdk:"series_by"`
}

func (PanelNewsDataSourceModel_FieldConfig_Defaults_Color) ApplyDefaults

func (PanelNewsDataSourceModel_FieldConfig_Defaults_Color) MarshalJSON

type PanelNewsDataSourceModel_FieldConfig_Defaults_Custom

type PanelNewsDataSourceModel_FieldConfig_Defaults_Custom struct {
	LineWidth         types.Int64                                                             `tfsdk:"line_width"`
	FillOpacity       types.Int64                                                             `tfsdk:"fill_opacity"`
	AxisPlacement     types.String                                                            `tfsdk:"axis_placement"`
	AxisColorMode     types.String                                                            `tfsdk:"axis_color_mode"`
	AxisLabel         types.String                                                            `tfsdk:"axis_label"`
	AxisWidth         types.Float64                                                           `tfsdk:"axis_width"`
	AxisSoftMin       types.Float64                                                           `tfsdk:"axis_soft_min"`
	AxisSoftMax       types.Float64                                                           `tfsdk:"axis_soft_max"`
	AxisGridShow      types.Bool                                                              `tfsdk:"axis_grid_show"`
	ScaleDistribution *PanelNewsDataSourceModel_FieldConfig_Defaults_Custom_ScaleDistribution `tfsdk:"scale_distribution"`
	HideFrom          *PanelNewsDataSourceModel_FieldConfig_Defaults_Custom_HideFrom          `tfsdk:"hide_from"`
	GradientMode      types.String                                                            `tfsdk:"gradient_mode"`
	AxisCenteredZero  types.Bool                                                              `tfsdk:"axis_centered_zero"`
}

func (PanelNewsDataSourceModel_FieldConfig_Defaults_Custom) ApplyDefaults

func (PanelNewsDataSourceModel_FieldConfig_Defaults_Custom) MarshalJSON

type PanelNewsDataSourceModel_FieldConfig_Defaults_Custom_HideFrom

type PanelNewsDataSourceModel_FieldConfig_Defaults_Custom_HideFrom struct {
	Tooltip types.Bool `tfsdk:"tooltip"`
	Legend  types.Bool `tfsdk:"legend"`
	Viz     types.Bool `tfsdk:"viz"`
}

func (PanelNewsDataSourceModel_FieldConfig_Defaults_Custom_HideFrom) ApplyDefaults

func (PanelNewsDataSourceModel_FieldConfig_Defaults_Custom_HideFrom) MarshalJSON

type PanelNewsDataSourceModel_FieldConfig_Defaults_Custom_ScaleDistribution

type PanelNewsDataSourceModel_FieldConfig_Defaults_Custom_ScaleDistribution struct {
	Type            types.String  `tfsdk:"type"`
	Log             types.Float64 `tfsdk:"log"`
	LinearThreshold types.Float64 `tfsdk:"linear_threshold"`
}

func (PanelNewsDataSourceModel_FieldConfig_Defaults_Custom_ScaleDistribution) ApplyDefaults

func (PanelNewsDataSourceModel_FieldConfig_Defaults_Custom_ScaleDistribution) MarshalJSON

type PanelNewsDataSourceModel_FieldConfig_Defaults_Mappings

type PanelNewsDataSourceModel_FieldConfig_Defaults_Mappings struct {
	ValueMap        *PanelNewsDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap        `tfsdk:"value_map"`
	RangeMap        *PanelNewsDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap        `tfsdk:"range_map"`
	RegexMap        *PanelNewsDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap        `tfsdk:"regex_map"`
	SpecialValueMap *PanelNewsDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap `tfsdk:"special_value_map"`
}

func (PanelNewsDataSourceModel_FieldConfig_Defaults_Mappings) ApplyDefaults

func (PanelNewsDataSourceModel_FieldConfig_Defaults_Mappings) MarshalJSON

type PanelNewsDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap

type PanelNewsDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap struct {
	Type    types.String                                                             `tfsdk:"type"`
	Options *PanelNewsDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options `tfsdk:"options"`
}

func (PanelNewsDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap) ApplyDefaults

func (PanelNewsDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap) MarshalJSON

type PanelNewsDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options

type PanelNewsDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options struct {
	From   types.String                                                                    `tfsdk:"from"`
	To     types.String                                                                    `tfsdk:"to"`
	Result *PanelNewsDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options_Result `tfsdk:"result"`
}

func (PanelNewsDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options) ApplyDefaults

func (PanelNewsDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options) GetAttrFrom added in v0.2.0

func (PanelNewsDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options) GetAttrTo added in v0.2.0

func (PanelNewsDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options) MarshalJSON

type PanelNewsDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options_Result

type PanelNewsDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options_Result struct {
	Text  types.String `tfsdk:"text"`
	Color types.String `tfsdk:"color"`
	Icon  types.String `tfsdk:"icon"`
	Index types.Int64  `tfsdk:"index"`
}

func (PanelNewsDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options_Result) ApplyDefaults

func (PanelNewsDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options_Result) MarshalJSON

type PanelNewsDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap

type PanelNewsDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap struct {
	Type    types.String                                                             `tfsdk:"type"`
	Options *PanelNewsDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options `tfsdk:"options"`
}

func (PanelNewsDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap) ApplyDefaults

func (PanelNewsDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap) MarshalJSON

type PanelNewsDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options

type PanelNewsDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options struct {
	Pattern types.String                                                                    `tfsdk:"pattern"`
	Result  *PanelNewsDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options_Result `tfsdk:"result"`
}

func (PanelNewsDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options) ApplyDefaults

func (PanelNewsDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options) MarshalJSON

type PanelNewsDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options_Result

type PanelNewsDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options_Result struct {
	Text  types.String `tfsdk:"text"`
	Color types.String `tfsdk:"color"`
	Icon  types.String `tfsdk:"icon"`
	Index types.Int64  `tfsdk:"index"`
}

func (PanelNewsDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options_Result) ApplyDefaults

func (PanelNewsDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options_Result) MarshalJSON

type PanelNewsDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap

type PanelNewsDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap struct {
	Type    types.String                                                                    `tfsdk:"type"`
	Options *PanelNewsDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options `tfsdk:"options"`
}

func (PanelNewsDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap) ApplyDefaults

func (PanelNewsDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap) MarshalJSON

type PanelNewsDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options

type PanelNewsDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options struct {
	Match  types.String                                                                           `tfsdk:"match"`
	Result *PanelNewsDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options_Result `tfsdk:"result"`
}

func (PanelNewsDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options) ApplyDefaults

func (PanelNewsDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options) MarshalJSON

type PanelNewsDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options_Result

type PanelNewsDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options_Result struct {
	Text  types.String `tfsdk:"text"`
	Color types.String `tfsdk:"color"`
	Icon  types.String `tfsdk:"icon"`
	Index types.Int64  `tfsdk:"index"`
}

func (PanelNewsDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options_Result) MarshalJSON

type PanelNewsDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap

type PanelNewsDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap struct {
	Type    types.String                                                                        `tfsdk:"type"`
	Options *map[string]PanelNewsDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap_Options `tfsdk:"options"`
}

func (PanelNewsDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap) ApplyDefaults

func (PanelNewsDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap) MarshalJSON

type PanelNewsDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap_Options

type PanelNewsDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap_Options struct {
	Text  types.String `tfsdk:"text"`
	Color types.String `tfsdk:"color"`
	Icon  types.String `tfsdk:"icon"`
	Index types.Int64  `tfsdk:"index"`
}

func (PanelNewsDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap_Options) ApplyDefaults

func (PanelNewsDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap_Options) MarshalJSON

type PanelNewsDataSourceModel_FieldConfig_Defaults_Thresholds

type PanelNewsDataSourceModel_FieldConfig_Defaults_Thresholds struct {
	Mode  types.String                                                     `tfsdk:"mode"`
	Steps []PanelNewsDataSourceModel_FieldConfig_Defaults_Thresholds_Steps `tfsdk:"steps"`
}

func (PanelNewsDataSourceModel_FieldConfig_Defaults_Thresholds) ApplyDefaults

func (PanelNewsDataSourceModel_FieldConfig_Defaults_Thresholds) MarshalJSON

type PanelNewsDataSourceModel_FieldConfig_Defaults_Thresholds_Steps

type PanelNewsDataSourceModel_FieldConfig_Defaults_Thresholds_Steps struct {
	Value types.String `tfsdk:"value"`
	Color types.String `tfsdk:"color"`
}

func (PanelNewsDataSourceModel_FieldConfig_Defaults_Thresholds_Steps) ApplyDefaults

func (PanelNewsDataSourceModel_FieldConfig_Defaults_Thresholds_Steps) GetAttrValue added in v0.2.0

func (PanelNewsDataSourceModel_FieldConfig_Defaults_Thresholds_Steps) MarshalJSON

type PanelNewsDataSourceModel_FieldConfig_Overrides

type PanelNewsDataSourceModel_FieldConfig_Overrides struct {
	Matcher    *PanelNewsDataSourceModel_FieldConfig_Overrides_Matcher     `tfsdk:"matcher"`
	Properties []PanelNewsDataSourceModel_FieldConfig_Overrides_Properties `tfsdk:"properties"`
}

func (PanelNewsDataSourceModel_FieldConfig_Overrides) ApplyDefaults

func (PanelNewsDataSourceModel_FieldConfig_Overrides) MarshalJSON

type PanelNewsDataSourceModel_FieldConfig_Overrides_Matcher

type PanelNewsDataSourceModel_FieldConfig_Overrides_Matcher struct {
}

func (PanelNewsDataSourceModel_FieldConfig_Overrides_Matcher) ApplyDefaults

func (PanelNewsDataSourceModel_FieldConfig_Overrides_Matcher) MarshalJSON

type PanelNewsDataSourceModel_FieldConfig_Overrides_Properties

type PanelNewsDataSourceModel_FieldConfig_Overrides_Properties struct {
}

func (PanelNewsDataSourceModel_FieldConfig_Overrides_Properties) ApplyDefaults

func (PanelNewsDataSourceModel_FieldConfig_Overrides_Properties) MarshalJSON

type PanelNewsDataSourceModel_GridPos

type PanelNewsDataSourceModel_GridPos struct {
	H      types.Int64 `tfsdk:"h"`
	W      types.Int64 `tfsdk:"w"`
	X      types.Int64 `tfsdk:"x"`
	Y      types.Int64 `tfsdk:"y"`
	Static types.Bool  `tfsdk:"static"`
}

func (PanelNewsDataSourceModel_GridPos) ApplyDefaults

func (PanelNewsDataSourceModel_GridPos) MarshalJSON

func (m PanelNewsDataSourceModel_GridPos) MarshalJSON() ([]byte, error)

type PanelNewsDataSourceModel_LibraryPanel

type PanelNewsDataSourceModel_LibraryPanel struct {
	Name types.String `tfsdk:"name"`
	Uid  types.String `tfsdk:"uid"`
}

func (PanelNewsDataSourceModel_LibraryPanel) ApplyDefaults

func (PanelNewsDataSourceModel_LibraryPanel) MarshalJSON

func (m PanelNewsDataSourceModel_LibraryPanel) MarshalJSON() ([]byte, error)
type PanelNewsDataSourceModel_Links struct {
	Title       types.String `tfsdk:"title"`
	Type        types.String `tfsdk:"type"`
	Icon        types.String `tfsdk:"icon"`
	Tooltip     types.String `tfsdk:"tooltip"`
	Url         types.String `tfsdk:"url"`
	Tags        types.List   `tfsdk:"tags"`
	AsDropdown  types.Bool   `tfsdk:"as_dropdown"`
	TargetBlank types.Bool   `tfsdk:"target_blank"`
	IncludeVars types.Bool   `tfsdk:"include_vars"`
	KeepTime    types.Bool   `tfsdk:"keep_time"`
}

func (PanelNewsDataSourceModel_Links) ApplyDefaults

func (PanelNewsDataSourceModel_Links) MarshalJSON

func (m PanelNewsDataSourceModel_Links) MarshalJSON() ([]byte, error)

type PanelNewsDataSourceModel_Options

type PanelNewsDataSourceModel_Options struct {
	FeedUrl   types.String `tfsdk:"feed_url"`
	ShowImage types.Bool   `tfsdk:"show_image"`
}

func (PanelNewsDataSourceModel_Options) ApplyDefaults

func (PanelNewsDataSourceModel_Options) MarshalJSON

func (m PanelNewsDataSourceModel_Options) MarshalJSON() ([]byte, error)

type PanelNewsDataSourceModel_Transformations

type PanelNewsDataSourceModel_Transformations struct {
	Disabled types.Bool                                       `tfsdk:"disabled"`
	Filter   *PanelNewsDataSourceModel_Transformations_Filter `tfsdk:"filter"`
}

func (PanelNewsDataSourceModel_Transformations) ApplyDefaults

func (PanelNewsDataSourceModel_Transformations) MarshalJSON

type PanelNewsDataSourceModel_Transformations_Filter

type PanelNewsDataSourceModel_Transformations_Filter struct {
}

func (PanelNewsDataSourceModel_Transformations_Filter) ApplyDefaults

func (PanelNewsDataSourceModel_Transformations_Filter) MarshalJSON

type PanelNodeGraphDataSource

type PanelNodeGraphDataSource struct{}

PanelNodeGraphDataSource defines the data source implementation.

func (*PanelNodeGraphDataSource) Configure

func (*PanelNodeGraphDataSource) Metadata

func (*PanelNodeGraphDataSource) Read

func (*PanelNodeGraphDataSource) Schema

type PanelNodeGraphDataSourceModel

type PanelNodeGraphDataSourceModel struct {
	RenderedJSON    types.String                                    `tfsdk:"rendered_json"`
	Type            types.String                                    `tfsdk:"type"`
	PluginVersion   types.String                                    `tfsdk:"plugin_version"`
	Tags            types.List                                      `tfsdk:"tags"`
	Targets         types.List                                      `tfsdk:"targets"`
	Title           types.String                                    `tfsdk:"title"`
	Description     types.String                                    `tfsdk:"description"`
	Transparent     types.Bool                                      `tfsdk:"transparent"`
	Datasource      *PanelNodeGraphDataSourceModel_Datasource       `tfsdk:"datasource"`
	GridPos         *PanelNodeGraphDataSourceModel_GridPos          `tfsdk:"grid_pos"`
	Links           []PanelNodeGraphDataSourceModel_Links           `tfsdk:"links"`
	Repeat          types.String                                    `tfsdk:"repeat"`
	RepeatDirection types.String                                    `tfsdk:"repeat_direction"`
	RepeatPanelId   types.Int64                                     `tfsdk:"repeat_panel_id"`
	MaxDataPoints   types.Float64                                   `tfsdk:"max_data_points"`
	Transformations []PanelNodeGraphDataSourceModel_Transformations `tfsdk:"transformations"`
	Interval        types.String                                    `tfsdk:"interval"`
	TimeFrom        types.String                                    `tfsdk:"time_from"`
	TimeShift       types.String                                    `tfsdk:"time_shift"`
	LibraryPanel    *PanelNodeGraphDataSourceModel_LibraryPanel     `tfsdk:"library_panel"`
	Options         *PanelNodeGraphDataSourceModel_Options          `tfsdk:"options"`
	FieldConfig     *PanelNodeGraphDataSourceModel_FieldConfig      `tfsdk:"field_config"`
}

func (PanelNodeGraphDataSourceModel) ApplyDefaults

func (PanelNodeGraphDataSourceModel) MarshalJSON

func (m PanelNodeGraphDataSourceModel) MarshalJSON() ([]byte, error)

type PanelNodeGraphDataSourceModel_Datasource

type PanelNodeGraphDataSourceModel_Datasource struct {
	Type types.String `tfsdk:"type"`
	Uid  types.String `tfsdk:"uid"`
}

func (PanelNodeGraphDataSourceModel_Datasource) ApplyDefaults

func (PanelNodeGraphDataSourceModel_Datasource) MarshalJSON

type PanelNodeGraphDataSourceModel_FieldConfig

type PanelNodeGraphDataSourceModel_FieldConfig struct {
	Defaults  *PanelNodeGraphDataSourceModel_FieldConfig_Defaults   `tfsdk:"defaults"`
	Overrides []PanelNodeGraphDataSourceModel_FieldConfig_Overrides `tfsdk:"overrides"`
}

func (PanelNodeGraphDataSourceModel_FieldConfig) ApplyDefaults

func (PanelNodeGraphDataSourceModel_FieldConfig) MarshalJSON

type PanelNodeGraphDataSourceModel_FieldConfig_Defaults

type PanelNodeGraphDataSourceModel_FieldConfig_Defaults struct {
	DisplayName       types.String                                                   `tfsdk:"display_name"`
	DisplayNameFromDS types.String                                                   `tfsdk:"display_name_from_ds"`
	Description       types.String                                                   `tfsdk:"description"`
	Path              types.String                                                   `tfsdk:"path"`
	Writeable         types.Bool                                                     `tfsdk:"writeable"`
	Filterable        types.Bool                                                     `tfsdk:"filterable"`
	Unit              types.String                                                   `tfsdk:"unit"`
	Decimals          types.Float64                                                  `tfsdk:"decimals"`
	Min               types.Float64                                                  `tfsdk:"min"`
	Max               types.Float64                                                  `tfsdk:"max"`
	Mappings          []PanelNodeGraphDataSourceModel_FieldConfig_Defaults_Mappings  `tfsdk:"mappings"`
	Thresholds        *PanelNodeGraphDataSourceModel_FieldConfig_Defaults_Thresholds `tfsdk:"thresholds"`
	Color             *PanelNodeGraphDataSourceModel_FieldConfig_Defaults_Color      `tfsdk:"color"`
	NoValue           types.String                                                   `tfsdk:"no_value"`
	Custom            *PanelNodeGraphDataSourceModel_FieldConfig_Defaults_Custom     `tfsdk:"custom"`
}

func (PanelNodeGraphDataSourceModel_FieldConfig_Defaults) ApplyDefaults

func (PanelNodeGraphDataSourceModel_FieldConfig_Defaults) MarshalJSON

type PanelNodeGraphDataSourceModel_FieldConfig_Defaults_Color

type PanelNodeGraphDataSourceModel_FieldConfig_Defaults_Color struct {
	Mode       types.String `tfsdk:"mode"`
	FixedColor types.String `tfsdk:"fixed_color"`
	SeriesBy   types.String `tfsdk:"series_by"`
}

func (PanelNodeGraphDataSourceModel_FieldConfig_Defaults_Color) ApplyDefaults

func (PanelNodeGraphDataSourceModel_FieldConfig_Defaults_Color) MarshalJSON

type PanelNodeGraphDataSourceModel_FieldConfig_Defaults_Custom

type PanelNodeGraphDataSourceModel_FieldConfig_Defaults_Custom struct {
	LineWidth         types.Int64                                                                  `tfsdk:"line_width"`
	FillOpacity       types.Int64                                                                  `tfsdk:"fill_opacity"`
	AxisPlacement     types.String                                                                 `tfsdk:"axis_placement"`
	AxisColorMode     types.String                                                                 `tfsdk:"axis_color_mode"`
	AxisLabel         types.String                                                                 `tfsdk:"axis_label"`
	AxisWidth         types.Float64                                                                `tfsdk:"axis_width"`
	AxisSoftMin       types.Float64                                                                `tfsdk:"axis_soft_min"`
	AxisSoftMax       types.Float64                                                                `tfsdk:"axis_soft_max"`
	AxisGridShow      types.Bool                                                                   `tfsdk:"axis_grid_show"`
	ScaleDistribution *PanelNodeGraphDataSourceModel_FieldConfig_Defaults_Custom_ScaleDistribution `tfsdk:"scale_distribution"`
	HideFrom          *PanelNodeGraphDataSourceModel_FieldConfig_Defaults_Custom_HideFrom          `tfsdk:"hide_from"`
	GradientMode      types.String                                                                 `tfsdk:"gradient_mode"`
	AxisCenteredZero  types.Bool                                                                   `tfsdk:"axis_centered_zero"`
}

func (PanelNodeGraphDataSourceModel_FieldConfig_Defaults_Custom) ApplyDefaults

func (PanelNodeGraphDataSourceModel_FieldConfig_Defaults_Custom) MarshalJSON

type PanelNodeGraphDataSourceModel_FieldConfig_Defaults_Custom_HideFrom

type PanelNodeGraphDataSourceModel_FieldConfig_Defaults_Custom_HideFrom struct {
	Tooltip types.Bool `tfsdk:"tooltip"`
	Legend  types.Bool `tfsdk:"legend"`
	Viz     types.Bool `tfsdk:"viz"`
}

func (PanelNodeGraphDataSourceModel_FieldConfig_Defaults_Custom_HideFrom) ApplyDefaults

func (PanelNodeGraphDataSourceModel_FieldConfig_Defaults_Custom_HideFrom) MarshalJSON

type PanelNodeGraphDataSourceModel_FieldConfig_Defaults_Custom_ScaleDistribution

type PanelNodeGraphDataSourceModel_FieldConfig_Defaults_Custom_ScaleDistribution struct {
	Type            types.String  `tfsdk:"type"`
	Log             types.Float64 `tfsdk:"log"`
	LinearThreshold types.Float64 `tfsdk:"linear_threshold"`
}

func (PanelNodeGraphDataSourceModel_FieldConfig_Defaults_Custom_ScaleDistribution) ApplyDefaults

func (PanelNodeGraphDataSourceModel_FieldConfig_Defaults_Custom_ScaleDistribution) MarshalJSON

type PanelNodeGraphDataSourceModel_FieldConfig_Defaults_Mappings

type PanelNodeGraphDataSourceModel_FieldConfig_Defaults_Mappings struct {
	ValueMap        *PanelNodeGraphDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap        `tfsdk:"value_map"`
	RangeMap        *PanelNodeGraphDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap        `tfsdk:"range_map"`
	RegexMap        *PanelNodeGraphDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap        `tfsdk:"regex_map"`
	SpecialValueMap *PanelNodeGraphDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap `tfsdk:"special_value_map"`
}

func (PanelNodeGraphDataSourceModel_FieldConfig_Defaults_Mappings) ApplyDefaults

func (PanelNodeGraphDataSourceModel_FieldConfig_Defaults_Mappings) MarshalJSON

type PanelNodeGraphDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap

type PanelNodeGraphDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap struct {
	Type    types.String                                                                  `tfsdk:"type"`
	Options *PanelNodeGraphDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options `tfsdk:"options"`
}

func (PanelNodeGraphDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap) ApplyDefaults

func (PanelNodeGraphDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap) MarshalJSON

type PanelNodeGraphDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options

type PanelNodeGraphDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options struct {
	From   types.String                                                                         `tfsdk:"from"`
	To     types.String                                                                         `tfsdk:"to"`
	Result *PanelNodeGraphDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options_Result `tfsdk:"result"`
}

func (PanelNodeGraphDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options) ApplyDefaults

func (PanelNodeGraphDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options) GetAttrFrom added in v0.2.0

func (PanelNodeGraphDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options) GetAttrTo added in v0.2.0

func (PanelNodeGraphDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options) MarshalJSON

type PanelNodeGraphDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options_Result

type PanelNodeGraphDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options_Result struct {
	Text  types.String `tfsdk:"text"`
	Color types.String `tfsdk:"color"`
	Icon  types.String `tfsdk:"icon"`
	Index types.Int64  `tfsdk:"index"`
}

func (PanelNodeGraphDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options_Result) ApplyDefaults

func (PanelNodeGraphDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options_Result) MarshalJSON

type PanelNodeGraphDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap

type PanelNodeGraphDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap struct {
	Type    types.String                                                                  `tfsdk:"type"`
	Options *PanelNodeGraphDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options `tfsdk:"options"`
}

func (PanelNodeGraphDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap) ApplyDefaults

func (PanelNodeGraphDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap) MarshalJSON

type PanelNodeGraphDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options

type PanelNodeGraphDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options struct {
	Pattern types.String                                                                         `tfsdk:"pattern"`
	Result  *PanelNodeGraphDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options_Result `tfsdk:"result"`
}

func (PanelNodeGraphDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options) ApplyDefaults

func (PanelNodeGraphDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options) MarshalJSON

type PanelNodeGraphDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options_Result

type PanelNodeGraphDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options_Result struct {
	Text  types.String `tfsdk:"text"`
	Color types.String `tfsdk:"color"`
	Icon  types.String `tfsdk:"icon"`
	Index types.Int64  `tfsdk:"index"`
}

func (PanelNodeGraphDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options_Result) ApplyDefaults

func (PanelNodeGraphDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options_Result) MarshalJSON

type PanelNodeGraphDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap

type PanelNodeGraphDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap struct {
	Type    types.String                                                                         `tfsdk:"type"`
	Options *PanelNodeGraphDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options `tfsdk:"options"`
}

func (PanelNodeGraphDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap) ApplyDefaults

func (PanelNodeGraphDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap) MarshalJSON

type PanelNodeGraphDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options

type PanelNodeGraphDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options struct {
	Match  types.String                                                                                `tfsdk:"match"`
	Result *PanelNodeGraphDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options_Result `tfsdk:"result"`
}

func (PanelNodeGraphDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options) ApplyDefaults

func (PanelNodeGraphDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options) MarshalJSON

type PanelNodeGraphDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options_Result

type PanelNodeGraphDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options_Result struct {
	Text  types.String `tfsdk:"text"`
	Color types.String `tfsdk:"color"`
	Icon  types.String `tfsdk:"icon"`
	Index types.Int64  `tfsdk:"index"`
}

func (PanelNodeGraphDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options_Result) MarshalJSON

type PanelNodeGraphDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap

type PanelNodeGraphDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap struct {
	Type    types.String                                                                             `tfsdk:"type"`
	Options *map[string]PanelNodeGraphDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap_Options `tfsdk:"options"`
}

func (PanelNodeGraphDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap) ApplyDefaults

func (PanelNodeGraphDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap) MarshalJSON

type PanelNodeGraphDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap_Options

type PanelNodeGraphDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap_Options struct {
	Text  types.String `tfsdk:"text"`
	Color types.String `tfsdk:"color"`
	Icon  types.String `tfsdk:"icon"`
	Index types.Int64  `tfsdk:"index"`
}

func (PanelNodeGraphDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap_Options) ApplyDefaults

func (PanelNodeGraphDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap_Options) MarshalJSON

type PanelNodeGraphDataSourceModel_FieldConfig_Defaults_Thresholds

type PanelNodeGraphDataSourceModel_FieldConfig_Defaults_Thresholds struct {
	Mode  types.String                                                          `tfsdk:"mode"`
	Steps []PanelNodeGraphDataSourceModel_FieldConfig_Defaults_Thresholds_Steps `tfsdk:"steps"`
}

func (PanelNodeGraphDataSourceModel_FieldConfig_Defaults_Thresholds) ApplyDefaults

func (PanelNodeGraphDataSourceModel_FieldConfig_Defaults_Thresholds) MarshalJSON

type PanelNodeGraphDataSourceModel_FieldConfig_Defaults_Thresholds_Steps

type PanelNodeGraphDataSourceModel_FieldConfig_Defaults_Thresholds_Steps struct {
	Value types.String `tfsdk:"value"`
	Color types.String `tfsdk:"color"`
}

func (PanelNodeGraphDataSourceModel_FieldConfig_Defaults_Thresholds_Steps) ApplyDefaults

func (PanelNodeGraphDataSourceModel_FieldConfig_Defaults_Thresholds_Steps) GetAttrValue added in v0.2.0

func (PanelNodeGraphDataSourceModel_FieldConfig_Defaults_Thresholds_Steps) MarshalJSON

type PanelNodeGraphDataSourceModel_FieldConfig_Overrides

type PanelNodeGraphDataSourceModel_FieldConfig_Overrides struct {
	Matcher    *PanelNodeGraphDataSourceModel_FieldConfig_Overrides_Matcher     `tfsdk:"matcher"`
	Properties []PanelNodeGraphDataSourceModel_FieldConfig_Overrides_Properties `tfsdk:"properties"`
}

func (PanelNodeGraphDataSourceModel_FieldConfig_Overrides) ApplyDefaults

func (PanelNodeGraphDataSourceModel_FieldConfig_Overrides) MarshalJSON

type PanelNodeGraphDataSourceModel_FieldConfig_Overrides_Matcher

type PanelNodeGraphDataSourceModel_FieldConfig_Overrides_Matcher struct {
}

func (PanelNodeGraphDataSourceModel_FieldConfig_Overrides_Matcher) ApplyDefaults

func (PanelNodeGraphDataSourceModel_FieldConfig_Overrides_Matcher) MarshalJSON

type PanelNodeGraphDataSourceModel_FieldConfig_Overrides_Properties

type PanelNodeGraphDataSourceModel_FieldConfig_Overrides_Properties struct {
}

func (PanelNodeGraphDataSourceModel_FieldConfig_Overrides_Properties) ApplyDefaults

func (PanelNodeGraphDataSourceModel_FieldConfig_Overrides_Properties) MarshalJSON

type PanelNodeGraphDataSourceModel_GridPos

type PanelNodeGraphDataSourceModel_GridPos struct {
	H      types.Int64 `tfsdk:"h"`
	W      types.Int64 `tfsdk:"w"`
	X      types.Int64 `tfsdk:"x"`
	Y      types.Int64 `tfsdk:"y"`
	Static types.Bool  `tfsdk:"static"`
}

func (PanelNodeGraphDataSourceModel_GridPos) ApplyDefaults

func (PanelNodeGraphDataSourceModel_GridPos) MarshalJSON

func (m PanelNodeGraphDataSourceModel_GridPos) MarshalJSON() ([]byte, error)

type PanelNodeGraphDataSourceModel_LibraryPanel

type PanelNodeGraphDataSourceModel_LibraryPanel struct {
	Name types.String `tfsdk:"name"`
	Uid  types.String `tfsdk:"uid"`
}

func (PanelNodeGraphDataSourceModel_LibraryPanel) ApplyDefaults

func (PanelNodeGraphDataSourceModel_LibraryPanel) MarshalJSON

type PanelNodeGraphDataSourceModel_Links struct {
	Title       types.String `tfsdk:"title"`
	Type        types.String `tfsdk:"type"`
	Icon        types.String `tfsdk:"icon"`
	Tooltip     types.String `tfsdk:"tooltip"`
	Url         types.String `tfsdk:"url"`
	Tags        types.List   `tfsdk:"tags"`
	AsDropdown  types.Bool   `tfsdk:"as_dropdown"`
	TargetBlank types.Bool   `tfsdk:"target_blank"`
	IncludeVars types.Bool   `tfsdk:"include_vars"`
	KeepTime    types.Bool   `tfsdk:"keep_time"`
}

func (PanelNodeGraphDataSourceModel_Links) ApplyDefaults

func (PanelNodeGraphDataSourceModel_Links) MarshalJSON

func (m PanelNodeGraphDataSourceModel_Links) MarshalJSON() ([]byte, error)

type PanelNodeGraphDataSourceModel_Options

type PanelNodeGraphDataSourceModel_Options struct {
	Nodes *PanelNodeGraphDataSourceModel_Options_Nodes `tfsdk:"nodes"`
	Edges *PanelNodeGraphDataSourceModel_Options_Edges `tfsdk:"edges"`
}

func (PanelNodeGraphDataSourceModel_Options) ApplyDefaults

func (PanelNodeGraphDataSourceModel_Options) MarshalJSON

func (m PanelNodeGraphDataSourceModel_Options) MarshalJSON() ([]byte, error)

type PanelNodeGraphDataSourceModel_Options_Edges

type PanelNodeGraphDataSourceModel_Options_Edges struct {
	MainStatUnit      types.String `tfsdk:"main_stat_unit"`
	SecondaryStatUnit types.String `tfsdk:"secondary_stat_unit"`
}

func (PanelNodeGraphDataSourceModel_Options_Edges) ApplyDefaults

func (PanelNodeGraphDataSourceModel_Options_Edges) MarshalJSON

type PanelNodeGraphDataSourceModel_Options_Nodes

type PanelNodeGraphDataSourceModel_Options_Nodes struct {
	MainStatUnit      types.String                                       `tfsdk:"main_stat_unit"`
	SecondaryStatUnit types.String                                       `tfsdk:"secondary_stat_unit"`
	Arcs              []PanelNodeGraphDataSourceModel_Options_Nodes_Arcs `tfsdk:"arcs"`
}

func (PanelNodeGraphDataSourceModel_Options_Nodes) ApplyDefaults

func (PanelNodeGraphDataSourceModel_Options_Nodes) MarshalJSON

type PanelNodeGraphDataSourceModel_Options_Nodes_Arcs

type PanelNodeGraphDataSourceModel_Options_Nodes_Arcs struct {
	Field types.String `tfsdk:"field"`
	Color types.String `tfsdk:"color"`
}

func (PanelNodeGraphDataSourceModel_Options_Nodes_Arcs) ApplyDefaults

func (PanelNodeGraphDataSourceModel_Options_Nodes_Arcs) MarshalJSON

type PanelNodeGraphDataSourceModel_Transformations

type PanelNodeGraphDataSourceModel_Transformations struct {
	Disabled types.Bool                                            `tfsdk:"disabled"`
	Filter   *PanelNodeGraphDataSourceModel_Transformations_Filter `tfsdk:"filter"`
}

func (PanelNodeGraphDataSourceModel_Transformations) ApplyDefaults

func (PanelNodeGraphDataSourceModel_Transformations) MarshalJSON

type PanelNodeGraphDataSourceModel_Transformations_Filter

type PanelNodeGraphDataSourceModel_Transformations_Filter struct {
}

func (PanelNodeGraphDataSourceModel_Transformations_Filter) ApplyDefaults

func (PanelNodeGraphDataSourceModel_Transformations_Filter) MarshalJSON

type PanelPieChartDataSource

type PanelPieChartDataSource struct{}

PanelPieChartDataSource defines the data source implementation.

func (*PanelPieChartDataSource) Configure

func (*PanelPieChartDataSource) Metadata

func (*PanelPieChartDataSource) Read

func (*PanelPieChartDataSource) Schema

type PanelPieChartDataSourceModel

type PanelPieChartDataSourceModel struct {
	RenderedJSON    types.String                                   `tfsdk:"rendered_json"`
	Type            types.String                                   `tfsdk:"type"`
	PluginVersion   types.String                                   `tfsdk:"plugin_version"`
	Tags            types.List                                     `tfsdk:"tags"`
	Targets         types.List                                     `tfsdk:"targets"`
	Title           types.String                                   `tfsdk:"title"`
	Description     types.String                                   `tfsdk:"description"`
	Transparent     types.Bool                                     `tfsdk:"transparent"`
	Datasource      *PanelPieChartDataSourceModel_Datasource       `tfsdk:"datasource"`
	GridPos         *PanelPieChartDataSourceModel_GridPos          `tfsdk:"grid_pos"`
	Links           []PanelPieChartDataSourceModel_Links           `tfsdk:"links"`
	Repeat          types.String                                   `tfsdk:"repeat"`
	RepeatDirection types.String                                   `tfsdk:"repeat_direction"`
	RepeatPanelId   types.Int64                                    `tfsdk:"repeat_panel_id"`
	MaxDataPoints   types.Float64                                  `tfsdk:"max_data_points"`
	Transformations []PanelPieChartDataSourceModel_Transformations `tfsdk:"transformations"`
	Interval        types.String                                   `tfsdk:"interval"`
	TimeFrom        types.String                                   `tfsdk:"time_from"`
	TimeShift       types.String                                   `tfsdk:"time_shift"`
	LibraryPanel    *PanelPieChartDataSourceModel_LibraryPanel     `tfsdk:"library_panel"`
	Options         *PanelPieChartDataSourceModel_Options          `tfsdk:"options"`
	FieldConfig     *PanelPieChartDataSourceModel_FieldConfig      `tfsdk:"field_config"`
}

func (PanelPieChartDataSourceModel) ApplyDefaults

func (PanelPieChartDataSourceModel) MarshalJSON

func (m PanelPieChartDataSourceModel) MarshalJSON() ([]byte, error)

type PanelPieChartDataSourceModel_Datasource

type PanelPieChartDataSourceModel_Datasource struct {
	Type types.String `tfsdk:"type"`
	Uid  types.String `tfsdk:"uid"`
}

func (PanelPieChartDataSourceModel_Datasource) ApplyDefaults

func (PanelPieChartDataSourceModel_Datasource) MarshalJSON

func (m PanelPieChartDataSourceModel_Datasource) MarshalJSON() ([]byte, error)

type PanelPieChartDataSourceModel_FieldConfig

type PanelPieChartDataSourceModel_FieldConfig struct {
	Defaults  *PanelPieChartDataSourceModel_FieldConfig_Defaults   `tfsdk:"defaults"`
	Overrides []PanelPieChartDataSourceModel_FieldConfig_Overrides `tfsdk:"overrides"`
}

func (PanelPieChartDataSourceModel_FieldConfig) ApplyDefaults

func (PanelPieChartDataSourceModel_FieldConfig) MarshalJSON

type PanelPieChartDataSourceModel_FieldConfig_Defaults

type PanelPieChartDataSourceModel_FieldConfig_Defaults struct {
	DisplayName       types.String                                                  `tfsdk:"display_name"`
	DisplayNameFromDS types.String                                                  `tfsdk:"display_name_from_ds"`
	Description       types.String                                                  `tfsdk:"description"`
	Path              types.String                                                  `tfsdk:"path"`
	Writeable         types.Bool                                                    `tfsdk:"writeable"`
	Filterable        types.Bool                                                    `tfsdk:"filterable"`
	Unit              types.String                                                  `tfsdk:"unit"`
	Decimals          types.Float64                                                 `tfsdk:"decimals"`
	Min               types.Float64                                                 `tfsdk:"min"`
	Max               types.Float64                                                 `tfsdk:"max"`
	Mappings          []PanelPieChartDataSourceModel_FieldConfig_Defaults_Mappings  `tfsdk:"mappings"`
	Thresholds        *PanelPieChartDataSourceModel_FieldConfig_Defaults_Thresholds `tfsdk:"thresholds"`
	Color             *PanelPieChartDataSourceModel_FieldConfig_Defaults_Color      `tfsdk:"color"`
	NoValue           types.String                                                  `tfsdk:"no_value"`
	Custom            *PanelPieChartDataSourceModel_FieldConfig_Defaults_Custom     `tfsdk:"custom"`
}

func (PanelPieChartDataSourceModel_FieldConfig_Defaults) ApplyDefaults

func (PanelPieChartDataSourceModel_FieldConfig_Defaults) MarshalJSON

type PanelPieChartDataSourceModel_FieldConfig_Defaults_Color

type PanelPieChartDataSourceModel_FieldConfig_Defaults_Color struct {
	Mode       types.String `tfsdk:"mode"`
	FixedColor types.String `tfsdk:"fixed_color"`
	SeriesBy   types.String `tfsdk:"series_by"`
}

func (PanelPieChartDataSourceModel_FieldConfig_Defaults_Color) ApplyDefaults

func (PanelPieChartDataSourceModel_FieldConfig_Defaults_Color) MarshalJSON

type PanelPieChartDataSourceModel_FieldConfig_Defaults_Custom

type PanelPieChartDataSourceModel_FieldConfig_Defaults_Custom struct {
	HideFrom *PanelPieChartDataSourceModel_FieldConfig_Defaults_Custom_HideFrom `tfsdk:"hide_from"`
}

func (PanelPieChartDataSourceModel_FieldConfig_Defaults_Custom) ApplyDefaults

func (PanelPieChartDataSourceModel_FieldConfig_Defaults_Custom) MarshalJSON

type PanelPieChartDataSourceModel_FieldConfig_Defaults_Custom_HideFrom

type PanelPieChartDataSourceModel_FieldConfig_Defaults_Custom_HideFrom struct {
	Tooltip types.Bool `tfsdk:"tooltip"`
	Legend  types.Bool `tfsdk:"legend"`
	Viz     types.Bool `tfsdk:"viz"`
}

func (PanelPieChartDataSourceModel_FieldConfig_Defaults_Custom_HideFrom) ApplyDefaults

func (PanelPieChartDataSourceModel_FieldConfig_Defaults_Custom_HideFrom) MarshalJSON

type PanelPieChartDataSourceModel_FieldConfig_Defaults_Mappings

type PanelPieChartDataSourceModel_FieldConfig_Defaults_Mappings struct {
	ValueMap        *PanelPieChartDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap        `tfsdk:"value_map"`
	RangeMap        *PanelPieChartDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap        `tfsdk:"range_map"`
	RegexMap        *PanelPieChartDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap        `tfsdk:"regex_map"`
	SpecialValueMap *PanelPieChartDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap `tfsdk:"special_value_map"`
}

func (PanelPieChartDataSourceModel_FieldConfig_Defaults_Mappings) ApplyDefaults

func (PanelPieChartDataSourceModel_FieldConfig_Defaults_Mappings) MarshalJSON

type PanelPieChartDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap

type PanelPieChartDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap struct {
	Type    types.String                                                                 `tfsdk:"type"`
	Options *PanelPieChartDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options `tfsdk:"options"`
}

func (PanelPieChartDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap) ApplyDefaults

func (PanelPieChartDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap) MarshalJSON

type PanelPieChartDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options

type PanelPieChartDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options struct {
	From   types.String                                                                        `tfsdk:"from"`
	To     types.String                                                                        `tfsdk:"to"`
	Result *PanelPieChartDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options_Result `tfsdk:"result"`
}

func (PanelPieChartDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options) ApplyDefaults

func (PanelPieChartDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options) GetAttrFrom added in v0.2.0

func (PanelPieChartDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options) GetAttrTo added in v0.2.0

func (PanelPieChartDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options) MarshalJSON

type PanelPieChartDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options_Result

type PanelPieChartDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options_Result struct {
	Text  types.String `tfsdk:"text"`
	Color types.String `tfsdk:"color"`
	Icon  types.String `tfsdk:"icon"`
	Index types.Int64  `tfsdk:"index"`
}

func (PanelPieChartDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options_Result) ApplyDefaults

func (PanelPieChartDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options_Result) MarshalJSON

type PanelPieChartDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap

type PanelPieChartDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap struct {
	Type    types.String                                                                 `tfsdk:"type"`
	Options *PanelPieChartDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options `tfsdk:"options"`
}

func (PanelPieChartDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap) ApplyDefaults

func (PanelPieChartDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap) MarshalJSON

type PanelPieChartDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options

type PanelPieChartDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options struct {
	Pattern types.String                                                                        `tfsdk:"pattern"`
	Result  *PanelPieChartDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options_Result `tfsdk:"result"`
}

func (PanelPieChartDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options) ApplyDefaults

func (PanelPieChartDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options) MarshalJSON

type PanelPieChartDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options_Result

type PanelPieChartDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options_Result struct {
	Text  types.String `tfsdk:"text"`
	Color types.String `tfsdk:"color"`
	Icon  types.String `tfsdk:"icon"`
	Index types.Int64  `tfsdk:"index"`
}

func (PanelPieChartDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options_Result) ApplyDefaults

func (PanelPieChartDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options_Result) MarshalJSON

type PanelPieChartDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap

type PanelPieChartDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap struct {
	Type    types.String                                                                        `tfsdk:"type"`
	Options *PanelPieChartDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options `tfsdk:"options"`
}

func (PanelPieChartDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap) ApplyDefaults

func (PanelPieChartDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap) MarshalJSON

type PanelPieChartDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options

type PanelPieChartDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options struct {
	Match  types.String                                                                               `tfsdk:"match"`
	Result *PanelPieChartDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options_Result `tfsdk:"result"`
}

func (PanelPieChartDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options) ApplyDefaults

func (PanelPieChartDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options) MarshalJSON

type PanelPieChartDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options_Result

type PanelPieChartDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options_Result struct {
	Text  types.String `tfsdk:"text"`
	Color types.String `tfsdk:"color"`
	Icon  types.String `tfsdk:"icon"`
	Index types.Int64  `tfsdk:"index"`
}

func (PanelPieChartDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options_Result) MarshalJSON

type PanelPieChartDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap

type PanelPieChartDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap struct {
	Type    types.String                                                                            `tfsdk:"type"`
	Options *map[string]PanelPieChartDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap_Options `tfsdk:"options"`
}

func (PanelPieChartDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap) ApplyDefaults

func (PanelPieChartDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap) MarshalJSON

type PanelPieChartDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap_Options

type PanelPieChartDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap_Options struct {
	Text  types.String `tfsdk:"text"`
	Color types.String `tfsdk:"color"`
	Icon  types.String `tfsdk:"icon"`
	Index types.Int64  `tfsdk:"index"`
}

func (PanelPieChartDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap_Options) ApplyDefaults

func (PanelPieChartDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap_Options) MarshalJSON

type PanelPieChartDataSourceModel_FieldConfig_Defaults_Thresholds

type PanelPieChartDataSourceModel_FieldConfig_Defaults_Thresholds struct {
	Mode  types.String                                                         `tfsdk:"mode"`
	Steps []PanelPieChartDataSourceModel_FieldConfig_Defaults_Thresholds_Steps `tfsdk:"steps"`
}

func (PanelPieChartDataSourceModel_FieldConfig_Defaults_Thresholds) ApplyDefaults

func (PanelPieChartDataSourceModel_FieldConfig_Defaults_Thresholds) MarshalJSON

type PanelPieChartDataSourceModel_FieldConfig_Defaults_Thresholds_Steps

type PanelPieChartDataSourceModel_FieldConfig_Defaults_Thresholds_Steps struct {
	Value types.String `tfsdk:"value"`
	Color types.String `tfsdk:"color"`
}

func (PanelPieChartDataSourceModel_FieldConfig_Defaults_Thresholds_Steps) ApplyDefaults

func (PanelPieChartDataSourceModel_FieldConfig_Defaults_Thresholds_Steps) GetAttrValue added in v0.2.0

func (PanelPieChartDataSourceModel_FieldConfig_Defaults_Thresholds_Steps) MarshalJSON

type PanelPieChartDataSourceModel_FieldConfig_Overrides

type PanelPieChartDataSourceModel_FieldConfig_Overrides struct {
	Matcher    *PanelPieChartDataSourceModel_FieldConfig_Overrides_Matcher     `tfsdk:"matcher"`
	Properties []PanelPieChartDataSourceModel_FieldConfig_Overrides_Properties `tfsdk:"properties"`
}

func (PanelPieChartDataSourceModel_FieldConfig_Overrides) ApplyDefaults

func (PanelPieChartDataSourceModel_FieldConfig_Overrides) MarshalJSON

type PanelPieChartDataSourceModel_FieldConfig_Overrides_Matcher

type PanelPieChartDataSourceModel_FieldConfig_Overrides_Matcher struct {
}

func (PanelPieChartDataSourceModel_FieldConfig_Overrides_Matcher) ApplyDefaults

func (PanelPieChartDataSourceModel_FieldConfig_Overrides_Matcher) MarshalJSON

type PanelPieChartDataSourceModel_FieldConfig_Overrides_Properties

type PanelPieChartDataSourceModel_FieldConfig_Overrides_Properties struct {
}

func (PanelPieChartDataSourceModel_FieldConfig_Overrides_Properties) ApplyDefaults

func (PanelPieChartDataSourceModel_FieldConfig_Overrides_Properties) MarshalJSON

type PanelPieChartDataSourceModel_GridPos

type PanelPieChartDataSourceModel_GridPos struct {
	H      types.Int64 `tfsdk:"h"`
	W      types.Int64 `tfsdk:"w"`
	X      types.Int64 `tfsdk:"x"`
	Y      types.Int64 `tfsdk:"y"`
	Static types.Bool  `tfsdk:"static"`
}

func (PanelPieChartDataSourceModel_GridPos) ApplyDefaults

func (PanelPieChartDataSourceModel_GridPos) MarshalJSON

func (m PanelPieChartDataSourceModel_GridPos) MarshalJSON() ([]byte, error)

type PanelPieChartDataSourceModel_LibraryPanel

type PanelPieChartDataSourceModel_LibraryPanel struct {
	Name types.String `tfsdk:"name"`
	Uid  types.String `tfsdk:"uid"`
}

func (PanelPieChartDataSourceModel_LibraryPanel) ApplyDefaults

func (PanelPieChartDataSourceModel_LibraryPanel) MarshalJSON

type PanelPieChartDataSourceModel_Links struct {
	Title       types.String `tfsdk:"title"`
	Type        types.String `tfsdk:"type"`
	Icon        types.String `tfsdk:"icon"`
	Tooltip     types.String `tfsdk:"tooltip"`
	Url         types.String `tfsdk:"url"`
	Tags        types.List   `tfsdk:"tags"`
	AsDropdown  types.Bool   `tfsdk:"as_dropdown"`
	TargetBlank types.Bool   `tfsdk:"target_blank"`
	IncludeVars types.Bool   `tfsdk:"include_vars"`
	KeepTime    types.Bool   `tfsdk:"keep_time"`
}

func (PanelPieChartDataSourceModel_Links) ApplyDefaults

func (PanelPieChartDataSourceModel_Links) MarshalJSON

func (m PanelPieChartDataSourceModel_Links) MarshalJSON() ([]byte, error)

type PanelPieChartDataSourceModel_Options

type PanelPieChartDataSourceModel_Options struct {
	PieType       types.String                                        `tfsdk:"pie_type"`
	Tooltip       *PanelPieChartDataSourceModel_Options_Tooltip       `tfsdk:"tooltip"`
	ReduceOptions *PanelPieChartDataSourceModel_Options_ReduceOptions `tfsdk:"reduce_options"`
	Text          *PanelPieChartDataSourceModel_Options_Text          `tfsdk:"text"`
	Legend        *PanelPieChartDataSourceModel_Options_Legend        `tfsdk:"legend"`
	Orientation   types.String                                        `tfsdk:"orientation"`
}

func (PanelPieChartDataSourceModel_Options) ApplyDefaults

func (PanelPieChartDataSourceModel_Options) MarshalJSON

func (m PanelPieChartDataSourceModel_Options) MarshalJSON() ([]byte, error)

type PanelPieChartDataSourceModel_Options_Legend

type PanelPieChartDataSourceModel_Options_Legend struct {
	DisplayMode types.String  `tfsdk:"display_mode"`
	Placement   types.String  `tfsdk:"placement"`
	ShowLegend  types.Bool    `tfsdk:"show_legend"`
	AsTable     types.Bool    `tfsdk:"as_table"`
	IsVisible   types.Bool    `tfsdk:"is_visible"`
	SortBy      types.String  `tfsdk:"sort_by"`
	SortDesc    types.Bool    `tfsdk:"sort_desc"`
	Width       types.Float64 `tfsdk:"width"`
	Calcs       types.List    `tfsdk:"calcs"`
}

func (PanelPieChartDataSourceModel_Options_Legend) ApplyDefaults

func (PanelPieChartDataSourceModel_Options_Legend) MarshalJSON

type PanelPieChartDataSourceModel_Options_ReduceOptions

type PanelPieChartDataSourceModel_Options_ReduceOptions struct {
	Values types.Bool    `tfsdk:"values"`
	Limit  types.Float64 `tfsdk:"limit"`
	Calcs  types.List    `tfsdk:"calcs"`
	Fields types.String  `tfsdk:"fields"`
}

func (PanelPieChartDataSourceModel_Options_ReduceOptions) ApplyDefaults

func (PanelPieChartDataSourceModel_Options_ReduceOptions) MarshalJSON

type PanelPieChartDataSourceModel_Options_Text

type PanelPieChartDataSourceModel_Options_Text struct {
	TitleSize types.Float64 `tfsdk:"title_size"`
	ValueSize types.Float64 `tfsdk:"value_size"`
}

func (PanelPieChartDataSourceModel_Options_Text) ApplyDefaults

func (PanelPieChartDataSourceModel_Options_Text) MarshalJSON

type PanelPieChartDataSourceModel_Options_Tooltip

type PanelPieChartDataSourceModel_Options_Tooltip struct {
	Mode types.String `tfsdk:"mode"`
	Sort types.String `tfsdk:"sort"`
}

func (PanelPieChartDataSourceModel_Options_Tooltip) ApplyDefaults

func (PanelPieChartDataSourceModel_Options_Tooltip) MarshalJSON

type PanelPieChartDataSourceModel_Transformations

type PanelPieChartDataSourceModel_Transformations struct {
	Disabled types.Bool                                           `tfsdk:"disabled"`
	Filter   *PanelPieChartDataSourceModel_Transformations_Filter `tfsdk:"filter"`
}

func (PanelPieChartDataSourceModel_Transformations) ApplyDefaults

func (PanelPieChartDataSourceModel_Transformations) MarshalJSON

type PanelPieChartDataSourceModel_Transformations_Filter

type PanelPieChartDataSourceModel_Transformations_Filter struct {
}

func (PanelPieChartDataSourceModel_Transformations_Filter) ApplyDefaults

func (PanelPieChartDataSourceModel_Transformations_Filter) MarshalJSON

type PanelStatDataSource

type PanelStatDataSource struct{}

PanelStatDataSource defines the data source implementation.

func (*PanelStatDataSource) Configure

func (*PanelStatDataSource) Metadata

func (*PanelStatDataSource) Read

func (*PanelStatDataSource) Schema

type PanelStatDataSourceModel

type PanelStatDataSourceModel struct {
	RenderedJSON    types.String                               `tfsdk:"rendered_json"`
	Type            types.String                               `tfsdk:"type"`
	PluginVersion   types.String                               `tfsdk:"plugin_version"`
	Tags            types.List                                 `tfsdk:"tags"`
	Targets         types.List                                 `tfsdk:"targets"`
	Title           types.String                               `tfsdk:"title"`
	Description     types.String                               `tfsdk:"description"`
	Transparent     types.Bool                                 `tfsdk:"transparent"`
	Datasource      *PanelStatDataSourceModel_Datasource       `tfsdk:"datasource"`
	GridPos         *PanelStatDataSourceModel_GridPos          `tfsdk:"grid_pos"`
	Links           []PanelStatDataSourceModel_Links           `tfsdk:"links"`
	Repeat          types.String                               `tfsdk:"repeat"`
	RepeatDirection types.String                               `tfsdk:"repeat_direction"`
	RepeatPanelId   types.Int64                                `tfsdk:"repeat_panel_id"`
	MaxDataPoints   types.Float64                              `tfsdk:"max_data_points"`
	Transformations []PanelStatDataSourceModel_Transformations `tfsdk:"transformations"`
	Interval        types.String                               `tfsdk:"interval"`
	TimeFrom        types.String                               `tfsdk:"time_from"`
	TimeShift       types.String                               `tfsdk:"time_shift"`
	LibraryPanel    *PanelStatDataSourceModel_LibraryPanel     `tfsdk:"library_panel"`
	Options         *PanelStatDataSourceModel_Options          `tfsdk:"options"`
	FieldConfig     *PanelStatDataSourceModel_FieldConfig      `tfsdk:"field_config"`
}

func (PanelStatDataSourceModel) ApplyDefaults

func (PanelStatDataSourceModel) MarshalJSON

func (m PanelStatDataSourceModel) MarshalJSON() ([]byte, error)

type PanelStatDataSourceModel_Datasource

type PanelStatDataSourceModel_Datasource struct {
	Type types.String `tfsdk:"type"`
	Uid  types.String `tfsdk:"uid"`
}

func (PanelStatDataSourceModel_Datasource) ApplyDefaults

func (PanelStatDataSourceModel_Datasource) MarshalJSON

func (m PanelStatDataSourceModel_Datasource) MarshalJSON() ([]byte, error)

type PanelStatDataSourceModel_FieldConfig

type PanelStatDataSourceModel_FieldConfig struct {
	Defaults  *PanelStatDataSourceModel_FieldConfig_Defaults   `tfsdk:"defaults"`
	Overrides []PanelStatDataSourceModel_FieldConfig_Overrides `tfsdk:"overrides"`
}

func (PanelStatDataSourceModel_FieldConfig) ApplyDefaults

func (PanelStatDataSourceModel_FieldConfig) MarshalJSON

func (m PanelStatDataSourceModel_FieldConfig) MarshalJSON() ([]byte, error)

type PanelStatDataSourceModel_FieldConfig_Defaults

type PanelStatDataSourceModel_FieldConfig_Defaults struct {
	DisplayName       types.String                                              `tfsdk:"display_name"`
	DisplayNameFromDS types.String                                              `tfsdk:"display_name_from_ds"`
	Description       types.String                                              `tfsdk:"description"`
	Path              types.String                                              `tfsdk:"path"`
	Writeable         types.Bool                                                `tfsdk:"writeable"`
	Filterable        types.Bool                                                `tfsdk:"filterable"`
	Unit              types.String                                              `tfsdk:"unit"`
	Decimals          types.Float64                                             `tfsdk:"decimals"`
	Min               types.Float64                                             `tfsdk:"min"`
	Max               types.Float64                                             `tfsdk:"max"`
	Mappings          []PanelStatDataSourceModel_FieldConfig_Defaults_Mappings  `tfsdk:"mappings"`
	Thresholds        *PanelStatDataSourceModel_FieldConfig_Defaults_Thresholds `tfsdk:"thresholds"`
	Color             *PanelStatDataSourceModel_FieldConfig_Defaults_Color      `tfsdk:"color"`
	NoValue           types.String                                              `tfsdk:"no_value"`
	Custom            *PanelStatDataSourceModel_FieldConfig_Defaults_Custom     `tfsdk:"custom"`
}

func (PanelStatDataSourceModel_FieldConfig_Defaults) ApplyDefaults

func (PanelStatDataSourceModel_FieldConfig_Defaults) MarshalJSON

type PanelStatDataSourceModel_FieldConfig_Defaults_Color

type PanelStatDataSourceModel_FieldConfig_Defaults_Color struct {
	Mode       types.String `tfsdk:"mode"`
	FixedColor types.String `tfsdk:"fixed_color"`
	SeriesBy   types.String `tfsdk:"series_by"`
}

func (PanelStatDataSourceModel_FieldConfig_Defaults_Color) ApplyDefaults

func (PanelStatDataSourceModel_FieldConfig_Defaults_Color) MarshalJSON

type PanelStatDataSourceModel_FieldConfig_Defaults_Custom

type PanelStatDataSourceModel_FieldConfig_Defaults_Custom struct {
	HideFrom *PanelStatDataSourceModel_FieldConfig_Defaults_Custom_HideFrom `tfsdk:"hide_from"`
}

func (PanelStatDataSourceModel_FieldConfig_Defaults_Custom) ApplyDefaults

func (PanelStatDataSourceModel_FieldConfig_Defaults_Custom) MarshalJSON

type PanelStatDataSourceModel_FieldConfig_Defaults_Custom_HideFrom

type PanelStatDataSourceModel_FieldConfig_Defaults_Custom_HideFrom struct {
	Tooltip types.Bool `tfsdk:"tooltip"`
	Legend  types.Bool `tfsdk:"legend"`
	Viz     types.Bool `tfsdk:"viz"`
}

func (PanelStatDataSourceModel_FieldConfig_Defaults_Custom_HideFrom) ApplyDefaults

func (PanelStatDataSourceModel_FieldConfig_Defaults_Custom_HideFrom) MarshalJSON

type PanelStatDataSourceModel_FieldConfig_Defaults_Mappings

type PanelStatDataSourceModel_FieldConfig_Defaults_Mappings struct {
	ValueMap        *PanelStatDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap        `tfsdk:"value_map"`
	RangeMap        *PanelStatDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap        `tfsdk:"range_map"`
	RegexMap        *PanelStatDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap        `tfsdk:"regex_map"`
	SpecialValueMap *PanelStatDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap `tfsdk:"special_value_map"`
}

func (PanelStatDataSourceModel_FieldConfig_Defaults_Mappings) ApplyDefaults

func (PanelStatDataSourceModel_FieldConfig_Defaults_Mappings) MarshalJSON

type PanelStatDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap

type PanelStatDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap struct {
	Type    types.String                                                             `tfsdk:"type"`
	Options *PanelStatDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options `tfsdk:"options"`
}

func (PanelStatDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap) ApplyDefaults

func (PanelStatDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap) MarshalJSON

type PanelStatDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options

type PanelStatDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options struct {
	From   types.String                                                                    `tfsdk:"from"`
	To     types.String                                                                    `tfsdk:"to"`
	Result *PanelStatDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options_Result `tfsdk:"result"`
}

func (PanelStatDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options) ApplyDefaults

func (PanelStatDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options) GetAttrFrom added in v0.2.0

func (PanelStatDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options) GetAttrTo added in v0.2.0

func (PanelStatDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options) MarshalJSON

type PanelStatDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options_Result

type PanelStatDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options_Result struct {
	Text  types.String `tfsdk:"text"`
	Color types.String `tfsdk:"color"`
	Icon  types.String `tfsdk:"icon"`
	Index types.Int64  `tfsdk:"index"`
}

func (PanelStatDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options_Result) ApplyDefaults

func (PanelStatDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options_Result) MarshalJSON

type PanelStatDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap

type PanelStatDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap struct {
	Type    types.String                                                             `tfsdk:"type"`
	Options *PanelStatDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options `tfsdk:"options"`
}

func (PanelStatDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap) ApplyDefaults

func (PanelStatDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap) MarshalJSON

type PanelStatDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options

type PanelStatDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options struct {
	Pattern types.String                                                                    `tfsdk:"pattern"`
	Result  *PanelStatDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options_Result `tfsdk:"result"`
}

func (PanelStatDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options) ApplyDefaults

func (PanelStatDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options) MarshalJSON

type PanelStatDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options_Result

type PanelStatDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options_Result struct {
	Text  types.String `tfsdk:"text"`
	Color types.String `tfsdk:"color"`
	Icon  types.String `tfsdk:"icon"`
	Index types.Int64  `tfsdk:"index"`
}

func (PanelStatDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options_Result) ApplyDefaults

func (PanelStatDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options_Result) MarshalJSON

type PanelStatDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap

type PanelStatDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap struct {
	Type    types.String                                                                    `tfsdk:"type"`
	Options *PanelStatDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options `tfsdk:"options"`
}

func (PanelStatDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap) ApplyDefaults

func (PanelStatDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap) MarshalJSON

type PanelStatDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options

type PanelStatDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options struct {
	Match  types.String                                                                           `tfsdk:"match"`
	Result *PanelStatDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options_Result `tfsdk:"result"`
}

func (PanelStatDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options) ApplyDefaults

func (PanelStatDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options) MarshalJSON

type PanelStatDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options_Result

type PanelStatDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options_Result struct {
	Text  types.String `tfsdk:"text"`
	Color types.String `tfsdk:"color"`
	Icon  types.String `tfsdk:"icon"`
	Index types.Int64  `tfsdk:"index"`
}

func (PanelStatDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options_Result) MarshalJSON

type PanelStatDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap

type PanelStatDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap struct {
	Type    types.String                                                                        `tfsdk:"type"`
	Options *map[string]PanelStatDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap_Options `tfsdk:"options"`
}

func (PanelStatDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap) ApplyDefaults

func (PanelStatDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap) MarshalJSON

type PanelStatDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap_Options

type PanelStatDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap_Options struct {
	Text  types.String `tfsdk:"text"`
	Color types.String `tfsdk:"color"`
	Icon  types.String `tfsdk:"icon"`
	Index types.Int64  `tfsdk:"index"`
}

func (PanelStatDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap_Options) ApplyDefaults

func (PanelStatDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap_Options) MarshalJSON

type PanelStatDataSourceModel_FieldConfig_Defaults_Thresholds

type PanelStatDataSourceModel_FieldConfig_Defaults_Thresholds struct {
	Mode  types.String                                                     `tfsdk:"mode"`
	Steps []PanelStatDataSourceModel_FieldConfig_Defaults_Thresholds_Steps `tfsdk:"steps"`
}

func (PanelStatDataSourceModel_FieldConfig_Defaults_Thresholds) ApplyDefaults

func (PanelStatDataSourceModel_FieldConfig_Defaults_Thresholds) MarshalJSON

type PanelStatDataSourceModel_FieldConfig_Defaults_Thresholds_Steps

type PanelStatDataSourceModel_FieldConfig_Defaults_Thresholds_Steps struct {
	Value types.String `tfsdk:"value"`
	Color types.String `tfsdk:"color"`
}

func (PanelStatDataSourceModel_FieldConfig_Defaults_Thresholds_Steps) ApplyDefaults

func (PanelStatDataSourceModel_FieldConfig_Defaults_Thresholds_Steps) GetAttrValue added in v0.2.0

func (PanelStatDataSourceModel_FieldConfig_Defaults_Thresholds_Steps) MarshalJSON

type PanelStatDataSourceModel_FieldConfig_Overrides

type PanelStatDataSourceModel_FieldConfig_Overrides struct {
	Matcher    *PanelStatDataSourceModel_FieldConfig_Overrides_Matcher     `tfsdk:"matcher"`
	Properties []PanelStatDataSourceModel_FieldConfig_Overrides_Properties `tfsdk:"properties"`
}

func (PanelStatDataSourceModel_FieldConfig_Overrides) ApplyDefaults

func (PanelStatDataSourceModel_FieldConfig_Overrides) MarshalJSON

type PanelStatDataSourceModel_FieldConfig_Overrides_Matcher

type PanelStatDataSourceModel_FieldConfig_Overrides_Matcher struct {
}

func (PanelStatDataSourceModel_FieldConfig_Overrides_Matcher) ApplyDefaults

func (PanelStatDataSourceModel_FieldConfig_Overrides_Matcher) MarshalJSON

type PanelStatDataSourceModel_FieldConfig_Overrides_Properties

type PanelStatDataSourceModel_FieldConfig_Overrides_Properties struct {
}

func (PanelStatDataSourceModel_FieldConfig_Overrides_Properties) ApplyDefaults

func (PanelStatDataSourceModel_FieldConfig_Overrides_Properties) MarshalJSON

type PanelStatDataSourceModel_GridPos

type PanelStatDataSourceModel_GridPos struct {
	H      types.Int64 `tfsdk:"h"`
	W      types.Int64 `tfsdk:"w"`
	X      types.Int64 `tfsdk:"x"`
	Y      types.Int64 `tfsdk:"y"`
	Static types.Bool  `tfsdk:"static"`
}

func (PanelStatDataSourceModel_GridPos) ApplyDefaults

func (PanelStatDataSourceModel_GridPos) MarshalJSON

func (m PanelStatDataSourceModel_GridPos) MarshalJSON() ([]byte, error)

type PanelStatDataSourceModel_LibraryPanel

type PanelStatDataSourceModel_LibraryPanel struct {
	Name types.String `tfsdk:"name"`
	Uid  types.String `tfsdk:"uid"`
}

func (PanelStatDataSourceModel_LibraryPanel) ApplyDefaults

func (PanelStatDataSourceModel_LibraryPanel) MarshalJSON

func (m PanelStatDataSourceModel_LibraryPanel) MarshalJSON() ([]byte, error)
type PanelStatDataSourceModel_Links struct {
	Title       types.String `tfsdk:"title"`
	Type        types.String `tfsdk:"type"`
	Icon        types.String `tfsdk:"icon"`
	Tooltip     types.String `tfsdk:"tooltip"`
	Url         types.String `tfsdk:"url"`
	Tags        types.List   `tfsdk:"tags"`
	AsDropdown  types.Bool   `tfsdk:"as_dropdown"`
	TargetBlank types.Bool   `tfsdk:"target_blank"`
	IncludeVars types.Bool   `tfsdk:"include_vars"`
	KeepTime    types.Bool   `tfsdk:"keep_time"`
}

func (PanelStatDataSourceModel_Links) ApplyDefaults

func (PanelStatDataSourceModel_Links) MarshalJSON

func (m PanelStatDataSourceModel_Links) MarshalJSON() ([]byte, error)

type PanelStatDataSourceModel_Options

type PanelStatDataSourceModel_Options struct {
	GraphMode     types.String                                    `tfsdk:"graph_mode"`
	ColorMode     types.String                                    `tfsdk:"color_mode"`
	JustifyMode   types.String                                    `tfsdk:"justify_mode"`
	ReduceOptions *PanelStatDataSourceModel_Options_ReduceOptions `tfsdk:"reduce_options"`
	Text          *PanelStatDataSourceModel_Options_Text          `tfsdk:"text"`
	TextMode      types.String                                    `tfsdk:"text_mode"`
	Orientation   types.String                                    `tfsdk:"orientation"`
}

func (PanelStatDataSourceModel_Options) ApplyDefaults

func (PanelStatDataSourceModel_Options) MarshalJSON

func (m PanelStatDataSourceModel_Options) MarshalJSON() ([]byte, error)

type PanelStatDataSourceModel_Options_ReduceOptions

type PanelStatDataSourceModel_Options_ReduceOptions struct {
	Values types.Bool    `tfsdk:"values"`
	Limit  types.Float64 `tfsdk:"limit"`
	Calcs  types.List    `tfsdk:"calcs"`
	Fields types.String  `tfsdk:"fields"`
}

func (PanelStatDataSourceModel_Options_ReduceOptions) ApplyDefaults

func (PanelStatDataSourceModel_Options_ReduceOptions) MarshalJSON

type PanelStatDataSourceModel_Options_Text

type PanelStatDataSourceModel_Options_Text struct {
	TitleSize types.Float64 `tfsdk:"title_size"`
	ValueSize types.Float64 `tfsdk:"value_size"`
}

func (PanelStatDataSourceModel_Options_Text) ApplyDefaults

func (PanelStatDataSourceModel_Options_Text) MarshalJSON

func (m PanelStatDataSourceModel_Options_Text) MarshalJSON() ([]byte, error)

type PanelStatDataSourceModel_Transformations

type PanelStatDataSourceModel_Transformations struct {
	Disabled types.Bool                                       `tfsdk:"disabled"`
	Filter   *PanelStatDataSourceModel_Transformations_Filter `tfsdk:"filter"`
}

func (PanelStatDataSourceModel_Transformations) ApplyDefaults

func (PanelStatDataSourceModel_Transformations) MarshalJSON

type PanelStatDataSourceModel_Transformations_Filter

type PanelStatDataSourceModel_Transformations_Filter struct {
}

func (PanelStatDataSourceModel_Transformations_Filter) ApplyDefaults

func (PanelStatDataSourceModel_Transformations_Filter) MarshalJSON

type PanelStateTimelineDataSource

type PanelStateTimelineDataSource struct{}

PanelStateTimelineDataSource defines the data source implementation.

func (*PanelStateTimelineDataSource) Configure

func (*PanelStateTimelineDataSource) Metadata

func (*PanelStateTimelineDataSource) Read

func (*PanelStateTimelineDataSource) Schema

type PanelStateTimelineDataSourceModel

type PanelStateTimelineDataSourceModel struct {
	RenderedJSON    types.String                                        `tfsdk:"rendered_json"`
	Type            types.String                                        `tfsdk:"type"`
	PluginVersion   types.String                                        `tfsdk:"plugin_version"`
	Tags            types.List                                          `tfsdk:"tags"`
	Targets         types.List                                          `tfsdk:"targets"`
	Title           types.String                                        `tfsdk:"title"`
	Description     types.String                                        `tfsdk:"description"`
	Transparent     types.Bool                                          `tfsdk:"transparent"`
	Datasource      *PanelStateTimelineDataSourceModel_Datasource       `tfsdk:"datasource"`
	GridPos         *PanelStateTimelineDataSourceModel_GridPos          `tfsdk:"grid_pos"`
	Links           []PanelStateTimelineDataSourceModel_Links           `tfsdk:"links"`
	Repeat          types.String                                        `tfsdk:"repeat"`
	RepeatDirection types.String                                        `tfsdk:"repeat_direction"`
	RepeatPanelId   types.Int64                                         `tfsdk:"repeat_panel_id"`
	MaxDataPoints   types.Float64                                       `tfsdk:"max_data_points"`
	Transformations []PanelStateTimelineDataSourceModel_Transformations `tfsdk:"transformations"`
	Interval        types.String                                        `tfsdk:"interval"`
	TimeFrom        types.String                                        `tfsdk:"time_from"`
	TimeShift       types.String                                        `tfsdk:"time_shift"`
	LibraryPanel    *PanelStateTimelineDataSourceModel_LibraryPanel     `tfsdk:"library_panel"`
	Options         *PanelStateTimelineDataSourceModel_Options          `tfsdk:"options"`
	FieldConfig     *PanelStateTimelineDataSourceModel_FieldConfig      `tfsdk:"field_config"`
}

func (PanelStateTimelineDataSourceModel) ApplyDefaults

func (PanelStateTimelineDataSourceModel) MarshalJSON

func (m PanelStateTimelineDataSourceModel) MarshalJSON() ([]byte, error)

type PanelStateTimelineDataSourceModel_Datasource

type PanelStateTimelineDataSourceModel_Datasource struct {
	Type types.String `tfsdk:"type"`
	Uid  types.String `tfsdk:"uid"`
}

func (PanelStateTimelineDataSourceModel_Datasource) ApplyDefaults

func (PanelStateTimelineDataSourceModel_Datasource) MarshalJSON

type PanelStateTimelineDataSourceModel_FieldConfig

type PanelStateTimelineDataSourceModel_FieldConfig struct {
	Defaults  *PanelStateTimelineDataSourceModel_FieldConfig_Defaults   `tfsdk:"defaults"`
	Overrides []PanelStateTimelineDataSourceModel_FieldConfig_Overrides `tfsdk:"overrides"`
}

func (PanelStateTimelineDataSourceModel_FieldConfig) ApplyDefaults

func (PanelStateTimelineDataSourceModel_FieldConfig) MarshalJSON

type PanelStateTimelineDataSourceModel_FieldConfig_Defaults

type PanelStateTimelineDataSourceModel_FieldConfig_Defaults struct {
	DisplayName       types.String                                                       `tfsdk:"display_name"`
	DisplayNameFromDS types.String                                                       `tfsdk:"display_name_from_ds"`
	Description       types.String                                                       `tfsdk:"description"`
	Path              types.String                                                       `tfsdk:"path"`
	Writeable         types.Bool                                                         `tfsdk:"writeable"`
	Filterable        types.Bool                                                         `tfsdk:"filterable"`
	Unit              types.String                                                       `tfsdk:"unit"`
	Decimals          types.Float64                                                      `tfsdk:"decimals"`
	Min               types.Float64                                                      `tfsdk:"min"`
	Max               types.Float64                                                      `tfsdk:"max"`
	Mappings          []PanelStateTimelineDataSourceModel_FieldConfig_Defaults_Mappings  `tfsdk:"mappings"`
	Thresholds        *PanelStateTimelineDataSourceModel_FieldConfig_Defaults_Thresholds `tfsdk:"thresholds"`
	Color             *PanelStateTimelineDataSourceModel_FieldConfig_Defaults_Color      `tfsdk:"color"`
	NoValue           types.String                                                       `tfsdk:"no_value"`
	Custom            *PanelStateTimelineDataSourceModel_FieldConfig_Defaults_Custom     `tfsdk:"custom"`
}

func (PanelStateTimelineDataSourceModel_FieldConfig_Defaults) ApplyDefaults

func (PanelStateTimelineDataSourceModel_FieldConfig_Defaults) MarshalJSON

type PanelStateTimelineDataSourceModel_FieldConfig_Defaults_Color

type PanelStateTimelineDataSourceModel_FieldConfig_Defaults_Color struct {
	Mode       types.String `tfsdk:"mode"`
	FixedColor types.String `tfsdk:"fixed_color"`
	SeriesBy   types.String `tfsdk:"series_by"`
}

func (PanelStateTimelineDataSourceModel_FieldConfig_Defaults_Color) ApplyDefaults

func (PanelStateTimelineDataSourceModel_FieldConfig_Defaults_Color) MarshalJSON

type PanelStateTimelineDataSourceModel_FieldConfig_Defaults_Custom

type PanelStateTimelineDataSourceModel_FieldConfig_Defaults_Custom struct {
	LineWidth   types.Int64                                                             `tfsdk:"line_width"`
	HideFrom    *PanelStateTimelineDataSourceModel_FieldConfig_Defaults_Custom_HideFrom `tfsdk:"hide_from"`
	FillOpacity types.Int64                                                             `tfsdk:"fill_opacity"`
}

func (PanelStateTimelineDataSourceModel_FieldConfig_Defaults_Custom) ApplyDefaults

func (PanelStateTimelineDataSourceModel_FieldConfig_Defaults_Custom) MarshalJSON

type PanelStateTimelineDataSourceModel_FieldConfig_Defaults_Custom_HideFrom

type PanelStateTimelineDataSourceModel_FieldConfig_Defaults_Custom_HideFrom struct {
	Tooltip types.Bool `tfsdk:"tooltip"`
	Legend  types.Bool `tfsdk:"legend"`
	Viz     types.Bool `tfsdk:"viz"`
}

func (PanelStateTimelineDataSourceModel_FieldConfig_Defaults_Custom_HideFrom) ApplyDefaults

func (PanelStateTimelineDataSourceModel_FieldConfig_Defaults_Custom_HideFrom) MarshalJSON

type PanelStateTimelineDataSourceModel_FieldConfig_Defaults_Mappings

type PanelStateTimelineDataSourceModel_FieldConfig_Defaults_Mappings struct {
	ValueMap        *PanelStateTimelineDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap        `tfsdk:"value_map"`
	RangeMap        *PanelStateTimelineDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap        `tfsdk:"range_map"`
	RegexMap        *PanelStateTimelineDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap        `tfsdk:"regex_map"`
	SpecialValueMap *PanelStateTimelineDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap `tfsdk:"special_value_map"`
}

func (PanelStateTimelineDataSourceModel_FieldConfig_Defaults_Mappings) ApplyDefaults

func (PanelStateTimelineDataSourceModel_FieldConfig_Defaults_Mappings) MarshalJSON

type PanelStateTimelineDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap

type PanelStateTimelineDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap struct {
	Type    types.String                                                                      `tfsdk:"type"`
	Options *PanelStateTimelineDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options `tfsdk:"options"`
}

func (PanelStateTimelineDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap) ApplyDefaults

func (PanelStateTimelineDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap) MarshalJSON

type PanelStateTimelineDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options

type PanelStateTimelineDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options struct {
	From   types.String                                                                             `tfsdk:"from"`
	To     types.String                                                                             `tfsdk:"to"`
	Result *PanelStateTimelineDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options_Result `tfsdk:"result"`
}

func (PanelStateTimelineDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options) ApplyDefaults

func (PanelStateTimelineDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options) GetAttrFrom added in v0.2.0

func (PanelStateTimelineDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options) GetAttrTo added in v0.2.0

func (PanelStateTimelineDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options) MarshalJSON

type PanelStateTimelineDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options_Result

type PanelStateTimelineDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options_Result struct {
	Text  types.String `tfsdk:"text"`
	Color types.String `tfsdk:"color"`
	Icon  types.String `tfsdk:"icon"`
	Index types.Int64  `tfsdk:"index"`
}

func (PanelStateTimelineDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options_Result) MarshalJSON

type PanelStateTimelineDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap

type PanelStateTimelineDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap struct {
	Type    types.String                                                                      `tfsdk:"type"`
	Options *PanelStateTimelineDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options `tfsdk:"options"`
}

func (PanelStateTimelineDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap) ApplyDefaults

func (PanelStateTimelineDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap) MarshalJSON

type PanelStateTimelineDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options

type PanelStateTimelineDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options struct {
	Pattern types.String                                                                             `tfsdk:"pattern"`
	Result  *PanelStateTimelineDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options_Result `tfsdk:"result"`
}

func (PanelStateTimelineDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options) ApplyDefaults

func (PanelStateTimelineDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options) MarshalJSON

type PanelStateTimelineDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options_Result

type PanelStateTimelineDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options_Result struct {
	Text  types.String `tfsdk:"text"`
	Color types.String `tfsdk:"color"`
	Icon  types.String `tfsdk:"icon"`
	Index types.Int64  `tfsdk:"index"`
}

func (PanelStateTimelineDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options_Result) MarshalJSON

type PanelStateTimelineDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap

type PanelStateTimelineDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap struct {
	Type    types.String                                                                             `tfsdk:"type"`
	Options *PanelStateTimelineDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options `tfsdk:"options"`
}

func (PanelStateTimelineDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap) ApplyDefaults

func (PanelStateTimelineDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap) MarshalJSON

type PanelStateTimelineDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options

type PanelStateTimelineDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options struct {
	Match  types.String                                                                                    `tfsdk:"match"`
	Result *PanelStateTimelineDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options_Result `tfsdk:"result"`
}

func (PanelStateTimelineDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options) MarshalJSON

type PanelStateTimelineDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options_Result

type PanelStateTimelineDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options_Result struct {
	Text  types.String `tfsdk:"text"`
	Color types.String `tfsdk:"color"`
	Icon  types.String `tfsdk:"icon"`
	Index types.Int64  `tfsdk:"index"`
}

func (PanelStateTimelineDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options_Result) MarshalJSON

type PanelStateTimelineDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap

type PanelStateTimelineDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap struct {
	Type    types.String                                                                                 `tfsdk:"type"`
	Options *map[string]PanelStateTimelineDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap_Options `tfsdk:"options"`
}

func (PanelStateTimelineDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap) ApplyDefaults

func (PanelStateTimelineDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap) MarshalJSON

type PanelStateTimelineDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap_Options

type PanelStateTimelineDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap_Options struct {
	Text  types.String `tfsdk:"text"`
	Color types.String `tfsdk:"color"`
	Icon  types.String `tfsdk:"icon"`
	Index types.Int64  `tfsdk:"index"`
}

func (PanelStateTimelineDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap_Options) ApplyDefaults

func (PanelStateTimelineDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap_Options) MarshalJSON

type PanelStateTimelineDataSourceModel_FieldConfig_Defaults_Thresholds

type PanelStateTimelineDataSourceModel_FieldConfig_Defaults_Thresholds struct {
	Mode  types.String                                                              `tfsdk:"mode"`
	Steps []PanelStateTimelineDataSourceModel_FieldConfig_Defaults_Thresholds_Steps `tfsdk:"steps"`
}

func (PanelStateTimelineDataSourceModel_FieldConfig_Defaults_Thresholds) ApplyDefaults

func (PanelStateTimelineDataSourceModel_FieldConfig_Defaults_Thresholds) MarshalJSON

type PanelStateTimelineDataSourceModel_FieldConfig_Defaults_Thresholds_Steps

type PanelStateTimelineDataSourceModel_FieldConfig_Defaults_Thresholds_Steps struct {
	Value types.String `tfsdk:"value"`
	Color types.String `tfsdk:"color"`
}

func (PanelStateTimelineDataSourceModel_FieldConfig_Defaults_Thresholds_Steps) ApplyDefaults

func (PanelStateTimelineDataSourceModel_FieldConfig_Defaults_Thresholds_Steps) GetAttrValue added in v0.2.0

func (PanelStateTimelineDataSourceModel_FieldConfig_Defaults_Thresholds_Steps) MarshalJSON

type PanelStateTimelineDataSourceModel_FieldConfig_Overrides

type PanelStateTimelineDataSourceModel_FieldConfig_Overrides struct {
	Matcher    *PanelStateTimelineDataSourceModel_FieldConfig_Overrides_Matcher     `tfsdk:"matcher"`
	Properties []PanelStateTimelineDataSourceModel_FieldConfig_Overrides_Properties `tfsdk:"properties"`
}

func (PanelStateTimelineDataSourceModel_FieldConfig_Overrides) ApplyDefaults

func (PanelStateTimelineDataSourceModel_FieldConfig_Overrides) MarshalJSON

type PanelStateTimelineDataSourceModel_FieldConfig_Overrides_Matcher

type PanelStateTimelineDataSourceModel_FieldConfig_Overrides_Matcher struct {
}

func (PanelStateTimelineDataSourceModel_FieldConfig_Overrides_Matcher) ApplyDefaults

func (PanelStateTimelineDataSourceModel_FieldConfig_Overrides_Matcher) MarshalJSON

type PanelStateTimelineDataSourceModel_FieldConfig_Overrides_Properties

type PanelStateTimelineDataSourceModel_FieldConfig_Overrides_Properties struct {
}

func (PanelStateTimelineDataSourceModel_FieldConfig_Overrides_Properties) ApplyDefaults

func (PanelStateTimelineDataSourceModel_FieldConfig_Overrides_Properties) MarshalJSON

type PanelStateTimelineDataSourceModel_GridPos

type PanelStateTimelineDataSourceModel_GridPos struct {
	H      types.Int64 `tfsdk:"h"`
	W      types.Int64 `tfsdk:"w"`
	X      types.Int64 `tfsdk:"x"`
	Y      types.Int64 `tfsdk:"y"`
	Static types.Bool  `tfsdk:"static"`
}

func (PanelStateTimelineDataSourceModel_GridPos) ApplyDefaults

func (PanelStateTimelineDataSourceModel_GridPos) MarshalJSON

type PanelStateTimelineDataSourceModel_LibraryPanel

type PanelStateTimelineDataSourceModel_LibraryPanel struct {
	Name types.String `tfsdk:"name"`
	Uid  types.String `tfsdk:"uid"`
}

func (PanelStateTimelineDataSourceModel_LibraryPanel) ApplyDefaults

func (PanelStateTimelineDataSourceModel_LibraryPanel) MarshalJSON

type PanelStateTimelineDataSourceModel_Links struct {
	Title       types.String `tfsdk:"title"`
	Type        types.String `tfsdk:"type"`
	Icon        types.String `tfsdk:"icon"`
	Tooltip     types.String `tfsdk:"tooltip"`
	Url         types.String `tfsdk:"url"`
	Tags        types.List   `tfsdk:"tags"`
	AsDropdown  types.Bool   `tfsdk:"as_dropdown"`
	TargetBlank types.Bool   `tfsdk:"target_blank"`
	IncludeVars types.Bool   `tfsdk:"include_vars"`
	KeepTime    types.Bool   `tfsdk:"keep_time"`
}

func (PanelStateTimelineDataSourceModel_Links) ApplyDefaults

func (PanelStateTimelineDataSourceModel_Links) MarshalJSON

func (m PanelStateTimelineDataSourceModel_Links) MarshalJSON() ([]byte, error)

type PanelStateTimelineDataSourceModel_Options

type PanelStateTimelineDataSourceModel_Options struct {
	ShowValue   types.String                                       `tfsdk:"show_value"`
	RowHeight   types.Float64                                      `tfsdk:"row_height"`
	MergeValues types.Bool                                         `tfsdk:"merge_values"`
	Legend      *PanelStateTimelineDataSourceModel_Options_Legend  `tfsdk:"legend"`
	Tooltip     *PanelStateTimelineDataSourceModel_Options_Tooltip `tfsdk:"tooltip"`
	AlignValue  types.String                                       `tfsdk:"align_value"`
}

func (PanelStateTimelineDataSourceModel_Options) ApplyDefaults

func (PanelStateTimelineDataSourceModel_Options) MarshalJSON

type PanelStateTimelineDataSourceModel_Options_Legend

type PanelStateTimelineDataSourceModel_Options_Legend struct {
	DisplayMode types.String  `tfsdk:"display_mode"`
	Placement   types.String  `tfsdk:"placement"`
	ShowLegend  types.Bool    `tfsdk:"show_legend"`
	AsTable     types.Bool    `tfsdk:"as_table"`
	IsVisible   types.Bool    `tfsdk:"is_visible"`
	SortBy      types.String  `tfsdk:"sort_by"`
	SortDesc    types.Bool    `tfsdk:"sort_desc"`
	Width       types.Float64 `tfsdk:"width"`
	Calcs       types.List    `tfsdk:"calcs"`
}

func (PanelStateTimelineDataSourceModel_Options_Legend) ApplyDefaults

func (PanelStateTimelineDataSourceModel_Options_Legend) MarshalJSON

type PanelStateTimelineDataSourceModel_Options_Tooltip

type PanelStateTimelineDataSourceModel_Options_Tooltip struct {
	Mode types.String `tfsdk:"mode"`
	Sort types.String `tfsdk:"sort"`
}

func (PanelStateTimelineDataSourceModel_Options_Tooltip) ApplyDefaults

func (PanelStateTimelineDataSourceModel_Options_Tooltip) MarshalJSON

type PanelStateTimelineDataSourceModel_Transformations

type PanelStateTimelineDataSourceModel_Transformations struct {
	Disabled types.Bool                                                `tfsdk:"disabled"`
	Filter   *PanelStateTimelineDataSourceModel_Transformations_Filter `tfsdk:"filter"`
}

func (PanelStateTimelineDataSourceModel_Transformations) ApplyDefaults

func (PanelStateTimelineDataSourceModel_Transformations) MarshalJSON

type PanelStateTimelineDataSourceModel_Transformations_Filter

type PanelStateTimelineDataSourceModel_Transformations_Filter struct {
}

func (PanelStateTimelineDataSourceModel_Transformations_Filter) ApplyDefaults

func (PanelStateTimelineDataSourceModel_Transformations_Filter) MarshalJSON

type PanelStatusHistoryDataSource

type PanelStatusHistoryDataSource struct{}

PanelStatusHistoryDataSource defines the data source implementation.

func (*PanelStatusHistoryDataSource) Configure

func (*PanelStatusHistoryDataSource) Metadata

func (*PanelStatusHistoryDataSource) Read

func (*PanelStatusHistoryDataSource) Schema

type PanelStatusHistoryDataSourceModel

type PanelStatusHistoryDataSourceModel struct {
	RenderedJSON    types.String                                        `tfsdk:"rendered_json"`
	Type            types.String                                        `tfsdk:"type"`
	PluginVersion   types.String                                        `tfsdk:"plugin_version"`
	Tags            types.List                                          `tfsdk:"tags"`
	Targets         types.List                                          `tfsdk:"targets"`
	Title           types.String                                        `tfsdk:"title"`
	Description     types.String                                        `tfsdk:"description"`
	Transparent     types.Bool                                          `tfsdk:"transparent"`
	Datasource      *PanelStatusHistoryDataSourceModel_Datasource       `tfsdk:"datasource"`
	GridPos         *PanelStatusHistoryDataSourceModel_GridPos          `tfsdk:"grid_pos"`
	Links           []PanelStatusHistoryDataSourceModel_Links           `tfsdk:"links"`
	Repeat          types.String                                        `tfsdk:"repeat"`
	RepeatDirection types.String                                        `tfsdk:"repeat_direction"`
	RepeatPanelId   types.Int64                                         `tfsdk:"repeat_panel_id"`
	MaxDataPoints   types.Float64                                       `tfsdk:"max_data_points"`
	Transformations []PanelStatusHistoryDataSourceModel_Transformations `tfsdk:"transformations"`
	Interval        types.String                                        `tfsdk:"interval"`
	TimeFrom        types.String                                        `tfsdk:"time_from"`
	TimeShift       types.String                                        `tfsdk:"time_shift"`
	LibraryPanel    *PanelStatusHistoryDataSourceModel_LibraryPanel     `tfsdk:"library_panel"`
	Options         *PanelStatusHistoryDataSourceModel_Options          `tfsdk:"options"`
	FieldConfig     *PanelStatusHistoryDataSourceModel_FieldConfig      `tfsdk:"field_config"`
}

func (PanelStatusHistoryDataSourceModel) ApplyDefaults

func (PanelStatusHistoryDataSourceModel) MarshalJSON

func (m PanelStatusHistoryDataSourceModel) MarshalJSON() ([]byte, error)

type PanelStatusHistoryDataSourceModel_Datasource

type PanelStatusHistoryDataSourceModel_Datasource struct {
	Type types.String `tfsdk:"type"`
	Uid  types.String `tfsdk:"uid"`
}

func (PanelStatusHistoryDataSourceModel_Datasource) ApplyDefaults

func (PanelStatusHistoryDataSourceModel_Datasource) MarshalJSON

type PanelStatusHistoryDataSourceModel_FieldConfig

type PanelStatusHistoryDataSourceModel_FieldConfig struct {
	Defaults  *PanelStatusHistoryDataSourceModel_FieldConfig_Defaults   `tfsdk:"defaults"`
	Overrides []PanelStatusHistoryDataSourceModel_FieldConfig_Overrides `tfsdk:"overrides"`
}

func (PanelStatusHistoryDataSourceModel_FieldConfig) ApplyDefaults

func (PanelStatusHistoryDataSourceModel_FieldConfig) MarshalJSON

type PanelStatusHistoryDataSourceModel_FieldConfig_Defaults

type PanelStatusHistoryDataSourceModel_FieldConfig_Defaults struct {
	DisplayName       types.String                                                       `tfsdk:"display_name"`
	DisplayNameFromDS types.String                                                       `tfsdk:"display_name_from_ds"`
	Description       types.String                                                       `tfsdk:"description"`
	Path              types.String                                                       `tfsdk:"path"`
	Writeable         types.Bool                                                         `tfsdk:"writeable"`
	Filterable        types.Bool                                                         `tfsdk:"filterable"`
	Unit              types.String                                                       `tfsdk:"unit"`
	Decimals          types.Float64                                                      `tfsdk:"decimals"`
	Min               types.Float64                                                      `tfsdk:"min"`
	Max               types.Float64                                                      `tfsdk:"max"`
	Mappings          []PanelStatusHistoryDataSourceModel_FieldConfig_Defaults_Mappings  `tfsdk:"mappings"`
	Thresholds        *PanelStatusHistoryDataSourceModel_FieldConfig_Defaults_Thresholds `tfsdk:"thresholds"`
	Color             *PanelStatusHistoryDataSourceModel_FieldConfig_Defaults_Color      `tfsdk:"color"`
	NoValue           types.String                                                       `tfsdk:"no_value"`
	Custom            *PanelStatusHistoryDataSourceModel_FieldConfig_Defaults_Custom     `tfsdk:"custom"`
}

func (PanelStatusHistoryDataSourceModel_FieldConfig_Defaults) ApplyDefaults

func (PanelStatusHistoryDataSourceModel_FieldConfig_Defaults) MarshalJSON

type PanelStatusHistoryDataSourceModel_FieldConfig_Defaults_Color

type PanelStatusHistoryDataSourceModel_FieldConfig_Defaults_Color struct {
	Mode       types.String `tfsdk:"mode"`
	FixedColor types.String `tfsdk:"fixed_color"`
	SeriesBy   types.String `tfsdk:"series_by"`
}

func (PanelStatusHistoryDataSourceModel_FieldConfig_Defaults_Color) ApplyDefaults

func (PanelStatusHistoryDataSourceModel_FieldConfig_Defaults_Color) MarshalJSON

type PanelStatusHistoryDataSourceModel_FieldConfig_Defaults_Custom

type PanelStatusHistoryDataSourceModel_FieldConfig_Defaults_Custom struct {
	LineWidth   types.Int64                                                             `tfsdk:"line_width"`
	HideFrom    *PanelStatusHistoryDataSourceModel_FieldConfig_Defaults_Custom_HideFrom `tfsdk:"hide_from"`
	FillOpacity types.Int64                                                             `tfsdk:"fill_opacity"`
}

func (PanelStatusHistoryDataSourceModel_FieldConfig_Defaults_Custom) ApplyDefaults

func (PanelStatusHistoryDataSourceModel_FieldConfig_Defaults_Custom) MarshalJSON

type PanelStatusHistoryDataSourceModel_FieldConfig_Defaults_Custom_HideFrom

type PanelStatusHistoryDataSourceModel_FieldConfig_Defaults_Custom_HideFrom struct {
	Tooltip types.Bool `tfsdk:"tooltip"`
	Legend  types.Bool `tfsdk:"legend"`
	Viz     types.Bool `tfsdk:"viz"`
}

func (PanelStatusHistoryDataSourceModel_FieldConfig_Defaults_Custom_HideFrom) ApplyDefaults

func (PanelStatusHistoryDataSourceModel_FieldConfig_Defaults_Custom_HideFrom) MarshalJSON

type PanelStatusHistoryDataSourceModel_FieldConfig_Defaults_Mappings

type PanelStatusHistoryDataSourceModel_FieldConfig_Defaults_Mappings struct {
	ValueMap        *PanelStatusHistoryDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap        `tfsdk:"value_map"`
	RangeMap        *PanelStatusHistoryDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap        `tfsdk:"range_map"`
	RegexMap        *PanelStatusHistoryDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap        `tfsdk:"regex_map"`
	SpecialValueMap *PanelStatusHistoryDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap `tfsdk:"special_value_map"`
}

func (PanelStatusHistoryDataSourceModel_FieldConfig_Defaults_Mappings) ApplyDefaults

func (PanelStatusHistoryDataSourceModel_FieldConfig_Defaults_Mappings) MarshalJSON

type PanelStatusHistoryDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap

type PanelStatusHistoryDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap struct {
	Type    types.String                                                                      `tfsdk:"type"`
	Options *PanelStatusHistoryDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options `tfsdk:"options"`
}

func (PanelStatusHistoryDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap) ApplyDefaults

func (PanelStatusHistoryDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap) MarshalJSON

type PanelStatusHistoryDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options

type PanelStatusHistoryDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options struct {
	From   types.String                                                                             `tfsdk:"from"`
	To     types.String                                                                             `tfsdk:"to"`
	Result *PanelStatusHistoryDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options_Result `tfsdk:"result"`
}

func (PanelStatusHistoryDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options) ApplyDefaults

func (PanelStatusHistoryDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options) GetAttrFrom added in v0.2.0

func (PanelStatusHistoryDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options) GetAttrTo added in v0.2.0

func (PanelStatusHistoryDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options) MarshalJSON

type PanelStatusHistoryDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options_Result

type PanelStatusHistoryDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options_Result struct {
	Text  types.String `tfsdk:"text"`
	Color types.String `tfsdk:"color"`
	Icon  types.String `tfsdk:"icon"`
	Index types.Int64  `tfsdk:"index"`
}

func (PanelStatusHistoryDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options_Result) MarshalJSON

type PanelStatusHistoryDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap

type PanelStatusHistoryDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap struct {
	Type    types.String                                                                      `tfsdk:"type"`
	Options *PanelStatusHistoryDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options `tfsdk:"options"`
}

func (PanelStatusHistoryDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap) ApplyDefaults

func (PanelStatusHistoryDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap) MarshalJSON

type PanelStatusHistoryDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options

type PanelStatusHistoryDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options struct {
	Pattern types.String                                                                             `tfsdk:"pattern"`
	Result  *PanelStatusHistoryDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options_Result `tfsdk:"result"`
}

func (PanelStatusHistoryDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options) ApplyDefaults

func (PanelStatusHistoryDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options) MarshalJSON

type PanelStatusHistoryDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options_Result

type PanelStatusHistoryDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options_Result struct {
	Text  types.String `tfsdk:"text"`
	Color types.String `tfsdk:"color"`
	Icon  types.String `tfsdk:"icon"`
	Index types.Int64  `tfsdk:"index"`
}

func (PanelStatusHistoryDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options_Result) MarshalJSON

type PanelStatusHistoryDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap

type PanelStatusHistoryDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap struct {
	Type    types.String                                                                             `tfsdk:"type"`
	Options *PanelStatusHistoryDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options `tfsdk:"options"`
}

func (PanelStatusHistoryDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap) ApplyDefaults

func (PanelStatusHistoryDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap) MarshalJSON

type PanelStatusHistoryDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options

type PanelStatusHistoryDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options struct {
	Match  types.String                                                                                    `tfsdk:"match"`
	Result *PanelStatusHistoryDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options_Result `tfsdk:"result"`
}

func (PanelStatusHistoryDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options) MarshalJSON

type PanelStatusHistoryDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options_Result

type PanelStatusHistoryDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options_Result struct {
	Text  types.String `tfsdk:"text"`
	Color types.String `tfsdk:"color"`
	Icon  types.String `tfsdk:"icon"`
	Index types.Int64  `tfsdk:"index"`
}

func (PanelStatusHistoryDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options_Result) MarshalJSON

type PanelStatusHistoryDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap

type PanelStatusHistoryDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap struct {
	Type    types.String                                                                                 `tfsdk:"type"`
	Options *map[string]PanelStatusHistoryDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap_Options `tfsdk:"options"`
}

func (PanelStatusHistoryDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap) ApplyDefaults

func (PanelStatusHistoryDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap) MarshalJSON

type PanelStatusHistoryDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap_Options

type PanelStatusHistoryDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap_Options struct {
	Text  types.String `tfsdk:"text"`
	Color types.String `tfsdk:"color"`
	Icon  types.String `tfsdk:"icon"`
	Index types.Int64  `tfsdk:"index"`
}

func (PanelStatusHistoryDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap_Options) ApplyDefaults

func (PanelStatusHistoryDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap_Options) MarshalJSON

type PanelStatusHistoryDataSourceModel_FieldConfig_Defaults_Thresholds

type PanelStatusHistoryDataSourceModel_FieldConfig_Defaults_Thresholds struct {
	Mode  types.String                                                              `tfsdk:"mode"`
	Steps []PanelStatusHistoryDataSourceModel_FieldConfig_Defaults_Thresholds_Steps `tfsdk:"steps"`
}

func (PanelStatusHistoryDataSourceModel_FieldConfig_Defaults_Thresholds) ApplyDefaults

func (PanelStatusHistoryDataSourceModel_FieldConfig_Defaults_Thresholds) MarshalJSON

type PanelStatusHistoryDataSourceModel_FieldConfig_Defaults_Thresholds_Steps

type PanelStatusHistoryDataSourceModel_FieldConfig_Defaults_Thresholds_Steps struct {
	Value types.String `tfsdk:"value"`
	Color types.String `tfsdk:"color"`
}

func (PanelStatusHistoryDataSourceModel_FieldConfig_Defaults_Thresholds_Steps) ApplyDefaults

func (PanelStatusHistoryDataSourceModel_FieldConfig_Defaults_Thresholds_Steps) GetAttrValue added in v0.2.0

func (PanelStatusHistoryDataSourceModel_FieldConfig_Defaults_Thresholds_Steps) MarshalJSON

type PanelStatusHistoryDataSourceModel_FieldConfig_Overrides

type PanelStatusHistoryDataSourceModel_FieldConfig_Overrides struct {
	Matcher    *PanelStatusHistoryDataSourceModel_FieldConfig_Overrides_Matcher     `tfsdk:"matcher"`
	Properties []PanelStatusHistoryDataSourceModel_FieldConfig_Overrides_Properties `tfsdk:"properties"`
}

func (PanelStatusHistoryDataSourceModel_FieldConfig_Overrides) ApplyDefaults

func (PanelStatusHistoryDataSourceModel_FieldConfig_Overrides) MarshalJSON

type PanelStatusHistoryDataSourceModel_FieldConfig_Overrides_Matcher

type PanelStatusHistoryDataSourceModel_FieldConfig_Overrides_Matcher struct {
}

func (PanelStatusHistoryDataSourceModel_FieldConfig_Overrides_Matcher) ApplyDefaults

func (PanelStatusHistoryDataSourceModel_FieldConfig_Overrides_Matcher) MarshalJSON

type PanelStatusHistoryDataSourceModel_FieldConfig_Overrides_Properties

type PanelStatusHistoryDataSourceModel_FieldConfig_Overrides_Properties struct {
}

func (PanelStatusHistoryDataSourceModel_FieldConfig_Overrides_Properties) ApplyDefaults

func (PanelStatusHistoryDataSourceModel_FieldConfig_Overrides_Properties) MarshalJSON

type PanelStatusHistoryDataSourceModel_GridPos

type PanelStatusHistoryDataSourceModel_GridPos struct {
	H      types.Int64 `tfsdk:"h"`
	W      types.Int64 `tfsdk:"w"`
	X      types.Int64 `tfsdk:"x"`
	Y      types.Int64 `tfsdk:"y"`
	Static types.Bool  `tfsdk:"static"`
}

func (PanelStatusHistoryDataSourceModel_GridPos) ApplyDefaults

func (PanelStatusHistoryDataSourceModel_GridPos) MarshalJSON

type PanelStatusHistoryDataSourceModel_LibraryPanel

type PanelStatusHistoryDataSourceModel_LibraryPanel struct {
	Name types.String `tfsdk:"name"`
	Uid  types.String `tfsdk:"uid"`
}

func (PanelStatusHistoryDataSourceModel_LibraryPanel) ApplyDefaults

func (PanelStatusHistoryDataSourceModel_LibraryPanel) MarshalJSON

type PanelStatusHistoryDataSourceModel_Links struct {
	Title       types.String `tfsdk:"title"`
	Type        types.String `tfsdk:"type"`
	Icon        types.String `tfsdk:"icon"`
	Tooltip     types.String `tfsdk:"tooltip"`
	Url         types.String `tfsdk:"url"`
	Tags        types.List   `tfsdk:"tags"`
	AsDropdown  types.Bool   `tfsdk:"as_dropdown"`
	TargetBlank types.Bool   `tfsdk:"target_blank"`
	IncludeVars types.Bool   `tfsdk:"include_vars"`
	KeepTime    types.Bool   `tfsdk:"keep_time"`
}

func (PanelStatusHistoryDataSourceModel_Links) ApplyDefaults

func (PanelStatusHistoryDataSourceModel_Links) MarshalJSON

func (m PanelStatusHistoryDataSourceModel_Links) MarshalJSON() ([]byte, error)

type PanelStatusHistoryDataSourceModel_Options

type PanelStatusHistoryDataSourceModel_Options struct {
	RowHeight types.Float64                                      `tfsdk:"row_height"`
	ShowValue types.String                                       `tfsdk:"show_value"`
	Legend    *PanelStatusHistoryDataSourceModel_Options_Legend  `tfsdk:"legend"`
	Tooltip   *PanelStatusHistoryDataSourceModel_Options_Tooltip `tfsdk:"tooltip"`
	ColWidth  types.Float64                                      `tfsdk:"col_width"`
}

func (PanelStatusHistoryDataSourceModel_Options) ApplyDefaults

func (PanelStatusHistoryDataSourceModel_Options) MarshalJSON

type PanelStatusHistoryDataSourceModel_Options_Legend

type PanelStatusHistoryDataSourceModel_Options_Legend struct {
	DisplayMode types.String  `tfsdk:"display_mode"`
	Placement   types.String  `tfsdk:"placement"`
	ShowLegend  types.Bool    `tfsdk:"show_legend"`
	AsTable     types.Bool    `tfsdk:"as_table"`
	IsVisible   types.Bool    `tfsdk:"is_visible"`
	SortBy      types.String  `tfsdk:"sort_by"`
	SortDesc    types.Bool    `tfsdk:"sort_desc"`
	Width       types.Float64 `tfsdk:"width"`
	Calcs       types.List    `tfsdk:"calcs"`
}

func (PanelStatusHistoryDataSourceModel_Options_Legend) ApplyDefaults

func (PanelStatusHistoryDataSourceModel_Options_Legend) MarshalJSON

type PanelStatusHistoryDataSourceModel_Options_Tooltip

type PanelStatusHistoryDataSourceModel_Options_Tooltip struct {
	Mode types.String `tfsdk:"mode"`
	Sort types.String `tfsdk:"sort"`
}

func (PanelStatusHistoryDataSourceModel_Options_Tooltip) ApplyDefaults

func (PanelStatusHistoryDataSourceModel_Options_Tooltip) MarshalJSON

type PanelStatusHistoryDataSourceModel_Transformations

type PanelStatusHistoryDataSourceModel_Transformations struct {
	Disabled types.Bool                                                `tfsdk:"disabled"`
	Filter   *PanelStatusHistoryDataSourceModel_Transformations_Filter `tfsdk:"filter"`
}

func (PanelStatusHistoryDataSourceModel_Transformations) ApplyDefaults

func (PanelStatusHistoryDataSourceModel_Transformations) MarshalJSON

type PanelStatusHistoryDataSourceModel_Transformations_Filter

type PanelStatusHistoryDataSourceModel_Transformations_Filter struct {
}

func (PanelStatusHistoryDataSourceModel_Transformations_Filter) ApplyDefaults

func (PanelStatusHistoryDataSourceModel_Transformations_Filter) MarshalJSON

type PanelTableDataSource

type PanelTableDataSource struct{}

PanelTableDataSource defines the data source implementation.

func (*PanelTableDataSource) Configure

func (*PanelTableDataSource) Metadata

func (*PanelTableDataSource) Read

func (*PanelTableDataSource) Schema

type PanelTableDataSourceModel

type PanelTableDataSourceModel struct {
	RenderedJSON    types.String                                `tfsdk:"rendered_json"`
	Type            types.String                                `tfsdk:"type"`
	PluginVersion   types.String                                `tfsdk:"plugin_version"`
	Tags            types.List                                  `tfsdk:"tags"`
	Targets         types.List                                  `tfsdk:"targets"`
	Title           types.String                                `tfsdk:"title"`
	Description     types.String                                `tfsdk:"description"`
	Transparent     types.Bool                                  `tfsdk:"transparent"`
	Datasource      *PanelTableDataSourceModel_Datasource       `tfsdk:"datasource"`
	GridPos         *PanelTableDataSourceModel_GridPos          `tfsdk:"grid_pos"`
	Links           []PanelTableDataSourceModel_Links           `tfsdk:"links"`
	Repeat          types.String                                `tfsdk:"repeat"`
	RepeatDirection types.String                                `tfsdk:"repeat_direction"`
	RepeatPanelId   types.Int64                                 `tfsdk:"repeat_panel_id"`
	MaxDataPoints   types.Float64                               `tfsdk:"max_data_points"`
	Transformations []PanelTableDataSourceModel_Transformations `tfsdk:"transformations"`
	Interval        types.String                                `tfsdk:"interval"`
	TimeFrom        types.String                                `tfsdk:"time_from"`
	TimeShift       types.String                                `tfsdk:"time_shift"`
	LibraryPanel    *PanelTableDataSourceModel_LibraryPanel     `tfsdk:"library_panel"`
	Options         *PanelTableDataSourceModel_Options          `tfsdk:"options"`
	FieldConfig     *PanelTableDataSourceModel_FieldConfig      `tfsdk:"field_config"`
}

func (PanelTableDataSourceModel) ApplyDefaults

func (PanelTableDataSourceModel) MarshalJSON

func (m PanelTableDataSourceModel) MarshalJSON() ([]byte, error)

type PanelTableDataSourceModel_Datasource

type PanelTableDataSourceModel_Datasource struct {
	Type types.String `tfsdk:"type"`
	Uid  types.String `tfsdk:"uid"`
}

func (PanelTableDataSourceModel_Datasource) ApplyDefaults

func (PanelTableDataSourceModel_Datasource) MarshalJSON

func (m PanelTableDataSourceModel_Datasource) MarshalJSON() ([]byte, error)

type PanelTableDataSourceModel_FieldConfig

type PanelTableDataSourceModel_FieldConfig struct {
	Defaults  *PanelTableDataSourceModel_FieldConfig_Defaults   `tfsdk:"defaults"`
	Overrides []PanelTableDataSourceModel_FieldConfig_Overrides `tfsdk:"overrides"`
}

func (PanelTableDataSourceModel_FieldConfig) ApplyDefaults

func (PanelTableDataSourceModel_FieldConfig) MarshalJSON

func (m PanelTableDataSourceModel_FieldConfig) MarshalJSON() ([]byte, error)

type PanelTableDataSourceModel_FieldConfig_Defaults

type PanelTableDataSourceModel_FieldConfig_Defaults struct {
	DisplayName       types.String                                               `tfsdk:"display_name"`
	DisplayNameFromDS types.String                                               `tfsdk:"display_name_from_ds"`
	Description       types.String                                               `tfsdk:"description"`
	Path              types.String                                               `tfsdk:"path"`
	Writeable         types.Bool                                                 `tfsdk:"writeable"`
	Filterable        types.Bool                                                 `tfsdk:"filterable"`
	Unit              types.String                                               `tfsdk:"unit"`
	Decimals          types.Float64                                              `tfsdk:"decimals"`
	Min               types.Float64                                              `tfsdk:"min"`
	Max               types.Float64                                              `tfsdk:"max"`
	Mappings          []PanelTableDataSourceModel_FieldConfig_Defaults_Mappings  `tfsdk:"mappings"`
	Thresholds        *PanelTableDataSourceModel_FieldConfig_Defaults_Thresholds `tfsdk:"thresholds"`
	Color             *PanelTableDataSourceModel_FieldConfig_Defaults_Color      `tfsdk:"color"`
	NoValue           types.String                                               `tfsdk:"no_value"`
	Custom            *PanelTableDataSourceModel_FieldConfig_Defaults_Custom     `tfsdk:"custom"`
}

func (PanelTableDataSourceModel_FieldConfig_Defaults) ApplyDefaults

func (PanelTableDataSourceModel_FieldConfig_Defaults) MarshalJSON

type PanelTableDataSourceModel_FieldConfig_Defaults_Color

type PanelTableDataSourceModel_FieldConfig_Defaults_Color struct {
	Mode       types.String `tfsdk:"mode"`
	FixedColor types.String `tfsdk:"fixed_color"`
	SeriesBy   types.String `tfsdk:"series_by"`
}

func (PanelTableDataSourceModel_FieldConfig_Defaults_Color) ApplyDefaults

func (PanelTableDataSourceModel_FieldConfig_Defaults_Color) MarshalJSON

type PanelTableDataSourceModel_FieldConfig_Defaults_Custom

type PanelTableDataSourceModel_FieldConfig_Defaults_Custom struct {
	LineWidth   types.Int64                                                     `tfsdk:"line_width"`
	HideFrom    *PanelTableDataSourceModel_FieldConfig_Defaults_Custom_HideFrom `tfsdk:"hide_from"`
	FillOpacity types.Int64                                                     `tfsdk:"fill_opacity"`
}

func (PanelTableDataSourceModel_FieldConfig_Defaults_Custom) ApplyDefaults

func (PanelTableDataSourceModel_FieldConfig_Defaults_Custom) MarshalJSON

type PanelTableDataSourceModel_FieldConfig_Defaults_Custom_HideFrom

type PanelTableDataSourceModel_FieldConfig_Defaults_Custom_HideFrom struct {
	Tooltip types.Bool `tfsdk:"tooltip"`
	Legend  types.Bool `tfsdk:"legend"`
	Viz     types.Bool `tfsdk:"viz"`
}

func (PanelTableDataSourceModel_FieldConfig_Defaults_Custom_HideFrom) ApplyDefaults

func (PanelTableDataSourceModel_FieldConfig_Defaults_Custom_HideFrom) MarshalJSON

type PanelTableDataSourceModel_FieldConfig_Defaults_Mappings

type PanelTableDataSourceModel_FieldConfig_Defaults_Mappings struct {
	ValueMap        *PanelTableDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap        `tfsdk:"value_map"`
	RangeMap        *PanelTableDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap        `tfsdk:"range_map"`
	RegexMap        *PanelTableDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap        `tfsdk:"regex_map"`
	SpecialValueMap *PanelTableDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap `tfsdk:"special_value_map"`
}

func (PanelTableDataSourceModel_FieldConfig_Defaults_Mappings) ApplyDefaults

func (PanelTableDataSourceModel_FieldConfig_Defaults_Mappings) MarshalJSON

type PanelTableDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap

type PanelTableDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap struct {
	Type    types.String                                                              `tfsdk:"type"`
	Options *PanelTableDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options `tfsdk:"options"`
}

func (PanelTableDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap) ApplyDefaults

func (PanelTableDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap) MarshalJSON

type PanelTableDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options

type PanelTableDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options struct {
	From   types.String                                                                     `tfsdk:"from"`
	To     types.String                                                                     `tfsdk:"to"`
	Result *PanelTableDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options_Result `tfsdk:"result"`
}

func (PanelTableDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options) ApplyDefaults

func (PanelTableDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options) GetAttrFrom added in v0.2.0

func (PanelTableDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options) GetAttrTo added in v0.2.0

func (PanelTableDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options) MarshalJSON

type PanelTableDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options_Result

type PanelTableDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options_Result struct {
	Text  types.String `tfsdk:"text"`
	Color types.String `tfsdk:"color"`
	Icon  types.String `tfsdk:"icon"`
	Index types.Int64  `tfsdk:"index"`
}

func (PanelTableDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options_Result) ApplyDefaults

func (PanelTableDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options_Result) MarshalJSON

type PanelTableDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap

type PanelTableDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap struct {
	Type    types.String                                                              `tfsdk:"type"`
	Options *PanelTableDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options `tfsdk:"options"`
}

func (PanelTableDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap) ApplyDefaults

func (PanelTableDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap) MarshalJSON

type PanelTableDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options

type PanelTableDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options struct {
	Pattern types.String                                                                     `tfsdk:"pattern"`
	Result  *PanelTableDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options_Result `tfsdk:"result"`
}

func (PanelTableDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options) ApplyDefaults

func (PanelTableDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options) MarshalJSON

type PanelTableDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options_Result

type PanelTableDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options_Result struct {
	Text  types.String `tfsdk:"text"`
	Color types.String `tfsdk:"color"`
	Icon  types.String `tfsdk:"icon"`
	Index types.Int64  `tfsdk:"index"`
}

func (PanelTableDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options_Result) ApplyDefaults

func (PanelTableDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options_Result) MarshalJSON

type PanelTableDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap

type PanelTableDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap struct {
	Type    types.String                                                                     `tfsdk:"type"`
	Options *PanelTableDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options `tfsdk:"options"`
}

func (PanelTableDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap) ApplyDefaults

func (PanelTableDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap) MarshalJSON

type PanelTableDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options

type PanelTableDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options struct {
	Match  types.String                                                                            `tfsdk:"match"`
	Result *PanelTableDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options_Result `tfsdk:"result"`
}

func (PanelTableDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options) ApplyDefaults

func (PanelTableDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options) MarshalJSON

type PanelTableDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options_Result

type PanelTableDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options_Result struct {
	Text  types.String `tfsdk:"text"`
	Color types.String `tfsdk:"color"`
	Icon  types.String `tfsdk:"icon"`
	Index types.Int64  `tfsdk:"index"`
}

func (PanelTableDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options_Result) MarshalJSON

type PanelTableDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap

type PanelTableDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap struct {
	Type    types.String                                                                         `tfsdk:"type"`
	Options *map[string]PanelTableDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap_Options `tfsdk:"options"`
}

func (PanelTableDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap) ApplyDefaults

func (PanelTableDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap) MarshalJSON

type PanelTableDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap_Options

type PanelTableDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap_Options struct {
	Text  types.String `tfsdk:"text"`
	Color types.String `tfsdk:"color"`
	Icon  types.String `tfsdk:"icon"`
	Index types.Int64  `tfsdk:"index"`
}

func (PanelTableDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap_Options) ApplyDefaults

func (PanelTableDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap_Options) MarshalJSON

type PanelTableDataSourceModel_FieldConfig_Defaults_Thresholds

type PanelTableDataSourceModel_FieldConfig_Defaults_Thresholds struct {
	Mode  types.String                                                      `tfsdk:"mode"`
	Steps []PanelTableDataSourceModel_FieldConfig_Defaults_Thresholds_Steps `tfsdk:"steps"`
}

func (PanelTableDataSourceModel_FieldConfig_Defaults_Thresholds) ApplyDefaults

func (PanelTableDataSourceModel_FieldConfig_Defaults_Thresholds) MarshalJSON

type PanelTableDataSourceModel_FieldConfig_Defaults_Thresholds_Steps

type PanelTableDataSourceModel_FieldConfig_Defaults_Thresholds_Steps struct {
	Value types.String `tfsdk:"value"`
	Color types.String `tfsdk:"color"`
}

func (PanelTableDataSourceModel_FieldConfig_Defaults_Thresholds_Steps) ApplyDefaults

func (PanelTableDataSourceModel_FieldConfig_Defaults_Thresholds_Steps) GetAttrValue added in v0.2.0

func (PanelTableDataSourceModel_FieldConfig_Defaults_Thresholds_Steps) MarshalJSON

type PanelTableDataSourceModel_FieldConfig_Overrides

type PanelTableDataSourceModel_FieldConfig_Overrides struct {
	Matcher    *PanelTableDataSourceModel_FieldConfig_Overrides_Matcher     `tfsdk:"matcher"`
	Properties []PanelTableDataSourceModel_FieldConfig_Overrides_Properties `tfsdk:"properties"`
}

func (PanelTableDataSourceModel_FieldConfig_Overrides) ApplyDefaults

func (PanelTableDataSourceModel_FieldConfig_Overrides) MarshalJSON

type PanelTableDataSourceModel_FieldConfig_Overrides_Matcher

type PanelTableDataSourceModel_FieldConfig_Overrides_Matcher struct {
}

func (PanelTableDataSourceModel_FieldConfig_Overrides_Matcher) ApplyDefaults

func (PanelTableDataSourceModel_FieldConfig_Overrides_Matcher) MarshalJSON

type PanelTableDataSourceModel_FieldConfig_Overrides_Properties

type PanelTableDataSourceModel_FieldConfig_Overrides_Properties struct {
}

func (PanelTableDataSourceModel_FieldConfig_Overrides_Properties) ApplyDefaults

func (PanelTableDataSourceModel_FieldConfig_Overrides_Properties) MarshalJSON

type PanelTableDataSourceModel_GridPos

type PanelTableDataSourceModel_GridPos struct {
	H      types.Int64 `tfsdk:"h"`
	W      types.Int64 `tfsdk:"w"`
	X      types.Int64 `tfsdk:"x"`
	Y      types.Int64 `tfsdk:"y"`
	Static types.Bool  `tfsdk:"static"`
}

func (PanelTableDataSourceModel_GridPos) ApplyDefaults

func (PanelTableDataSourceModel_GridPos) MarshalJSON

func (m PanelTableDataSourceModel_GridPos) MarshalJSON() ([]byte, error)

type PanelTableDataSourceModel_LibraryPanel

type PanelTableDataSourceModel_LibraryPanel struct {
	Name types.String `tfsdk:"name"`
	Uid  types.String `tfsdk:"uid"`
}

func (PanelTableDataSourceModel_LibraryPanel) ApplyDefaults

func (PanelTableDataSourceModel_LibraryPanel) MarshalJSON

func (m PanelTableDataSourceModel_LibraryPanel) MarshalJSON() ([]byte, error)
type PanelTableDataSourceModel_Links struct {
	Title       types.String `tfsdk:"title"`
	Type        types.String `tfsdk:"type"`
	Icon        types.String `tfsdk:"icon"`
	Tooltip     types.String `tfsdk:"tooltip"`
	Url         types.String `tfsdk:"url"`
	Tags        types.List   `tfsdk:"tags"`
	AsDropdown  types.Bool   `tfsdk:"as_dropdown"`
	TargetBlank types.Bool   `tfsdk:"target_blank"`
	IncludeVars types.Bool   `tfsdk:"include_vars"`
	KeepTime    types.Bool   `tfsdk:"keep_time"`
}

func (PanelTableDataSourceModel_Links) ApplyDefaults

func (PanelTableDataSourceModel_Links) MarshalJSON

func (m PanelTableDataSourceModel_Links) MarshalJSON() ([]byte, error)

type PanelTableDataSourceModel_Options

type PanelTableDataSourceModel_Options struct {
	FrameIndex    types.Float64                              `tfsdk:"frame_index"`
	ShowHeader    types.Bool                                 `tfsdk:"show_header"`
	ShowTypeIcons types.Bool                                 `tfsdk:"show_type_icons"`
	SortBy        []PanelTableDataSourceModel_Options_SortBy `tfsdk:"sort_by"`
	Footer        *PanelTableDataSourceModel_Options_Footer  `tfsdk:"footer"`
	CellHeight    types.String                               `tfsdk:"cell_height"`
}

func (PanelTableDataSourceModel_Options) ApplyDefaults

func (PanelTableDataSourceModel_Options) MarshalJSON

func (m PanelTableDataSourceModel_Options) MarshalJSON() ([]byte, error)
type PanelTableDataSourceModel_Options_Footer struct {
	TableFooterOptions *PanelTableDataSourceModel_Options_Footer_TableFooterOptions `tfsdk:"table_footer_options"`
}

func (PanelTableDataSourceModel_Options_Footer) ApplyDefaults

func (PanelTableDataSourceModel_Options_Footer) MarshalJSON

type PanelTableDataSourceModel_Options_Footer_TableFooterOptions struct {
	Show             types.Bool `tfsdk:"show"`
	Fields           types.List `tfsdk:"fields"`
	EnablePagination types.Bool `tfsdk:"enable_pagination"`
	CountRows        types.Bool `tfsdk:"count_rows"`
}

type PanelTableDataSourceModel_Options_SortBy

type PanelTableDataSourceModel_Options_SortBy struct {
	DisplayName types.String `tfsdk:"display_name"`
	Desc        types.Bool   `tfsdk:"desc"`
}

func (PanelTableDataSourceModel_Options_SortBy) ApplyDefaults

func (PanelTableDataSourceModel_Options_SortBy) MarshalJSON

type PanelTableDataSourceModel_Transformations

type PanelTableDataSourceModel_Transformations struct {
	Disabled types.Bool                                        `tfsdk:"disabled"`
	Filter   *PanelTableDataSourceModel_Transformations_Filter `tfsdk:"filter"`
}

func (PanelTableDataSourceModel_Transformations) ApplyDefaults

func (PanelTableDataSourceModel_Transformations) MarshalJSON

type PanelTableDataSourceModel_Transformations_Filter

type PanelTableDataSourceModel_Transformations_Filter struct {
}

func (PanelTableDataSourceModel_Transformations_Filter) ApplyDefaults

func (PanelTableDataSourceModel_Transformations_Filter) MarshalJSON

type PanelTextDataSource

type PanelTextDataSource struct{}

PanelTextDataSource defines the data source implementation.

func (*PanelTextDataSource) Configure

func (*PanelTextDataSource) Metadata

func (*PanelTextDataSource) Read

func (*PanelTextDataSource) Schema

type PanelTextDataSourceModel

type PanelTextDataSourceModel struct {
	RenderedJSON    types.String                               `tfsdk:"rendered_json"`
	Type            types.String                               `tfsdk:"type"`
	PluginVersion   types.String                               `tfsdk:"plugin_version"`
	Tags            types.List                                 `tfsdk:"tags"`
	Targets         types.List                                 `tfsdk:"targets"`
	Title           types.String                               `tfsdk:"title"`
	Description     types.String                               `tfsdk:"description"`
	Transparent     types.Bool                                 `tfsdk:"transparent"`
	Datasource      *PanelTextDataSourceModel_Datasource       `tfsdk:"datasource"`
	GridPos         *PanelTextDataSourceModel_GridPos          `tfsdk:"grid_pos"`
	Links           []PanelTextDataSourceModel_Links           `tfsdk:"links"`
	Repeat          types.String                               `tfsdk:"repeat"`
	RepeatDirection types.String                               `tfsdk:"repeat_direction"`
	RepeatPanelId   types.Int64                                `tfsdk:"repeat_panel_id"`
	MaxDataPoints   types.Float64                              `tfsdk:"max_data_points"`
	Transformations []PanelTextDataSourceModel_Transformations `tfsdk:"transformations"`
	Interval        types.String                               `tfsdk:"interval"`
	TimeFrom        types.String                               `tfsdk:"time_from"`
	TimeShift       types.String                               `tfsdk:"time_shift"`
	LibraryPanel    *PanelTextDataSourceModel_LibraryPanel     `tfsdk:"library_panel"`
	Options         *PanelTextDataSourceModel_Options          `tfsdk:"options"`
	FieldConfig     *PanelTextDataSourceModel_FieldConfig      `tfsdk:"field_config"`
}

func (PanelTextDataSourceModel) ApplyDefaults

func (PanelTextDataSourceModel) MarshalJSON

func (m PanelTextDataSourceModel) MarshalJSON() ([]byte, error)

type PanelTextDataSourceModel_Datasource

type PanelTextDataSourceModel_Datasource struct {
	Type types.String `tfsdk:"type"`
	Uid  types.String `tfsdk:"uid"`
}

func (PanelTextDataSourceModel_Datasource) ApplyDefaults

func (PanelTextDataSourceModel_Datasource) MarshalJSON

func (m PanelTextDataSourceModel_Datasource) MarshalJSON() ([]byte, error)

type PanelTextDataSourceModel_FieldConfig

type PanelTextDataSourceModel_FieldConfig struct {
	Defaults  *PanelTextDataSourceModel_FieldConfig_Defaults   `tfsdk:"defaults"`
	Overrides []PanelTextDataSourceModel_FieldConfig_Overrides `tfsdk:"overrides"`
}

func (PanelTextDataSourceModel_FieldConfig) ApplyDefaults

func (PanelTextDataSourceModel_FieldConfig) MarshalJSON

func (m PanelTextDataSourceModel_FieldConfig) MarshalJSON() ([]byte, error)

type PanelTextDataSourceModel_FieldConfig_Defaults

type PanelTextDataSourceModel_FieldConfig_Defaults struct {
	DisplayName       types.String                                              `tfsdk:"display_name"`
	DisplayNameFromDS types.String                                              `tfsdk:"display_name_from_ds"`
	Description       types.String                                              `tfsdk:"description"`
	Path              types.String                                              `tfsdk:"path"`
	Writeable         types.Bool                                                `tfsdk:"writeable"`
	Filterable        types.Bool                                                `tfsdk:"filterable"`
	Unit              types.String                                              `tfsdk:"unit"`
	Decimals          types.Float64                                             `tfsdk:"decimals"`
	Min               types.Float64                                             `tfsdk:"min"`
	Max               types.Float64                                             `tfsdk:"max"`
	Mappings          []PanelTextDataSourceModel_FieldConfig_Defaults_Mappings  `tfsdk:"mappings"`
	Thresholds        *PanelTextDataSourceModel_FieldConfig_Defaults_Thresholds `tfsdk:"thresholds"`
	Color             *PanelTextDataSourceModel_FieldConfig_Defaults_Color      `tfsdk:"color"`
	NoValue           types.String                                              `tfsdk:"no_value"`
	Custom            *PanelTextDataSourceModel_FieldConfig_Defaults_Custom     `tfsdk:"custom"`
}

func (PanelTextDataSourceModel_FieldConfig_Defaults) ApplyDefaults

func (PanelTextDataSourceModel_FieldConfig_Defaults) MarshalJSON

type PanelTextDataSourceModel_FieldConfig_Defaults_Color

type PanelTextDataSourceModel_FieldConfig_Defaults_Color struct {
	Mode       types.String `tfsdk:"mode"`
	FixedColor types.String `tfsdk:"fixed_color"`
	SeriesBy   types.String `tfsdk:"series_by"`
}

func (PanelTextDataSourceModel_FieldConfig_Defaults_Color) ApplyDefaults

func (PanelTextDataSourceModel_FieldConfig_Defaults_Color) MarshalJSON

type PanelTextDataSourceModel_FieldConfig_Defaults_Custom

type PanelTextDataSourceModel_FieldConfig_Defaults_Custom struct {
	LineWidth   types.Int64                                                    `tfsdk:"line_width"`
	HideFrom    *PanelTextDataSourceModel_FieldConfig_Defaults_Custom_HideFrom `tfsdk:"hide_from"`
	FillOpacity types.Int64                                                    `tfsdk:"fill_opacity"`
}

func (PanelTextDataSourceModel_FieldConfig_Defaults_Custom) ApplyDefaults

func (PanelTextDataSourceModel_FieldConfig_Defaults_Custom) MarshalJSON

type PanelTextDataSourceModel_FieldConfig_Defaults_Custom_HideFrom

type PanelTextDataSourceModel_FieldConfig_Defaults_Custom_HideFrom struct {
	Tooltip types.Bool `tfsdk:"tooltip"`
	Legend  types.Bool `tfsdk:"legend"`
	Viz     types.Bool `tfsdk:"viz"`
}

func (PanelTextDataSourceModel_FieldConfig_Defaults_Custom_HideFrom) ApplyDefaults

func (PanelTextDataSourceModel_FieldConfig_Defaults_Custom_HideFrom) MarshalJSON

type PanelTextDataSourceModel_FieldConfig_Defaults_Mappings

type PanelTextDataSourceModel_FieldConfig_Defaults_Mappings struct {
	ValueMap        *PanelTextDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap        `tfsdk:"value_map"`
	RangeMap        *PanelTextDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap        `tfsdk:"range_map"`
	RegexMap        *PanelTextDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap        `tfsdk:"regex_map"`
	SpecialValueMap *PanelTextDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap `tfsdk:"special_value_map"`
}

func (PanelTextDataSourceModel_FieldConfig_Defaults_Mappings) ApplyDefaults

func (PanelTextDataSourceModel_FieldConfig_Defaults_Mappings) MarshalJSON

type PanelTextDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap

type PanelTextDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap struct {
	Type    types.String                                                             `tfsdk:"type"`
	Options *PanelTextDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options `tfsdk:"options"`
}

func (PanelTextDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap) ApplyDefaults

func (PanelTextDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap) MarshalJSON

type PanelTextDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options

type PanelTextDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options struct {
	From   types.String                                                                    `tfsdk:"from"`
	To     types.String                                                                    `tfsdk:"to"`
	Result *PanelTextDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options_Result `tfsdk:"result"`
}

func (PanelTextDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options) ApplyDefaults

func (PanelTextDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options) GetAttrFrom added in v0.2.0

func (PanelTextDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options) GetAttrTo added in v0.2.0

func (PanelTextDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options) MarshalJSON

type PanelTextDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options_Result

type PanelTextDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options_Result struct {
	Text  types.String `tfsdk:"text"`
	Color types.String `tfsdk:"color"`
	Icon  types.String `tfsdk:"icon"`
	Index types.Int64  `tfsdk:"index"`
}

func (PanelTextDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options_Result) ApplyDefaults

func (PanelTextDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options_Result) MarshalJSON

type PanelTextDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap

type PanelTextDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap struct {
	Type    types.String                                                             `tfsdk:"type"`
	Options *PanelTextDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options `tfsdk:"options"`
}

func (PanelTextDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap) ApplyDefaults

func (PanelTextDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap) MarshalJSON

type PanelTextDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options

type PanelTextDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options struct {
	Pattern types.String                                                                    `tfsdk:"pattern"`
	Result  *PanelTextDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options_Result `tfsdk:"result"`
}

func (PanelTextDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options) ApplyDefaults

func (PanelTextDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options) MarshalJSON

type PanelTextDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options_Result

type PanelTextDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options_Result struct {
	Text  types.String `tfsdk:"text"`
	Color types.String `tfsdk:"color"`
	Icon  types.String `tfsdk:"icon"`
	Index types.Int64  `tfsdk:"index"`
}

func (PanelTextDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options_Result) ApplyDefaults

func (PanelTextDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options_Result) MarshalJSON

type PanelTextDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap

type PanelTextDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap struct {
	Type    types.String                                                                    `tfsdk:"type"`
	Options *PanelTextDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options `tfsdk:"options"`
}

func (PanelTextDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap) ApplyDefaults

func (PanelTextDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap) MarshalJSON

type PanelTextDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options

type PanelTextDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options struct {
	Match  types.String                                                                           `tfsdk:"match"`
	Result *PanelTextDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options_Result `tfsdk:"result"`
}

func (PanelTextDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options) ApplyDefaults

func (PanelTextDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options) MarshalJSON

type PanelTextDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options_Result

type PanelTextDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options_Result struct {
	Text  types.String `tfsdk:"text"`
	Color types.String `tfsdk:"color"`
	Icon  types.String `tfsdk:"icon"`
	Index types.Int64  `tfsdk:"index"`
}

func (PanelTextDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options_Result) MarshalJSON

type PanelTextDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap

type PanelTextDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap struct {
	Type    types.String                                                                        `tfsdk:"type"`
	Options *map[string]PanelTextDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap_Options `tfsdk:"options"`
}

func (PanelTextDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap) ApplyDefaults

func (PanelTextDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap) MarshalJSON

type PanelTextDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap_Options

type PanelTextDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap_Options struct {
	Text  types.String `tfsdk:"text"`
	Color types.String `tfsdk:"color"`
	Icon  types.String `tfsdk:"icon"`
	Index types.Int64  `tfsdk:"index"`
}

func (PanelTextDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap_Options) ApplyDefaults

func (PanelTextDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap_Options) MarshalJSON

type PanelTextDataSourceModel_FieldConfig_Defaults_Thresholds

type PanelTextDataSourceModel_FieldConfig_Defaults_Thresholds struct {
	Mode  types.String                                                     `tfsdk:"mode"`
	Steps []PanelTextDataSourceModel_FieldConfig_Defaults_Thresholds_Steps `tfsdk:"steps"`
}

func (PanelTextDataSourceModel_FieldConfig_Defaults_Thresholds) ApplyDefaults

func (PanelTextDataSourceModel_FieldConfig_Defaults_Thresholds) MarshalJSON

type PanelTextDataSourceModel_FieldConfig_Defaults_Thresholds_Steps

type PanelTextDataSourceModel_FieldConfig_Defaults_Thresholds_Steps struct {
	Value types.String `tfsdk:"value"`
	Color types.String `tfsdk:"color"`
}

func (PanelTextDataSourceModel_FieldConfig_Defaults_Thresholds_Steps) ApplyDefaults

func (PanelTextDataSourceModel_FieldConfig_Defaults_Thresholds_Steps) GetAttrValue added in v0.2.0

func (PanelTextDataSourceModel_FieldConfig_Defaults_Thresholds_Steps) MarshalJSON

type PanelTextDataSourceModel_FieldConfig_Overrides

type PanelTextDataSourceModel_FieldConfig_Overrides struct {
	Matcher    *PanelTextDataSourceModel_FieldConfig_Overrides_Matcher     `tfsdk:"matcher"`
	Properties []PanelTextDataSourceModel_FieldConfig_Overrides_Properties `tfsdk:"properties"`
}

func (PanelTextDataSourceModel_FieldConfig_Overrides) ApplyDefaults

func (PanelTextDataSourceModel_FieldConfig_Overrides) MarshalJSON

type PanelTextDataSourceModel_FieldConfig_Overrides_Matcher

type PanelTextDataSourceModel_FieldConfig_Overrides_Matcher struct {
}

func (PanelTextDataSourceModel_FieldConfig_Overrides_Matcher) ApplyDefaults

func (PanelTextDataSourceModel_FieldConfig_Overrides_Matcher) MarshalJSON

type PanelTextDataSourceModel_FieldConfig_Overrides_Properties

type PanelTextDataSourceModel_FieldConfig_Overrides_Properties struct {
}

func (PanelTextDataSourceModel_FieldConfig_Overrides_Properties) ApplyDefaults

func (PanelTextDataSourceModel_FieldConfig_Overrides_Properties) MarshalJSON

type PanelTextDataSourceModel_GridPos

type PanelTextDataSourceModel_GridPos struct {
	H      types.Int64 `tfsdk:"h"`
	W      types.Int64 `tfsdk:"w"`
	X      types.Int64 `tfsdk:"x"`
	Y      types.Int64 `tfsdk:"y"`
	Static types.Bool  `tfsdk:"static"`
}

func (PanelTextDataSourceModel_GridPos) ApplyDefaults

func (PanelTextDataSourceModel_GridPos) MarshalJSON

func (m PanelTextDataSourceModel_GridPos) MarshalJSON() ([]byte, error)

type PanelTextDataSourceModel_LibraryPanel

type PanelTextDataSourceModel_LibraryPanel struct {
	Name types.String `tfsdk:"name"`
	Uid  types.String `tfsdk:"uid"`
}

func (PanelTextDataSourceModel_LibraryPanel) ApplyDefaults

func (PanelTextDataSourceModel_LibraryPanel) MarshalJSON

func (m PanelTextDataSourceModel_LibraryPanel) MarshalJSON() ([]byte, error)
type PanelTextDataSourceModel_Links struct {
	Title       types.String `tfsdk:"title"`
	Type        types.String `tfsdk:"type"`
	Icon        types.String `tfsdk:"icon"`
	Tooltip     types.String `tfsdk:"tooltip"`
	Url         types.String `tfsdk:"url"`
	Tags        types.List   `tfsdk:"tags"`
	AsDropdown  types.Bool   `tfsdk:"as_dropdown"`
	TargetBlank types.Bool   `tfsdk:"target_blank"`
	IncludeVars types.Bool   `tfsdk:"include_vars"`
	KeepTime    types.Bool   `tfsdk:"keep_time"`
}

func (PanelTextDataSourceModel_Links) ApplyDefaults

func (PanelTextDataSourceModel_Links) MarshalJSON

func (m PanelTextDataSourceModel_Links) MarshalJSON() ([]byte, error)

type PanelTextDataSourceModel_Options

type PanelTextDataSourceModel_Options struct {
	Mode    types.String                           `tfsdk:"mode"`
	Code    *PanelTextDataSourceModel_Options_Code `tfsdk:"code"`
	Content types.String                           `tfsdk:"content"`
}

func (PanelTextDataSourceModel_Options) ApplyDefaults

func (PanelTextDataSourceModel_Options) MarshalJSON

func (m PanelTextDataSourceModel_Options) MarshalJSON() ([]byte, error)

type PanelTextDataSourceModel_Options_Code

type PanelTextDataSourceModel_Options_Code struct {
	Language        types.String `tfsdk:"language"`
	ShowLineNumbers types.Bool   `tfsdk:"show_line_numbers"`
	ShowMiniMap     types.Bool   `tfsdk:"show_mini_map"`
}

func (PanelTextDataSourceModel_Options_Code) ApplyDefaults

func (PanelTextDataSourceModel_Options_Code) MarshalJSON

func (m PanelTextDataSourceModel_Options_Code) MarshalJSON() ([]byte, error)

type PanelTextDataSourceModel_Transformations

type PanelTextDataSourceModel_Transformations struct {
	Disabled types.Bool                                       `tfsdk:"disabled"`
	Filter   *PanelTextDataSourceModel_Transformations_Filter `tfsdk:"filter"`
}

func (PanelTextDataSourceModel_Transformations) ApplyDefaults

func (PanelTextDataSourceModel_Transformations) MarshalJSON

type PanelTextDataSourceModel_Transformations_Filter

type PanelTextDataSourceModel_Transformations_Filter struct {
}

func (PanelTextDataSourceModel_Transformations_Filter) ApplyDefaults

func (PanelTextDataSourceModel_Transformations_Filter) MarshalJSON

type PanelTimeSeriesDataSource

type PanelTimeSeriesDataSource struct{}

PanelTimeSeriesDataSource defines the data source implementation.

func (*PanelTimeSeriesDataSource) Configure

func (*PanelTimeSeriesDataSource) Metadata

func (*PanelTimeSeriesDataSource) Read

func (*PanelTimeSeriesDataSource) Schema

type PanelTimeSeriesDataSourceModel

type PanelTimeSeriesDataSourceModel struct {
	RenderedJSON    types.String                                     `tfsdk:"rendered_json"`
	Type            types.String                                     `tfsdk:"type"`
	PluginVersion   types.String                                     `tfsdk:"plugin_version"`
	Tags            types.List                                       `tfsdk:"tags"`
	Targets         types.List                                       `tfsdk:"targets"`
	Title           types.String                                     `tfsdk:"title"`
	Description     types.String                                     `tfsdk:"description"`
	Transparent     types.Bool                                       `tfsdk:"transparent"`
	Datasource      *PanelTimeSeriesDataSourceModel_Datasource       `tfsdk:"datasource"`
	GridPos         *PanelTimeSeriesDataSourceModel_GridPos          `tfsdk:"grid_pos"`
	Links           []PanelTimeSeriesDataSourceModel_Links           `tfsdk:"links"`
	Repeat          types.String                                     `tfsdk:"repeat"`
	RepeatDirection types.String                                     `tfsdk:"repeat_direction"`
	RepeatPanelId   types.Int64                                      `tfsdk:"repeat_panel_id"`
	MaxDataPoints   types.Float64                                    `tfsdk:"max_data_points"`
	Transformations []PanelTimeSeriesDataSourceModel_Transformations `tfsdk:"transformations"`
	Interval        types.String                                     `tfsdk:"interval"`
	TimeFrom        types.String                                     `tfsdk:"time_from"`
	TimeShift       types.String                                     `tfsdk:"time_shift"`
	LibraryPanel    *PanelTimeSeriesDataSourceModel_LibraryPanel     `tfsdk:"library_panel"`
	Options         *PanelTimeSeriesDataSourceModel_Options          `tfsdk:"options"`
	FieldConfig     *PanelTimeSeriesDataSourceModel_FieldConfig      `tfsdk:"field_config"`
}

func (PanelTimeSeriesDataSourceModel) ApplyDefaults

func (PanelTimeSeriesDataSourceModel) MarshalJSON

func (m PanelTimeSeriesDataSourceModel) MarshalJSON() ([]byte, error)

type PanelTimeSeriesDataSourceModel_Datasource

type PanelTimeSeriesDataSourceModel_Datasource struct {
	Type types.String `tfsdk:"type"`
	Uid  types.String `tfsdk:"uid"`
}

func (PanelTimeSeriesDataSourceModel_Datasource) ApplyDefaults

func (PanelTimeSeriesDataSourceModel_Datasource) MarshalJSON

type PanelTimeSeriesDataSourceModel_FieldConfig

type PanelTimeSeriesDataSourceModel_FieldConfig struct {
	Defaults  *PanelTimeSeriesDataSourceModel_FieldConfig_Defaults   `tfsdk:"defaults"`
	Overrides []PanelTimeSeriesDataSourceModel_FieldConfig_Overrides `tfsdk:"overrides"`
}

func (PanelTimeSeriesDataSourceModel_FieldConfig) ApplyDefaults

func (PanelTimeSeriesDataSourceModel_FieldConfig) MarshalJSON

type PanelTimeSeriesDataSourceModel_FieldConfig_Defaults

type PanelTimeSeriesDataSourceModel_FieldConfig_Defaults struct {
	DisplayName       types.String                                                    `tfsdk:"display_name"`
	DisplayNameFromDS types.String                                                    `tfsdk:"display_name_from_ds"`
	Description       types.String                                                    `tfsdk:"description"`
	Path              types.String                                                    `tfsdk:"path"`
	Writeable         types.Bool                                                      `tfsdk:"writeable"`
	Filterable        types.Bool                                                      `tfsdk:"filterable"`
	Unit              types.String                                                    `tfsdk:"unit"`
	Decimals          types.Float64                                                   `tfsdk:"decimals"`
	Min               types.Float64                                                   `tfsdk:"min"`
	Max               types.Float64                                                   `tfsdk:"max"`
	Mappings          []PanelTimeSeriesDataSourceModel_FieldConfig_Defaults_Mappings  `tfsdk:"mappings"`
	Thresholds        *PanelTimeSeriesDataSourceModel_FieldConfig_Defaults_Thresholds `tfsdk:"thresholds"`
	Color             *PanelTimeSeriesDataSourceModel_FieldConfig_Defaults_Color      `tfsdk:"color"`
	NoValue           types.String                                                    `tfsdk:"no_value"`
	Custom            *PanelTimeSeriesDataSourceModel_FieldConfig_Defaults_Custom     `tfsdk:"custom"`
}

func (PanelTimeSeriesDataSourceModel_FieldConfig_Defaults) ApplyDefaults

func (PanelTimeSeriesDataSourceModel_FieldConfig_Defaults) MarshalJSON

type PanelTimeSeriesDataSourceModel_FieldConfig_Defaults_Color

type PanelTimeSeriesDataSourceModel_FieldConfig_Defaults_Color struct {
	Mode       types.String `tfsdk:"mode"`
	FixedColor types.String `tfsdk:"fixed_color"`
	SeriesBy   types.String `tfsdk:"series_by"`
}

func (PanelTimeSeriesDataSourceModel_FieldConfig_Defaults_Color) ApplyDefaults

func (PanelTimeSeriesDataSourceModel_FieldConfig_Defaults_Color) MarshalJSON

type PanelTimeSeriesDataSourceModel_FieldConfig_Defaults_Custom

type PanelTimeSeriesDataSourceModel_FieldConfig_Defaults_Custom struct {
	DrawStyle         types.String                                                                  `tfsdk:"draw_style"`
	GradientMode      types.String                                                                  `tfsdk:"gradient_mode"`
	ThresholdsStyle   *PanelTimeSeriesDataSourceModel_FieldConfig_Defaults_Custom_ThresholdsStyle   `tfsdk:"thresholds_style"`
	LineColor         types.String                                                                  `tfsdk:"line_color"`
	LineWidth         types.Float64                                                                 `tfsdk:"line_width"`
	LineInterpolation types.String                                                                  `tfsdk:"line_interpolation"`
	LineStyle         *PanelTimeSeriesDataSourceModel_FieldConfig_Defaults_Custom_LineStyle         `tfsdk:"line_style"`
	FillColor         types.String                                                                  `tfsdk:"fill_color"`
	FillOpacity       types.Float64                                                                 `tfsdk:"fill_opacity"`
	ShowPoints        types.String                                                                  `tfsdk:"show_points"`
	PointSize         types.Float64                                                                 `tfsdk:"point_size"`
	PointColor        types.String                                                                  `tfsdk:"point_color"`
	AxisPlacement     types.String                                                                  `tfsdk:"axis_placement"`
	AxisColorMode     types.String                                                                  `tfsdk:"axis_color_mode"`
	AxisLabel         types.String                                                                  `tfsdk:"axis_label"`
	AxisWidth         types.Float64                                                                 `tfsdk:"axis_width"`
	AxisSoftMin       types.Float64                                                                 `tfsdk:"axis_soft_min"`
	AxisSoftMax       types.Float64                                                                 `tfsdk:"axis_soft_max"`
	AxisGridShow      types.Bool                                                                    `tfsdk:"axis_grid_show"`
	ScaleDistribution *PanelTimeSeriesDataSourceModel_FieldConfig_Defaults_Custom_ScaleDistribution `tfsdk:"scale_distribution"`
	BarAlignment      types.Int64                                                                   `tfsdk:"bar_alignment"`
	BarWidthFactor    types.Float64                                                                 `tfsdk:"bar_width_factor"`
	Stacking          *PanelTimeSeriesDataSourceModel_FieldConfig_Defaults_Custom_Stacking          `tfsdk:"stacking"`
	HideFrom          *PanelTimeSeriesDataSourceModel_FieldConfig_Defaults_Custom_HideFrom          `tfsdk:"hide_from"`
	Transform         types.String                                                                  `tfsdk:"transform"`
	SpanNulls         types.String                                                                  `tfsdk:"span_nulls"`
	FillBelowTo       types.String                                                                  `tfsdk:"fill_below_to"`
	PointSymbol       types.String                                                                  `tfsdk:"point_symbol"`
	AxisCenteredZero  types.Bool                                                                    `tfsdk:"axis_centered_zero"`
	BarMaxWidth       types.Float64                                                                 `tfsdk:"bar_max_width"`
}

func (PanelTimeSeriesDataSourceModel_FieldConfig_Defaults_Custom) ApplyDefaults

func (PanelTimeSeriesDataSourceModel_FieldConfig_Defaults_Custom) GetAttrSpanNulls

func (m PanelTimeSeriesDataSourceModel_FieldConfig_Defaults_Custom) GetAttrSpanNulls() interface{}

func (PanelTimeSeriesDataSourceModel_FieldConfig_Defaults_Custom) MarshalJSON

type PanelTimeSeriesDataSourceModel_FieldConfig_Defaults_Custom_HideFrom

type PanelTimeSeriesDataSourceModel_FieldConfig_Defaults_Custom_HideFrom struct {
	Tooltip types.Bool `tfsdk:"tooltip"`
	Legend  types.Bool `tfsdk:"legend"`
	Viz     types.Bool `tfsdk:"viz"`
}

func (PanelTimeSeriesDataSourceModel_FieldConfig_Defaults_Custom_HideFrom) ApplyDefaults

func (PanelTimeSeriesDataSourceModel_FieldConfig_Defaults_Custom_HideFrom) MarshalJSON

type PanelTimeSeriesDataSourceModel_FieldConfig_Defaults_Custom_LineStyle

type PanelTimeSeriesDataSourceModel_FieldConfig_Defaults_Custom_LineStyle struct {
	Fill types.String `tfsdk:"fill"`
	Dash types.List   `tfsdk:"dash"`
}

func (PanelTimeSeriesDataSourceModel_FieldConfig_Defaults_Custom_LineStyle) ApplyDefaults

func (PanelTimeSeriesDataSourceModel_FieldConfig_Defaults_Custom_LineStyle) MarshalJSON

type PanelTimeSeriesDataSourceModel_FieldConfig_Defaults_Custom_ScaleDistribution

type PanelTimeSeriesDataSourceModel_FieldConfig_Defaults_Custom_ScaleDistribution struct {
	Type            types.String  `tfsdk:"type"`
	Log             types.Float64 `tfsdk:"log"`
	LinearThreshold types.Float64 `tfsdk:"linear_threshold"`
}

func (PanelTimeSeriesDataSourceModel_FieldConfig_Defaults_Custom_ScaleDistribution) ApplyDefaults

func (PanelTimeSeriesDataSourceModel_FieldConfig_Defaults_Custom_ScaleDistribution) MarshalJSON

type PanelTimeSeriesDataSourceModel_FieldConfig_Defaults_Custom_Stacking

type PanelTimeSeriesDataSourceModel_FieldConfig_Defaults_Custom_Stacking struct {
	Mode  types.String `tfsdk:"mode"`
	Group types.String `tfsdk:"group"`
}

func (PanelTimeSeriesDataSourceModel_FieldConfig_Defaults_Custom_Stacking) ApplyDefaults

func (PanelTimeSeriesDataSourceModel_FieldConfig_Defaults_Custom_Stacking) MarshalJSON

type PanelTimeSeriesDataSourceModel_FieldConfig_Defaults_Custom_ThresholdsStyle

type PanelTimeSeriesDataSourceModel_FieldConfig_Defaults_Custom_ThresholdsStyle struct {
	Mode types.String `tfsdk:"mode"`
}

func (PanelTimeSeriesDataSourceModel_FieldConfig_Defaults_Custom_ThresholdsStyle) ApplyDefaults

func (PanelTimeSeriesDataSourceModel_FieldConfig_Defaults_Custom_ThresholdsStyle) MarshalJSON

type PanelTimeSeriesDataSourceModel_FieldConfig_Defaults_Mappings

type PanelTimeSeriesDataSourceModel_FieldConfig_Defaults_Mappings struct {
	ValueMap        *PanelTimeSeriesDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap        `tfsdk:"value_map"`
	RangeMap        *PanelTimeSeriesDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap        `tfsdk:"range_map"`
	RegexMap        *PanelTimeSeriesDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap        `tfsdk:"regex_map"`
	SpecialValueMap *PanelTimeSeriesDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap `tfsdk:"special_value_map"`
}

func (PanelTimeSeriesDataSourceModel_FieldConfig_Defaults_Mappings) ApplyDefaults

func (PanelTimeSeriesDataSourceModel_FieldConfig_Defaults_Mappings) MarshalJSON

type PanelTimeSeriesDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap

type PanelTimeSeriesDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap struct {
	Type    types.String                                                                   `tfsdk:"type"`
	Options *PanelTimeSeriesDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options `tfsdk:"options"`
}

func (PanelTimeSeriesDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap) ApplyDefaults

func (PanelTimeSeriesDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap) MarshalJSON

type PanelTimeSeriesDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options

type PanelTimeSeriesDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options struct {
	From   types.String                                                                          `tfsdk:"from"`
	To     types.String                                                                          `tfsdk:"to"`
	Result *PanelTimeSeriesDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options_Result `tfsdk:"result"`
}

func (PanelTimeSeriesDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options) ApplyDefaults

func (PanelTimeSeriesDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options) GetAttrFrom added in v0.2.0

func (PanelTimeSeriesDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options) GetAttrTo added in v0.2.0

func (PanelTimeSeriesDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options) MarshalJSON

type PanelTimeSeriesDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options_Result

type PanelTimeSeriesDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options_Result struct {
	Text  types.String `tfsdk:"text"`
	Color types.String `tfsdk:"color"`
	Icon  types.String `tfsdk:"icon"`
	Index types.Int64  `tfsdk:"index"`
}

func (PanelTimeSeriesDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options_Result) ApplyDefaults

func (PanelTimeSeriesDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options_Result) MarshalJSON

type PanelTimeSeriesDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap

type PanelTimeSeriesDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap struct {
	Type    types.String                                                                   `tfsdk:"type"`
	Options *PanelTimeSeriesDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options `tfsdk:"options"`
}

func (PanelTimeSeriesDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap) ApplyDefaults

func (PanelTimeSeriesDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap) MarshalJSON

type PanelTimeSeriesDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options

type PanelTimeSeriesDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options struct {
	Pattern types.String                                                                          `tfsdk:"pattern"`
	Result  *PanelTimeSeriesDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options_Result `tfsdk:"result"`
}

func (PanelTimeSeriesDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options) ApplyDefaults

func (PanelTimeSeriesDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options) MarshalJSON

type PanelTimeSeriesDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options_Result

type PanelTimeSeriesDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options_Result struct {
	Text  types.String `tfsdk:"text"`
	Color types.String `tfsdk:"color"`
	Icon  types.String `tfsdk:"icon"`
	Index types.Int64  `tfsdk:"index"`
}

func (PanelTimeSeriesDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options_Result) ApplyDefaults

func (PanelTimeSeriesDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options_Result) MarshalJSON

type PanelTimeSeriesDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap

type PanelTimeSeriesDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap struct {
	Type    types.String                                                                          `tfsdk:"type"`
	Options *PanelTimeSeriesDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options `tfsdk:"options"`
}

func (PanelTimeSeriesDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap) ApplyDefaults

func (PanelTimeSeriesDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap) MarshalJSON

type PanelTimeSeriesDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options

type PanelTimeSeriesDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options struct {
	Match  types.String                                                                                 `tfsdk:"match"`
	Result *PanelTimeSeriesDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options_Result `tfsdk:"result"`
}

func (PanelTimeSeriesDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options) ApplyDefaults

func (PanelTimeSeriesDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options) MarshalJSON

type PanelTimeSeriesDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options_Result

type PanelTimeSeriesDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options_Result struct {
	Text  types.String `tfsdk:"text"`
	Color types.String `tfsdk:"color"`
	Icon  types.String `tfsdk:"icon"`
	Index types.Int64  `tfsdk:"index"`
}

func (PanelTimeSeriesDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options_Result) MarshalJSON

type PanelTimeSeriesDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap

type PanelTimeSeriesDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap struct {
	Type    types.String                                                                              `tfsdk:"type"`
	Options *map[string]PanelTimeSeriesDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap_Options `tfsdk:"options"`
}

func (PanelTimeSeriesDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap) ApplyDefaults

func (PanelTimeSeriesDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap) MarshalJSON

type PanelTimeSeriesDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap_Options

type PanelTimeSeriesDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap_Options struct {
	Text  types.String `tfsdk:"text"`
	Color types.String `tfsdk:"color"`
	Icon  types.String `tfsdk:"icon"`
	Index types.Int64  `tfsdk:"index"`
}

func (PanelTimeSeriesDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap_Options) ApplyDefaults

func (PanelTimeSeriesDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap_Options) MarshalJSON

type PanelTimeSeriesDataSourceModel_FieldConfig_Defaults_Thresholds

type PanelTimeSeriesDataSourceModel_FieldConfig_Defaults_Thresholds struct {
	Mode  types.String                                                           `tfsdk:"mode"`
	Steps []PanelTimeSeriesDataSourceModel_FieldConfig_Defaults_Thresholds_Steps `tfsdk:"steps"`
}

func (PanelTimeSeriesDataSourceModel_FieldConfig_Defaults_Thresholds) ApplyDefaults

func (PanelTimeSeriesDataSourceModel_FieldConfig_Defaults_Thresholds) MarshalJSON

type PanelTimeSeriesDataSourceModel_FieldConfig_Defaults_Thresholds_Steps

type PanelTimeSeriesDataSourceModel_FieldConfig_Defaults_Thresholds_Steps struct {
	Value types.String `tfsdk:"value"`
	Color types.String `tfsdk:"color"`
}

func (PanelTimeSeriesDataSourceModel_FieldConfig_Defaults_Thresholds_Steps) ApplyDefaults

func (PanelTimeSeriesDataSourceModel_FieldConfig_Defaults_Thresholds_Steps) GetAttrValue added in v0.2.0

func (PanelTimeSeriesDataSourceModel_FieldConfig_Defaults_Thresholds_Steps) MarshalJSON

type PanelTimeSeriesDataSourceModel_FieldConfig_Overrides

type PanelTimeSeriesDataSourceModel_FieldConfig_Overrides struct {
	Matcher    *PanelTimeSeriesDataSourceModel_FieldConfig_Overrides_Matcher     `tfsdk:"matcher"`
	Properties []PanelTimeSeriesDataSourceModel_FieldConfig_Overrides_Properties `tfsdk:"properties"`
}

func (PanelTimeSeriesDataSourceModel_FieldConfig_Overrides) ApplyDefaults

func (PanelTimeSeriesDataSourceModel_FieldConfig_Overrides) MarshalJSON

type PanelTimeSeriesDataSourceModel_FieldConfig_Overrides_Matcher

type PanelTimeSeriesDataSourceModel_FieldConfig_Overrides_Matcher struct {
}

func (PanelTimeSeriesDataSourceModel_FieldConfig_Overrides_Matcher) ApplyDefaults

func (PanelTimeSeriesDataSourceModel_FieldConfig_Overrides_Matcher) MarshalJSON

type PanelTimeSeriesDataSourceModel_FieldConfig_Overrides_Properties

type PanelTimeSeriesDataSourceModel_FieldConfig_Overrides_Properties struct {
}

func (PanelTimeSeriesDataSourceModel_FieldConfig_Overrides_Properties) ApplyDefaults

func (PanelTimeSeriesDataSourceModel_FieldConfig_Overrides_Properties) MarshalJSON

type PanelTimeSeriesDataSourceModel_GridPos

type PanelTimeSeriesDataSourceModel_GridPos struct {
	H      types.Int64 `tfsdk:"h"`
	W      types.Int64 `tfsdk:"w"`
	X      types.Int64 `tfsdk:"x"`
	Y      types.Int64 `tfsdk:"y"`
	Static types.Bool  `tfsdk:"static"`
}

func (PanelTimeSeriesDataSourceModel_GridPos) ApplyDefaults

func (PanelTimeSeriesDataSourceModel_GridPos) MarshalJSON

func (m PanelTimeSeriesDataSourceModel_GridPos) MarshalJSON() ([]byte, error)

type PanelTimeSeriesDataSourceModel_LibraryPanel

type PanelTimeSeriesDataSourceModel_LibraryPanel struct {
	Name types.String `tfsdk:"name"`
	Uid  types.String `tfsdk:"uid"`
}

func (PanelTimeSeriesDataSourceModel_LibraryPanel) ApplyDefaults

func (PanelTimeSeriesDataSourceModel_LibraryPanel) MarshalJSON

type PanelTimeSeriesDataSourceModel_Links struct {
	Title       types.String `tfsdk:"title"`
	Type        types.String `tfsdk:"type"`
	Icon        types.String `tfsdk:"icon"`
	Tooltip     types.String `tfsdk:"tooltip"`
	Url         types.String `tfsdk:"url"`
	Tags        types.List   `tfsdk:"tags"`
	AsDropdown  types.Bool   `tfsdk:"as_dropdown"`
	TargetBlank types.Bool   `tfsdk:"target_blank"`
	IncludeVars types.Bool   `tfsdk:"include_vars"`
	KeepTime    types.Bool   `tfsdk:"keep_time"`
}

func (PanelTimeSeriesDataSourceModel_Links) ApplyDefaults

func (PanelTimeSeriesDataSourceModel_Links) MarshalJSON

func (m PanelTimeSeriesDataSourceModel_Links) MarshalJSON() ([]byte, error)

type PanelTimeSeriesDataSourceModel_Options

type PanelTimeSeriesDataSourceModel_Options struct {
	Legend  *PanelTimeSeriesDataSourceModel_Options_Legend  `tfsdk:"legend"`
	Tooltip *PanelTimeSeriesDataSourceModel_Options_Tooltip `tfsdk:"tooltip"`
}

func (PanelTimeSeriesDataSourceModel_Options) ApplyDefaults

func (PanelTimeSeriesDataSourceModel_Options) MarshalJSON

func (m PanelTimeSeriesDataSourceModel_Options) MarshalJSON() ([]byte, error)

type PanelTimeSeriesDataSourceModel_Options_Legend

type PanelTimeSeriesDataSourceModel_Options_Legend struct {
	DisplayMode types.String  `tfsdk:"display_mode"`
	Placement   types.String  `tfsdk:"placement"`
	ShowLegend  types.Bool    `tfsdk:"show_legend"`
	AsTable     types.Bool    `tfsdk:"as_table"`
	IsVisible   types.Bool    `tfsdk:"is_visible"`
	SortBy      types.String  `tfsdk:"sort_by"`
	SortDesc    types.Bool    `tfsdk:"sort_desc"`
	Width       types.Float64 `tfsdk:"width"`
	Calcs       types.List    `tfsdk:"calcs"`
}

func (PanelTimeSeriesDataSourceModel_Options_Legend) ApplyDefaults

func (PanelTimeSeriesDataSourceModel_Options_Legend) MarshalJSON

type PanelTimeSeriesDataSourceModel_Options_Tooltip

type PanelTimeSeriesDataSourceModel_Options_Tooltip struct {
	Mode types.String `tfsdk:"mode"`
	Sort types.String `tfsdk:"sort"`
}

func (PanelTimeSeriesDataSourceModel_Options_Tooltip) ApplyDefaults

func (PanelTimeSeriesDataSourceModel_Options_Tooltip) MarshalJSON

type PanelTimeSeriesDataSourceModel_Transformations

type PanelTimeSeriesDataSourceModel_Transformations struct {
	Disabled types.Bool                                             `tfsdk:"disabled"`
	Filter   *PanelTimeSeriesDataSourceModel_Transformations_Filter `tfsdk:"filter"`
}

func (PanelTimeSeriesDataSourceModel_Transformations) ApplyDefaults

func (PanelTimeSeriesDataSourceModel_Transformations) MarshalJSON

type PanelTimeSeriesDataSourceModel_Transformations_Filter

type PanelTimeSeriesDataSourceModel_Transformations_Filter struct {
}

func (PanelTimeSeriesDataSourceModel_Transformations_Filter) ApplyDefaults

func (PanelTimeSeriesDataSourceModel_Transformations_Filter) MarshalJSON

type PanelTrendDataSource

type PanelTrendDataSource struct{}

PanelTrendDataSource defines the data source implementation.

func (*PanelTrendDataSource) Configure

func (*PanelTrendDataSource) Metadata

func (*PanelTrendDataSource) Read

func (*PanelTrendDataSource) Schema

type PanelTrendDataSourceModel

type PanelTrendDataSourceModel struct {
	RenderedJSON    types.String                                `tfsdk:"rendered_json"`
	Type            types.String                                `tfsdk:"type"`
	PluginVersion   types.String                                `tfsdk:"plugin_version"`
	Tags            types.List                                  `tfsdk:"tags"`
	Targets         types.List                                  `tfsdk:"targets"`
	Title           types.String                                `tfsdk:"title"`
	Description     types.String                                `tfsdk:"description"`
	Transparent     types.Bool                                  `tfsdk:"transparent"`
	Datasource      *PanelTrendDataSourceModel_Datasource       `tfsdk:"datasource"`
	GridPos         *PanelTrendDataSourceModel_GridPos          `tfsdk:"grid_pos"`
	Links           []PanelTrendDataSourceModel_Links           `tfsdk:"links"`
	Repeat          types.String                                `tfsdk:"repeat"`
	RepeatDirection types.String                                `tfsdk:"repeat_direction"`
	RepeatPanelId   types.Int64                                 `tfsdk:"repeat_panel_id"`
	MaxDataPoints   types.Float64                               `tfsdk:"max_data_points"`
	Transformations []PanelTrendDataSourceModel_Transformations `tfsdk:"transformations"`
	Interval        types.String                                `tfsdk:"interval"`
	TimeFrom        types.String                                `tfsdk:"time_from"`
	TimeShift       types.String                                `tfsdk:"time_shift"`
	LibraryPanel    *PanelTrendDataSourceModel_LibraryPanel     `tfsdk:"library_panel"`
	Options         *PanelTrendDataSourceModel_Options          `tfsdk:"options"`
	FieldConfig     *PanelTrendDataSourceModel_FieldConfig      `tfsdk:"field_config"`
}

func (PanelTrendDataSourceModel) ApplyDefaults

func (PanelTrendDataSourceModel) MarshalJSON

func (m PanelTrendDataSourceModel) MarshalJSON() ([]byte, error)

type PanelTrendDataSourceModel_Datasource

type PanelTrendDataSourceModel_Datasource struct {
	Type types.String `tfsdk:"type"`
	Uid  types.String `tfsdk:"uid"`
}

func (PanelTrendDataSourceModel_Datasource) ApplyDefaults

func (PanelTrendDataSourceModel_Datasource) MarshalJSON

func (m PanelTrendDataSourceModel_Datasource) MarshalJSON() ([]byte, error)

type PanelTrendDataSourceModel_FieldConfig

type PanelTrendDataSourceModel_FieldConfig struct {
	Defaults  *PanelTrendDataSourceModel_FieldConfig_Defaults   `tfsdk:"defaults"`
	Overrides []PanelTrendDataSourceModel_FieldConfig_Overrides `tfsdk:"overrides"`
}

func (PanelTrendDataSourceModel_FieldConfig) ApplyDefaults

func (PanelTrendDataSourceModel_FieldConfig) MarshalJSON

func (m PanelTrendDataSourceModel_FieldConfig) MarshalJSON() ([]byte, error)

type PanelTrendDataSourceModel_FieldConfig_Defaults

type PanelTrendDataSourceModel_FieldConfig_Defaults struct {
	DisplayName       types.String                                               `tfsdk:"display_name"`
	DisplayNameFromDS types.String                                               `tfsdk:"display_name_from_ds"`
	Description       types.String                                               `tfsdk:"description"`
	Path              types.String                                               `tfsdk:"path"`
	Writeable         types.Bool                                                 `tfsdk:"writeable"`
	Filterable        types.Bool                                                 `tfsdk:"filterable"`
	Unit              types.String                                               `tfsdk:"unit"`
	Decimals          types.Float64                                              `tfsdk:"decimals"`
	Min               types.Float64                                              `tfsdk:"min"`
	Max               types.Float64                                              `tfsdk:"max"`
	Mappings          []PanelTrendDataSourceModel_FieldConfig_Defaults_Mappings  `tfsdk:"mappings"`
	Thresholds        *PanelTrendDataSourceModel_FieldConfig_Defaults_Thresholds `tfsdk:"thresholds"`
	Color             *PanelTrendDataSourceModel_FieldConfig_Defaults_Color      `tfsdk:"color"`
	NoValue           types.String                                               `tfsdk:"no_value"`
	Custom            *PanelTrendDataSourceModel_FieldConfig_Defaults_Custom     `tfsdk:"custom"`
}

func (PanelTrendDataSourceModel_FieldConfig_Defaults) ApplyDefaults

func (PanelTrendDataSourceModel_FieldConfig_Defaults) MarshalJSON

type PanelTrendDataSourceModel_FieldConfig_Defaults_Color

type PanelTrendDataSourceModel_FieldConfig_Defaults_Color struct {
	Mode       types.String `tfsdk:"mode"`
	FixedColor types.String `tfsdk:"fixed_color"`
	SeriesBy   types.String `tfsdk:"series_by"`
}

func (PanelTrendDataSourceModel_FieldConfig_Defaults_Color) ApplyDefaults

func (PanelTrendDataSourceModel_FieldConfig_Defaults_Color) MarshalJSON

type PanelTrendDataSourceModel_FieldConfig_Defaults_Custom

type PanelTrendDataSourceModel_FieldConfig_Defaults_Custom struct {
	DrawStyle         types.String                                                             `tfsdk:"draw_style"`
	GradientMode      types.String                                                             `tfsdk:"gradient_mode"`
	ThresholdsStyle   *PanelTrendDataSourceModel_FieldConfig_Defaults_Custom_ThresholdsStyle   `tfsdk:"thresholds_style"`
	LineColor         types.String                                                             `tfsdk:"line_color"`
	LineWidth         types.Float64                                                            `tfsdk:"line_width"`
	LineInterpolation types.String                                                             `tfsdk:"line_interpolation"`
	LineStyle         *PanelTrendDataSourceModel_FieldConfig_Defaults_Custom_LineStyle         `tfsdk:"line_style"`
	FillColor         types.String                                                             `tfsdk:"fill_color"`
	FillOpacity       types.Float64                                                            `tfsdk:"fill_opacity"`
	ShowPoints        types.String                                                             `tfsdk:"show_points"`
	PointSize         types.Float64                                                            `tfsdk:"point_size"`
	PointColor        types.String                                                             `tfsdk:"point_color"`
	AxisPlacement     types.String                                                             `tfsdk:"axis_placement"`
	AxisColorMode     types.String                                                             `tfsdk:"axis_color_mode"`
	AxisLabel         types.String                                                             `tfsdk:"axis_label"`
	AxisWidth         types.Float64                                                            `tfsdk:"axis_width"`
	AxisSoftMin       types.Float64                                                            `tfsdk:"axis_soft_min"`
	AxisSoftMax       types.Float64                                                            `tfsdk:"axis_soft_max"`
	AxisGridShow      types.Bool                                                               `tfsdk:"axis_grid_show"`
	ScaleDistribution *PanelTrendDataSourceModel_FieldConfig_Defaults_Custom_ScaleDistribution `tfsdk:"scale_distribution"`
	BarAlignment      types.Int64                                                              `tfsdk:"bar_alignment"`
	BarWidthFactor    types.Float64                                                            `tfsdk:"bar_width_factor"`
	Stacking          *PanelTrendDataSourceModel_FieldConfig_Defaults_Custom_Stacking          `tfsdk:"stacking"`
	HideFrom          *PanelTrendDataSourceModel_FieldConfig_Defaults_Custom_HideFrom          `tfsdk:"hide_from"`
	Transform         types.String                                                             `tfsdk:"transform"`
	SpanNulls         types.String                                                             `tfsdk:"span_nulls"`
	FillBelowTo       types.String                                                             `tfsdk:"fill_below_to"`
	PointSymbol       types.String                                                             `tfsdk:"point_symbol"`
	AxisCenteredZero  types.Bool                                                               `tfsdk:"axis_centered_zero"`
	BarMaxWidth       types.Float64                                                            `tfsdk:"bar_max_width"`
}

func (PanelTrendDataSourceModel_FieldConfig_Defaults_Custom) ApplyDefaults

func (PanelTrendDataSourceModel_FieldConfig_Defaults_Custom) GetAttrSpanNulls

func (m PanelTrendDataSourceModel_FieldConfig_Defaults_Custom) GetAttrSpanNulls() interface{}

func (PanelTrendDataSourceModel_FieldConfig_Defaults_Custom) MarshalJSON

type PanelTrendDataSourceModel_FieldConfig_Defaults_Custom_HideFrom

type PanelTrendDataSourceModel_FieldConfig_Defaults_Custom_HideFrom struct {
	Tooltip types.Bool `tfsdk:"tooltip"`
	Legend  types.Bool `tfsdk:"legend"`
	Viz     types.Bool `tfsdk:"viz"`
}

func (PanelTrendDataSourceModel_FieldConfig_Defaults_Custom_HideFrom) ApplyDefaults

func (PanelTrendDataSourceModel_FieldConfig_Defaults_Custom_HideFrom) MarshalJSON

type PanelTrendDataSourceModel_FieldConfig_Defaults_Custom_LineStyle

type PanelTrendDataSourceModel_FieldConfig_Defaults_Custom_LineStyle struct {
	Fill types.String `tfsdk:"fill"`
	Dash types.List   `tfsdk:"dash"`
}

func (PanelTrendDataSourceModel_FieldConfig_Defaults_Custom_LineStyle) ApplyDefaults

func (PanelTrendDataSourceModel_FieldConfig_Defaults_Custom_LineStyle) MarshalJSON

type PanelTrendDataSourceModel_FieldConfig_Defaults_Custom_ScaleDistribution

type PanelTrendDataSourceModel_FieldConfig_Defaults_Custom_ScaleDistribution struct {
	Type            types.String  `tfsdk:"type"`
	Log             types.Float64 `tfsdk:"log"`
	LinearThreshold types.Float64 `tfsdk:"linear_threshold"`
}

func (PanelTrendDataSourceModel_FieldConfig_Defaults_Custom_ScaleDistribution) ApplyDefaults

func (PanelTrendDataSourceModel_FieldConfig_Defaults_Custom_ScaleDistribution) MarshalJSON

type PanelTrendDataSourceModel_FieldConfig_Defaults_Custom_Stacking

type PanelTrendDataSourceModel_FieldConfig_Defaults_Custom_Stacking struct {
	Mode  types.String `tfsdk:"mode"`
	Group types.String `tfsdk:"group"`
}

func (PanelTrendDataSourceModel_FieldConfig_Defaults_Custom_Stacking) ApplyDefaults

func (PanelTrendDataSourceModel_FieldConfig_Defaults_Custom_Stacking) MarshalJSON

type PanelTrendDataSourceModel_FieldConfig_Defaults_Custom_ThresholdsStyle

type PanelTrendDataSourceModel_FieldConfig_Defaults_Custom_ThresholdsStyle struct {
	Mode types.String `tfsdk:"mode"`
}

func (PanelTrendDataSourceModel_FieldConfig_Defaults_Custom_ThresholdsStyle) ApplyDefaults

func (PanelTrendDataSourceModel_FieldConfig_Defaults_Custom_ThresholdsStyle) MarshalJSON

type PanelTrendDataSourceModel_FieldConfig_Defaults_Mappings

type PanelTrendDataSourceModel_FieldConfig_Defaults_Mappings struct {
	ValueMap        *PanelTrendDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap        `tfsdk:"value_map"`
	RangeMap        *PanelTrendDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap        `tfsdk:"range_map"`
	RegexMap        *PanelTrendDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap        `tfsdk:"regex_map"`
	SpecialValueMap *PanelTrendDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap `tfsdk:"special_value_map"`
}

func (PanelTrendDataSourceModel_FieldConfig_Defaults_Mappings) ApplyDefaults

func (PanelTrendDataSourceModel_FieldConfig_Defaults_Mappings) MarshalJSON

type PanelTrendDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap

type PanelTrendDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap struct {
	Type    types.String                                                              `tfsdk:"type"`
	Options *PanelTrendDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options `tfsdk:"options"`
}

func (PanelTrendDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap) ApplyDefaults

func (PanelTrendDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap) MarshalJSON

type PanelTrendDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options

type PanelTrendDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options struct {
	From   types.String                                                                     `tfsdk:"from"`
	To     types.String                                                                     `tfsdk:"to"`
	Result *PanelTrendDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options_Result `tfsdk:"result"`
}

func (PanelTrendDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options) ApplyDefaults

func (PanelTrendDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options) GetAttrFrom added in v0.2.0

func (PanelTrendDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options) GetAttrTo added in v0.2.0

func (PanelTrendDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options) MarshalJSON

type PanelTrendDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options_Result

type PanelTrendDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options_Result struct {
	Text  types.String `tfsdk:"text"`
	Color types.String `tfsdk:"color"`
	Icon  types.String `tfsdk:"icon"`
	Index types.Int64  `tfsdk:"index"`
}

func (PanelTrendDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options_Result) ApplyDefaults

func (PanelTrendDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options_Result) MarshalJSON

type PanelTrendDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap

type PanelTrendDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap struct {
	Type    types.String                                                              `tfsdk:"type"`
	Options *PanelTrendDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options `tfsdk:"options"`
}

func (PanelTrendDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap) ApplyDefaults

func (PanelTrendDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap) MarshalJSON

type PanelTrendDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options

type PanelTrendDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options struct {
	Pattern types.String                                                                     `tfsdk:"pattern"`
	Result  *PanelTrendDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options_Result `tfsdk:"result"`
}

func (PanelTrendDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options) ApplyDefaults

func (PanelTrendDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options) MarshalJSON

type PanelTrendDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options_Result

type PanelTrendDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options_Result struct {
	Text  types.String `tfsdk:"text"`
	Color types.String `tfsdk:"color"`
	Icon  types.String `tfsdk:"icon"`
	Index types.Int64  `tfsdk:"index"`
}

func (PanelTrendDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options_Result) ApplyDefaults

func (PanelTrendDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options_Result) MarshalJSON

type PanelTrendDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap

type PanelTrendDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap struct {
	Type    types.String                                                                     `tfsdk:"type"`
	Options *PanelTrendDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options `tfsdk:"options"`
}

func (PanelTrendDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap) ApplyDefaults

func (PanelTrendDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap) MarshalJSON

type PanelTrendDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options

type PanelTrendDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options struct {
	Match  types.String                                                                            `tfsdk:"match"`
	Result *PanelTrendDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options_Result `tfsdk:"result"`
}

func (PanelTrendDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options) ApplyDefaults

func (PanelTrendDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options) MarshalJSON

type PanelTrendDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options_Result

type PanelTrendDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options_Result struct {
	Text  types.String `tfsdk:"text"`
	Color types.String `tfsdk:"color"`
	Icon  types.String `tfsdk:"icon"`
	Index types.Int64  `tfsdk:"index"`
}

func (PanelTrendDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options_Result) MarshalJSON

type PanelTrendDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap

type PanelTrendDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap struct {
	Type    types.String                                                                         `tfsdk:"type"`
	Options *map[string]PanelTrendDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap_Options `tfsdk:"options"`
}

func (PanelTrendDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap) ApplyDefaults

func (PanelTrendDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap) MarshalJSON

type PanelTrendDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap_Options

type PanelTrendDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap_Options struct {
	Text  types.String `tfsdk:"text"`
	Color types.String `tfsdk:"color"`
	Icon  types.String `tfsdk:"icon"`
	Index types.Int64  `tfsdk:"index"`
}

func (PanelTrendDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap_Options) ApplyDefaults

func (PanelTrendDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap_Options) MarshalJSON

type PanelTrendDataSourceModel_FieldConfig_Defaults_Thresholds

type PanelTrendDataSourceModel_FieldConfig_Defaults_Thresholds struct {
	Mode  types.String                                                      `tfsdk:"mode"`
	Steps []PanelTrendDataSourceModel_FieldConfig_Defaults_Thresholds_Steps `tfsdk:"steps"`
}

func (PanelTrendDataSourceModel_FieldConfig_Defaults_Thresholds) ApplyDefaults

func (PanelTrendDataSourceModel_FieldConfig_Defaults_Thresholds) MarshalJSON

type PanelTrendDataSourceModel_FieldConfig_Defaults_Thresholds_Steps

type PanelTrendDataSourceModel_FieldConfig_Defaults_Thresholds_Steps struct {
	Value types.String `tfsdk:"value"`
	Color types.String `tfsdk:"color"`
}

func (PanelTrendDataSourceModel_FieldConfig_Defaults_Thresholds_Steps) ApplyDefaults

func (PanelTrendDataSourceModel_FieldConfig_Defaults_Thresholds_Steps) GetAttrValue added in v0.2.0

func (PanelTrendDataSourceModel_FieldConfig_Defaults_Thresholds_Steps) MarshalJSON

type PanelTrendDataSourceModel_FieldConfig_Overrides

type PanelTrendDataSourceModel_FieldConfig_Overrides struct {
	Matcher    *PanelTrendDataSourceModel_FieldConfig_Overrides_Matcher     `tfsdk:"matcher"`
	Properties []PanelTrendDataSourceModel_FieldConfig_Overrides_Properties `tfsdk:"properties"`
}

func (PanelTrendDataSourceModel_FieldConfig_Overrides) ApplyDefaults

func (PanelTrendDataSourceModel_FieldConfig_Overrides) MarshalJSON

type PanelTrendDataSourceModel_FieldConfig_Overrides_Matcher

type PanelTrendDataSourceModel_FieldConfig_Overrides_Matcher struct {
}

func (PanelTrendDataSourceModel_FieldConfig_Overrides_Matcher) ApplyDefaults

func (PanelTrendDataSourceModel_FieldConfig_Overrides_Matcher) MarshalJSON

type PanelTrendDataSourceModel_FieldConfig_Overrides_Properties

type PanelTrendDataSourceModel_FieldConfig_Overrides_Properties struct {
}

func (PanelTrendDataSourceModel_FieldConfig_Overrides_Properties) ApplyDefaults

func (PanelTrendDataSourceModel_FieldConfig_Overrides_Properties) MarshalJSON

type PanelTrendDataSourceModel_GridPos

type PanelTrendDataSourceModel_GridPos struct {
	H      types.Int64 `tfsdk:"h"`
	W      types.Int64 `tfsdk:"w"`
	X      types.Int64 `tfsdk:"x"`
	Y      types.Int64 `tfsdk:"y"`
	Static types.Bool  `tfsdk:"static"`
}

func (PanelTrendDataSourceModel_GridPos) ApplyDefaults

func (PanelTrendDataSourceModel_GridPos) MarshalJSON

func (m PanelTrendDataSourceModel_GridPos) MarshalJSON() ([]byte, error)

type PanelTrendDataSourceModel_LibraryPanel

type PanelTrendDataSourceModel_LibraryPanel struct {
	Name types.String `tfsdk:"name"`
	Uid  types.String `tfsdk:"uid"`
}

func (PanelTrendDataSourceModel_LibraryPanel) ApplyDefaults

func (PanelTrendDataSourceModel_LibraryPanel) MarshalJSON

func (m PanelTrendDataSourceModel_LibraryPanel) MarshalJSON() ([]byte, error)
type PanelTrendDataSourceModel_Links struct {
	Title       types.String `tfsdk:"title"`
	Type        types.String `tfsdk:"type"`
	Icon        types.String `tfsdk:"icon"`
	Tooltip     types.String `tfsdk:"tooltip"`
	Url         types.String `tfsdk:"url"`
	Tags        types.List   `tfsdk:"tags"`
	AsDropdown  types.Bool   `tfsdk:"as_dropdown"`
	TargetBlank types.Bool   `tfsdk:"target_blank"`
	IncludeVars types.Bool   `tfsdk:"include_vars"`
	KeepTime    types.Bool   `tfsdk:"keep_time"`
}

func (PanelTrendDataSourceModel_Links) ApplyDefaults

func (PanelTrendDataSourceModel_Links) MarshalJSON

func (m PanelTrendDataSourceModel_Links) MarshalJSON() ([]byte, error)

type PanelTrendDataSourceModel_Options

type PanelTrendDataSourceModel_Options struct {
	Legend  *PanelTrendDataSourceModel_Options_Legend  `tfsdk:"legend"`
	Tooltip *PanelTrendDataSourceModel_Options_Tooltip `tfsdk:"tooltip"`
	XField  types.String                               `tfsdk:"x_field"`
}

func (PanelTrendDataSourceModel_Options) ApplyDefaults

func (PanelTrendDataSourceModel_Options) MarshalJSON

func (m PanelTrendDataSourceModel_Options) MarshalJSON() ([]byte, error)

type PanelTrendDataSourceModel_Options_Legend

type PanelTrendDataSourceModel_Options_Legend struct {
	DisplayMode types.String  `tfsdk:"display_mode"`
	Placement   types.String  `tfsdk:"placement"`
	ShowLegend  types.Bool    `tfsdk:"show_legend"`
	AsTable     types.Bool    `tfsdk:"as_table"`
	IsVisible   types.Bool    `tfsdk:"is_visible"`
	SortBy      types.String  `tfsdk:"sort_by"`
	SortDesc    types.Bool    `tfsdk:"sort_desc"`
	Width       types.Float64 `tfsdk:"width"`
	Calcs       types.List    `tfsdk:"calcs"`
}

func (PanelTrendDataSourceModel_Options_Legend) ApplyDefaults

func (PanelTrendDataSourceModel_Options_Legend) MarshalJSON

type PanelTrendDataSourceModel_Options_Tooltip

type PanelTrendDataSourceModel_Options_Tooltip struct {
	Mode types.String `tfsdk:"mode"`
	Sort types.String `tfsdk:"sort"`
}

func (PanelTrendDataSourceModel_Options_Tooltip) ApplyDefaults

func (PanelTrendDataSourceModel_Options_Tooltip) MarshalJSON

type PanelTrendDataSourceModel_Transformations

type PanelTrendDataSourceModel_Transformations struct {
	Disabled types.Bool                                        `tfsdk:"disabled"`
	Filter   *PanelTrendDataSourceModel_Transformations_Filter `tfsdk:"filter"`
}

func (PanelTrendDataSourceModel_Transformations) ApplyDefaults

func (PanelTrendDataSourceModel_Transformations) MarshalJSON

type PanelTrendDataSourceModel_Transformations_Filter

type PanelTrendDataSourceModel_Transformations_Filter struct {
}

func (PanelTrendDataSourceModel_Transformations_Filter) ApplyDefaults

func (PanelTrendDataSourceModel_Transformations_Filter) MarshalJSON

type PanelXYChartDataSource

type PanelXYChartDataSource struct{}

PanelXYChartDataSource defines the data source implementation.

func (*PanelXYChartDataSource) Configure

func (*PanelXYChartDataSource) Metadata

func (*PanelXYChartDataSource) Read

func (*PanelXYChartDataSource) Schema

type PanelXYChartDataSourceModel

type PanelXYChartDataSourceModel struct {
	RenderedJSON    types.String                                  `tfsdk:"rendered_json"`
	Type            types.String                                  `tfsdk:"type"`
	PluginVersion   types.String                                  `tfsdk:"plugin_version"`
	Tags            types.List                                    `tfsdk:"tags"`
	Targets         types.List                                    `tfsdk:"targets"`
	Title           types.String                                  `tfsdk:"title"`
	Description     types.String                                  `tfsdk:"description"`
	Transparent     types.Bool                                    `tfsdk:"transparent"`
	Datasource      *PanelXYChartDataSourceModel_Datasource       `tfsdk:"datasource"`
	GridPos         *PanelXYChartDataSourceModel_GridPos          `tfsdk:"grid_pos"`
	Links           []PanelXYChartDataSourceModel_Links           `tfsdk:"links"`
	Repeat          types.String                                  `tfsdk:"repeat"`
	RepeatDirection types.String                                  `tfsdk:"repeat_direction"`
	RepeatPanelId   types.Int64                                   `tfsdk:"repeat_panel_id"`
	MaxDataPoints   types.Float64                                 `tfsdk:"max_data_points"`
	Transformations []PanelXYChartDataSourceModel_Transformations `tfsdk:"transformations"`
	Interval        types.String                                  `tfsdk:"interval"`
	TimeFrom        types.String                                  `tfsdk:"time_from"`
	TimeShift       types.String                                  `tfsdk:"time_shift"`
	LibraryPanel    *PanelXYChartDataSourceModel_LibraryPanel     `tfsdk:"library_panel"`
	Options         *PanelXYChartDataSourceModel_Options          `tfsdk:"options"`
	FieldConfig     *PanelXYChartDataSourceModel_FieldConfig      `tfsdk:"field_config"`
}

func (PanelXYChartDataSourceModel) ApplyDefaults

func (PanelXYChartDataSourceModel) MarshalJSON

func (m PanelXYChartDataSourceModel) MarshalJSON() ([]byte, error)

type PanelXYChartDataSourceModel_Datasource

type PanelXYChartDataSourceModel_Datasource struct {
	Type types.String `tfsdk:"type"`
	Uid  types.String `tfsdk:"uid"`
}

func (PanelXYChartDataSourceModel_Datasource) ApplyDefaults

func (PanelXYChartDataSourceModel_Datasource) MarshalJSON

func (m PanelXYChartDataSourceModel_Datasource) MarshalJSON() ([]byte, error)

type PanelXYChartDataSourceModel_FieldConfig

type PanelXYChartDataSourceModel_FieldConfig struct {
	Defaults  *PanelXYChartDataSourceModel_FieldConfig_Defaults   `tfsdk:"defaults"`
	Overrides []PanelXYChartDataSourceModel_FieldConfig_Overrides `tfsdk:"overrides"`
}

func (PanelXYChartDataSourceModel_FieldConfig) ApplyDefaults

func (PanelXYChartDataSourceModel_FieldConfig) MarshalJSON

func (m PanelXYChartDataSourceModel_FieldConfig) MarshalJSON() ([]byte, error)

type PanelXYChartDataSourceModel_FieldConfig_Defaults

type PanelXYChartDataSourceModel_FieldConfig_Defaults struct {
	DisplayName       types.String                                                 `tfsdk:"display_name"`
	DisplayNameFromDS types.String                                                 `tfsdk:"display_name_from_ds"`
	Description       types.String                                                 `tfsdk:"description"`
	Path              types.String                                                 `tfsdk:"path"`
	Writeable         types.Bool                                                   `tfsdk:"writeable"`
	Filterable        types.Bool                                                   `tfsdk:"filterable"`
	Unit              types.String                                                 `tfsdk:"unit"`
	Decimals          types.Float64                                                `tfsdk:"decimals"`
	Min               types.Float64                                                `tfsdk:"min"`
	Max               types.Float64                                                `tfsdk:"max"`
	Mappings          []PanelXYChartDataSourceModel_FieldConfig_Defaults_Mappings  `tfsdk:"mappings"`
	Thresholds        *PanelXYChartDataSourceModel_FieldConfig_Defaults_Thresholds `tfsdk:"thresholds"`
	Color             *PanelXYChartDataSourceModel_FieldConfig_Defaults_Color      `tfsdk:"color"`
	NoValue           types.String                                                 `tfsdk:"no_value"`
	Custom            *PanelXYChartDataSourceModel_FieldConfig_Defaults_Custom     `tfsdk:"custom"`
}

func (PanelXYChartDataSourceModel_FieldConfig_Defaults) ApplyDefaults

func (PanelXYChartDataSourceModel_FieldConfig_Defaults) MarshalJSON

type PanelXYChartDataSourceModel_FieldConfig_Defaults_Color

type PanelXYChartDataSourceModel_FieldConfig_Defaults_Color struct {
	Mode       types.String `tfsdk:"mode"`
	FixedColor types.String `tfsdk:"fixed_color"`
	SeriesBy   types.String `tfsdk:"series_by"`
}

func (PanelXYChartDataSourceModel_FieldConfig_Defaults_Color) ApplyDefaults

func (PanelXYChartDataSourceModel_FieldConfig_Defaults_Color) MarshalJSON

type PanelXYChartDataSourceModel_FieldConfig_Defaults_Custom

type PanelXYChartDataSourceModel_FieldConfig_Defaults_Custom struct {
	DrawStyle         types.String                                                               `tfsdk:"draw_style"`
	GradientMode      types.String                                                               `tfsdk:"gradient_mode"`
	ThresholdsStyle   *PanelXYChartDataSourceModel_FieldConfig_Defaults_Custom_ThresholdsStyle   `tfsdk:"thresholds_style"`
	LineColor         types.String                                                               `tfsdk:"line_color"`
	LineWidth         types.Float64                                                              `tfsdk:"line_width"`
	LineInterpolation types.String                                                               `tfsdk:"line_interpolation"`
	LineStyle         *PanelXYChartDataSourceModel_FieldConfig_Defaults_Custom_LineStyle         `tfsdk:"line_style"`
	FillColor         types.String                                                               `tfsdk:"fill_color"`
	FillOpacity       types.Float64                                                              `tfsdk:"fill_opacity"`
	ShowPoints        types.String                                                               `tfsdk:"show_points"`
	PointSize         types.Float64                                                              `tfsdk:"point_size"`
	PointColor        types.String                                                               `tfsdk:"point_color"`
	AxisPlacement     types.String                                                               `tfsdk:"axis_placement"`
	AxisColorMode     types.String                                                               `tfsdk:"axis_color_mode"`
	AxisLabel         types.String                                                               `tfsdk:"axis_label"`
	AxisWidth         types.Float64                                                              `tfsdk:"axis_width"`
	AxisSoftMin       types.Float64                                                              `tfsdk:"axis_soft_min"`
	AxisSoftMax       types.Float64                                                              `tfsdk:"axis_soft_max"`
	AxisGridShow      types.Bool                                                                 `tfsdk:"axis_grid_show"`
	ScaleDistribution *PanelXYChartDataSourceModel_FieldConfig_Defaults_Custom_ScaleDistribution `tfsdk:"scale_distribution"`
	BarAlignment      types.Int64                                                                `tfsdk:"bar_alignment"`
	BarWidthFactor    types.Float64                                                              `tfsdk:"bar_width_factor"`
	Stacking          *PanelXYChartDataSourceModel_FieldConfig_Defaults_Custom_Stacking          `tfsdk:"stacking"`
	HideFrom          *PanelXYChartDataSourceModel_FieldConfig_Defaults_Custom_HideFrom          `tfsdk:"hide_from"`
	Transform         types.String                                                               `tfsdk:"transform"`
	SpanNulls         types.String                                                               `tfsdk:"span_nulls"`
	FillBelowTo       types.String                                                               `tfsdk:"fill_below_to"`
	PointSymbol       types.String                                                               `tfsdk:"point_symbol"`
	AxisCenteredZero  types.Bool                                                                 `tfsdk:"axis_centered_zero"`
	BarMaxWidth       types.Float64                                                              `tfsdk:"bar_max_width"`
}

func (PanelXYChartDataSourceModel_FieldConfig_Defaults_Custom) ApplyDefaults

func (PanelXYChartDataSourceModel_FieldConfig_Defaults_Custom) GetAttrSpanNulls

func (m PanelXYChartDataSourceModel_FieldConfig_Defaults_Custom) GetAttrSpanNulls() interface{}

func (PanelXYChartDataSourceModel_FieldConfig_Defaults_Custom) MarshalJSON

type PanelXYChartDataSourceModel_FieldConfig_Defaults_Custom_HideFrom

type PanelXYChartDataSourceModel_FieldConfig_Defaults_Custom_HideFrom struct {
	Tooltip types.Bool `tfsdk:"tooltip"`
	Legend  types.Bool `tfsdk:"legend"`
	Viz     types.Bool `tfsdk:"viz"`
}

func (PanelXYChartDataSourceModel_FieldConfig_Defaults_Custom_HideFrom) ApplyDefaults

func (PanelXYChartDataSourceModel_FieldConfig_Defaults_Custom_HideFrom) MarshalJSON

type PanelXYChartDataSourceModel_FieldConfig_Defaults_Custom_LineStyle

type PanelXYChartDataSourceModel_FieldConfig_Defaults_Custom_LineStyle struct {
	Fill types.String `tfsdk:"fill"`
	Dash types.List   `tfsdk:"dash"`
}

func (PanelXYChartDataSourceModel_FieldConfig_Defaults_Custom_LineStyle) ApplyDefaults

func (PanelXYChartDataSourceModel_FieldConfig_Defaults_Custom_LineStyle) MarshalJSON

type PanelXYChartDataSourceModel_FieldConfig_Defaults_Custom_ScaleDistribution

type PanelXYChartDataSourceModel_FieldConfig_Defaults_Custom_ScaleDistribution struct {
	Type            types.String  `tfsdk:"type"`
	Log             types.Float64 `tfsdk:"log"`
	LinearThreshold types.Float64 `tfsdk:"linear_threshold"`
}

func (PanelXYChartDataSourceModel_FieldConfig_Defaults_Custom_ScaleDistribution) ApplyDefaults

func (PanelXYChartDataSourceModel_FieldConfig_Defaults_Custom_ScaleDistribution) MarshalJSON

type PanelXYChartDataSourceModel_FieldConfig_Defaults_Custom_Stacking

type PanelXYChartDataSourceModel_FieldConfig_Defaults_Custom_Stacking struct {
	Mode  types.String `tfsdk:"mode"`
	Group types.String `tfsdk:"group"`
}

func (PanelXYChartDataSourceModel_FieldConfig_Defaults_Custom_Stacking) ApplyDefaults

func (PanelXYChartDataSourceModel_FieldConfig_Defaults_Custom_Stacking) MarshalJSON

type PanelXYChartDataSourceModel_FieldConfig_Defaults_Custom_ThresholdsStyle

type PanelXYChartDataSourceModel_FieldConfig_Defaults_Custom_ThresholdsStyle struct {
	Mode types.String `tfsdk:"mode"`
}

func (PanelXYChartDataSourceModel_FieldConfig_Defaults_Custom_ThresholdsStyle) ApplyDefaults

func (PanelXYChartDataSourceModel_FieldConfig_Defaults_Custom_ThresholdsStyle) MarshalJSON

type PanelXYChartDataSourceModel_FieldConfig_Defaults_Mappings

type PanelXYChartDataSourceModel_FieldConfig_Defaults_Mappings struct {
	ValueMap        *PanelXYChartDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap        `tfsdk:"value_map"`
	RangeMap        *PanelXYChartDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap        `tfsdk:"range_map"`
	RegexMap        *PanelXYChartDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap        `tfsdk:"regex_map"`
	SpecialValueMap *PanelXYChartDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap `tfsdk:"special_value_map"`
}

func (PanelXYChartDataSourceModel_FieldConfig_Defaults_Mappings) ApplyDefaults

func (PanelXYChartDataSourceModel_FieldConfig_Defaults_Mappings) MarshalJSON

type PanelXYChartDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap

type PanelXYChartDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap struct {
	Type    types.String                                                                `tfsdk:"type"`
	Options *PanelXYChartDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options `tfsdk:"options"`
}

func (PanelXYChartDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap) ApplyDefaults

func (PanelXYChartDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap) MarshalJSON

type PanelXYChartDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options

type PanelXYChartDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options struct {
	From   types.String                                                                       `tfsdk:"from"`
	To     types.String                                                                       `tfsdk:"to"`
	Result *PanelXYChartDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options_Result `tfsdk:"result"`
}

func (PanelXYChartDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options) ApplyDefaults

func (PanelXYChartDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options) GetAttrFrom added in v0.2.0

func (PanelXYChartDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options) GetAttrTo added in v0.2.0

func (PanelXYChartDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options) MarshalJSON

type PanelXYChartDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options_Result

type PanelXYChartDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options_Result struct {
	Text  types.String `tfsdk:"text"`
	Color types.String `tfsdk:"color"`
	Icon  types.String `tfsdk:"icon"`
	Index types.Int64  `tfsdk:"index"`
}

func (PanelXYChartDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options_Result) ApplyDefaults

func (PanelXYChartDataSourceModel_FieldConfig_Defaults_Mappings_RangeMap_Options_Result) MarshalJSON

type PanelXYChartDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap

type PanelXYChartDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap struct {
	Type    types.String                                                                `tfsdk:"type"`
	Options *PanelXYChartDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options `tfsdk:"options"`
}

func (PanelXYChartDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap) ApplyDefaults

func (PanelXYChartDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap) MarshalJSON

type PanelXYChartDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options

type PanelXYChartDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options struct {
	Pattern types.String                                                                       `tfsdk:"pattern"`
	Result  *PanelXYChartDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options_Result `tfsdk:"result"`
}

func (PanelXYChartDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options) ApplyDefaults

func (PanelXYChartDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options) MarshalJSON

type PanelXYChartDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options_Result

type PanelXYChartDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options_Result struct {
	Text  types.String `tfsdk:"text"`
	Color types.String `tfsdk:"color"`
	Icon  types.String `tfsdk:"icon"`
	Index types.Int64  `tfsdk:"index"`
}

func (PanelXYChartDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options_Result) ApplyDefaults

func (PanelXYChartDataSourceModel_FieldConfig_Defaults_Mappings_RegexMap_Options_Result) MarshalJSON

type PanelXYChartDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap

type PanelXYChartDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap struct {
	Type    types.String                                                                       `tfsdk:"type"`
	Options *PanelXYChartDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options `tfsdk:"options"`
}

func (PanelXYChartDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap) ApplyDefaults

func (PanelXYChartDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap) MarshalJSON

type PanelXYChartDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options

type PanelXYChartDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options struct {
	Match  types.String                                                                              `tfsdk:"match"`
	Result *PanelXYChartDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options_Result `tfsdk:"result"`
}

func (PanelXYChartDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options) ApplyDefaults

func (PanelXYChartDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options) MarshalJSON

type PanelXYChartDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options_Result

type PanelXYChartDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options_Result struct {
	Text  types.String `tfsdk:"text"`
	Color types.String `tfsdk:"color"`
	Icon  types.String `tfsdk:"icon"`
	Index types.Int64  `tfsdk:"index"`
}

func (PanelXYChartDataSourceModel_FieldConfig_Defaults_Mappings_SpecialValueMap_Options_Result) MarshalJSON

type PanelXYChartDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap

type PanelXYChartDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap struct {
	Type    types.String                                                                           `tfsdk:"type"`
	Options *map[string]PanelXYChartDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap_Options `tfsdk:"options"`
}

func (PanelXYChartDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap) ApplyDefaults

func (PanelXYChartDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap) MarshalJSON

type PanelXYChartDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap_Options

type PanelXYChartDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap_Options struct {
	Text  types.String `tfsdk:"text"`
	Color types.String `tfsdk:"color"`
	Icon  types.String `tfsdk:"icon"`
	Index types.Int64  `tfsdk:"index"`
}

func (PanelXYChartDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap_Options) ApplyDefaults

func (PanelXYChartDataSourceModel_FieldConfig_Defaults_Mappings_ValueMap_Options) MarshalJSON

type PanelXYChartDataSourceModel_FieldConfig_Defaults_Thresholds

type PanelXYChartDataSourceModel_FieldConfig_Defaults_Thresholds struct {
	Mode  types.String                                                        `tfsdk:"mode"`
	Steps []PanelXYChartDataSourceModel_FieldConfig_Defaults_Thresholds_Steps `tfsdk:"steps"`
}

func (PanelXYChartDataSourceModel_FieldConfig_Defaults_Thresholds) ApplyDefaults

func (PanelXYChartDataSourceModel_FieldConfig_Defaults_Thresholds) MarshalJSON

type PanelXYChartDataSourceModel_FieldConfig_Defaults_Thresholds_Steps

type PanelXYChartDataSourceModel_FieldConfig_Defaults_Thresholds_Steps struct {
	Value types.String `tfsdk:"value"`
	Color types.String `tfsdk:"color"`
}

func (PanelXYChartDataSourceModel_FieldConfig_Defaults_Thresholds_Steps) ApplyDefaults

func (PanelXYChartDataSourceModel_FieldConfig_Defaults_Thresholds_Steps) GetAttrValue added in v0.2.0

func (PanelXYChartDataSourceModel_FieldConfig_Defaults_Thresholds_Steps) MarshalJSON

type PanelXYChartDataSourceModel_FieldConfig_Overrides

type PanelXYChartDataSourceModel_FieldConfig_Overrides struct {
	Matcher    *PanelXYChartDataSourceModel_FieldConfig_Overrides_Matcher     `tfsdk:"matcher"`
	Properties []PanelXYChartDataSourceModel_FieldConfig_Overrides_Properties `tfsdk:"properties"`
}

func (PanelXYChartDataSourceModel_FieldConfig_Overrides) ApplyDefaults

func (PanelXYChartDataSourceModel_FieldConfig_Overrides) MarshalJSON

type PanelXYChartDataSourceModel_FieldConfig_Overrides_Matcher

type PanelXYChartDataSourceModel_FieldConfig_Overrides_Matcher struct {
}

func (PanelXYChartDataSourceModel_FieldConfig_Overrides_Matcher) ApplyDefaults

func (PanelXYChartDataSourceModel_FieldConfig_Overrides_Matcher) MarshalJSON

type PanelXYChartDataSourceModel_FieldConfig_Overrides_Properties

type PanelXYChartDataSourceModel_FieldConfig_Overrides_Properties struct {
}

func (PanelXYChartDataSourceModel_FieldConfig_Overrides_Properties) ApplyDefaults

func (PanelXYChartDataSourceModel_FieldConfig_Overrides_Properties) MarshalJSON

type PanelXYChartDataSourceModel_GridPos

type PanelXYChartDataSourceModel_GridPos struct {
	H      types.Int64 `tfsdk:"h"`
	W      types.Int64 `tfsdk:"w"`
	X      types.Int64 `tfsdk:"x"`
	Y      types.Int64 `tfsdk:"y"`
	Static types.Bool  `tfsdk:"static"`
}

func (PanelXYChartDataSourceModel_GridPos) ApplyDefaults

func (PanelXYChartDataSourceModel_GridPos) MarshalJSON

func (m PanelXYChartDataSourceModel_GridPos) MarshalJSON() ([]byte, error)

type PanelXYChartDataSourceModel_LibraryPanel

type PanelXYChartDataSourceModel_LibraryPanel struct {
	Name types.String `tfsdk:"name"`
	Uid  types.String `tfsdk:"uid"`
}

func (PanelXYChartDataSourceModel_LibraryPanel) ApplyDefaults

func (PanelXYChartDataSourceModel_LibraryPanel) MarshalJSON

type PanelXYChartDataSourceModel_Links struct {
	Title       types.String `tfsdk:"title"`
	Type        types.String `tfsdk:"type"`
	Icon        types.String `tfsdk:"icon"`
	Tooltip     types.String `tfsdk:"tooltip"`
	Url         types.String `tfsdk:"url"`
	Tags        types.List   `tfsdk:"tags"`
	AsDropdown  types.Bool   `tfsdk:"as_dropdown"`
	TargetBlank types.Bool   `tfsdk:"target_blank"`
	IncludeVars types.Bool   `tfsdk:"include_vars"`
	KeepTime    types.Bool   `tfsdk:"keep_time"`
}

func (PanelXYChartDataSourceModel_Links) ApplyDefaults

func (PanelXYChartDataSourceModel_Links) MarshalJSON

func (m PanelXYChartDataSourceModel_Links) MarshalJSON() ([]byte, error)

type PanelXYChartDataSourceModel_Options

type PanelXYChartDataSourceModel_Options struct {
	SeriesMapping types.String                                 `tfsdk:"series_mapping"`
	Dims          *PanelXYChartDataSourceModel_Options_Dims    `tfsdk:"dims"`
	Legend        *PanelXYChartDataSourceModel_Options_Legend  `tfsdk:"legend"`
	Tooltip       *PanelXYChartDataSourceModel_Options_Tooltip `tfsdk:"tooltip"`
	Series        []PanelXYChartDataSourceModel_Options_Series `tfsdk:"series"`
}

func (PanelXYChartDataSourceModel_Options) ApplyDefaults

func (PanelXYChartDataSourceModel_Options) MarshalJSON

func (m PanelXYChartDataSourceModel_Options) MarshalJSON() ([]byte, error)

type PanelXYChartDataSourceModel_Options_Dims

type PanelXYChartDataSourceModel_Options_Dims struct {
	Frame   types.Int64  `tfsdk:"frame"`
	X       types.String `tfsdk:"x"`
	Exclude types.List   `tfsdk:"exclude"`
}

func (PanelXYChartDataSourceModel_Options_Dims) ApplyDefaults

func (PanelXYChartDataSourceModel_Options_Dims) MarshalJSON

type PanelXYChartDataSourceModel_Options_Legend

type PanelXYChartDataSourceModel_Options_Legend struct {
	DisplayMode types.String  `tfsdk:"display_mode"`
	Placement   types.String  `tfsdk:"placement"`
	ShowLegend  types.Bool    `tfsdk:"show_legend"`
	AsTable     types.Bool    `tfsdk:"as_table"`
	IsVisible   types.Bool    `tfsdk:"is_visible"`
	SortBy      types.String  `tfsdk:"sort_by"`
	SortDesc    types.Bool    `tfsdk:"sort_desc"`
	Width       types.Float64 `tfsdk:"width"`
	Calcs       types.List    `tfsdk:"calcs"`
}

func (PanelXYChartDataSourceModel_Options_Legend) ApplyDefaults

func (PanelXYChartDataSourceModel_Options_Legend) MarshalJSON

type PanelXYChartDataSourceModel_Options_Series

type PanelXYChartDataSourceModel_Options_Series struct {
	X                 types.String                                                  `tfsdk:"x"`
	Y                 types.String                                                  `tfsdk:"y"`
	Show              types.String                                                  `tfsdk:"show"`
	PointSize         *PanelXYChartDataSourceModel_Options_Series_PointSize         `tfsdk:"point_size"`
	LineColor         *PanelXYChartDataSourceModel_Options_Series_LineColor         `tfsdk:"line_color"`
	PointColor        *PanelXYChartDataSourceModel_Options_Series_PointColor        `tfsdk:"point_color"`
	LabelValue        *PanelXYChartDataSourceModel_Options_Series_LabelValue        `tfsdk:"label_value"`
	LineWidth         types.Int64                                                   `tfsdk:"line_width"`
	LineStyle         *PanelXYChartDataSourceModel_Options_Series_LineStyle         `tfsdk:"line_style"`
	HideFrom          *PanelXYChartDataSourceModel_Options_Series_HideFrom          `tfsdk:"hide_from"`
	AxisPlacement     types.String                                                  `tfsdk:"axis_placement"`
	AxisColorMode     types.String                                                  `tfsdk:"axis_color_mode"`
	AxisLabel         types.String                                                  `tfsdk:"axis_label"`
	AxisWidth         types.Float64                                                 `tfsdk:"axis_width"`
	AxisSoftMin       types.Float64                                                 `tfsdk:"axis_soft_min"`
	AxisSoftMax       types.Float64                                                 `tfsdk:"axis_soft_max"`
	AxisGridShow      types.Bool                                                    `tfsdk:"axis_grid_show"`
	ScaleDistribution *PanelXYChartDataSourceModel_Options_Series_ScaleDistribution `tfsdk:"scale_distribution"`
	Name              types.String                                                  `tfsdk:"name"`
	Label             types.String                                                  `tfsdk:"label"`
	AxisCenteredZero  types.Bool                                                    `tfsdk:"axis_centered_zero"`
}

func (PanelXYChartDataSourceModel_Options_Series) ApplyDefaults

func (PanelXYChartDataSourceModel_Options_Series) MarshalJSON

type PanelXYChartDataSourceModel_Options_Series_HideFrom

type PanelXYChartDataSourceModel_Options_Series_HideFrom struct {
	Tooltip types.Bool `tfsdk:"tooltip"`
	Legend  types.Bool `tfsdk:"legend"`
	Viz     types.Bool `tfsdk:"viz"`
}

func (PanelXYChartDataSourceModel_Options_Series_HideFrom) ApplyDefaults

func (PanelXYChartDataSourceModel_Options_Series_HideFrom) MarshalJSON

type PanelXYChartDataSourceModel_Options_Series_LabelValue

type PanelXYChartDataSourceModel_Options_Series_LabelValue struct {
	Mode  types.String `tfsdk:"mode"`
	Field types.String `tfsdk:"field"`
	Fixed types.String `tfsdk:"fixed"`
}

func (PanelXYChartDataSourceModel_Options_Series_LabelValue) ApplyDefaults

func (PanelXYChartDataSourceModel_Options_Series_LabelValue) MarshalJSON

type PanelXYChartDataSourceModel_Options_Series_LineColor

type PanelXYChartDataSourceModel_Options_Series_LineColor struct {
	Fixed types.String `tfsdk:"fixed"`
	Field types.String `tfsdk:"field"`
}

func (PanelXYChartDataSourceModel_Options_Series_LineColor) ApplyDefaults

func (PanelXYChartDataSourceModel_Options_Series_LineColor) MarshalJSON

type PanelXYChartDataSourceModel_Options_Series_LineStyle

type PanelXYChartDataSourceModel_Options_Series_LineStyle struct {
	Fill types.String `tfsdk:"fill"`
	Dash types.List   `tfsdk:"dash"`
}

func (PanelXYChartDataSourceModel_Options_Series_LineStyle) ApplyDefaults

func (PanelXYChartDataSourceModel_Options_Series_LineStyle) MarshalJSON

type PanelXYChartDataSourceModel_Options_Series_PointColor

type PanelXYChartDataSourceModel_Options_Series_PointColor struct {
	Fixed types.String `tfsdk:"fixed"`
	Field types.String `tfsdk:"field"`
}

func (PanelXYChartDataSourceModel_Options_Series_PointColor) ApplyDefaults

func (PanelXYChartDataSourceModel_Options_Series_PointColor) MarshalJSON

type PanelXYChartDataSourceModel_Options_Series_PointSize

type PanelXYChartDataSourceModel_Options_Series_PointSize struct {
	Min   types.Float64 `tfsdk:"min"`
	Max   types.Float64 `tfsdk:"max"`
	Fixed types.Float64 `tfsdk:"fixed"`
	Field types.String  `tfsdk:"field"`
	Mode  types.String  `tfsdk:"mode"`
}

func (PanelXYChartDataSourceModel_Options_Series_PointSize) ApplyDefaults

func (PanelXYChartDataSourceModel_Options_Series_PointSize) MarshalJSON

type PanelXYChartDataSourceModel_Options_Series_ScaleDistribution

type PanelXYChartDataSourceModel_Options_Series_ScaleDistribution struct {
	Type            types.String  `tfsdk:"type"`
	Log             types.Float64 `tfsdk:"log"`
	LinearThreshold types.Float64 `tfsdk:"linear_threshold"`
}

func (PanelXYChartDataSourceModel_Options_Series_ScaleDistribution) ApplyDefaults

func (PanelXYChartDataSourceModel_Options_Series_ScaleDistribution) MarshalJSON

type PanelXYChartDataSourceModel_Options_Tooltip

type PanelXYChartDataSourceModel_Options_Tooltip struct {
	Mode types.String `tfsdk:"mode"`
	Sort types.String `tfsdk:"sort"`
}

func (PanelXYChartDataSourceModel_Options_Tooltip) ApplyDefaults

func (PanelXYChartDataSourceModel_Options_Tooltip) MarshalJSON

type PanelXYChartDataSourceModel_Transformations

type PanelXYChartDataSourceModel_Transformations struct {
	Disabled types.Bool                                          `tfsdk:"disabled"`
	Filter   *PanelXYChartDataSourceModel_Transformations_Filter `tfsdk:"filter"`
}

func (PanelXYChartDataSourceModel_Transformations) ApplyDefaults

func (PanelXYChartDataSourceModel_Transformations) MarshalJSON

type PanelXYChartDataSourceModel_Transformations_Filter

type PanelXYChartDataSourceModel_Transformations_Filter struct {
}

func (PanelXYChartDataSourceModel_Transformations_Filter) ApplyDefaults

func (PanelXYChartDataSourceModel_Transformations_Filter) MarshalJSON

type QueryElasticsearchDataSource

type QueryElasticsearchDataSource struct{}

QueryElasticsearchDataSource defines the data source implementation.

func (*QueryElasticsearchDataSource) Configure

func (*QueryElasticsearchDataSource) Metadata

func (*QueryElasticsearchDataSource) Read

func (*QueryElasticsearchDataSource) Schema

type QueryElasticsearchDataSourceModel

type QueryElasticsearchDataSourceModel struct {
	RenderedJSON types.String                                   `tfsdk:"rendered_json"`
	Alias        types.String                                   `tfsdk:"alias"`
	Query        types.String                                   `tfsdk:"query"`
	TimeField    types.String                                   `tfsdk:"time_field"`
	BucketAggs   []QueryElasticsearchDataSourceModel_BucketAggs `tfsdk:"bucket_aggs"`
	Metrics      []QueryElasticsearchDataSourceModel_Metrics    `tfsdk:"metrics"`
	RefId        types.String                                   `tfsdk:"ref_id"`
	Hide         types.Bool                                     `tfsdk:"hide"`
	QueryType    types.String                                   `tfsdk:"query_type"`
}

func (QueryElasticsearchDataSourceModel) ApplyDefaults

func (QueryElasticsearchDataSourceModel) MarshalJSON

func (m QueryElasticsearchDataSourceModel) MarshalJSON() ([]byte, error)

type QueryElasticsearchDataSourceModel_BucketAggs

type QueryElasticsearchDataSourceModel_BucketAggs struct {
	DateHistogram *QueryElasticsearchDataSourceModel_BucketAggs_DateHistogram `tfsdk:"date_histogram"`
	Histogram     *QueryElasticsearchDataSourceModel_BucketAggs_Histogram     `tfsdk:"histogram"`
	Terms         *QueryElasticsearchDataSourceModel_BucketAggs_Terms         `tfsdk:"terms"`
	Filters       *QueryElasticsearchDataSourceModel_BucketAggs_Filters       `tfsdk:"filters"`
	GeoHashGrid   *QueryElasticsearchDataSourceModel_BucketAggs_GeoHashGrid   `tfsdk:"geo_hash_grid"`
	Nested        *QueryElasticsearchDataSourceModel_BucketAggs_Nested        `tfsdk:"nested"`
}

func (QueryElasticsearchDataSourceModel_BucketAggs) ApplyDefaults

func (QueryElasticsearchDataSourceModel_BucketAggs) MarshalJSON

type QueryElasticsearchDataSourceModel_BucketAggs_DateHistogram

type QueryElasticsearchDataSourceModel_BucketAggs_DateHistogram struct {
	Field    types.String                                                         `tfsdk:"field"`
	Type     types.String                                                         `tfsdk:"type"`
	Settings *QueryElasticsearchDataSourceModel_BucketAggs_DateHistogram_Settings `tfsdk:"settings"`
}

func (QueryElasticsearchDataSourceModel_BucketAggs_DateHistogram) ApplyDefaults

func (QueryElasticsearchDataSourceModel_BucketAggs_DateHistogram) MarshalJSON

type QueryElasticsearchDataSourceModel_BucketAggs_DateHistogram_Settings

type QueryElasticsearchDataSourceModel_BucketAggs_DateHistogram_Settings struct {
	Interval    types.String `tfsdk:"interval"`
	MinDocCount types.String `tfsdk:"min_doc_count"`
	TrimEdges   types.String `tfsdk:"trim_edges"`
	Offset      types.String `tfsdk:"offset"`
	TimeZone    types.String `tfsdk:"time_zone"`
}

func (QueryElasticsearchDataSourceModel_BucketAggs_DateHistogram_Settings) ApplyDefaults

func (QueryElasticsearchDataSourceModel_BucketAggs_DateHistogram_Settings) MarshalJSON

type QueryElasticsearchDataSourceModel_BucketAggs_Filters

type QueryElasticsearchDataSourceModel_BucketAggs_Filters struct {
	Type     types.String                                                   `tfsdk:"type"`
	Settings *QueryElasticsearchDataSourceModel_BucketAggs_Filters_Settings `tfsdk:"settings"`
}

func (QueryElasticsearchDataSourceModel_BucketAggs_Filters) ApplyDefaults

func (QueryElasticsearchDataSourceModel_BucketAggs_Filters) MarshalJSON

type QueryElasticsearchDataSourceModel_BucketAggs_Filters_Settings

type QueryElasticsearchDataSourceModel_BucketAggs_Filters_Settings struct {
	Filters []QueryElasticsearchDataSourceModel_BucketAggs_Filters_Settings_Filters `tfsdk:"filters"`
}

func (QueryElasticsearchDataSourceModel_BucketAggs_Filters_Settings) ApplyDefaults

func (QueryElasticsearchDataSourceModel_BucketAggs_Filters_Settings) MarshalJSON

type QueryElasticsearchDataSourceModel_BucketAggs_Filters_Settings_Filters

type QueryElasticsearchDataSourceModel_BucketAggs_Filters_Settings_Filters struct {
	Query types.String `tfsdk:"query"`
	Label types.String `tfsdk:"label"`
}

func (QueryElasticsearchDataSourceModel_BucketAggs_Filters_Settings_Filters) ApplyDefaults

func (QueryElasticsearchDataSourceModel_BucketAggs_Filters_Settings_Filters) MarshalJSON

type QueryElasticsearchDataSourceModel_BucketAggs_GeoHashGrid

type QueryElasticsearchDataSourceModel_BucketAggs_GeoHashGrid struct {
	Field    types.String                                                       `tfsdk:"field"`
	Type     types.String                                                       `tfsdk:"type"`
	Settings *QueryElasticsearchDataSourceModel_BucketAggs_GeoHashGrid_Settings `tfsdk:"settings"`
}

func (QueryElasticsearchDataSourceModel_BucketAggs_GeoHashGrid) ApplyDefaults

func (QueryElasticsearchDataSourceModel_BucketAggs_GeoHashGrid) MarshalJSON

type QueryElasticsearchDataSourceModel_BucketAggs_GeoHashGrid_Settings

type QueryElasticsearchDataSourceModel_BucketAggs_GeoHashGrid_Settings struct {
	Precision types.String `tfsdk:"precision"`
}

func (QueryElasticsearchDataSourceModel_BucketAggs_GeoHashGrid_Settings) ApplyDefaults

func (QueryElasticsearchDataSourceModel_BucketAggs_GeoHashGrid_Settings) MarshalJSON

type QueryElasticsearchDataSourceModel_BucketAggs_Histogram

type QueryElasticsearchDataSourceModel_BucketAggs_Histogram struct {
	Field    types.String                                                     `tfsdk:"field"`
	Type     types.String                                                     `tfsdk:"type"`
	Settings *QueryElasticsearchDataSourceModel_BucketAggs_Histogram_Settings `tfsdk:"settings"`
}

func (QueryElasticsearchDataSourceModel_BucketAggs_Histogram) ApplyDefaults

func (QueryElasticsearchDataSourceModel_BucketAggs_Histogram) MarshalJSON

type QueryElasticsearchDataSourceModel_BucketAggs_Histogram_Settings

type QueryElasticsearchDataSourceModel_BucketAggs_Histogram_Settings struct {
	Interval    types.String `tfsdk:"interval"`
	MinDocCount types.String `tfsdk:"min_doc_count"`
}

func (QueryElasticsearchDataSourceModel_BucketAggs_Histogram_Settings) ApplyDefaults

func (QueryElasticsearchDataSourceModel_BucketAggs_Histogram_Settings) MarshalJSON

type QueryElasticsearchDataSourceModel_BucketAggs_Nested

type QueryElasticsearchDataSourceModel_BucketAggs_Nested struct {
	Field    types.String                                                  `tfsdk:"field"`
	Type     types.String                                                  `tfsdk:"type"`
	Settings *QueryElasticsearchDataSourceModel_BucketAggs_Nested_Settings `tfsdk:"settings"`
}

func (QueryElasticsearchDataSourceModel_BucketAggs_Nested) ApplyDefaults

func (QueryElasticsearchDataSourceModel_BucketAggs_Nested) MarshalJSON

type QueryElasticsearchDataSourceModel_BucketAggs_Nested_Settings

type QueryElasticsearchDataSourceModel_BucketAggs_Nested_Settings struct {
}

func (QueryElasticsearchDataSourceModel_BucketAggs_Nested_Settings) ApplyDefaults

func (QueryElasticsearchDataSourceModel_BucketAggs_Nested_Settings) MarshalJSON

type QueryElasticsearchDataSourceModel_BucketAggs_Terms

type QueryElasticsearchDataSourceModel_BucketAggs_Terms struct {
	Field    types.String                                                 `tfsdk:"field"`
	Type     types.String                                                 `tfsdk:"type"`
	Settings *QueryElasticsearchDataSourceModel_BucketAggs_Terms_Settings `tfsdk:"settings"`
}

func (QueryElasticsearchDataSourceModel_BucketAggs_Terms) ApplyDefaults

func (QueryElasticsearchDataSourceModel_BucketAggs_Terms) MarshalJSON

type QueryElasticsearchDataSourceModel_BucketAggs_Terms_Settings

type QueryElasticsearchDataSourceModel_BucketAggs_Terms_Settings struct {
	Order       types.String `tfsdk:"order"`
	Size        types.String `tfsdk:"size"`
	MinDocCount types.String `tfsdk:"min_doc_count"`
	OrderBy     types.String `tfsdk:"order_by"`
	Missing     types.String `tfsdk:"missing"`
}

func (QueryElasticsearchDataSourceModel_BucketAggs_Terms_Settings) ApplyDefaults

func (QueryElasticsearchDataSourceModel_BucketAggs_Terms_Settings) MarshalJSON

type QueryElasticsearchDataSourceModel_Metrics

type QueryElasticsearchDataSourceModel_Metrics struct {
	Count                         *QueryElasticsearchDataSourceModel_Metrics_Count                         `tfsdk:"count"`
	PipelineMetricAggregation     *QueryElasticsearchDataSourceModel_Metrics_PipelineMetricAggregation     `tfsdk:"pipeline_metric_aggregation"`
	MetricAggregationWithSettings *QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings `tfsdk:"metric_aggregation_with_settings"`
}

func (QueryElasticsearchDataSourceModel_Metrics) ApplyDefaults

func (QueryElasticsearchDataSourceModel_Metrics) MarshalJSON

type QueryElasticsearchDataSourceModel_Metrics_Count

type QueryElasticsearchDataSourceModel_Metrics_Count struct {
	Type types.String `tfsdk:"type"`
	Hide types.Bool   `tfsdk:"hide"`
}

func (QueryElasticsearchDataSourceModel_Metrics_Count) ApplyDefaults

func (QueryElasticsearchDataSourceModel_Metrics_Count) MarshalJSON

type QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings

type QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings struct {
	BucketScript   *QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_BucketScript   `tfsdk:"bucket_script"`
	CumulativeSum  *QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_CumulativeSum  `tfsdk:"cumulative_sum"`
	Derivative     *QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_Derivative     `tfsdk:"derivative"`
	SerialDiff     *QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_SerialDiff     `tfsdk:"serial_diff"`
	RawData        *QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_RawData        `tfsdk:"raw_data"`
	RawDocument    *QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_RawDocument    `tfsdk:"raw_document"`
	UniqueCount    *QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_UniqueCount    `tfsdk:"unique_count"`
	Percentiles    *QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_Percentiles    `tfsdk:"percentiles"`
	ExtendedStats  *QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_ExtendedStats  `tfsdk:"extended_stats"`
	Min            *QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_Min            `tfsdk:"min"`
	Max            *QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_Max            `tfsdk:"max"`
	Sum            *QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_Sum            `tfsdk:"sum"`
	Average        *QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_Average        `tfsdk:"average"`
	MovingAverage  *QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_MovingAverage  `tfsdk:"moving_average"`
	MovingFunction *QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_MovingFunction `tfsdk:"moving_function"`
	Logs           *QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_Logs           `tfsdk:"logs"`
	Rate           *QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_Rate           `tfsdk:"rate"`
	TopMetrics     *QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_TopMetrics     `tfsdk:"top_metrics"`
}

func (QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings) ApplyDefaults

func (QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings) MarshalJSON

type QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_Average

type QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_Average struct {
	Type     types.String                                                                              `tfsdk:"type"`
	Field    types.String                                                                              `tfsdk:"field"`
	Settings *QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_Average_Settings `tfsdk:"settings"`
	Hide     types.Bool                                                                                `tfsdk:"hide"`
}

func (QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_Average) ApplyDefaults

func (QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_Average) MarshalJSON

type QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_Average_Settings

type QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_Average_Settings struct {
	Missing types.String `tfsdk:"missing"`
}

func (QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_Average_Settings) MarshalJSON

type QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_BucketScript

type QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_BucketScript struct {
	Type              types.String                                                                                             `tfsdk:"type"`
	PipelineVariables []QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_BucketScript_PipelineVariables `tfsdk:"pipeline_variables"`
	Settings          *QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_BucketScript_Settings           `tfsdk:"settings"`
	Hide              types.Bool                                                                                               `tfsdk:"hide"`
}

func (QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_BucketScript) ApplyDefaults

func (QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_BucketScript) MarshalJSON

type QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_BucketScript_PipelineVariables

type QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_BucketScript_PipelineVariables struct {
	Name        types.String `tfsdk:"name"`
	PipelineAgg types.String `tfsdk:"pipeline_agg"`
}

func (QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_BucketScript_PipelineVariables) MarshalJSON

type QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_BucketScript_Settings

type QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_BucketScript_Settings struct {
	Script types.String `tfsdk:"script"`
}

func (QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_BucketScript_Settings) GetAttrScript

func (QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_BucketScript_Settings) MarshalJSON

type QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_CumulativeSum

type QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_CumulativeSum struct {
	PipelineAgg types.String                                                                                    `tfsdk:"pipeline_agg"`
	Field       types.String                                                                                    `tfsdk:"field"`
	Type        types.String                                                                                    `tfsdk:"type"`
	Settings    *QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_CumulativeSum_Settings `tfsdk:"settings"`
	Hide        types.Bool                                                                                      `tfsdk:"hide"`
}

func (QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_CumulativeSum) MarshalJSON

type QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_CumulativeSum_Settings

type QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_CumulativeSum_Settings struct {
	Format types.String `tfsdk:"format"`
}

func (QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_CumulativeSum_Settings) MarshalJSON

type QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_Derivative

type QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_Derivative struct {
	PipelineAgg types.String                                                                                 `tfsdk:"pipeline_agg"`
	Field       types.String                                                                                 `tfsdk:"field"`
	Type        types.String                                                                                 `tfsdk:"type"`
	Settings    *QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_Derivative_Settings `tfsdk:"settings"`
	Hide        types.Bool                                                                                   `tfsdk:"hide"`
}

func (QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_Derivative) ApplyDefaults

func (QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_Derivative) MarshalJSON

type QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_Derivative_Settings

type QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_Derivative_Settings struct {
	Unit types.String `tfsdk:"unit"`
}

func (QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_Derivative_Settings) MarshalJSON

type QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_ExtendedStats

type QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_ExtendedStats struct {
	Type     types.String                                                                                    `tfsdk:"type"`
	Settings *QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_ExtendedStats_Settings `tfsdk:"settings"`
	Field    types.String                                                                                    `tfsdk:"field"`
	Meta     *QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_ExtendedStats_Meta     `tfsdk:"meta"`
	Hide     types.Bool                                                                                      `tfsdk:"hide"`
}

func (QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_ExtendedStats) MarshalJSON

type QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_ExtendedStats_Meta

type QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_ExtendedStats_Meta struct {
}

func (QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_ExtendedStats_Meta) MarshalJSON

type QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_ExtendedStats_Settings

type QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_ExtendedStats_Settings struct {
	Missing types.String `tfsdk:"missing"`
	Sigma   types.String `tfsdk:"sigma"`
}

func (QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_ExtendedStats_Settings) MarshalJSON

type QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_Logs

type QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_Logs struct {
	Type     types.String                                                                           `tfsdk:"type"`
	Settings *QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_Logs_Settings `tfsdk:"settings"`
	Hide     types.Bool                                                                             `tfsdk:"hide"`
}

func (QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_Logs) ApplyDefaults

func (QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_Logs) MarshalJSON

type QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_Logs_Settings

type QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_Logs_Settings struct {
	Limit types.String `tfsdk:"limit"`
}

func (QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_Logs_Settings) MarshalJSON

type QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_Max

type QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_Max struct {
	Type     types.String                                                                          `tfsdk:"type"`
	Field    types.String                                                                          `tfsdk:"field"`
	Settings *QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_Max_Settings `tfsdk:"settings"`
	Hide     types.Bool                                                                            `tfsdk:"hide"`
}

func (QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_Max) ApplyDefaults

func (QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_Max) MarshalJSON

type QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_Max_Settings

type QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_Max_Settings struct {
	Missing types.String `tfsdk:"missing"`
}

func (QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_Max_Settings) ApplyDefaults

func (QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_Max_Settings) MarshalJSON

type QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_Min

type QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_Min struct {
	Type     types.String                                                                          `tfsdk:"type"`
	Field    types.String                                                                          `tfsdk:"field"`
	Settings *QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_Min_Settings `tfsdk:"settings"`
	Hide     types.Bool                                                                            `tfsdk:"hide"`
}

func (QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_Min) ApplyDefaults

func (QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_Min) MarshalJSON

type QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_Min_Settings

type QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_Min_Settings struct {
	Missing types.String `tfsdk:"missing"`
}

func (QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_Min_Settings) ApplyDefaults

func (QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_Min_Settings) MarshalJSON

type QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_MovingAverage

type QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_MovingAverage struct {
	PipelineAgg types.String                                                                                    `tfsdk:"pipeline_agg"`
	Field       types.String                                                                                    `tfsdk:"field"`
	Type        types.String                                                                                    `tfsdk:"type"`
	Settings    *QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_MovingAverage_Settings `tfsdk:"settings"`
	Hide        types.Bool                                                                                      `tfsdk:"hide"`
}

func (QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_MovingAverage) MarshalJSON

type QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_MovingAverage_Settings

type QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_MovingAverage_Settings struct {
}

func (QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_MovingAverage_Settings) MarshalJSON

type QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_MovingFunction

type QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_MovingFunction struct {
	PipelineAgg types.String                                                                                     `tfsdk:"pipeline_agg"`
	Field       types.String                                                                                     `tfsdk:"field"`
	Type        types.String                                                                                     `tfsdk:"type"`
	Settings    *QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_MovingFunction_Settings `tfsdk:"settings"`
	Hide        types.Bool                                                                                       `tfsdk:"hide"`
}

func (QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_MovingFunction) MarshalJSON

type QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_MovingFunction_Settings

type QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_MovingFunction_Settings struct {
	Window types.String `tfsdk:"window"`
	Script types.String `tfsdk:"script"`
	Shift  types.String `tfsdk:"shift"`
}

func (QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_MovingFunction_Settings) GetAttrScript

func (QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_MovingFunction_Settings) MarshalJSON

type QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_Percentiles

type QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_Percentiles struct {
	Type     types.String                                                                                  `tfsdk:"type"`
	Field    types.String                                                                                  `tfsdk:"field"`
	Settings *QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_Percentiles_Settings `tfsdk:"settings"`
	Hide     types.Bool                                                                                    `tfsdk:"hide"`
}

func (QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_Percentiles) ApplyDefaults

func (QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_Percentiles) MarshalJSON

type QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_Percentiles_Settings

type QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_Percentiles_Settings struct {
	Missing  types.String `tfsdk:"missing"`
	Percents types.List   `tfsdk:"percents"`
}

func (QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_Percentiles_Settings) MarshalJSON

type QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_Rate

type QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_Rate struct {
	Type     types.String                                                                           `tfsdk:"type"`
	Field    types.String                                                                           `tfsdk:"field"`
	Settings *QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_Rate_Settings `tfsdk:"settings"`
	Hide     types.Bool                                                                             `tfsdk:"hide"`
}

func (QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_Rate) ApplyDefaults

func (QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_Rate) MarshalJSON

type QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_Rate_Settings

type QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_Rate_Settings struct {
	Unit types.String `tfsdk:"unit"`
	Mode types.String `tfsdk:"mode"`
}

func (QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_Rate_Settings) MarshalJSON

type QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_RawData

type QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_RawData struct {
	Type     types.String                                                                              `tfsdk:"type"`
	Settings *QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_RawData_Settings `tfsdk:"settings"`
	Hide     types.Bool                                                                                `tfsdk:"hide"`
}

func (QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_RawData) ApplyDefaults

func (QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_RawData) MarshalJSON

type QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_RawData_Settings

type QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_RawData_Settings struct {
	Size types.String `tfsdk:"size"`
}

func (QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_RawData_Settings) MarshalJSON

type QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_RawDocument

type QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_RawDocument struct {
	Type     types.String                                                                                  `tfsdk:"type"`
	Settings *QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_RawDocument_Settings `tfsdk:"settings"`
	Hide     types.Bool                                                                                    `tfsdk:"hide"`
}

func (QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_RawDocument) ApplyDefaults

func (QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_RawDocument) MarshalJSON

type QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_RawDocument_Settings

type QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_RawDocument_Settings struct {
	Size types.String `tfsdk:"size"`
}

func (QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_RawDocument_Settings) MarshalJSON

type QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_SerialDiff

type QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_SerialDiff struct {
	PipelineAgg types.String                                                                                 `tfsdk:"pipeline_agg"`
	Field       types.String                                                                                 `tfsdk:"field"`
	Type        types.String                                                                                 `tfsdk:"type"`
	Settings    *QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_SerialDiff_Settings `tfsdk:"settings"`
	Hide        types.Bool                                                                                   `tfsdk:"hide"`
}

func (QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_SerialDiff) ApplyDefaults

func (QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_SerialDiff) MarshalJSON

type QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_SerialDiff_Settings

type QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_SerialDiff_Settings struct {
	Lag types.String `tfsdk:"lag"`
}

func (QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_SerialDiff_Settings) MarshalJSON

type QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_Sum

type QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_Sum struct {
	Type     types.String                                                                          `tfsdk:"type"`
	Field    types.String                                                                          `tfsdk:"field"`
	Settings *QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_Sum_Settings `tfsdk:"settings"`
	Hide     types.Bool                                                                            `tfsdk:"hide"`
}

func (QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_Sum) ApplyDefaults

func (QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_Sum) MarshalJSON

type QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_Sum_Settings

type QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_Sum_Settings struct {
	Missing types.String `tfsdk:"missing"`
}

func (QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_Sum_Settings) ApplyDefaults

func (QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_Sum_Settings) MarshalJSON

type QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_TopMetrics

type QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_TopMetrics struct {
	Type     types.String                                                                                 `tfsdk:"type"`
	Settings *QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_TopMetrics_Settings `tfsdk:"settings"`
	Hide     types.Bool                                                                                   `tfsdk:"hide"`
}

func (QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_TopMetrics) ApplyDefaults

func (QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_TopMetrics) MarshalJSON

type QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_TopMetrics_Settings

type QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_TopMetrics_Settings struct {
	Order   types.String `tfsdk:"order"`
	OrderBy types.String `tfsdk:"order_by"`
	Metrics types.List   `tfsdk:"metrics"`
}

func (QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_TopMetrics_Settings) MarshalJSON

type QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_UniqueCount

type QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_UniqueCount struct {
	Type     types.String                                                                                  `tfsdk:"type"`
	Field    types.String                                                                                  `tfsdk:"field"`
	Settings *QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_UniqueCount_Settings `tfsdk:"settings"`
	Hide     types.Bool                                                                                    `tfsdk:"hide"`
}

func (QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_UniqueCount) ApplyDefaults

func (QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_UniqueCount) MarshalJSON

type QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_UniqueCount_Settings

type QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_UniqueCount_Settings struct {
	PrecisionThreshold types.String `tfsdk:"precision_threshold"`
	Missing            types.String `tfsdk:"missing"`
}

func (QueryElasticsearchDataSourceModel_Metrics_MetricAggregationWithSettings_UniqueCount_Settings) MarshalJSON

type QueryElasticsearchDataSourceModel_Metrics_PipelineMetricAggregation

type QueryElasticsearchDataSourceModel_Metrics_PipelineMetricAggregation struct {
	MovingAverage *QueryElasticsearchDataSourceModel_Metrics_PipelineMetricAggregation_MovingAverage `tfsdk:"moving_average"`
	Derivative    *QueryElasticsearchDataSourceModel_Metrics_PipelineMetricAggregation_Derivative    `tfsdk:"derivative"`
	CumulativeSum *QueryElasticsearchDataSourceModel_Metrics_PipelineMetricAggregation_CumulativeSum `tfsdk:"cumulative_sum"`
	BucketScript  *QueryElasticsearchDataSourceModel_Metrics_PipelineMetricAggregation_BucketScript  `tfsdk:"bucket_script"`
}

func (QueryElasticsearchDataSourceModel_Metrics_PipelineMetricAggregation) ApplyDefaults

func (QueryElasticsearchDataSourceModel_Metrics_PipelineMetricAggregation) MarshalJSON

type QueryElasticsearchDataSourceModel_Metrics_PipelineMetricAggregation_BucketScript

type QueryElasticsearchDataSourceModel_Metrics_PipelineMetricAggregation_BucketScript struct {
	Type              types.String                                                                                         `tfsdk:"type"`
	PipelineVariables []QueryElasticsearchDataSourceModel_Metrics_PipelineMetricAggregation_BucketScript_PipelineVariables `tfsdk:"pipeline_variables"`
	Settings          *QueryElasticsearchDataSourceModel_Metrics_PipelineMetricAggregation_BucketScript_Settings           `tfsdk:"settings"`
	Hide              types.Bool                                                                                           `tfsdk:"hide"`
}

func (QueryElasticsearchDataSourceModel_Metrics_PipelineMetricAggregation_BucketScript) ApplyDefaults

func (QueryElasticsearchDataSourceModel_Metrics_PipelineMetricAggregation_BucketScript) MarshalJSON

type QueryElasticsearchDataSourceModel_Metrics_PipelineMetricAggregation_BucketScript_PipelineVariables

type QueryElasticsearchDataSourceModel_Metrics_PipelineMetricAggregation_BucketScript_PipelineVariables struct {
	Name        types.String `tfsdk:"name"`
	PipelineAgg types.String `tfsdk:"pipeline_agg"`
}

func (QueryElasticsearchDataSourceModel_Metrics_PipelineMetricAggregation_BucketScript_PipelineVariables) MarshalJSON

type QueryElasticsearchDataSourceModel_Metrics_PipelineMetricAggregation_BucketScript_Settings

type QueryElasticsearchDataSourceModel_Metrics_PipelineMetricAggregation_BucketScript_Settings struct {
	Script types.String `tfsdk:"script"`
}

func (QueryElasticsearchDataSourceModel_Metrics_PipelineMetricAggregation_BucketScript_Settings) GetAttrScript

func (QueryElasticsearchDataSourceModel_Metrics_PipelineMetricAggregation_BucketScript_Settings) MarshalJSON

type QueryElasticsearchDataSourceModel_Metrics_PipelineMetricAggregation_CumulativeSum

type QueryElasticsearchDataSourceModel_Metrics_PipelineMetricAggregation_CumulativeSum struct {
	PipelineAgg types.String                                                                                `tfsdk:"pipeline_agg"`
	Field       types.String                                                                                `tfsdk:"field"`
	Type        types.String                                                                                `tfsdk:"type"`
	Settings    *QueryElasticsearchDataSourceModel_Metrics_PipelineMetricAggregation_CumulativeSum_Settings `tfsdk:"settings"`
	Hide        types.Bool                                                                                  `tfsdk:"hide"`
}

func (QueryElasticsearchDataSourceModel_Metrics_PipelineMetricAggregation_CumulativeSum) ApplyDefaults

func (QueryElasticsearchDataSourceModel_Metrics_PipelineMetricAggregation_CumulativeSum) MarshalJSON

type QueryElasticsearchDataSourceModel_Metrics_PipelineMetricAggregation_CumulativeSum_Settings

type QueryElasticsearchDataSourceModel_Metrics_PipelineMetricAggregation_CumulativeSum_Settings struct {
	Format types.String `tfsdk:"format"`
}

func (QueryElasticsearchDataSourceModel_Metrics_PipelineMetricAggregation_CumulativeSum_Settings) MarshalJSON

type QueryElasticsearchDataSourceModel_Metrics_PipelineMetricAggregation_Derivative

type QueryElasticsearchDataSourceModel_Metrics_PipelineMetricAggregation_Derivative struct {
	PipelineAgg types.String                                                                             `tfsdk:"pipeline_agg"`
	Field       types.String                                                                             `tfsdk:"field"`
	Type        types.String                                                                             `tfsdk:"type"`
	Settings    *QueryElasticsearchDataSourceModel_Metrics_PipelineMetricAggregation_Derivative_Settings `tfsdk:"settings"`
	Hide        types.Bool                                                                               `tfsdk:"hide"`
}

func (QueryElasticsearchDataSourceModel_Metrics_PipelineMetricAggregation_Derivative) ApplyDefaults

func (QueryElasticsearchDataSourceModel_Metrics_PipelineMetricAggregation_Derivative) MarshalJSON

type QueryElasticsearchDataSourceModel_Metrics_PipelineMetricAggregation_Derivative_Settings

type QueryElasticsearchDataSourceModel_Metrics_PipelineMetricAggregation_Derivative_Settings struct {
	Unit types.String `tfsdk:"unit"`
}

func (QueryElasticsearchDataSourceModel_Metrics_PipelineMetricAggregation_Derivative_Settings) MarshalJSON

type QueryElasticsearchDataSourceModel_Metrics_PipelineMetricAggregation_MovingAverage

type QueryElasticsearchDataSourceModel_Metrics_PipelineMetricAggregation_MovingAverage struct {
	PipelineAgg types.String                                                                                `tfsdk:"pipeline_agg"`
	Field       types.String                                                                                `tfsdk:"field"`
	Type        types.String                                                                                `tfsdk:"type"`
	Settings    *QueryElasticsearchDataSourceModel_Metrics_PipelineMetricAggregation_MovingAverage_Settings `tfsdk:"settings"`
	Hide        types.Bool                                                                                  `tfsdk:"hide"`
}

func (QueryElasticsearchDataSourceModel_Metrics_PipelineMetricAggregation_MovingAverage) ApplyDefaults

func (QueryElasticsearchDataSourceModel_Metrics_PipelineMetricAggregation_MovingAverage) MarshalJSON

type QueryElasticsearchDataSourceModel_Metrics_PipelineMetricAggregation_MovingAverage_Settings

type QueryElasticsearchDataSourceModel_Metrics_PipelineMetricAggregation_MovingAverage_Settings struct {
}

func (QueryElasticsearchDataSourceModel_Metrics_PipelineMetricAggregation_MovingAverage_Settings) MarshalJSON

type QueryGrafanaPyroscopeDataSource

type QueryGrafanaPyroscopeDataSource struct{}

QueryGrafanaPyroscopeDataSource defines the data source implementation.

func (*QueryGrafanaPyroscopeDataSource) Configure

func (*QueryGrafanaPyroscopeDataSource) Metadata

func (*QueryGrafanaPyroscopeDataSource) Read

func (*QueryGrafanaPyroscopeDataSource) Schema

type QueryGrafanaPyroscopeDataSourceModel

type QueryGrafanaPyroscopeDataSourceModel struct {
	RenderedJSON  types.String `tfsdk:"rendered_json"`
	LabelSelector types.String `tfsdk:"label_selector"`
	ProfileTypeId types.String `tfsdk:"profile_type_id"`
	GroupBy       types.List   `tfsdk:"group_by"`
	MaxNodes      types.Int64  `tfsdk:"max_nodes"`
	RefId         types.String `tfsdk:"ref_id"`
	Hide          types.Bool   `tfsdk:"hide"`
	QueryType     types.String `tfsdk:"query_type"`
}

func (QueryGrafanaPyroscopeDataSourceModel) ApplyDefaults

func (QueryGrafanaPyroscopeDataSourceModel) MarshalJSON

func (m QueryGrafanaPyroscopeDataSourceModel) MarshalJSON() ([]byte, error)

type QueryLokiDataSource

type QueryLokiDataSource struct{}

QueryLokiDataSource defines the data source implementation.

func (*QueryLokiDataSource) Configure

func (*QueryLokiDataSource) Metadata

func (*QueryLokiDataSource) Read

func (*QueryLokiDataSource) Schema

type QueryLokiDataSourceModel

type QueryLokiDataSourceModel struct {
	RenderedJSON types.String `tfsdk:"rendered_json"`
	Expr         types.String `tfsdk:"expr"`
	LegendFormat types.String `tfsdk:"legend_format"`
	MaxLines     types.Int64  `tfsdk:"max_lines"`
	Resolution   types.Int64  `tfsdk:"resolution"`
	EditorMode   types.String `tfsdk:"editor_mode"`
	Range        types.Bool   `tfsdk:"range"`
	Instant      types.Bool   `tfsdk:"instant"`
	Step         types.String `tfsdk:"step"`
	RefId        types.String `tfsdk:"ref_id"`
	Hide         types.Bool   `tfsdk:"hide"`
	QueryType    types.String `tfsdk:"query_type"`
}

func (QueryLokiDataSourceModel) ApplyDefaults

func (QueryLokiDataSourceModel) MarshalJSON

func (m QueryLokiDataSourceModel) MarshalJSON() ([]byte, error)

type QueryParcaDataSource

type QueryParcaDataSource struct{}

QueryParcaDataSource defines the data source implementation.

func (*QueryParcaDataSource) Configure

func (*QueryParcaDataSource) Metadata

func (*QueryParcaDataSource) Read

func (*QueryParcaDataSource) Schema

type QueryParcaDataSourceModel

type QueryParcaDataSourceModel struct {
	RenderedJSON  types.String `tfsdk:"rendered_json"`
	LabelSelector types.String `tfsdk:"label_selector"`
	ProfileTypeId types.String `tfsdk:"profile_type_id"`
	RefId         types.String `tfsdk:"ref_id"`
	Hide          types.Bool   `tfsdk:"hide"`
	QueryType     types.String `tfsdk:"query_type"`
}

func (QueryParcaDataSourceModel) ApplyDefaults

func (QueryParcaDataSourceModel) MarshalJSON

func (m QueryParcaDataSourceModel) MarshalJSON() ([]byte, error)

type QueryPrometheusDataSource

type QueryPrometheusDataSource struct{}

QueryPrometheusDataSource defines the data source implementation.

func (*QueryPrometheusDataSource) Configure

func (*QueryPrometheusDataSource) Metadata

func (*QueryPrometheusDataSource) Read

func (*QueryPrometheusDataSource) Schema

type QueryPrometheusDataSourceModel

type QueryPrometheusDataSourceModel struct {
	RenderedJSON   types.String  `tfsdk:"rendered_json"`
	Expr           types.String  `tfsdk:"expr"`
	Instant        types.Bool    `tfsdk:"instant"`
	Range          types.Bool    `tfsdk:"range"`
	Exemplar       types.Bool    `tfsdk:"exemplar"`
	EditorMode     types.String  `tfsdk:"editor_mode"`
	Format         types.String  `tfsdk:"format"`
	LegendFormat   types.String  `tfsdk:"legend_format"`
	IntervalFactor types.Float64 `tfsdk:"interval_factor"`
	RefId          types.String  `tfsdk:"ref_id"`
	Hide           types.Bool    `tfsdk:"hide"`
	QueryType      types.String  `tfsdk:"query_type"`
}

func (QueryPrometheusDataSourceModel) ApplyDefaults

func (QueryPrometheusDataSourceModel) MarshalJSON

func (m QueryPrometheusDataSourceModel) MarshalJSON() ([]byte, error)

type QueryTestDataDataSource

type QueryTestDataDataSource struct{}

QueryTestDataDataSource defines the data source implementation.

func (*QueryTestDataDataSource) Configure

func (*QueryTestDataDataSource) Metadata

func (*QueryTestDataDataSource) Read

func (*QueryTestDataDataSource) Schema

type QueryTestDataDataSourceModel

type QueryTestDataDataSourceModel struct {
	RenderedJSON    types.String                            `tfsdk:"rendered_json"`
	Alias           types.String                            `tfsdk:"alias"`
	ScenarioId      types.String                            `tfsdk:"scenario_id"`
	StringInput     types.String                            `tfsdk:"string_input"`
	Stream          *QueryTestDataDataSourceModel_Stream    `tfsdk:"stream"`
	PulseWave       *QueryTestDataDataSourceModel_PulseWave `tfsdk:"pulse_wave"`
	Sim             *QueryTestDataDataSourceModel_Sim       `tfsdk:"sim"`
	CsvWave         []QueryTestDataDataSourceModel_CsvWave  `tfsdk:"csv_wave"`
	Labels          types.String                            `tfsdk:"labels"`
	Lines           types.Int64                             `tfsdk:"lines"`
	LevelColumn     types.Bool                              `tfsdk:"level_column"`
	Channel         types.String                            `tfsdk:"channel"`
	Nodes           *QueryTestDataDataSourceModel_Nodes     `tfsdk:"nodes"`
	CsvFileName     types.String                            `tfsdk:"csv_file_name"`
	CsvContent      types.String                            `tfsdk:"csv_content"`
	RawFrameContent types.String                            `tfsdk:"raw_frame_content"`
	SeriesCount     types.Int64                             `tfsdk:"series_count"`
	Usa             *QueryTestDataDataSourceModel_Usa       `tfsdk:"usa"`
	ErrorType       types.String                            `tfsdk:"error_type"`
	SpanCount       types.Int64                             `tfsdk:"span_count"`
	DropPercent     types.Float64                           `tfsdk:"drop_percent"`
	RefId           types.String                            `tfsdk:"ref_id"`
	Hide            types.Bool                              `tfsdk:"hide"`
	QueryType       types.String                            `tfsdk:"query_type"`
}

func (QueryTestDataDataSourceModel) ApplyDefaults

func (QueryTestDataDataSourceModel) MarshalJSON

func (m QueryTestDataDataSourceModel) MarshalJSON() ([]byte, error)

type QueryTestDataDataSourceModel_CsvWave

type QueryTestDataDataSourceModel_CsvWave struct {
	TimeStep  types.Int64  `tfsdk:"time_step"`
	Name      types.String `tfsdk:"name"`
	ValuesCSV types.String `tfsdk:"values_csv"`
	Labels    types.String `tfsdk:"labels"`
}

func (QueryTestDataDataSourceModel_CsvWave) ApplyDefaults

func (QueryTestDataDataSourceModel_CsvWave) MarshalJSON

func (m QueryTestDataDataSourceModel_CsvWave) MarshalJSON() ([]byte, error)

type QueryTestDataDataSourceModel_Nodes

type QueryTestDataDataSourceModel_Nodes struct {
	Type  types.String `tfsdk:"type"`
	Count types.Int64  `tfsdk:"count"`
}

func (QueryTestDataDataSourceModel_Nodes) ApplyDefaults

func (QueryTestDataDataSourceModel_Nodes) MarshalJSON

func (m QueryTestDataDataSourceModel_Nodes) MarshalJSON() ([]byte, error)

type QueryTestDataDataSourceModel_PulseWave

type QueryTestDataDataSourceModel_PulseWave struct {
	TimeStep types.Int64   `tfsdk:"time_step"`
	OnCount  types.Int64   `tfsdk:"on_count"`
	OffCount types.Int64   `tfsdk:"off_count"`
	OnValue  types.Float64 `tfsdk:"on_value"`
	OffValue types.Float64 `tfsdk:"off_value"`
}

func (QueryTestDataDataSourceModel_PulseWave) ApplyDefaults

func (QueryTestDataDataSourceModel_PulseWave) MarshalJSON

func (m QueryTestDataDataSourceModel_PulseWave) MarshalJSON() ([]byte, error)

type QueryTestDataDataSourceModel_Sim

type QueryTestDataDataSourceModel_Sim struct {
	Key    *QueryTestDataDataSourceModel_Sim_Key    `tfsdk:"key"`
	Config *QueryTestDataDataSourceModel_Sim_Config `tfsdk:"config"`
	Stream types.Bool                               `tfsdk:"stream"`
	Last   types.Bool                               `tfsdk:"last"`
}

func (QueryTestDataDataSourceModel_Sim) ApplyDefaults

func (QueryTestDataDataSourceModel_Sim) MarshalJSON

func (m QueryTestDataDataSourceModel_Sim) MarshalJSON() ([]byte, error)

type QueryTestDataDataSourceModel_Sim_Config

type QueryTestDataDataSourceModel_Sim_Config struct {
}

func (QueryTestDataDataSourceModel_Sim_Config) ApplyDefaults

func (QueryTestDataDataSourceModel_Sim_Config) MarshalJSON

func (m QueryTestDataDataSourceModel_Sim_Config) MarshalJSON() ([]byte, error)

type QueryTestDataDataSourceModel_Sim_Key

type QueryTestDataDataSourceModel_Sim_Key struct {
	Type types.String  `tfsdk:"type"`
	Tick types.Float64 `tfsdk:"tick"`
	Uid  types.String  `tfsdk:"uid"`
}

func (QueryTestDataDataSourceModel_Sim_Key) ApplyDefaults

func (QueryTestDataDataSourceModel_Sim_Key) MarshalJSON

func (m QueryTestDataDataSourceModel_Sim_Key) MarshalJSON() ([]byte, error)

type QueryTestDataDataSourceModel_Stream

type QueryTestDataDataSourceModel_Stream struct {
	Type   types.String `tfsdk:"type"`
	Speed  types.Int64  `tfsdk:"speed"`
	Spread types.Int64  `tfsdk:"spread"`
	Noise  types.Int64  `tfsdk:"noise"`
	Bands  types.Int64  `tfsdk:"bands"`
	Url    types.String `tfsdk:"url"`
}

func (QueryTestDataDataSourceModel_Stream) ApplyDefaults

func (QueryTestDataDataSourceModel_Stream) MarshalJSON

func (m QueryTestDataDataSourceModel_Stream) MarshalJSON() ([]byte, error)

type QueryTestDataDataSourceModel_Usa

type QueryTestDataDataSourceModel_Usa struct {
	Mode   types.String `tfsdk:"mode"`
	Period types.String `tfsdk:"period"`
	Fields types.List   `tfsdk:"fields"`
	States types.List   `tfsdk:"states"`
}

func (QueryTestDataDataSourceModel_Usa) ApplyDefaults

func (QueryTestDataDataSourceModel_Usa) MarshalJSON

func (m QueryTestDataDataSourceModel_Usa) MarshalJSON() ([]byte, error)

Jump to

Keyboard shortcuts

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