uptime

package
v0.0.0-...-711c4e8 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2020 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Provider

func Provider() *schema.Provider

Provider represents a resource provider in Terraform

Types

type BlacklistCheck

type BlacklistCheck struct{}

BlacklistCheck implements the CheckType interface for Uptime.com Domain Blacklist checks.

type CheckType

type CheckType interface {
	// contains filtered or unexported methods
}

CheckType is an interface specifying the required methods for a valid parameter to the checkBuildFunc, checkCreateFunc, checkReadFunc, checkUpdateFunc, and checkDeleteFunc higher-order functions.

The higher-order functions in this file allow for generalized creation of terraform resource schema CRUD functions.

type Config

type Config struct {
	// Uptime.com API token
	Token            string
	RateMilliseconds int
}

Config defines configuration options for the Uptime.com client

func (*Config) Client

func (c *Config) Client() (*uptime.Client, error)

type DNSCheck

type DNSCheck struct{}

DNSCheck implements the CheckType interface for Uptime.com DNS server checks.

type HTTPCheck

type HTTPCheck struct{}

HTTPCheck implements the CheckType interface for Uptime.com HTTP checks.

type MalwareCheck

type MalwareCheck struct{}

MalwareCheck implements the CheckType interface for Uptime.com Malware checks.

type NTPCheck

type NTPCheck struct{}

NTPCheck implements the CheckType interface for Uptime.com NTP checks.

type SSLCheck

type SSLCheck struct{}

SSLCheck implements the CheckType interface for Uptime.com SSL Cert checks.

type WhoisCheck

type WhoisCheck struct{}

WhoisCheck implements the CheckType interface for Uptime.com Whois/Domain Expiry checks.

Jump to

Keyboard shortcuts

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