Documentation ¶
Index ¶
- type DockerTerm
- func (*DockerTerm) DisableEcho(fd uintptr, state *term.State) error
- func (*DockerTerm) GetWinsize(fd uintptr) (width, height int)
- func (*DockerTerm) IsTTY(fd uintptr) bool
- func (*DockerTerm) RestoreTerminal(fd uintptr, state *term.State) error
- func (*DockerTerm) SaveState(fd uintptr) (*term.State, error)
- func (*DockerTerm) SetRawTerminal(fd uintptr) (*term.State, error)
- type FdReader
- type PasswordReader
- type Term
- type TermPasswordReader
- type UI
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DockerTerm ¶
type DockerTerm struct{}
func (*DockerTerm) DisableEcho ¶
func (*DockerTerm) DisableEcho(fd uintptr, state *term.State) error
func (*DockerTerm) GetWinsize ¶
func (*DockerTerm) GetWinsize(fd uintptr) (width, height int)
func (*DockerTerm) IsTTY ¶
func (*DockerTerm) IsTTY(fd uintptr) bool
func (*DockerTerm) RestoreTerminal ¶
func (*DockerTerm) RestoreTerminal(fd uintptr, state *term.State) error
func (*DockerTerm) SetRawTerminal ¶
func (*DockerTerm) SetRawTerminal(fd uintptr) (*term.State, error)
type PasswordReader ¶
type TermPasswordReader ¶
func NewPasswordReader ¶
func NewPasswordReader() *TermPasswordReader
func (*TermPasswordReader) PromptForPassword ¶
func (pr *TermPasswordReader) PromptForPassword(promptText string, args ...interface{}) string
type UI ¶
type UI interface { io.ReadWriter PasswordReader Prompt(promptText string, args ...interface{}) string PromptWithDefault(promptText, defaultValue string, args ...interface{}) string Say(format string, args ...interface{}) SayIncorrectUsage(message string) SayLine(format string, args ...interface{}) SayNewLine() }
Click to show internal directories.
Click to hide internal directories.