outage

package
v2.0.2+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2016 License: Apache-2.0 Imports: 4 Imported by: 5

Documentation

Overview

Package outage provides a default no-op outage implementation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetOutage

func GetOutage(cfg *config.Monkey) (chaosmonkey.Outage, error)

GetOutage returns a do-nothing outage checker

Types

type NullOutage

type NullOutage struct{}

NullOutage is a no-op outage checker

func (NullOutage) Outage

func (n NullOutage) Outage() (bool, error)

Outage always returns false

Jump to

Keyboard shortcuts

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