interactor

package
v0.0.0-...-6321d4b Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HealthcheckInteractor

type HealthcheckInteractor struct {
	mock.Mock
}

HealthcheckInteractor is an autogenerated mock type for the HealthcheckInteractor type

func NewHealthcheckInteractor

func NewHealthcheckInteractor(t interface {
	mock.TestingT
	Cleanup(func())
}) *HealthcheckInteractor

NewHealthcheckInteractor creates a new instance of HealthcheckInteractor. 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 (*HealthcheckInteractor) IsLive

func (_m *HealthcheckInteractor) IsLive() error

IsLive provides a mock function with given fields:

func (*HealthcheckInteractor) IsReady

func (_m *HealthcheckInteractor) IsReady() error

IsReady provides a mock function with given fields:

type Private

type Private struct {
	mock.Mock
}

Private is an autogenerated mock type for the Private type

func NewPrivate

func NewPrivate(t interface {
	mock.TestingT
	Cleanup(func())
}) *Private

NewPrivate creates a new instance of Private. 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.

type Todo

type Todo struct {
	mock.Mock
}

Todo is an autogenerated mock type for the Todo type

func NewTodo

func NewTodo(t interface {
	mock.TestingT
	Cleanup(func())
}) *Todo

NewTodo creates a new instance of Todo. 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 (*Todo) Create

func (_m *Todo) Create(ctx context.Context, todo *model.Todo) (*model.Todo, error)

Create provides a mock function with given fields: ctx, todo

func (*Todo) GetAll

func (_m *Todo) GetAll(ctx context.Context) ([]model.Todo, error)

GetAll provides a mock function with given fields: ctx

func (*Todo) GetByUUID

func (_m *Todo) GetByUUID(ctx context.Context, _a1 uuid.UUID) (*model.Todo, error)

GetByUUID provides a mock function with given fields: ctx, _a1

func (*Todo) Patch

func (_m *Todo) Patch(ctx context.Context, todo *model.Todo) (*model.Todo, error)

Patch provides a mock function with given fields: ctx, todo

func (*Todo) Update

func (_m *Todo) Update(ctx context.Context, todo *model.Todo) (*model.Todo, error)

Update provides a mock function with given fields: ctx, todo

Jump to

Keyboard shortcuts

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