datadog

package
v0.0.0-...-53af832 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// DashboardAllowEmptyValues ...
	DashboardAllowEmptyValues = []string{"tags.", "manage_status_definition.*.query"}
)
View Source
var (
	// DashboardJSONAllowEmptyValues ...
	DashboardJSONAllowEmptyValues = []string{"tags."}
)
View Source
var (
	// DashboardListAllowEmptyValues ...
	DashboardListAllowEmptyValues = []string{}
)
View Source
var (
	// DowntimeAllowEmptyValues ...
	DowntimeAllowEmptyValues = []string{}
)
View Source
var (
	// IntegrationAWSAllowEmptyValues ...
	IntegrationAWSAllowEmptyValues = []string{}
)
View Source
var (
	// IntegrationAWSLambdaARNAllowEmptyValues ...
	IntegrationAWSLambdaARNAllowEmptyValues = []string{}
)
View Source
var (
	// IntegrationAWSLogCollectionAllowEmptyValues ...
	IntegrationAWSLogCollectionAllowEmptyValues = []string{"services"}
)
View Source
var (
	// IntegrationAzureAllowEmptyValues ...
	IntegrationAzureAllowEmptyValues = []string{}
)
View Source
var (
	// IntegrationGCPAllowEmptyValues ...
	IntegrationGCPAllowEmptyValues = []string{}
)
View Source
var (
	// IntegrationPagerdutyAllowEmptyValues ...
	IntegrationPagerdutyAllowEmptyValues = []string{"tags."}
)
View Source
var (
	// IntegrationPagerdutyServiceObjectAllowEmptyValues ...
	IntegrationPagerdutyServiceObjectAllowEmptyValues = []string{"tags."}
)
View Source
var (
	// IntegrationSlackChannelAllowEmptyValues ...
	IntegrationSlackChannelAllowEmptyValues = []string{}
)
View Source
var (
	// LogsArchiveAllowEmptyValues ...
	LogsArchiveAllowEmptyValues = []string{"path", "query"}
)
View Source
var (
	// LogsArchiveOrderAllowEmptyValues ...
	LogsArchiveOrderAllowEmptyValues = []string{}
)
View Source
var (
	// LogsCustomPipelineAllowEmptyValues ...
	LogsCustomPipelineAllowEmptyValues = []string{"support_rules", "filter"}
)
View Source
var (
	// LogsIndexAllowEmptyValues ...
	LogsIndexAllowEmptyValues = []string{"filter"}
)
View Source
var (
	// LogsIndexOrderAllowEmptyValues ...
	LogsIndexOrderAllowEmptyValues = []string{}
)
View Source
var (
	// LogsIntegrationPipelineAllowEmptyValues ...
	LogsIntegrationPipelineAllowEmptyValues = []string{}
)
View Source
var (
	// LogsMetricAllowEmptyValues ...
	LogsMetricAllowEmptyValues = []string{}
)
View Source
var (
	// LogsPipelineOrderAllowEmptyValues ...
	LogsPipelineOrderAllowEmptyValues = []string{}
)
View Source
var (
	// MetricMetadataAllowEmptyValues ...
	MetricMetadataAllowEmptyValues = []string{}
)
View Source
var (
	// MonitorAllowEmptyValues ...
	MonitorAllowEmptyValues = []string{"tags.", "message"}
)
View Source
var (
	// RoleAllowEmptyValues ...
	RoleAllowEmptyValues = []string{}
)
View Source
var (
	// SecurityMonitoringDefaultRuleAllowEmptyValues ...
	SecurityMonitoringDefaultRuleAllowEmptyValues = []string{"tags."}
)
View Source
var (
	// SecurityMonitoringRuleAllowEmptyValues ...
	SecurityMonitoringRuleAllowEmptyValues = []string{"tags."}
)
View Source
var (
	// ServiceLevelObjectiveAllowEmptyValues ...
	ServiceLevelObjectiveAllowEmptyValues = []string{"tags."}
)
View Source
var (
	// SyntheticsAllowEmptyValues ...
	SyntheticsAllowEmptyValues = []string{"tags."}
)
View Source
var (
	// SyntheticsGlobalVariableAllowEmptyValues ...
	SyntheticsGlobalVariableAllowEmptyValues = []string{"tags."}
)
View Source
var (
	// SyntheticsPrivateLocationAllowEmptyValues ...
	SyntheticsPrivateLocationAllowEmptyValues = []string{"tags."}
)
View Source
var (
	// UserAllowEmptyValues ...
	UserAllowEmptyValues = []string{}
)

Functions

This section is empty.

Types

type DashboardGenerator

