courier

package
v0.17.0 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var MetricResourceSchema = map[string]*schema.Schema{
	"aws_region": {
		Type:     schema.TypeString,
		Optional: true,
		Default:  "",
	},
	"aws_profile": {
		Type:     schema.TypeString,
		Optional: true,
		Default:  "",
	},
	"name": {
		Type:     schema.TypeString,
		Required: true,
	},
	"address": {
		Type:     schema.TypeString,
		Optional: true,
		Default:  "",
	},
	"query": {
		Type:     schema.TypeString,
		Required: true,
	},
	"max": {
		Type:     schema.TypeFloat,
		Optional: true,
	},
	"min": {
		Type:     schema.TypeFloat,
		Optional: true,
	},
	"interval": {
		Type:     schema.TypeString,
		Optional: true,
		Default:  "1m",
	},
}
View Source
var MetricsSchema = &schema.Schema{
	Type:       schema.TypeList,
	Optional:   true,
	ConfigMode: schema.SchemaConfigModeBlock,
	Elem: &schema.Resource{
		Schema: MetricResourceSchema,
	},
}

Functions

func ResourceALB

func ResourceALB() *schema.Resource

func ResourceRoute53Record

func ResourceRoute53Record() *schema.Resource

func ValidateDuration

func ValidateDuration(v interface{}, k string) (ws []string, errors []error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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