provider

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: May 8, 2022 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 DatadogSpec

type DatadogSpec struct {
	// (Required unless validate is false) Datadog API key. This can also be set via the DD_API_KEY environment variable.
	// +optional
	ApiKey *string `json:"apiKey,omitempty" tf:"api_key"`
	// The API URL. This can also be set via the DD_HOST environment variable. Note that this URL must not end with the /api/ path. For example, https://api.datadoghq.com/ is a correct value, while https://api.datadoghq.com/api/ is not. And if you're working with "EU" version of Datadog, use https://api.datadoghq.eu/.
	// +optional
	ApiURL *string `json:"apiURL,omitempty" tf:"api_url"`
	// (Required unless validate is false) Datadog APP key. This can also be set via the DD_APP_KEY environment variable.
	// +optional
	AppKey *string `json:"appKey,omitempty" tf:"app_key"`
	// Enables request retries on HTTP status codes 429 and 5xx.
	// +optional
	HttpClientRetryEnabled *bool `json:"httpClientRetryEnabled,omitempty" tf:"http_client_retry_enabled"`
	// The HTTP request retry timeout period.
	// +optional
	HttpClientRetryTimeout *int64 `json:"httpClientRetryTimeout,omitempty" tf:"http_client_retry_timeout"`
	// Enables validation of the provided API and APP keys during provider initialization. Default is true. When false, api_key and app_key won't be checked.
	// +optional
	Validate *bool `json:"validate,omitempty" tf:"validate"`
}

Source Files

  • codec.go
  • datadog_provider_types.go

Jump to

Keyboard shortcuts

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