type DashboardGenerator struct {
	DatadogService
}

DashboardGenerator ...

func (*DashboardGenerator) InitResources

func (g *DashboardGenerator) InitResources() error

InitResources Generate TerraformResources from Datadog API, from each dashboard create 1 TerraformResource. Need Dashboard ID as ID for terraform resource

type DashboardJSONGenerator

type DashboardJSONGenerator struct {
	DatadogService
}

DashboardJSONGenerator ...

func (*DashboardJSONGenerator) InitResources

func (g *DashboardJSONGenerator) InitResources() error

InitResources Generate TerraformResources from Datadog API, from each dashboard_json create 1 TerraformResource. Need Dashboard ID as ID for terraform resource

type DashboardListGenerator

type DashboardListGenerator struct {
	DatadogService
}

DashboardListGenerator ...

func (*DashboardListGenerator) InitResources

func (g *DashboardListGenerator) InitResources() error

InitResources Generate TerraformResources from Datadog API, from each dashboard_list create 1 TerraformResource. Need DashboardList ID as ID for terraform resource

type DatadogProvider

type DatadogProvider struct {
	terraformutils.Provider
	// contains filtered or unexported fields
}

func (*DatadogProvider) GetConfig

func (p *DatadogProvider) GetConfig() cty.Value

GetConfig return map of provider config for Datadog

func (*DatadogProvider) GetName

func (p *DatadogProvider) GetName() string

GetName return string of provider name for Datadog

func (DatadogProvider) GetProviderData

func (p DatadogProvider) GetProviderData(arg ...string) map[string]interface{}

GetProviderData return map of provider data for Datadog

func (DatadogProvider) GetResourceConnections

func (p DatadogProvider) GetResourceConnections() map[string]map[string][]string

GetResourceConnections return map of resource connections for Datadog

func (*DatadogProvider) GetSupportedService

func (p *DatadogProvider) GetSupportedService() map[string]terraformutils.ServiceGenerator

GetSupportedService return map of support service for Datadog

func (*DatadogProvider) Init

func (p *DatadogProvider) Init(args []string) error

Init check env params and initialize API Client

func (*DatadogProvider) InitService

func (p *DatadogProvider) InitService(serviceName string, verbose bool) error

InitService ...

type DatadogService

type DatadogService struct {
	terraformutils.Service
}

type DowntimeGenerator

type DowntimeGenerator struct {
	DatadogService
}

DowntimeGenerator ...

func (*DowntimeGenerator) InitResources

func (g *DowntimeGenerator) InitResources() error

InitResources Generate TerraformResources from Datadog API, from each downtime create 1 TerraformResource. Need Downtime ID as ID for terraform resource

type IntegrationAWSGenerator

type IntegrationAWSGenerator struct {
	DatadogService
}

IntegrationAWSGenerator ...

func (*IntegrationAWSGenerator) InitResources

func (g *IntegrationAWSGenerator) InitResources() error

InitResources Generate TerraformResources from Datadog API, from each monitor create 1 TerraformResource. Need IntegrationAWS ID formatted as '<account_id>:<role_name>' as ID for terraform resource

type IntegrationAWSLambdaARNGenerator

type IntegrationAWSLambdaARNGenerator struct {
	DatadogService
}

IntegrationAWSLambdaARNGenerator ...

func (*IntegrationAWSLambdaARNGenerator) InitResources

func (g *IntegrationAWSLambdaARNGenerator) InitResources() error

InitResources Generate TerraformResources from Datadog API, from each monitor create 1 TerraformResource. Need IntegrationAWSLambdaARN ID formatted as '<account_id>:<role_name>' as ID for terraform resource

type IntegrationAWSLogCollectionGenerator

type IntegrationAWSLogCollectionGenerator struct {
	DatadogService
}

IntegrationAWSLogCollectionGenerator ...

func (*IntegrationAWSLogCollectionGenerator) InitResources

func (g *IntegrationAWSLogCollectionGenerator) InitResources() error

InitResources Generate TerraformResources from Datadog API, from each monitor create 1 TerraformResource. Need IntegrationAWSLogCollection ID formatted as '<account_id>:<role_name>' as ID for terraform resource

func (*IntegrationAWSLogCollectionGenerator) PostConvertHook

func (g *IntegrationAWSLogCollectionGenerator) PostConvertHook() error

type IntegrationAzureGenerator

type IntegrationAzureGenerator struct {
	DatadogService
}

IntegrationAzureGenerator ...

func (*IntegrationAzureGenerator) InitResources

func (g *IntegrationAzureGenerator) InitResources() error

