handlersmocks

package
v0.0.0-...-c6e12e2 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2024 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockCreatePasskey

type MockCreatePasskey struct {
	mock.Mock
}

MockCreatePasskey is an autogenerated mock type for the CreatePasskey type

func NewMockCreatePasskey

func NewMockCreatePasskey(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockCreatePasskey

NewMockCreatePasskey creates a new instance of MockCreatePasskey. 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 (*MockCreatePasskey) EXPECT

func (*MockCreatePasskey) Exec

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

type MockCreatePasskey_Exec_Call

type MockCreatePasskey_Exec_Call struct {
	*mock.Call
}

MockCreatePasskey_Exec_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Exec'

func (*MockCreatePasskey_Exec_Call) Return

func (*MockCreatePasskey_Exec_Call) Run

type MockCreatePasskey_Expecter

type MockCreatePasskey_Expecter struct {
	// contains filtered or unexported fields
}

func (*MockCreatePasskey_Expecter) Exec

func (_e *MockCreatePasskey_Expecter) Exec(_a0 interface{}, _a1 interface{}) *MockCreatePasskey_Exec_Call

Exec is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *passkeysv1.CreateServiceExecRequest

type MockDeletePasskey

type MockDeletePasskey struct {
	mock.Mock
}

MockDeletePasskey is an autogenerated mock type for the DeletePasskey type

func NewMockDeletePasskey

func NewMockDeletePasskey(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockDeletePasskey

NewMockDeletePasskey creates a new instance of MockDeletePasskey. 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 (*MockDeletePasskey) EXPECT

func (*MockDeletePasskey) Exec

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

type MockDeletePasskey_Exec_Call

type MockDeletePasskey_Exec_Call struct {
	*mock.Call
}

MockDeletePasskey_Exec_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Exec'

func (*MockDeletePasskey_Exec_Call) Return

func (*MockDeletePasskey_Exec_Call) Run

type MockDeletePasskey_Expecter

type MockDeletePasskey_Expecter struct {
	// contains filtered or unexported fields
}

func (*MockDeletePasskey_Expecter) Exec

func (_e *MockDeletePasskey_Expecter) Exec(_a0 interface{}, _a1 interface{}) *MockDeletePasskey_Exec_Call

Exec is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *passkeysv1.DeleteServiceExecRequest

type MockGetPasskey

type MockGetPasskey struct {
	mock.Mock
}

MockGetPasskey is an autogenerated mock type for the GetPasskey type

func NewMockGetPasskey

func NewMockGetPasskey(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockGetPasskey

NewMockGetPasskey creates a new instance of MockGetPasskey. 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 (*MockGetPasskey) EXPECT

func (*MockGetPasskey) Exec

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

type MockGetPasskey_Exec_Call

type MockGetPasskey_Exec_Call struct {
	*mock.Call
}

MockGetPasskey_Exec_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Exec'

func (*MockGetPasskey_Exec_Call) Return

func (*MockGetPasskey_Exec_Call) Run

type MockGetPasskey_Expecter

type MockGetPasskey_Expecter struct {
	// contains filtered or unexported fields
}

func (*MockGetPasskey_Expecter) Exec

func (_e *MockGetPasskey_Expecter) Exec(_a0 interface{}, _a1 interface{}) *MockGetPasskey_Exec_Call

Exec is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *passkeysv1.GetServiceExecRequest

type MockUpdatePasskey

type MockUpdatePasskey struct {
	mock.Mock
}

MockUpdatePasskey is an autogenerated mock type for the UpdatePasskey type

func NewMockUpdatePasskey

func NewMockUpdatePasskey(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockUpdatePasskey

NewMockUpdatePasskey creates a new instance of MockUpdatePasskey. 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 (*MockUpdatePasskey) EXPECT

func (*MockUpdatePasskey) Exec

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

type MockUpdatePasskey_Exec_Call

type MockUpdatePasskey_Exec_Call struct {
	*mock.Call
}

MockUpdatePasskey_Exec_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Exec'

func (*MockUpdatePasskey_Exec_Call) Return

func (*MockUpdatePasskey_Exec_Call) Run

type MockUpdatePasskey_Expecter

type MockUpdatePasskey_Expecter struct {
	// contains filtered or unexported fields
}

func (*MockUpdatePasskey_Expecter) Exec

func (_e *MockUpdatePasskey_Expecter) Exec(_a0 interface{}, _a1 interface{}) *MockUpdatePasskey_Exec_Call

Exec is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *passkeysv1.UpdateServiceExecRequest

Jump to

Keyboard shortcuts

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