mocks

package
v2.5.0-beta0 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Prompter

type Prompter struct {
	mock.Mock
}

Prompter is an autogenerated mock type for the Prompter type

func NewPrompter

func NewPrompter(t mockConstructorTestingTNewPrompter) *Prompter

NewPrompter creates a new instance of Prompter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*Prompter) IsTerminal

func (_m *Prompter) IsTerminal() bool

IsTerminal provides a mock function with given fields:

func (*Prompter) PasswordPrompt

func (_m *Prompter) PasswordPrompt(_a0 string) string

PasswordPrompt provides a mock function with given fields: _a0

func (*Prompter) Prompt

func (_m *Prompter) Prompt(_a0 string) string

Prompt provides a mock function with given fields: _a0

Jump to

Keyboard shortcuts

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