InitResources Generate TerraformResources from Datadog API, from each monitor create 1 TerraformResource. Need IntegrationAzure ID formatted as '<tenant_name>:<client_id>' as ID for terraform resource

type IntegrationGCPGenerator

type IntegrationGCPGenerator struct {
	DatadogService
}

IntegrationGCPGenerator ...

func (*IntegrationGCPGenerator) InitResources

func (g *IntegrationGCPGenerator) InitResources() error

InitResources Generate TerraformResources from Datadog API, from each monitor create 1 TerraformResource. Need IntegrationGCP ID formatted as '<tenant_name>:<client_id>' as ID for terraform resource

type IntegrationPagerdutyGenerator

type IntegrationPagerdutyGenerator struct {
	DatadogService
}

IntegrationPagerdutyGenerator ...

func (*IntegrationPagerdutyGenerator) InitResources

func (g *IntegrationPagerdutyGenerator) InitResources() error

InitResources Generate TerraformResources from Datadog API, from PD Service create 1 TerraformResource. Need IntegrationPagerduty Subdomain as ID for terraform resource

type IntegrationPagerdutyServiceObjectGenerator

type IntegrationPagerdutyServiceObjectGenerator struct {
	DatadogService
}

IntegrationPagerdutyServiceObjectGenerator ...

func (*IntegrationPagerdutyServiceObjectGenerator) InitResources

InitResources Generate TerraformResources from Datadog API, from each PD Service create 1 TerraformResource. Need IntegrationPagerdutyServiceObject ServiceName as ID for terraform resource

type IntegrationSlackChannelGenerator

type IntegrationSlackChannelGenerator struct {
	DatadogService
}

IntegrationSlackChannelGenerator ...

func (*IntegrationSlackChannelGenerator) InitResources

func (g *IntegrationSlackChannelGenerator) InitResources() error

InitResources Generate TerraformResources from Datadog API, from each slack channel create 1 TerraformResource.

type LogsArchiveGenerator

type LogsArchiveGenerator struct {
	DatadogService
}

LogsArchiveGenerator ...

func (*LogsArchiveGenerator) InitResources

func (g *LogsArchiveGenerator) InitResources() error

InitResources Generate TerraformResources from Datadog API, from each archive create 1 TerraformResource. Need LogsArchive ID as ID for terraform resource

type LogsArchiveOrderGenerator

type LogsArchiveOrderGenerator struct {
	DatadogService
}

LogsArchiveOrderGenerator ...

func (*LogsArchiveOrderGenerator) InitResources

func (g *LogsArchiveOrderGenerator) InitResources() error

InitResources Generate TerraformResources

type LogsCustomPipelineGenerator

type LogsCustomPipelineGenerator struct {
	DatadogService
}

LogsCustomPipelineGenerator ...

func (*LogsCustomPipelineGenerator) InitResources

func (g *LogsCustomPipelineGenerator) InitResources() error

InitResources Generate TerraformResources from Datadog API, from each custom pipeline create 1 TerraformResource. Need LogsPipeline ID as ID for terraform resource

func (*LogsCustomPipelineGenerator) PostConvertHook

func (g *LogsCustomPipelineGenerator) PostConvertHook() error

type LogsIndexGenerator

type LogsIndexGenerator struct {
	DatadogService
}

LogsIndexGenerator ...

func (*LogsIndexGenerator) InitResources

func (g *LogsIndexGenerator) InitResources() error

InitResources Generate TerraformResources from Datadog API, from each index create 1 TerraformResource. Need LogsIndex Name as ID for terraform resource

type LogsIndexOrderGenerator

type LogsIndexOrderGenerator struct {
	DatadogService
}

LogsIndexOrderGenerator ...

func (*LogsIndexOrderGenerator) InitResources

func (g *LogsIndexOrderGenerator) InitResources() error

InitResources Generate TerraformResources

type LogsIntegrationPipelineGenerator

type LogsIntegrationPipelineGenerator struct {
	DatadogService
}

LogsIntegrationPipelineGenerator ...

func (*LogsIntegrationPipelineGenerator) InitResources

func (g *LogsIntegrationPipelineGenerator) InitResources() error

InitResources Generate TerraformResources from Datadog API, from each integration pipeline create 1 TerraformResource. Need LogsPipeline ID as ID for terraform resource

type LogsMetricGenerator

type LogsMetricGenerator struct {
	DatadogService
}

LogsMetricGenerator ...

func (*LogsMetricGenerator) InitResources

func (g *LogsMetricGenerator) InitResources() error

InitResources Generate TerraformResources from Datadog API, from each log's metric create 1 TerraformResource. Need LogsMetric Name as ID for terraform resource

