pipelinetest

package
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewNoResolver

func NewNoResolver[T context.Context]() pipeline.DependencyResolver[T]

NewNoResolver returns a pipeline.DependencyResolver that doesn't actually resolve anything. This can be used for testing.

Types

type NoResolver

type NoResolver[T context.Context] struct{}

NoResolver is a pipeline.DependencyResolver that doesn't actually resolve anything. This can be used for testing.

func (NoResolver[T]) MustRequireDependencyByFuncName

func (d NoResolver[T]) MustRequireDependencyByFuncName(_ ...pipeline.ActionFunc[T])

func (NoResolver[T]) MustRequireDependencyByStepName

func (d NoResolver[T]) MustRequireDependencyByStepName(_ ...string)

func (NoResolver[T]) Record

func (d NoResolver[T]) Record(_ pipeline.Step[T])

func (NoResolver[T]) RequireDependencyByFuncName

func (d NoResolver[T]) RequireDependencyByFuncName(_ ...pipeline.ActionFunc[T]) error

func (NoResolver[T]) RequireDependencyByStepName

func (d NoResolver[T]) RequireDependencyByStepName(_ ...string) error

Jump to

Keyboard shortcuts

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