fake

package
v0.1.11 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2018 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFailCodePlugin

func NewFailCodePlugin(failComponents []string, failAsPanic bool) plugin.CodePlugin

NewFailCodePlugin returns fake code plugin that does nothing, except fails component actions if their name contains one of the given strings

func NewNoOpClusterPlugin

func NewNoOpClusterPlugin(sleepTime time.Duration) plugin.ClusterPlugin

NewNoOpClusterPlugin returns fake cluster plugin which does nothing, except sleeping a given time amount on every action

func NewNoOpCodePlugin

func NewNoOpCodePlugin(sleepTime time.Duration) plugin.CodePlugin

NewNoOpCodePlugin returns fake code plugin which does nothing, except sleeping a given time amount on every action

func NewNoOpPostProcessPlugin

func NewNoOpPostProcessPlugin(sleepTime time.Duration) plugin.PostProcessPlugin

NewNoOpPostProcessPlugin returns fake post process plugin which does nothing, except sleeping a given time amount on every action

Types

This section is empty.

Jump to

Keyboard shortcuts

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