config

package
Version: v1.0.12 Latest Latest
Warning

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

Go to latest
Published: May 13, 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

Source Files

Jump to

Keyboard shortcuts

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