mocks

package
v1.17.4 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FilterStreamer added in v1.14.11

type FilterStreamer struct {
	mock.Mock
}

FilterStreamer is an autogenerated mock type for the FilterStreamer type

func NewFilterStreamer added in v1.14.11

func NewFilterStreamer(t interface {
	mock.TestingT
	Cleanup(func())
}) *FilterStreamer

NewFilterStreamer creates a new instance of FilterStreamer. 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 (*FilterStreamer) GetLimit added in v1.14.11

func (_m *FilterStreamer) GetLimit() int

GetLimit provides a mock function with given fields:

func (*FilterStreamer) GetPage added in v1.14.11

func (_m *FilterStreamer) GetPage() int

GetPage provides a mock function with given fields:

func (*FilterStreamer) IncrPage added in v1.14.11

func (_m *FilterStreamer) IncrPage()

IncrPage provides a mock function with given fields:

type MultiError

type MultiError struct {
	mock.Mock
}

MultiError is an autogenerated mock type for the MultiError type

func NewMultiError added in v1.11.21

func NewMultiError(t interface {
	mock.TestingT
	Cleanup(func())
}) *MultiError

NewMultiError creates a new instance of MultiError. 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 (*MultiError) Append

func (_m *MultiError) Append(key string, err error) candihelper.MultiError

Append provides a mock function with given fields: key, err

func (*MultiError) Clear

func (_m *MultiError) Clear()

Clear provides a mock function with given fields:

func (*MultiError) Error

func (_m *MultiError) Error() string

Error provides a mock function with given fields:

func (*MultiError) HasError

func (_m *MultiError) HasError() bool

HasError provides a mock function with given fields:

func (*MultiError) IsNil

func (_m *MultiError) IsNil() bool

IsNil provides a mock function with given fields:

func (*MultiError) Merge

Merge provides a mock function with given fields: _a0

func (*MultiError) ToMap

func (_m *MultiError) ToMap() map[string]string

ToMap provides a mock function with given fields:

type URLQueryGetter added in v1.13.14

type URLQueryGetter struct {
	mock.Mock
}

URLQueryGetter is an autogenerated mock type for the URLQueryGetter type

func NewURLQueryGetter added in v1.13.14

func NewURLQueryGetter(t interface {
	mock.TestingT
	Cleanup(func())
}) *URLQueryGetter

NewURLQueryGetter creates a new instance of URLQueryGetter. 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 (*URLQueryGetter) Get added in v1.13.14

func (_m *URLQueryGetter) Get(key string) string

Get provides a mock function with given fields: key

Jump to

Keyboard shortcuts

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