iostreams

package
v0.0.0-...-c72eab6 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IOStreams

type IOStreams struct {
	In     io.ReadCloser
	Out    io.Writer
	ErrOut io.Writer
	// contains filtered or unexported fields
}

func (*IOStreams) CanPrompt

func (s *IOStreams) CanPrompt() bool

func (*IOStreams) GetNeverPrompt

func (s *IOStreams) GetNeverPrompt() bool

func (*IOStreams) IsStderrTTY

func (s *IOStreams) IsStderrTTY() bool

func (*IOStreams) IsStdinTTY

func (s *IOStreams) IsStdinTTY() bool

func (*IOStreams) IsStdoutTTY

func (s *IOStreams) IsStdoutTTY() bool

func (*IOStreams) NewIOStreams

func (s *IOStreams) NewIOStreams() *IOStreams

func (*IOStreams) SetNeverPrompt

func (s *IOStreams) SetNeverPrompt(neverPrompt bool)

func (*IOStreams) SetStderrTTY

func (s *IOStreams) SetStderrTTY(tty bool)

func (*IOStreams) SetStdinTTY

func (s *IOStreams) SetStdinTTY(tty bool)

func (*IOStreams) SetStdoutTTY

func (s *IOStreams) SetStdoutTTY(tty bool)

func (*IOStreams) StdinTTY

func (s *IOStreams) StdinTTY() bool

Jump to

Keyboard shortcuts

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