datadog

package
v3.6.0 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2021 License: MPL-2.0 Imports: 34 Imported by: 0

Documentation

Index

Constants

View Source
const DDAPIKeyEnvName = "DD_API_KEY"

DDAPIKeyEnvName name of env var for API key

View Source
const DDAPPKeyEnvName = "DD_APP_KEY"

DDAPPKeyEnvName name of env var for APP key

View Source
const DatadogAPIKeyEnvName = "DATADOG_API_KEY"

DatadogAPIKeyEnvName name of env var for API key

View Source
const DatadogAPPKeyEnvName = "DATADOG_APP_KEY"

DatadogAPPKeyEnvName name of env var for APP key

Variables

APIKeyEnvVars names of env var for API key

APPKeyEnvVars names of env var for APP key

Functions

func GetRolePermissionSchema

func GetRolePermissionSchema() *schema.Resource

GetRolePermissionSchema returns the schema specific to permissions

func Provider

func Provider() *schema.Provider

Provider returns the built datadog provider object

Types

type ProviderConfiguration

type ProviderConfiguration struct {
	CommunityClient *datadogCommunity.Client
	DatadogClientV1 *datadogV1.APIClient
	DatadogClientV2 *datadogV2.APIClient
	AuthV1          context.Context
	AuthV2          context.Context

	Now func() time.Time
}

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

Source Files

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

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