autocheck

package
v0.0.0-...-79fff4a Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2017 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetInstanceClassMemory

func GetInstanceClassMemory(dbInstClass string) float64

func NewBartnetSink

func NewBartnetSink(bartnetEndpoint, hugsEndpoint string, user *schema.User) *bartnetSink

Types

type EC2CloudWatch

type EC2CloudWatch struct {
	*ec2.Instance
}

func (EC2CloudWatch) Generate

func (ec EC2CloudWatch) Generate() ([]*schema.Check, error)

type EmptyTarget

type EmptyTarget struct{}

func (EmptyTarget) Generate

func (t EmptyTarget) Generate() ([]*schema.Check, error)

type LoadBalancer

type LoadBalancer struct {
	*elb.LoadBalancerDescription
}

func (LoadBalancer) Generate

func (l LoadBalancer) Generate() ([]*schema.Check, error)

type Pool

type Pool struct {
	Sink   Sink
	Logger *log.Entry
	// contains filtered or unexported fields
}

func NewPool

func NewPool(sink Sink, logger *log.Entry) *Pool

func (*Pool) AddTarget

func (p *Pool) AddTarget(obj interface{})

func (*Pool) AddTargetWithAlarms

func (p *Pool) AddTargetWithAlarms(obj interface{}, alarms interface{})

func (*Pool) Drain

func (p *Pool) Drain()

func (*Pool) SuccessCount

func (p *Pool) SuccessCount() int

type RDSCloudWatch

type RDSCloudWatch struct {
	*rds.DBInstance
	// contains filtered or unexported fields
}

func (RDSCloudWatch) Generate

func (rc RDSCloudWatch) Generate() ([]*schema.Check, error)

type Sink

type Sink interface {
	Send(*schema.Check) error
}

type Target

type Target interface {
	Generate() ([]*schema.Check, error)
}

func NewTarget

func NewTarget(obj interface{}) Target

func NewTargetWithAlarms

func NewTargetWithAlarms(obj interface{}, alarms interface{}) Target

Jump to

Keyboard shortcuts

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