type LogsPipelineOrderGenerator

type LogsPipelineOrderGenerator struct {
	DatadogService
}

LogsPipelineOrderGenerator ...

func (*LogsPipelineOrderGenerator) InitResources

func (g *LogsPipelineOrderGenerator) InitResources() error

InitResources Generate TerraformResources

type MetricMetadataGenerator

type MetricMetadataGenerator struct {
	DatadogService
}

MetricMetadataGenerator ...

func (*MetricMetadataGenerator) InitResources

func (g *MetricMetadataGenerator) InitResources() error

InitResources Generate TerraformResources from Datadog API, from each metric create 1 TerraformResource. Need Metric Name as ID for terraform resource

type MonitorGenerator

type MonitorGenerator struct {
	DatadogService
}

MonitorGenerator ...

func (*MonitorGenerator) InitResources

func (g *MonitorGenerator) InitResources() error

InitResources Generate TerraformResources from Datadog API, from each monitor create 1 TerraformResource. Need Monitor ID as ID for terraform resource

type RoleGenerator

type RoleGenerator struct {
	DatadogService
}

RoleGenerator ...

func (*RoleGenerator) InitResources

func (g *RoleGenerator) InitResources() error

InitResources Generate TerraformResources from Datadog API, from each role create 1 TerraformResource. Need Role ID as ID for terraform resource

type SecurityMonitoringDefaultRuleGenerator

type SecurityMonitoringDefaultRuleGenerator struct {
	DatadogService
}

SecurityMonitoringDefaultRuleGenerator ...

func (*SecurityMonitoringDefaultRuleGenerator) InitResources

func (g *SecurityMonitoringDefaultRuleGenerator) InitResources() error

InitResources Generate TerraformResources from Datadog API, from each SecurityMonitoringDefaultRule create 1 TerraformResource. Need SecurityMonitoringDefaultRule ID as ID for terraform resource

type SecurityMonitoringRuleGenerator

type SecurityMonitoringRuleGenerator struct {
	DatadogService
}

SecurityMonitoringRuleGenerator ...

func (*SecurityMonitoringRuleGenerator) InitResources

func (g *SecurityMonitoringRuleGenerator) InitResources() error

InitResources Generate TerraformResources from Datadog API, from each SecurityMonitoringRule create 1 TerraformResource. Need SecurityMonitoringRule ID as ID for terraform resource

type ServiceLevelObjectiveGenerator

type ServiceLevelObjectiveGenerator struct {
	DatadogService
}

ServiceLevelObjectiveGenerator ...

func (*ServiceLevelObjectiveGenerator) InitResources

func (g *ServiceLevelObjectiveGenerator) InitResources() error

InitResources Generate TerraformResources from Datadog API, from each service_level_objective create 1 TerraformResource. Need ServiceLevelObjective ID as ID for terraform resource

type SyntheticsGlobalVariableGenerator

type SyntheticsGlobalVariableGenerator struct {
	DatadogService
}

SyntheticsGlobalVariableGenerator ...

func (*SyntheticsGlobalVariableGenerator) InitResources

func (g *SyntheticsGlobalVariableGenerator) InitResources() error

InitResources Generate TerraformResources from Datadog API, from each SyntheticsGlobalVariable create 1 TerraformResource. Need SyntheticsGlobalVariable ID as ID for terraform resource

type SyntheticsPrivateLocationGenerator

type SyntheticsPrivateLocationGenerator struct {
	DatadogService
}

SyntheticsPrivateLocationGenerator ...

func (*SyntheticsPrivateLocationGenerator) InitResources

func (g *SyntheticsPrivateLocationGenerator) InitResources() error

InitResources Generate TerraformResources from Datadog API, from each SyntheticsPrivateLocation create 1 TerraformResource. Need SyntheticsPrivateLocation ID as ID for terraform resource

type SyntheticsTestGenerator

type SyntheticsTestGenerator struct {
	DatadogService
}

SyntheticsTestGenerator ...

func (*SyntheticsTestGenerator) InitResources

func (g *SyntheticsTestGenerator) InitResources() error

InitResources Generate TerraformResources from Datadog API, from each synthetics create 1 TerraformResource. Need Synthetics ID as ID for terraform resource

type UserGenerator

type UserGenerator struct {
	DatadogService
}

UserGenerator ...

func (*UserGenerator) InitResources

func (g *UserGenerator) InitResources() error

InitResources Generate TerraformResources from Datadog API, from each user create 1 TerraformResource. Need User ID as ID for terraform resource

Jump to

Keyboard shortcuts

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