when

package
v0.31.0 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2021 License: GPL-2.0, GPL-3.0 Imports: 5 Imported by: 0

Documentation

Overview

The `when` middleware enables conditional execution

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WhenMiddleware

type WhenMiddleware struct {
}

Conditional Executor

func NewWhenMiddleware

func NewWhenMiddleware() WhenMiddleware

func (WhenMiddleware) Apply

func (whenMiddleware WhenMiddleware) Apply(
	run *pipeline.Run,
	next func(*pipeline.Run),
	_ *middleware.ExecutionContext,
)

func (WhenMiddleware) String

func (whenMiddleware WhenMiddleware) String() string

Jump to

Keyboard shortcuts

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