Documentation ¶
Index ¶
- func NewFailCodePlugin(failComponents []string, failAsPanic bool) plugin.CodePlugin
- func NewNoOpClusterPlugin(sleepTime time.Duration) plugin.ClusterPlugin
- func NewNoOpCodePlugin(sleepTime time.Duration) plugin.CodePlugin
- func NewNoOpPostProcessPlugin(sleepTime time.Duration) plugin.PostProcessPlugin
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.
Click to show internal directories.
Click to hide internal directories.