mocks

package
v2.34.20 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2022 License: MIT Imports: 2 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 (*Prompter) Choose

func (_m *Prompter) Choose(_a0 string, _a1 []string) int

Choose provides a mock function with given fields: _a0, _a1

func (*Prompter) ChooseWithDefault

func (_m *Prompter) ChooseWithDefault(_a0 string, _a1 string, _a2 []string) (string, error)

ChooseWithDefault provides a mock function with given fields: _a0, _a1, _a2

func (*Prompter) Password

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

Password provides a mock function with given fields: _a0

func (*Prompter) RequestSecurityCode

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

RequestSecurityCode provides a mock function with given fields: _a0

func (*Prompter) String

func (_m *Prompter) String(_a0 string, _a1 string) string

String provides a mock function with given fields: _a0, _a1

func (*Prompter) StringRequired

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

StringRequired provides a mock function with given fields: _a0

type U2FDevice

type U2FDevice struct {
	mock.Mock
}

U2FDevice is an autogenerated mock type for the U2FDevice type

func (*U2FDevice) Authenticate

Authenticate provides a mock function with given fields: _a0

func (*U2FDevice) Close

func (_m *U2FDevice) Close()

Close provides a mock function with given fields:

func (*U2FDevice) Open

func (_m *U2FDevice) Open() error

Open provides a mock function with given fields:

func (*U2FDevice) Register

Register provides a mock function with given fields: _a0

func (*U2FDevice) Version

func (_m *U2FDevice) Version() (string, error)

Version provides a mock function with given fields:

Jump to

Keyboard shortcuts

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