fake

package
v0.1.15 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2018 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFailCodePlugin

func NewFailCodePlugin(failAsPanic bool) plugin.CodePlugin

NewFailCodePlugin returns fake code plugin that does nothing, except fails component actions if their deploy 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

Types

This section is empty.

Jump to

Keyboard shortcuts

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