fakes

package
v0.0.0-...-3b3f045 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2015 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeHealthChecker

type FakeHealthChecker struct {
	sync.RWMutex
	// contains filtered or unexported fields
}

Counterfeiter does not lock "*Returns(...)" functions leading to a race, so we had to hand-roll this fake

func NewFakeHealthChecker

func NewFakeHealthChecker() *FakeHealthChecker

func (*FakeHealthChecker) Check

func (checker *FakeHealthChecker) Check() bool

func (*FakeHealthChecker) CheckReturns

func (checker *FakeHealthChecker) CheckReturns(status bool)

Jump to

Keyboard shortcuts

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