mocks

package
v2.10.0-beta1 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2024 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 interface {
	mock.TestingT
	Cleanup(func())
}) *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. The first argument is typically a *testing.T value.

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