mirror of
https://github.com/hanzoai/tasks.git
synced 2026-10-04 02:04:03 +00:00
73 lines
2.6 KiB
Go
73 lines
2.6 KiB
Go
// Code generated by MockGen. DO NOT EDIT.
|
|
// Source: visibility_manager.go
|
|
//
|
|
// Generated by this command:
|
|
//
|
|
// mockgen -package chasm -source visibility_manager.go -destination visibility_manager_mock.go
|
|
//
|
|
|
|
// Package chasm is a generated GoMock package.
|
|
package chasm
|
|
|
|
import (
|
|
context "context"
|
|
reflect "reflect"
|
|
|
|
common "go.temporal.io/api/common/v1"
|
|
gomock "go.uber.org/mock/gomock"
|
|
)
|
|
|
|
// MockVisibilityManager is a mock of VisibilityManager interface.
|
|
type MockVisibilityManager struct {
|
|
ctrl *gomock.Controller
|
|
recorder *MockVisibilityManagerMockRecorder
|
|
isgomock struct{}
|
|
}
|
|
|
|
// MockVisibilityManagerMockRecorder is the mock recorder for MockVisibilityManager.
|
|
type MockVisibilityManagerMockRecorder struct {
|
|
mock *MockVisibilityManager
|
|
}
|
|
|
|
// NewMockVisibilityManager creates a new mock instance.
|
|
func NewMockVisibilityManager(ctrl *gomock.Controller) *MockVisibilityManager {
|
|
mock := &MockVisibilityManager{ctrl: ctrl}
|
|
mock.recorder = &MockVisibilityManagerMockRecorder{mock}
|
|
return mock
|
|
}
|
|
|
|
// EXPECT returns an object that allows the caller to indicate expected use.
|
|
func (m *MockVisibilityManager) EXPECT() *MockVisibilityManagerMockRecorder {
|
|
return m.recorder
|
|
}
|
|
|
|
// CountExecutions mocks base method.
|
|
func (m *MockVisibilityManager) CountExecutions(arg0 context.Context, arg1 reflect.Type, arg2 *CountExecutionsRequest) (*CountExecutionsResponse, error) {
|
|
m.ctrl.T.Helper()
|
|
ret := m.ctrl.Call(m, "CountExecutions", arg0, arg1, arg2)
|
|
ret0, _ := ret[0].(*CountExecutionsResponse)
|
|
ret1, _ := ret[1].(error)
|
|
return ret0, ret1
|
|
}
|
|
|
|
// CountExecutions indicates an expected call of CountExecutions.
|
|
func (mr *MockVisibilityManagerMockRecorder) CountExecutions(arg0, arg1, arg2 any) *gomock.Call {
|
|
mr.mock.ctrl.T.Helper()
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CountExecutions", reflect.TypeOf((*MockVisibilityManager)(nil).CountExecutions), arg0, arg1, arg2)
|
|
}
|
|
|
|
// ListExecutions mocks base method.
|
|
func (m *MockVisibilityManager) ListExecutions(arg0 context.Context, arg1 reflect.Type, arg2 *ListExecutionsRequest) (*ListExecutionsResponse[*common.Payload], error) {
|
|
m.ctrl.T.Helper()
|
|
ret := m.ctrl.Call(m, "ListExecutions", arg0, arg1, arg2)
|
|
ret0, _ := ret[0].(*ListExecutionsResponse[*common.Payload])
|
|
ret1, _ := ret[1].(error)
|
|
return ret0, ret1
|
|
}
|
|
|
|
// ListExecutions indicates an expected call of ListExecutions.
|
|
func (mr *MockVisibilityManagerMockRecorder) ListExecutions(arg0, arg1, arg2 any) *gomock.Call {
|
|
mr.mock.ctrl.T.Helper()
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListExecutions", reflect.TypeOf((*MockVisibilityManager)(nil).ListExecutions), arg0, arg1, arg2)
|
|
}
|