mocks

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HistClient

type HistClient struct {
	mock.Mock
}

HistClient is an autogenerated mock type for the HistClient type

func NewHistClient

func NewHistClient(t mockConstructorTestingTNewHistClient) *HistClient

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

func (*HistClient) Delete

func (_m *HistClient) Delete(options client.DeleteOptions) error

Delete provides a mock function with given fields: options

func (*HistClient) Get

func (_m *HistClient) Get(index int64) (string, error)

Get provides a mock function with given fields: index

func (*HistClient) Import

func (_m *HistClient) Import(reader io.Reader) error

Import provides a mock function with given fields: reader

func (*HistClient) List

func (_m *HistClient) List(options client.ListOptions) ([]record.Record, error)

List provides a mock function with given fields: options

func (*HistClient) Record

func (_m *HistClient) Record(command string) error

Record provides a mock function with given fields: command

func (*HistClient) Stats

func (_m *HistClient) Stats() (*stats.Stats, error)

Stats provides a mock function with given fields:

func (*HistClient) Tidy

func (_m *HistClient) Tidy() error

Tidy provides a mock function with given fields:

type SearchClient

type SearchClient struct {
	mock.Mock
}

SearchClient is an autogenerated mock type for the SearchClient type

func NewSearchClient

func NewSearchClient(t mockConstructorTestingTNewSearchClient) *SearchClient

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

func (*SearchClient) Show

func (_m *SearchClient) Show(input string, verbose bool) error

Show provides a mock function with given fields: input, verbose

Jump to

Keyboard shortcuts

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