Files
tasks/client/client_bean_mock.go
zeekay 5a601d081b rebrand: go.temporal.io/server -> github.com/hanzoai/tasks
Full module path rebrand from Temporal to Hanzo Tasks:
- go.mod module: github.com/hanzoai/tasks
- All internal Go imports updated (1906 files)
- cmd/server renamed to cmd/tasksd
- Binary name: tasksd (was temporal-server)
- Docker images: hanzoai/tasks (was temporalio/server)
- README rewritten with Hanzo Tasks branding
- LLM.md created with integration notes
- Makefile, goreleaser, CI workflows updated
- go.temporal.io/sdk and go.temporal.io/api imports preserved (separate repos)

Fork of Temporal.io (MIT license).
2026-03-19 10:36:40 -07:00

120 lines
4.3 KiB
Go

// Code generated by MockGen. DO NOT EDIT.
// Source: client_bean.go
//
// Generated by this command:
//
// mockgen -package client -source client_bean.go -destination client_bean_mock.go
//
// Package client is a generated GoMock package.
package client
import (
reflect "reflect"
workflowservice "go.temporal.io/api/workflowservice/v1"
adminservice "github.com/hanzoai/tasks/api/adminservice/v1"
historyservice "github.com/hanzoai/tasks/api/historyservice/v1"
matchingservice "github.com/hanzoai/tasks/api/matchingservice/v1"
gomock "go.uber.org/mock/gomock"
grpc "google.golang.org/grpc"
)
// MockBean is a mock of Bean interface.
type MockBean struct {
ctrl *gomock.Controller
recorder *MockBeanMockRecorder
isgomock struct{}
}
// MockBeanMockRecorder is the mock recorder for MockBean.
type MockBeanMockRecorder struct {
mock *MockBean
}
// NewMockBean creates a new mock instance.
func NewMockBean(ctrl *gomock.Controller) *MockBean {
mock := &MockBean{ctrl: ctrl}
mock.recorder = &MockBeanMockRecorder{mock}
return mock
}
// EXPECT returns an object that allows the caller to indicate expected use.
func (m *MockBean) EXPECT() *MockBeanMockRecorder {
return m.recorder
}
// GetFrontendClient mocks base method.
func (m *MockBean) GetFrontendClient() workflowservice.WorkflowServiceClient {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "GetFrontendClient")
ret0, _ := ret[0].(workflowservice.WorkflowServiceClient)
return ret0
}
// GetFrontendClient indicates an expected call of GetFrontendClient.
func (mr *MockBeanMockRecorder) GetFrontendClient() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetFrontendClient", reflect.TypeOf((*MockBean)(nil).GetFrontendClient))
}
// GetHistoryClient mocks base method.
func (m *MockBean) GetHistoryClient() historyservice.HistoryServiceClient {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "GetHistoryClient")
ret0, _ := ret[0].(historyservice.HistoryServiceClient)
return ret0
}
// GetHistoryClient indicates an expected call of GetHistoryClient.
func (mr *MockBeanMockRecorder) GetHistoryClient() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetHistoryClient", reflect.TypeOf((*MockBean)(nil).GetHistoryClient))
}
// GetMatchingClient mocks base method.
func (m *MockBean) GetMatchingClient(namespaceIDToName NamespaceIDToNameFunc) (matchingservice.MatchingServiceClient, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "GetMatchingClient", namespaceIDToName)
ret0, _ := ret[0].(matchingservice.MatchingServiceClient)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// GetMatchingClient indicates an expected call of GetMatchingClient.
func (mr *MockBeanMockRecorder) GetMatchingClient(namespaceIDToName any) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetMatchingClient", reflect.TypeOf((*MockBean)(nil).GetMatchingClient), namespaceIDToName)
}
// GetRemoteAdminClient mocks base method.
func (m *MockBean) GetRemoteAdminClient(arg0 string) (adminservice.AdminServiceClient, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "GetRemoteAdminClient", arg0)
ret0, _ := ret[0].(adminservice.AdminServiceClient)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// GetRemoteAdminClient indicates an expected call of GetRemoteAdminClient.
func (mr *MockBeanMockRecorder) GetRemoteAdminClient(arg0 any) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetRemoteAdminClient", reflect.TypeOf((*MockBean)(nil).GetRemoteAdminClient), arg0)
}
// GetRemoteFrontendClient mocks base method.
func (m *MockBean) GetRemoteFrontendClient(arg0 string) (grpc.ClientConnInterface, workflowservice.WorkflowServiceClient, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "GetRemoteFrontendClient", arg0)
ret0, _ := ret[0].(grpc.ClientConnInterface)
ret1, _ := ret[1].(workflowservice.WorkflowServiceClient)
ret2, _ := ret[2].(error)
return ret0, ret1, ret2
}
// GetRemoteFrontendClient indicates an expected call of GetRemoteFrontendClient.
func (mr *MockBeanMockRecorder) GetRemoteFrontendClient(arg0 any) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetRemoteFrontendClient", reflect.TypeOf((*MockBean)(nil).GetRemoteFrontendClient), arg0)
}