mocks

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2023 License: MIT Imports: 1 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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