Documentation ¶
Index ¶
- type AWSIntegrationGenerator
- type AlertGroupSettingGenerator
- type ChannelGenerator
- type DowntimeGenerator
- type MackerelProvider
- func (p *MackerelProvider) GetConfig() cty.Value
- func (p *MackerelProvider) GetName() string
- func (p MackerelProvider) GetProviderData(arg ...string) map[string]interface{}
- func (p *MackerelProvider) GetResourceConnections() map[string]map[string][]string
- func (p *MackerelProvider) GetSupportedService() map[string]terraformutils.ServiceGenerator
- func (p *MackerelProvider) Init(args []string) error
- func (p *MackerelProvider) InitService(serviceName string, verbose bool) error
- type MackerelService
- type MonitorGenerator
- type NotificationGroupGenerator
- type RoleGenerator
- type ServiceGenerator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AWSIntegrationGenerator ¶
type AWSIntegrationGenerator struct {
MackerelService
}
AWSIntegrationGenerator ...
func (*AWSIntegrationGenerator) InitResources ¶
func (g *AWSIntegrationGenerator) InitResources() error
InitResources Generate TerraformResources from Mackerel API, from each aws integration create 1 TerraformResource. Need AWS Integration ID as ID for terraform resource
type AlertGroupSettingGenerator ¶
type AlertGroupSettingGenerator struct {
MackerelService
}
AlertGroupSettingGenerator ...
func (*AlertGroupSettingGenerator) InitResources ¶
func (g *AlertGroupSettingGenerator) InitResources() error
InitResources Generate TerraformResources from Mackerel API, from each alert group setting create 1 TerraformResource. Need Alert Group Setting ID as ID for terraform resource
type ChannelGenerator ¶
type ChannelGenerator struct {
MackerelService
}
ChannelGenerator ...
func (*ChannelGenerator) InitResources ¶
func (g *ChannelGenerator) InitResources() error
InitResources Generate TerraformResources from Mackerel API, from each channel create 1 TerraformResource. Need Channel ID as ID for terraform resource
type DowntimeGenerator ¶
type DowntimeGenerator struct {
MackerelService
}
DowntimeGenerator ...
func (*DowntimeGenerator) InitResources ¶
func (g *DowntimeGenerator) InitResources() error
InitResources Generate TerraformResources from Mackerel API, from each downtime create 1 TerraformResource. Need Downtime ID as ID for terraform resource
type MackerelProvider ¶
type MackerelProvider struct { terraformutils.Provider // contains filtered or unexported fields }
func (*MackerelProvider) GetConfig ¶
func (p *MackerelProvider) GetConfig() cty.Value
GetConfig return map of provider config for Mackerel
func (*MackerelProvider) GetName ¶
func (p *MackerelProvider) GetName() string
GetName return string of provider name for Mackerel
func (MackerelProvider) GetProviderData ¶
func (p MackerelProvider) GetProviderData(arg ...string) map[string]interface{}
GetProviderData return map of provider data for Mackerel
func (*MackerelProvider) GetResourceConnections ¶
func (p *MackerelProvider) GetResourceConnections() map[string]map[string][]string
GetResourceConnections return map of resource connections for Mackerel
func (*MackerelProvider) GetSupportedService ¶
func (p *MackerelProvider) GetSupportedService() map[string]terraformutils.ServiceGenerator
GetSupportedService return map of support service for Mackerel
func (*MackerelProvider) Init ¶
func (p *MackerelProvider) Init(args []string) error
Init check env params and initialize API Client
func (*MackerelProvider) InitService ¶
func (p *MackerelProvider) InitService(serviceName string, verbose bool) error
InitService ...
type MackerelService ¶
type MackerelService struct {
terraformutils.Service
}
type MonitorGenerator ¶
type MonitorGenerator struct {
MackerelService
}
MonitorGenerator ...
func (*MonitorGenerator) InitResources ¶
func (g *MonitorGenerator) InitResources() error
InitResources Generate TerraformResources from Mackerel API, from each monitor create 1 TerraformResource. Need Monitor ID as ID for terraform resource
type NotificationGroupGenerator ¶
type NotificationGroupGenerator struct {
MackerelService
}
NotificationGroupGenerator ...
func (*NotificationGroupGenerator) InitResources ¶
func (g *NotificationGroupGenerator) InitResources() error
InitResources Generate TerraformResources from Mackerel API, from each notification group create 1 TerraformResource. Need Notification Group ID as ID for terraform resource
type RoleGenerator ¶
type RoleGenerator struct {
MackerelService
}
RoleGenerator ...
func (*RoleGenerator) InitResources ¶
func (g *RoleGenerator) InitResources() error
InitResources Generate TerraformResources from Mackerel API, from each role create 1 TerraformResource. Need Service Name And Role Name as ID for terraform resource
type ServiceGenerator ¶
type ServiceGenerator struct {
MackerelService
}
ServiceGenerator ...
func (*ServiceGenerator) InitResources ¶
func (g *ServiceGenerator) InitResources() error
InitResources Generate TerraformResources from Mackerel API, from each service create 1 TerraformResource. Need Service Name as ID for terraform resource