config

package
v1.0.15 Latest Latest
Warning

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

Go to latest
Published: May 18, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var HTTPVerbose = (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
	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