mackerel

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: 6 Imported by: 0

Documentation

Index

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

Jump to

Keyboard shortcuts

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