Documentation ¶
Index ¶
- Variables
- type DashboardGenerator
- type DashboardJSONGenerator
- type DashboardListGenerator
- type DatadogProvider
- func (p *DatadogProvider) GetConfig() cty.Value
- func (p *DatadogProvider) GetName() string
- func (p DatadogProvider) GetProviderData(arg ...string) map[string]interface{}
- func (p DatadogProvider) GetResourceConnections() map[string]map[string][]string
- func (p *DatadogProvider) GetSupportedService() map[string]terraformutils.ServiceGenerator
- func (p *DatadogProvider) Init(args []string) error
- func (p *DatadogProvider) InitService(serviceName string, verbose bool) error
- type DatadogService
- type DowntimeGenerator
- type IntegrationAWSGenerator
- type IntegrationAWSLambdaARNGenerator
- type IntegrationAWSLogCollectionGenerator
- type IntegrationAzureGenerator
- type IntegrationGCPGenerator
- type IntegrationPagerdutyGenerator
- type IntegrationPagerdutyServiceObjectGenerator
- type IntegrationSlackChannelGenerator
- type LogsArchiveGenerator
- type LogsArchiveOrderGenerator
- type LogsCustomPipelineGenerator
- type LogsIndexGenerator
- type LogsIndexOrderGenerator
- type LogsIntegrationPipelineGenerator
- type LogsMetricGenerator
- type LogsPipelineOrderGenerator
- type MetricMetadataGenerator
- type MonitorGenerator
- type RoleGenerator
- type SecurityMonitoringDefaultRuleGenerator
- type SecurityMonitoringRuleGenerator
- type ServiceLevelObjectiveGenerator
- type SyntheticsGlobalVariableGenerator
- type SyntheticsPrivateLocationGenerator
- type SyntheticsTestGenerator
- type UserGenerator
Constants ¶
This section is empty.
Variables ¶
var ( // DashboardAllowEmptyValues ... DashboardAllowEmptyValues = []string{"tags.", "manage_status_definition.*.query"} )
var ( // DashboardJSONAllowEmptyValues ... DashboardJSONAllowEmptyValues = []string{"tags."} )
var ( // DashboardListAllowEmptyValues ... DashboardListAllowEmptyValues = []string{} )
var ( // DowntimeAllowEmptyValues ... DowntimeAllowEmptyValues = []string{} )
var ( // IntegrationAWSAllowEmptyValues ... IntegrationAWSAllowEmptyValues = []string{} )
var ( // IntegrationAWSLambdaARNAllowEmptyValues ... IntegrationAWSLambdaARNAllowEmptyValues = []string{} )
var ( // IntegrationAWSLogCollectionAllowEmptyValues ... IntegrationAWSLogCollectionAllowEmptyValues = []string{"services"} )
var ( // IntegrationAzureAllowEmptyValues ... IntegrationAzureAllowEmptyValues = []string{} )
var ( // IntegrationGCPAllowEmptyValues ... IntegrationGCPAllowEmptyValues = []string{} )
var ( // IntegrationPagerdutyAllowEmptyValues ... IntegrationPagerdutyAllowEmptyValues = []string{"tags."} )
var ( // IntegrationPagerdutyServiceObjectAllowEmptyValues ... IntegrationPagerdutyServiceObjectAllowEmptyValues = []string{"tags."} )
var ( // IntegrationSlackChannelAllowEmptyValues ... IntegrationSlackChannelAllowEmptyValues = []string{} )
var ( // LogsArchiveAllowEmptyValues ... LogsArchiveAllowEmptyValues = []string{"path", "query"} )
var ( // LogsArchiveOrderAllowEmptyValues ... LogsArchiveOrderAllowEmptyValues = []string{} )
var ( // LogsCustomPipelineAllowEmptyValues ... LogsCustomPipelineAllowEmptyValues = []string{"support_rules", "filter"} )
var ( // LogsIndexAllowEmptyValues ... LogsIndexAllowEmptyValues = []string{"filter"} )
var ( // LogsIndexOrderAllowEmptyValues ... LogsIndexOrderAllowEmptyValues = []string{} )
var ( // LogsIntegrationPipelineAllowEmptyValues ... LogsIntegrationPipelineAllowEmptyValues = []string{} )
var ( // LogsMetricAllowEmptyValues ... LogsMetricAllowEmptyValues = []string{} )
var ( // LogsPipelineOrderAllowEmptyValues ... LogsPipelineOrderAllowEmptyValues = []string{} )
var ( // MetricMetadataAllowEmptyValues ... MetricMetadataAllowEmptyValues = []string{} )
var ( // MonitorAllowEmptyValues ... MonitorAllowEmptyValues = []string{"tags.", "message"} )
var ( // RoleAllowEmptyValues ... RoleAllowEmptyValues = []string{} )
var ( // SecurityMonitoringDefaultRuleAllowEmptyValues ... SecurityMonitoringDefaultRuleAllowEmptyValues = []string{"tags."} )
var ( // SecurityMonitoringRuleAllowEmptyValues ... SecurityMonitoringRuleAllowEmptyValues = []string{"tags."} )
var ( // ServiceLevelObjectiveAllowEmptyValues ... ServiceLevelObjectiveAllowEmptyValues = []string{"tags."} )
var ( // SyntheticsAllowEmptyValues ... SyntheticsAllowEmptyValues = []string{"tags."} )
var ( // SyntheticsGlobalVariableAllowEmptyValues ... SyntheticsGlobalVariableAllowEmptyValues = []string{"tags."} )
var ( // SyntheticsPrivateLocationAllowEmptyValues ... SyntheticsPrivateLocationAllowEmptyValues = []string{"tags."} )
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 ¶
func (g *IntegrationPagerdutyServiceObjectGenerator) InitResources() error
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
Source Files ¶
- dashboard.go
- dashboard_json.go
- dashboard_list.go
- datadog_provider.go
- datadog_service.go
- downtime.go
- integration_aws.go
- integration_aws_lambda_arn.go
- integration_aws_log_collection.go
- integration_azure.go
- integration_gcp.go
- integration_pagerduty.go
- integration_pagerduty_service_object.go
- integration_slack_channel.go
- logs_archive.go
- logs_archive_order.go
- logs_custom_pipeline.go
- logs_index.go
- logs_index_order.go
- logs_integration_pipeline.go
- logs_metric.go
- logs_pipeline_order.go
- metric_metadata.go
- monitor.go
- role.go
- security_monitoring_default_rule.go
- security_monitoring_rule.go
- service_level_objective.go
- synthetics_global_variable.go
- synthetics_private_location.go
- synthetics_test_.go
- user.go