Documentation ¶
Index ¶
- func NewNoResolver[T context.Context]() pipeline.DependencyResolver[T]
- type NoResolver
- func (d NoResolver[T]) MustRequireDependencyByFuncName(_ ...pipeline.ActionFunc[T])
- func (d NoResolver[T]) MustRequireDependencyByStepName(_ ...string)
- func (d NoResolver[T]) Record(_ pipeline.Step[T])
- func (d NoResolver[T]) RequireDependencyByFuncName(_ ...pipeline.ActionFunc[T]) error
- func (d NoResolver[T]) RequireDependencyByStepName(_ ...string) error
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 ¶
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
Click to show internal directories.
Click to hide internal directories.