config

package
v1.15.0 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var HTTPVerbose = (strings.TrimSpace(os.Getenv("DYNATRACE_DEBUG")) == "true")

HTTPVerbose if set to `true` terraform-provider-dynatrace.log will contain request and response payload

Functions

func ProviderConfigure

func ProviderConfigure(ctx context.Context, d *schema.ResourceData) (interface{}, diag.Diagnostics)

func ProviderConfigureGeneric added in v1.0.6

func ProviderConfigureGeneric(ctx context.Context, d Getter) (interface{}, diag.Diagnostics)

Types

type Getter added in v1.0.6

type Getter interface {
	Get(key string) interface{}
}

type ProviderConfiguration

type ProviderConfiguration struct {
	DTenvURL          string
	DTNonConfigEnvURL string
	DTApiV2URL        string
	ClusterAPIV2URL   string
	ClusterAPIToken   string
	APIToken          string
}

ProviderConfiguration contains the initialized API clients to communicate with the Dynatrace API

Jump to

Keyboard shortcuts

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