provider

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDecoder

func GetDecoder() map[string]jsoniter.ValDecoder

func GetEncoder

func GetEncoder() map[string]jsoniter.ValEncoder

Types

type GrafanaSpec

type GrafanaSpec struct {
	// API token or basic auth username:password. May alternatively be set via the `GRAFANA_AUTH` environment variable.
	Auth *string `json:"-" sensitive:"true" tf:"auth"`
	// Certificate CA bundle to use to verify the Grafana server's certificate. May alternatively be set via the `GRAFANA_CA_CERT` environment variable.
	// +optional
	CaCert *string `json:"caCert,omitempty" tf:"ca_cert"`
	// Skip TLS certificate verification. May alternatively be set via the `GRAFANA_INSECURE_SKIP_VERIFY` environment variable.
	// +optional
	InsecureSkipVerify *bool `json:"insecureSkipVerify,omitempty" tf:"insecure_skip_verify"`
	// The organization id to operate on within grafana. May alternatively be set via the `GRAFANA_ORG_ID` environment variable.
	OrgID *int64 `json:"orgID" tf:"org_id"`
	// A Synthetic Monitoring access token. May alternatively be set via the `GRAFANA_SM_ACCESS_TOKEN` environment variable.
	// +optional
	SmAccessToken *string `json:"-" sensitive:"true" tf:"sm_access_token"`
	// Synthetic monitoring backend address. May alternatively be set via the `GRAFANA_SM_URL` environment variable.
	// +optional
	SmURL *string `json:"smURL,omitempty" tf:"sm_url"`
	// Client TLS certificate file to use to authenticate to the Grafana server. May alternatively be set via the `GRAFANA_TLS_CERT` environment variable.
	// +optional
	TlsCert *string `json:"tlsCert,omitempty" tf:"tls_cert"`
	// Client TLS key file to use to authenticate to the Grafana server. May alternatively be set via the `GRAFANA_TLS_KEY` environment variable.
	// +optional
	TlsKey *string `json:"tlsKey,omitempty" tf:"tls_key"`
	// The root URL of a Grafana server. May alternatively be set via the `GRAFANA_URL` environment variable.
	Url *string `json:"url" tf:"url"`
}

Jump to

Keyboard shortcuts

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