mocks

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DelFunc added in v0.0.52

type DelFunc struct {
	mock.Mock
}

DelFunc is an autogenerated mock type for the DelFunc type

func NewDelFunc added in v0.3.24

func NewDelFunc(t mockConstructorTestingTNewDelFunc) *DelFunc

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

func (*DelFunc) Execute added in v0.0.52

func (_m *DelFunc) Execute(_a0 string) error

Execute provides a mock function with given fields: _a0

type ExistsFunc

type ExistsFunc struct {
	mock.Mock
}

ExistsFunc is an autogenerated mock type for the ExistsFunc type

func NewExistsFunc added in v0.3.24

func NewExistsFunc(t mockConstructorTestingTNewExistsFunc) *ExistsFunc

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

func (*ExistsFunc) Execute

func (_m *ExistsFunc) Execute(_a0 string) (*bool, error)

Execute provides a mock function with given fields: _a0

type GetFunc

type GetFunc struct {
	mock.Mock
}

GetFunc is an autogenerated mock type for the GetFunc type

func NewGetFunc added in v0.3.24

func NewGetFunc(t mockConstructorTestingTNewGetFunc) *GetFunc

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

func (*GetFunc) Execute

func (_m *GetFunc) Execute(_a0 string, _a1 encoding.BinaryUnmarshaler) error

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

type SetFunc

type SetFunc struct {
	mock.Mock
}

SetFunc is an autogenerated mock type for the SetFunc type

func NewSetFunc added in v0.3.24

func NewSetFunc(t mockConstructorTestingTNewSetFunc) *SetFunc

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

func (*SetFunc) Execute

func (_m *SetFunc) Execute(_a0 string, _a1 interface{}, _a2 time.Duration) error

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

type SetNXFunc

type SetNXFunc struct {
	mock.Mock
}

SetNXFunc is an autogenerated mock type for the SetNXFunc type

func NewSetNXFunc added in v0.3.24

func NewSetNXFunc(t mockConstructorTestingTNewSetNXFunc) *SetNXFunc

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

func (*SetNXFunc) Execute

func (_m *SetNXFunc) Execute(_a0 string, _a1 interface{}, _a2 time.Duration) error

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

Jump to

Keyboard shortcuts

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