instance

package
v1.29.3 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() datasource.DataSource

New returns a new configured data source

Types

type DataSource

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

DataSource is the exported data source

func (*DataSource) Configure added in v1.0.0

Configure configures the data source client

func (*DataSource) Metadata

Metadata returns data resource metadata

func (*DataSource) Read

func (*DataSource) Schema added in v1.9.0

Schema returns the terraform schema structure

type Instance added in v1.17.1

type Instance struct {
	ID                          types.String      `tfsdk:"id"`
	Name                        types.String      `tfsdk:"name"`
	ProjectID                   types.String      `tfsdk:"project_id"`
	Plan                        types.String      `tfsdk:"plan"`
	Grafana                     *instance.Grafana `tfsdk:"grafana"`
	Metrics                     *instance.Metrics `tfsdk:"metrics"`
	PlanID                      types.String      `tfsdk:"plan_id"`
	DashboardURL                types.String      `tfsdk:"dashboard_url"`
	IsUpdatable                 types.Bool        `tfsdk:"is_updatable"`
	GrafanaURL                  types.String      `tfsdk:"grafana_url"`
	GrafanaInitialAdminPassword types.String      `tfsdk:"grafana_initial_admin_password"`
	GrafanaInitialAdminUser     types.String      `tfsdk:"grafana_initial_admin_user"`
	MetricsURL                  types.String      `tfsdk:"metrics_url"`
	MetricsPushURL              types.String      `tfsdk:"metrics_push_url"`
	TargetsURL                  types.String      `tfsdk:"targets_url"`
	AlertingURL                 types.String      `tfsdk:"alerting_url"`
	LogsURL                     types.String      `tfsdk:"logs_url"`
	LogsPushURL                 types.String      `tfsdk:"logs_push_url"`
	JaegerTracesURL             types.String      `tfsdk:"jaeger_traces_url"`
	JaegerUIURL                 types.String      `tfsdk:"jaeger_ui_url"`
	OtlpTracesURL               types.String      `tfsdk:"otlp_traces_url"`
	ZipkinSpansURL              types.String      `tfsdk:"zipkin_spans_url"`
}

Instance is the schema model

Jump to

Keyboard shortcuts

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