provider

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2024 License: Apache-2.0 Imports: 16 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 NewAlertsDataSource

func NewAlertsDataSource() datasource.DataSource

func NewDashboardsDataSource

func NewDashboardsDataSource() datasource.DataSource

func NewRulesDataSource

func NewRulesDataSource() datasource.DataSource

Types

type AlertsDataSource

type AlertsDataSource struct{}

func (*AlertsDataSource) Metadata

func (*AlertsDataSource) Read

func (*AlertsDataSource) Schema

type AlertsDataSourceModelV0

type AlertsDataSourceModelV0 struct {
	ID           types.String `tfsdk:"id"`
	Source       types.String `tfsdk:"source"`
	Jsonnet_path types.List   `tfsdk:"jsonnet_path"`
	Alerts       types.String `tfsdk:"alerts"`
}

type DashboardsDataSource

type DashboardsDataSource struct{}

func (*DashboardsDataSource) Metadata

func (*DashboardsDataSource) Read

func (*DashboardsDataSource) Schema

type DashboardsDataSourceModelV0

type DashboardsDataSourceModelV0 struct {
	ID           types.String `tfsdk:"id"`
	Source       types.String `tfsdk:"source"`
	Jsonnet_path types.List   `tfsdk:"jsonnet_path"`
	Dashboards   types.Map    `tfsdk:"dashboards"`
}

type RulesDataSource

type RulesDataSource struct{}

func (*RulesDataSource) Metadata

func (*RulesDataSource) Read

func (*RulesDataSource) Schema

type RulesDataSourceModelV0

type RulesDataSourceModelV0 struct {
	ID           types.String `tfsdk:"id"`
	Source       types.String `tfsdk:"source"`
	Jsonnet_path types.List   `tfsdk:"jsonnet_path"`
	Rules        types.String `tfsdk:"rules"`
}

Jump to

Keyboard shortcuts

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