selectmiddleware

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: 8 Imported by: 0

Documentation

Overview

The `select` middleware shows selection prompts to the user

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SaveMiddlewareEntry

type SaveMiddlewareEntry struct {
	// contains filtered or unexported fields
}

type SelectMiddleware

type SelectMiddleware struct {
	// contains filtered or unexported fields
}

func NewSelectMiddleware

func NewSelectMiddleware() SelectMiddleware

func NewSelectMiddlewareWithStdinAndStdout

func NewSelectMiddlewareWithStdinAndStdout(stdin io.ReadCloser, stdout io.WriteCloser) SelectMiddleware

func (SelectMiddleware) Apply

func (selectMiddleware SelectMiddleware) Apply(
	run *pipeline.Run,
	next func(*pipeline.Run),
	executionContext *middleware.ExecutionContext,
)

func (SelectMiddleware) String

func (selectMiddleware SelectMiddleware) String() string

Jump to

Keyboard shortcuts

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