tests

package
v0.0.0-...-abfb793 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2017 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Canary

type Canary interface {
	GetInstance() error
	ListInstances() error
	GetTask() error
	ListTasks() error

	GetInstanceMetric() string
	ListInstancesMetric() string
	GetTaskMetric() string
	ListTasksMetric() string
}

Canary defines methods for each test in the canary

func NewCanary

func NewCanary(sess *session.Session, clusterStateServiceEndpoint string) (Canary, error)

NewCanary generates a new canary

type CanaryRunner

type CanaryRunner interface {
	Run(test canaryTest, metric metricName)
}

CanaryRunner defines methods required to run a test

func NewCanaryRunner

func NewCanaryRunner(sess *session.Session) (CanaryRunner, error)

NewCanaryRunner generates a new runner for the canary

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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