Documentation ¶
Index ¶
- type HealthcheckInteractor
- type Private
- type Todo
- func (_m *Todo) Create(ctx context.Context, todo *model.Todo) (*model.Todo, error)
- func (_m *Todo) GetAll(ctx context.Context) ([]model.Todo, error)
- func (_m *Todo) GetByUUID(ctx context.Context, _a1 uuid.UUID) (*model.Todo, error)
- func (_m *Todo) Patch(ctx context.Context, todo *model.Todo) (*model.Todo, error)
- func (_m *Todo) Update(ctx context.Context, todo *model.Todo) (*model.Todo, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HealthcheckInteractor ¶
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 ¶
Private is an autogenerated mock type for the Private type
func NewPrivate ¶
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 ¶
Todo is an autogenerated mock type for the Todo type
func NewTodo ¶
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.