inputmiddleware

package
v0.30.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: 4 Imported by: 0

Documentation

Overview

The `input` middleware overwrites a pipe's input directly

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InputMiddleware

type InputMiddleware struct {
}

Input Interceptor

func NewInputMiddleware

func NewInputMiddleware() InputMiddleware

func (InputMiddleware) Apply

func (inputMiddleware InputMiddleware) Apply(
	run *pipeline.Run,
	next func(pipelineRun *pipeline.Run),
	executionContext *middleware.ExecutionContext,
)

func (InputMiddleware) String

func (inputMiddleware InputMiddleware) String() string

type InputMiddlewareArguments

type InputMiddlewareArguments struct {
	Text *string
}

func NewOutputMiddlewareArguments

func NewOutputMiddlewareArguments() InputMiddlewareArguments

Jump to

Keyboard shortcuts

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