Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Index ¶
- type MockChatbotSvcClient
- type MockChatbotSvcClientMockRecorder
- type MockChatbotSvcServer
- type MockChatbotSvcServerMockRecorder
- type MockMessageRepository
- func (m *MockMessageRepository) Create(message pb.Message) (int64, error)
- func (m *MockMessageRepository) Delete(id int64) error
- func (m *MockMessageRepository) EXPECT() *MockMessageRepositoryMockRecorder
- func (m *MockMessageRepository) GetByID(id int64) (pb.Message, error)
- func (m *MockMessageRepository) GetByUUID(uuid string) (pb.Message, error)
- func (m *MockMessageRepository) List() ([]pb.Message, error)
- func (m *MockMessageRepository) ListByType(t string) ([]pb.Message, error)
- type MockMessageRepositoryMockRecorder
- func (mr *MockMessageRepositoryMockRecorder) Create(message interface{}) *gomock.Call
- func (mr *MockMessageRepositoryMockRecorder) Delete(id interface{}) *gomock.Call
- func (mr *MockMessageRepositoryMockRecorder) GetByID(id interface{}) *gomock.Call
- func (mr *MockMessageRepositoryMockRecorder) GetByUUID(uuid interface{}) *gomock.Call
- func (mr *MockMessageRepositoryMockRecorder) List() *gomock.Call
- func (mr *MockMessageRepositoryMockRecorder) ListByType(t interface{}) *gomock.Call
- type MockMessageSvcClient
- func (m *MockMessageSvcClient) Create(ctx context.Context, in *pb.MessageRequest, opts ...grpc.CallOption) (*pb.MessageReply, error)
- func (m *MockMessageSvcClient) CreateActionMessage(ctx context.Context, in *pb.TextRequest, opts ...grpc.CallOption) (*pb.StateReply, error)
- func (m *MockMessageSvcClient) Delete(ctx context.Context, in *pb.MessageRequest, opts ...grpc.CallOption) (*pb.TextReply, error)
- func (m *MockMessageSvcClient) DeleteWorkflowMessage(ctx context.Context, in *pb.MessageRequest, opts ...grpc.CallOption) (*pb.StateReply, error)
- func (m *MockMessageSvcClient) EXPECT() *MockMessageSvcClientMockRecorder
- func (m *MockMessageSvcClient) Get(ctx context.Context, in *pb.MessageRequest, opts ...grpc.CallOption) (*pb.MessageReply, error)
- func (m *MockMessageSvcClient) GetActionMessages(ctx context.Context, in *pb.TextRequest, opts ...grpc.CallOption) (*pb.ActionReply, error)
- func (m *MockMessageSvcClient) List(ctx context.Context, in *pb.MessageRequest, opts ...grpc.CallOption) (*pb.MessagesReply, error)
- func (m *MockMessageSvcClient) Run(ctx context.Context, in *pb.MessageRequest, opts ...grpc.CallOption) (*pb.TextReply, error)
- func (m *MockMessageSvcClient) Send(ctx context.Context, in *pb.MessageRequest, opts ...grpc.CallOption) (*pb.StateReply, error)
- type MockMessageSvcClientMockRecorder
- func (mr *MockMessageSvcClientMockRecorder) Create(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockMessageSvcClientMockRecorder) CreateActionMessage(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockMessageSvcClientMockRecorder) Delete(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockMessageSvcClientMockRecorder) DeleteWorkflowMessage(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockMessageSvcClientMockRecorder) Get(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockMessageSvcClientMockRecorder) GetActionMessages(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockMessageSvcClientMockRecorder) List(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockMessageSvcClientMockRecorder) Run(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockMessageSvcClientMockRecorder) Send(ctx, in interface{}, opts ...interface{}) *gomock.Call
- type MockMessageSvcServer
- func (m *MockMessageSvcServer) Create(arg0 context.Context, arg1 *pb.MessageRequest) (*pb.MessageReply, error)
- func (m *MockMessageSvcServer) CreateActionMessage(arg0 context.Context, arg1 *pb.TextRequest) (*pb.StateReply, error)
- func (m *MockMessageSvcServer) Delete(arg0 context.Context, arg1 *pb.MessageRequest) (*pb.TextReply, error)
- func (m *MockMessageSvcServer) DeleteWorkflowMessage(arg0 context.Context, arg1 *pb.MessageRequest) (*pb.StateReply, error)
- func (m *MockMessageSvcServer) EXPECT() *MockMessageSvcServerMockRecorder
- func (m *MockMessageSvcServer) Get(arg0 context.Context, arg1 *pb.MessageRequest) (*pb.MessageReply, error)
- func (m *MockMessageSvcServer) GetActionMessages(arg0 context.Context, arg1 *pb.TextRequest) (*pb.ActionReply, error)
- func (m *MockMessageSvcServer) List(arg0 context.Context, arg1 *pb.MessageRequest) (*pb.MessagesReply, error)
- func (m *MockMessageSvcServer) Run(arg0 context.Context, arg1 *pb.MessageRequest) (*pb.TextReply, error)
- func (m *MockMessageSvcServer) Send(arg0 context.Context, arg1 *pb.MessageRequest) (*pb.StateReply, error)
- type MockMessageSvcServerMockRecorder
- func (mr *MockMessageSvcServerMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockMessageSvcServerMockRecorder) CreateActionMessage(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockMessageSvcServerMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockMessageSvcServerMockRecorder) DeleteWorkflowMessage(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockMessageSvcServerMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockMessageSvcServerMockRecorder) GetActionMessages(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockMessageSvcServerMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockMessageSvcServerMockRecorder) Run(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockMessageSvcServerMockRecorder) Send(arg0, arg1 interface{}) *gomock.Call
- type MockMiddleRepository
- func (m *MockMiddleRepository) CreateApp(app pb.App) (int64, error)
- func (m *MockMiddleRepository) CreateCredential(credential pb.Credential) (int64, error)
- func (m *MockMiddleRepository) CreatePage(page pb.Page) (int64, error)
- func (m *MockMiddleRepository) EXPECT() *MockMiddleRepositoryMockRecorder
- func (m *MockMiddleRepository) GetAppByType(t string) (pb.App, error)
- func (m *MockMiddleRepository) GetAvailableAppByType(t string) (pb.App, error)
- func (m *MockMiddleRepository) GetCredentialByName(name string) (pb.Credential, error)
- func (m *MockMiddleRepository) GetCredentialByType(t string) (pb.Credential, error)
- func (m *MockMiddleRepository) GetPageByUUID(uuid string) (pb.Page, error)
- func (m *MockMiddleRepository) ListApps() ([]pb.App, error)
- func (m *MockMiddleRepository) ListCredentials() ([]pb.Credential, error)
- func (m *MockMiddleRepository) UpdateAppByID(id int64, token, extra string) error
- type MockMiddleRepositoryMockRecorder
- func (mr *MockMiddleRepositoryMockRecorder) CreateApp(app interface{}) *gomock.Call
- func (mr *MockMiddleRepositoryMockRecorder) CreateCredential(credential interface{}) *gomock.Call
- func (mr *MockMiddleRepositoryMockRecorder) CreatePage(page interface{}) *gomock.Call
- func (mr *MockMiddleRepositoryMockRecorder) GetAppByType(t interface{}) *gomock.Call
- func (mr *MockMiddleRepositoryMockRecorder) GetAvailableAppByType(t interface{}) *gomock.Call
- func (mr *MockMiddleRepositoryMockRecorder) GetCredentialByName(name interface{}) *gomock.Call
- func (mr *MockMiddleRepositoryMockRecorder) GetCredentialByType(t interface{}) *gomock.Call
- func (mr *MockMiddleRepositoryMockRecorder) GetPageByUUID(uuid interface{}) *gomock.Call
- func (mr *MockMiddleRepositoryMockRecorder) ListApps() *gomock.Call
- func (mr *MockMiddleRepositoryMockRecorder) ListCredentials() *gomock.Call
- func (mr *MockMiddleRepositoryMockRecorder) UpdateAppByID(id, token, extra interface{}) *gomock.Call
- type MockMiddleSvcClient
- func (m *MockMiddleSvcClient) CreateCredential(ctx context.Context, in *pb.KVsRequest, opts ...grpc.CallOption) (*pb.StateReply, error)
- func (m *MockMiddleSvcClient) CreatePage(ctx context.Context, in *pb.PageRequest, opts ...grpc.CallOption) (*pb.TextReply, error)
- func (m *MockMiddleSvcClient) CreateSetting(ctx context.Context, in *pb.KVRequest, opts ...grpc.CallOption) (*pb.StateReply, error)
- func (m *MockMiddleSvcClient) EXPECT() *MockMiddleSvcClientMockRecorder
- func (m *MockMiddleSvcClient) GetApps(ctx context.Context, in *pb.TextRequest, opts ...grpc.CallOption) (*pb.AppsReply, error)
- func (m *MockMiddleSvcClient) GetAvailableApp(ctx context.Context, in *pb.TextRequest, opts ...grpc.CallOption) (*pb.AppReply, error)
- func (m *MockMiddleSvcClient) GetCredential(ctx context.Context, in *pb.CredentialRequest, opts ...grpc.CallOption) (*pb.CredentialReply, error)
- func (m *MockMiddleSvcClient) GetCredentials(ctx context.Context, in *pb.TextRequest, opts ...grpc.CallOption) (*pb.CredentialsReply, error)
- func (m *MockMiddleSvcClient) GetMaskingCredentials(ctx context.Context, in *pb.TextRequest, opts ...grpc.CallOption) (*pb.MaskingReply, error)
- func (m *MockMiddleSvcClient) GetMenu(ctx context.Context, in *pb.TextRequest, opts ...grpc.CallOption) (*pb.TextReply, error)
- func (m *MockMiddleSvcClient) GetPage(ctx context.Context, in *pb.PageRequest, opts ...grpc.CallOption) (*pb.PageReply, error)
- func (m *MockMiddleSvcClient) GetQrUrl(ctx context.Context, in *pb.TextRequest, opts ...grpc.CallOption) (*pb.TextReply, error)
- func (m *MockMiddleSvcClient) GetRoleImageUrl(ctx context.Context, in *pb.TextRequest, opts ...grpc.CallOption) (*pb.TextReply, error)
- func (m *MockMiddleSvcClient) GetSetting(ctx context.Context, in *pb.TextRequest, opts ...grpc.CallOption) (*pb.SettingReply, error)
- func (m *MockMiddleSvcClient) GetSettings(ctx context.Context, in *pb.TextRequest, opts ...grpc.CallOption) (*pb.SettingsReply, error)
- func (m *MockMiddleSvcClient) GetStats(ctx context.Context, in *pb.TextRequest, opts ...grpc.CallOption) (*pb.TextReply, error)
- func (m *MockMiddleSvcClient) StoreAppOAuth(ctx context.Context, in *pb.AppRequest, opts ...grpc.CallOption) (*pb.StateReply, error)
- type MockMiddleSvcClientMockRecorder
- func (mr *MockMiddleSvcClientMockRecorder) CreateCredential(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockMiddleSvcClientMockRecorder) CreatePage(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockMiddleSvcClientMockRecorder) CreateSetting(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockMiddleSvcClientMockRecorder) GetApps(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockMiddleSvcClientMockRecorder) GetAvailableApp(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockMiddleSvcClientMockRecorder) GetCredential(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockMiddleSvcClientMockRecorder) GetCredentials(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockMiddleSvcClientMockRecorder) GetMaskingCredentials(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockMiddleSvcClientMockRecorder) GetMenu(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockMiddleSvcClientMockRecorder) GetPage(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockMiddleSvcClientMockRecorder) GetQrUrl(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockMiddleSvcClientMockRecorder) GetRoleImageUrl(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockMiddleSvcClientMockRecorder) GetSetting(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockMiddleSvcClientMockRecorder) GetSettings(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockMiddleSvcClientMockRecorder) GetStats(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockMiddleSvcClientMockRecorder) StoreAppOAuth(ctx, in interface{}, opts ...interface{}) *gomock.Call
- type MockMiddleSvcServer
- func (m *MockMiddleSvcServer) CreateCredential(arg0 context.Context, arg1 *pb.KVsRequest) (*pb.StateReply, error)
- func (m *MockMiddleSvcServer) CreatePage(arg0 context.Context, arg1 *pb.PageRequest) (*pb.TextReply, error)
- func (m *MockMiddleSvcServer) CreateSetting(arg0 context.Context, arg1 *pb.KVRequest) (*pb.StateReply, error)
- func (m *MockMiddleSvcServer) EXPECT() *MockMiddleSvcServerMockRecorder
- func (m *MockMiddleSvcServer) GetApps(arg0 context.Context, arg1 *pb.TextRequest) (*pb.AppsReply, error)
- func (m *MockMiddleSvcServer) GetAvailableApp(arg0 context.Context, arg1 *pb.TextRequest) (*pb.AppReply, error)
- func (m *MockMiddleSvcServer) GetCredential(arg0 context.Context, arg1 *pb.CredentialRequest) (*pb.CredentialReply, error)
- func (m *MockMiddleSvcServer) GetCredentials(arg0 context.Context, arg1 *pb.TextRequest) (*pb.CredentialsReply, error)
- func (m *MockMiddleSvcServer) GetMaskingCredentials(arg0 context.Context, arg1 *pb.TextRequest) (*pb.MaskingReply, error)
- func (m *MockMiddleSvcServer) GetMenu(arg0 context.Context, arg1 *pb.TextRequest) (*pb.TextReply, error)
- func (m *MockMiddleSvcServer) GetPage(arg0 context.Context, arg1 *pb.PageRequest) (*pb.PageReply, error)
- func (m *MockMiddleSvcServer) GetQrUrl(arg0 context.Context, arg1 *pb.TextRequest) (*pb.TextReply, error)
- func (m *MockMiddleSvcServer) GetRoleImageUrl(arg0 context.Context, arg1 *pb.TextRequest) (*pb.TextReply, error)
- func (m *MockMiddleSvcServer) GetSetting(arg0 context.Context, arg1 *pb.TextRequest) (*pb.SettingReply, error)
- func (m *MockMiddleSvcServer) GetSettings(arg0 context.Context, arg1 *pb.TextRequest) (*pb.SettingsReply, error)
- func (m *MockMiddleSvcServer) GetStats(arg0 context.Context, arg1 *pb.TextRequest) (*pb.TextReply, error)
- func (m *MockMiddleSvcServer) StoreAppOAuth(arg0 context.Context, arg1 *pb.AppRequest) (*pb.StateReply, error)
- type MockMiddleSvcServerMockRecorder
- func (mr *MockMiddleSvcServerMockRecorder) CreateCredential(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockMiddleSvcServerMockRecorder) CreatePage(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockMiddleSvcServerMockRecorder) CreateSetting(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockMiddleSvcServerMockRecorder) GetApps(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockMiddleSvcServerMockRecorder) GetAvailableApp(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockMiddleSvcServerMockRecorder) GetCredential(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockMiddleSvcServerMockRecorder) GetCredentials(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockMiddleSvcServerMockRecorder) GetMaskingCredentials(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockMiddleSvcServerMockRecorder) GetMenu(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockMiddleSvcServerMockRecorder) GetPage(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockMiddleSvcServerMockRecorder) GetQrUrl(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockMiddleSvcServerMockRecorder) GetRoleImageUrl(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockMiddleSvcServerMockRecorder) GetSetting(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockMiddleSvcServerMockRecorder) GetSettings(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockMiddleSvcServerMockRecorder) GetStats(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockMiddleSvcServerMockRecorder) StoreAppOAuth(arg0, arg1 interface{}) *gomock.Call
- type MockNLPSvcClient
- func (m *MockNLPSvcClient) Classifier(ctx context.Context, in *pb.TextRequest, opts ...grpc.CallOption) (*pb.TextReply, error)
- func (m *MockNLPSvcClient) EXPECT() *MockNLPSvcClientMockRecorder
- func (m *MockNLPSvcClient) Pinyin(ctx context.Context, in *pb.TextRequest, opts ...grpc.CallOption) (*pb.WordsReply, error)
- func (m *MockNLPSvcClient) Segmentation(ctx context.Context, in *pb.TextRequest, opts ...grpc.CallOption) (*pb.WordsReply, error)
- type MockNLPSvcClientMockRecorder
- func (mr *MockNLPSvcClientMockRecorder) Classifier(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockNLPSvcClientMockRecorder) Pinyin(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockNLPSvcClientMockRecorder) Segmentation(ctx, in interface{}, opts ...interface{}) *gomock.Call
- type MockNLPSvcServer
- func (m *MockNLPSvcServer) Classifier(arg0 context.Context, arg1 *pb.TextRequest) (*pb.TextReply, error)
- func (m *MockNLPSvcServer) EXPECT() *MockNLPSvcServerMockRecorder
- func (m *MockNLPSvcServer) Pinyin(arg0 context.Context, arg1 *pb.TextRequest) (*pb.WordsReply, error)
- func (m *MockNLPSvcServer) Segmentation(arg0 context.Context, arg1 *pb.TextRequest) (*pb.WordsReply, error)
- type MockNLPSvcServerMockRecorder
- type MockSubscribeSvcClient
- func (m *MockSubscribeSvcClient) Close(ctx context.Context, in *pb.SubscribeRequest, opts ...grpc.CallOption) (*pb.StateReply, error)
- func (m *MockSubscribeSvcClient) EXPECT() *MockSubscribeSvcClientMockRecorder
- func (m *MockSubscribeSvcClient) List(ctx context.Context, in *pb.SubscribeRequest, opts ...grpc.CallOption) (*pb.SubscribeReply, error)
- func (m *MockSubscribeSvcClient) Open(ctx context.Context, in *pb.SubscribeRequest, opts ...grpc.CallOption) (*pb.StateReply, error)
- func (m *MockSubscribeSvcClient) Register(ctx context.Context, in *pb.SubscribeRequest, opts ...grpc.CallOption) (*pb.StateReply, error)
- func (m *MockSubscribeSvcClient) Status(ctx context.Context, in *pb.SubscribeRequest, opts ...grpc.CallOption) (*pb.StateReply, error)
- type MockSubscribeSvcClientMockRecorder
- func (mr *MockSubscribeSvcClientMockRecorder) Close(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockSubscribeSvcClientMockRecorder) List(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockSubscribeSvcClientMockRecorder) Open(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockSubscribeSvcClientMockRecorder) Register(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockSubscribeSvcClientMockRecorder) Status(ctx, in interface{}, opts ...interface{}) *gomock.Call
- type MockSubscribeSvcServer
- func (m *MockSubscribeSvcServer) Close(arg0 context.Context, arg1 *pb.SubscribeRequest) (*pb.StateReply, error)
- func (m *MockSubscribeSvcServer) EXPECT() *MockSubscribeSvcServerMockRecorder
- func (m *MockSubscribeSvcServer) List(arg0 context.Context, arg1 *pb.SubscribeRequest) (*pb.SubscribeReply, error)
- func (m *MockSubscribeSvcServer) Open(arg0 context.Context, arg1 *pb.SubscribeRequest) (*pb.StateReply, error)
- func (m *MockSubscribeSvcServer) Register(arg0 context.Context, arg1 *pb.SubscribeRequest) (*pb.StateReply, error)
- func (m *MockSubscribeSvcServer) Status(arg0 context.Context, arg1 *pb.SubscribeRequest) (*pb.StateReply, error)
- type MockSubscribeSvcServerMockRecorder
- func (mr *MockSubscribeSvcServerMockRecorder) Close(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSubscribeSvcServerMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSubscribeSvcServerMockRecorder) Open(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSubscribeSvcServerMockRecorder) Register(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSubscribeSvcServerMockRecorder) Status(arg0, arg1 interface{}) *gomock.Call
- type MockTodoRepository
- func (m *MockTodoRepository) CompleteTodo(id int64) error
- func (m *MockTodoRepository) CreateTodo(todo pb.Todo) (int64, error)
- func (m *MockTodoRepository) DeleteTodo(id int64) error
- func (m *MockTodoRepository) EXPECT() *MockTodoRepositoryMockRecorder
- func (m *MockTodoRepository) GetTodo(id int64) (pb.Todo, error)
- func (m *MockTodoRepository) ListRemindTodos() ([]pb.Todo, error)
- func (m *MockTodoRepository) ListTodos() ([]pb.Todo, error)
- func (m *MockTodoRepository) UpdateTodo(todo pb.Todo) error
- type MockTodoRepositoryMockRecorder
- func (mr *MockTodoRepositoryMockRecorder) CompleteTodo(id interface{}) *gomock.Call
- func (mr *MockTodoRepositoryMockRecorder) CreateTodo(todo interface{}) *gomock.Call
- func (mr *MockTodoRepositoryMockRecorder) DeleteTodo(id interface{}) *gomock.Call
- func (mr *MockTodoRepositoryMockRecorder) GetTodo(id interface{}) *gomock.Call
- func (mr *MockTodoRepositoryMockRecorder) ListRemindTodos() *gomock.Call
- func (mr *MockTodoRepositoryMockRecorder) ListTodos() *gomock.Call
- func (mr *MockTodoRepositoryMockRecorder) UpdateTodo(todo interface{}) *gomock.Call
- type MockTodoSvcClient
- func (m *MockTodoSvcClient) CompleteTodo(ctx context.Context, in *pb.TodoRequest, opts ...grpc.CallOption) (*pb.StateReply, error)
- func (m *MockTodoSvcClient) CreateTodo(ctx context.Context, in *pb.TodoRequest, opts ...grpc.CallOption) (*pb.StateReply, error)
- func (m *MockTodoSvcClient) DeleteTodo(ctx context.Context, in *pb.TodoRequest, opts ...grpc.CallOption) (*pb.StateReply, error)
- func (m *MockTodoSvcClient) EXPECT() *MockTodoSvcClientMockRecorder
- func (m *MockTodoSvcClient) GetRemindTodos(ctx context.Context, in *pb.TodoRequest, opts ...grpc.CallOption) (*pb.TodosReply, error)
- func (m *MockTodoSvcClient) GetTodo(ctx context.Context, in *pb.TodoRequest, opts ...grpc.CallOption) (*pb.TodoReply, error)
- func (m *MockTodoSvcClient) GetTodos(ctx context.Context, in *pb.TodoRequest, opts ...grpc.CallOption) (*pb.TodosReply, error)
- func (m *MockTodoSvcClient) UpdateTodo(ctx context.Context, in *pb.TodoRequest, opts ...grpc.CallOption) (*pb.StateReply, error)
- type MockTodoSvcClientMockRecorder
- func (mr *MockTodoSvcClientMockRecorder) CompleteTodo(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockTodoSvcClientMockRecorder) CreateTodo(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockTodoSvcClientMockRecorder) DeleteTodo(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockTodoSvcClientMockRecorder) GetRemindTodos(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockTodoSvcClientMockRecorder) GetTodo(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockTodoSvcClientMockRecorder) GetTodos(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockTodoSvcClientMockRecorder) UpdateTodo(ctx, in interface{}, opts ...interface{}) *gomock.Call
- type MockTodoSvcServer
- func (m *MockTodoSvcServer) CompleteTodo(arg0 context.Context, arg1 *pb.TodoRequest) (*pb.StateReply, error)
- func (m *MockTodoSvcServer) CreateTodo(arg0 context.Context, arg1 *pb.TodoRequest) (*pb.StateReply, error)
- func (m *MockTodoSvcServer) DeleteTodo(arg0 context.Context, arg1 *pb.TodoRequest) (*pb.StateReply, error)
- func (m *MockTodoSvcServer) EXPECT() *MockTodoSvcServerMockRecorder
- func (m *MockTodoSvcServer) GetRemindTodos(arg0 context.Context, arg1 *pb.TodoRequest) (*pb.TodosReply, error)
- func (m *MockTodoSvcServer) GetTodo(arg0 context.Context, arg1 *pb.TodoRequest) (*pb.TodoReply, error)
- func (m *MockTodoSvcServer) GetTodos(arg0 context.Context, arg1 *pb.TodoRequest) (*pb.TodosReply, error)
- func (m *MockTodoSvcServer) UpdateTodo(arg0 context.Context, arg1 *pb.TodoRequest) (*pb.StateReply, error)
- type MockTodoSvcServerMockRecorder
- func (mr *MockTodoSvcServerMockRecorder) CompleteTodo(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockTodoSvcServerMockRecorder) CreateTodo(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockTodoSvcServerMockRecorder) DeleteTodo(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockTodoSvcServerMockRecorder) GetRemindTodos(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockTodoSvcServerMockRecorder) GetTodo(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockTodoSvcServerMockRecorder) GetTodos(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockTodoSvcServerMockRecorder) UpdateTodo(arg0, arg1 interface{}) *gomock.Call
- type MockUserRepository
- func (m *MockUserRepository) ChangeRoleAttr(userID int64, attr string, val int64) error
- func (m *MockUserRepository) ChangeRoleExp(userID, exp int64) error
- func (m *MockUserRepository) Create(user pb.User) (int64, error)
- func (m *MockUserRepository) EXPECT() *MockUserRepositoryMockRecorder
- func (m *MockUserRepository) GetByID(id int64) (pb.User, error)
- func (m *MockUserRepository) GetByName(name string) (pb.User, error)
- func (m *MockUserRepository) GetRole(userID int64) (pb.Role, error)
- func (m *MockUserRepository) List() ([]pb.User, error)
- func (m *MockUserRepository) Update(user pb.User) error
- type MockUserRepositoryMockRecorder
- func (mr *MockUserRepositoryMockRecorder) ChangeRoleAttr(userID, attr, val interface{}) *gomock.Call
- func (mr *MockUserRepositoryMockRecorder) ChangeRoleExp(userID, exp interface{}) *gomock.Call
- func (mr *MockUserRepositoryMockRecorder) Create(user interface{}) *gomock.Call
- func (mr *MockUserRepositoryMockRecorder) GetByID(id interface{}) *gomock.Call
- func (mr *MockUserRepositoryMockRecorder) GetByName(name interface{}) *gomock.Call
- func (mr *MockUserRepositoryMockRecorder) GetRole(userID interface{}) *gomock.Call
- func (mr *MockUserRepositoryMockRecorder) List() *gomock.Call
- func (mr *MockUserRepositoryMockRecorder) Update(user interface{}) *gomock.Call
- type MockUserSvcClient
- func (m *MockUserSvcClient) Authorization(ctx context.Context, in *pb.TextRequest, opts ...grpc.CallOption) (*pb.StateReply, error)
- func (m *MockUserSvcClient) CreateUser(ctx context.Context, in *pb.UserRequest, opts ...grpc.CallOption) (*pb.UserReply, error)
- func (m *MockUserSvcClient) EXPECT() *MockUserSvcClientMockRecorder
- func (m *MockUserSvcClient) GetAuthToken(ctx context.Context, in *pb.TextRequest, opts ...grpc.CallOption) (*pb.TextReply, error)
- func (m *MockUserSvcClient) GetRole(ctx context.Context, in *pb.RoleRequest, opts ...grpc.CallOption) (*pb.RoleReply, error)
- func (m *MockUserSvcClient) GetRoleImage(ctx context.Context, in *pb.RoleRequest, opts ...grpc.CallOption) (*pb.BytesReply, error)
- func (m *MockUserSvcClient) GetUser(ctx context.Context, in *pb.UserRequest, opts ...grpc.CallOption) (*pb.UserReply, error)
- func (m *MockUserSvcClient) GetUserByName(ctx context.Context, in *pb.UserRequest, opts ...grpc.CallOption) (*pb.UserReply, error)
- func (m *MockUserSvcClient) GetUsers(ctx context.Context, in *pb.UserRequest, opts ...grpc.CallOption) (*pb.UsersReply, error)
- func (m *MockUserSvcClient) UpdateUser(ctx context.Context, in *pb.UserRequest, opts ...grpc.CallOption) (*pb.StateReply, error)
- type MockUserSvcClientMockRecorder
- func (mr *MockUserSvcClientMockRecorder) Authorization(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockUserSvcClientMockRecorder) CreateUser(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockUserSvcClientMockRecorder) GetAuthToken(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockUserSvcClientMockRecorder) GetRole(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockUserSvcClientMockRecorder) GetRoleImage(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockUserSvcClientMockRecorder) GetUser(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockUserSvcClientMockRecorder) GetUserByName(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockUserSvcClientMockRecorder) GetUsers(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockUserSvcClientMockRecorder) UpdateUser(ctx, in interface{}, opts ...interface{}) *gomock.Call
- type MockUserSvcServer
- func (m *MockUserSvcServer) Authorization(arg0 context.Context, arg1 *pb.TextRequest) (*pb.StateReply, error)
- func (m *MockUserSvcServer) CreateUser(arg0 context.Context, arg1 *pb.UserRequest) (*pb.UserReply, error)
- func (m *MockUserSvcServer) EXPECT() *MockUserSvcServerMockRecorder
- func (m *MockUserSvcServer) GetAuthToken(arg0 context.Context, arg1 *pb.TextRequest) (*pb.TextReply, error)
- func (m *MockUserSvcServer) GetRole(arg0 context.Context, arg1 *pb.RoleRequest) (*pb.RoleReply, error)
- func (m *MockUserSvcServer) GetRoleImage(arg0 context.Context, arg1 *pb.RoleRequest) (*pb.BytesReply, error)
- func (m *MockUserSvcServer) GetUser(arg0 context.Context, arg1 *pb.UserRequest) (*pb.UserReply, error)
- func (m *MockUserSvcServer) GetUserByName(arg0 context.Context, arg1 *pb.UserRequest) (*pb.UserReply, error)
- func (m *MockUserSvcServer) GetUsers(arg0 context.Context, arg1 *pb.UserRequest) (*pb.UsersReply, error)
- func (m *MockUserSvcServer) UpdateUser(arg0 context.Context, arg1 *pb.UserRequest) (*pb.StateReply, error)
- type MockUserSvcServerMockRecorder
- func (mr *MockUserSvcServerMockRecorder) Authorization(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockUserSvcServerMockRecorder) CreateUser(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockUserSvcServerMockRecorder) GetAuthToken(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockUserSvcServerMockRecorder) GetRole(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockUserSvcServerMockRecorder) GetRoleImage(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockUserSvcServerMockRecorder) GetUser(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockUserSvcServerMockRecorder) GetUserByName(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockUserSvcServerMockRecorder) GetUsers(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockUserSvcServerMockRecorder) UpdateUser(arg0, arg1 interface{}) *gomock.Call
- type MockWorkflowRepository
- func (m *MockWorkflowRepository) CreateTrigger(trigger pb.Trigger) (int64, error)
- func (m *MockWorkflowRepository) DeleteTriggerByMessageID(messageID int64) error
- func (m *MockWorkflowRepository) EXPECT() *MockWorkflowRepositoryMockRecorder
- func (m *MockWorkflowRepository) GetTriggerByFlag(t, flag string) (pb.Trigger, error)
- func (m *MockWorkflowRepository) ListTriggersByType(t string) ([]pb.Trigger, error)
- type MockWorkflowRepositoryMockRecorder
- func (mr *MockWorkflowRepositoryMockRecorder) CreateTrigger(trigger interface{}) *gomock.Call
- func (mr *MockWorkflowRepositoryMockRecorder) DeleteTriggerByMessageID(messageID interface{}) *gomock.Call
- func (mr *MockWorkflowRepositoryMockRecorder) GetTriggerByFlag(t, flag interface{}) *gomock.Call
- func (mr *MockWorkflowRepositoryMockRecorder) ListTriggersByType(t interface{}) *gomock.Call
- type MockWorkflowSvcClient
- func (m *MockWorkflowSvcClient) ActionDoc(ctx context.Context, in *pb.WorkflowRequest, opts ...grpc.CallOption) (*pb.WorkflowReply, error)
- func (m *MockWorkflowSvcClient) CreateTrigger(ctx context.Context, in *pb.TriggerRequest, opts ...grpc.CallOption) (*pb.StateReply, error)
- func (m *MockWorkflowSvcClient) CronTrigger(ctx context.Context, in *pb.TriggerRequest, opts ...grpc.CallOption) (*pb.WorkflowReply, error)
- func (m *MockWorkflowSvcClient) DeleteTrigger(ctx context.Context, in *pb.TriggerRequest, opts ...grpc.CallOption) (*pb.StateReply, error)
- func (m *MockWorkflowSvcClient) EXPECT() *MockWorkflowSvcClientMockRecorder
- func (m *MockWorkflowSvcClient) RunAction(ctx context.Context, in *pb.WorkflowRequest, opts ...grpc.CallOption) (*pb.WorkflowReply, error)
- func (m *MockWorkflowSvcClient) SyntaxCheck(ctx context.Context, in *pb.WorkflowRequest, opts ...grpc.CallOption) (*pb.StateReply, error)
- func (m *MockWorkflowSvcClient) WebhookTrigger(ctx context.Context, in *pb.TriggerRequest, opts ...grpc.CallOption) (*pb.WorkflowReply, error)
- type MockWorkflowSvcClientMockRecorder
- func (mr *MockWorkflowSvcClientMockRecorder) ActionDoc(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockWorkflowSvcClientMockRecorder) CreateTrigger(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockWorkflowSvcClientMockRecorder) CronTrigger(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockWorkflowSvcClientMockRecorder) DeleteTrigger(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockWorkflowSvcClientMockRecorder) RunAction(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockWorkflowSvcClientMockRecorder) SyntaxCheck(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockWorkflowSvcClientMockRecorder) WebhookTrigger(ctx, in interface{}, opts ...interface{}) *gomock.Call
- type MockWorkflowSvcServer
- func (m *MockWorkflowSvcServer) ActionDoc(arg0 context.Context, arg1 *pb.WorkflowRequest) (*pb.WorkflowReply, error)
- func (m *MockWorkflowSvcServer) CreateTrigger(arg0 context.Context, arg1 *pb.TriggerRequest) (*pb.StateReply, error)
- func (m *MockWorkflowSvcServer) CronTrigger(arg0 context.Context, arg1 *pb.TriggerRequest) (*pb.WorkflowReply, error)
- func (m *MockWorkflowSvcServer) DeleteTrigger(arg0 context.Context, arg1 *pb.TriggerRequest) (*pb.StateReply, error)
- func (m *MockWorkflowSvcServer) EXPECT() *MockWorkflowSvcServerMockRecorder
- func (m *MockWorkflowSvcServer) RunAction(arg0 context.Context, arg1 *pb.WorkflowRequest) (*pb.WorkflowReply, error)
- func (m *MockWorkflowSvcServer) SyntaxCheck(arg0 context.Context, arg1 *pb.WorkflowRequest) (*pb.StateReply, error)
- func (m *MockWorkflowSvcServer) WebhookTrigger(arg0 context.Context, arg1 *pb.TriggerRequest) (*pb.WorkflowReply, error)
- type MockWorkflowSvcServerMockRecorder
- func (mr *MockWorkflowSvcServerMockRecorder) ActionDoc(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockWorkflowSvcServerMockRecorder) CreateTrigger(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockWorkflowSvcServerMockRecorder) CronTrigger(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockWorkflowSvcServerMockRecorder) DeleteTrigger(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockWorkflowSvcServerMockRecorder) RunAction(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockWorkflowSvcServerMockRecorder) SyntaxCheck(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockWorkflowSvcServerMockRecorder) WebhookTrigger(arg0, arg1 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockChatbotSvcClient ¶ added in v0.0.25
type MockChatbotSvcClient struct {
// contains filtered or unexported fields
}
MockChatbotSvcClient is a mock of ChatbotSvcClient interface.
func NewMockChatbotSvcClient ¶ added in v0.0.25
func NewMockChatbotSvcClient(ctrl *gomock.Controller) *MockChatbotSvcClient
NewMockChatbotSvcClient creates a new mock instance.
func (*MockChatbotSvcClient) EXPECT ¶ added in v0.0.25
func (m *MockChatbotSvcClient) EXPECT() *MockChatbotSvcClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockChatbotSvcClient) Handle ¶ added in v0.0.25
func (m *MockChatbotSvcClient) Handle(ctx context.Context, in *pb.ChatbotRequest, opts ...grpc.CallOption) (*pb.ChatbotReply, error)
Handle mocks base method.
type MockChatbotSvcClientMockRecorder ¶ added in v0.0.25
type MockChatbotSvcClientMockRecorder struct {
// contains filtered or unexported fields
}
MockChatbotSvcClientMockRecorder is the mock recorder for MockChatbotSvcClient.
func (*MockChatbotSvcClientMockRecorder) Handle ¶ added in v0.0.25
func (mr *MockChatbotSvcClientMockRecorder) Handle(ctx, in interface{}, opts ...interface{}) *gomock.Call
Handle indicates an expected call of Handle.
type MockChatbotSvcServer ¶ added in v0.0.25
type MockChatbotSvcServer struct {
// contains filtered or unexported fields
}
MockChatbotSvcServer is a mock of ChatbotSvcServer interface.
func NewMockChatbotSvcServer ¶ added in v0.0.25
func NewMockChatbotSvcServer(ctrl *gomock.Controller) *MockChatbotSvcServer
NewMockChatbotSvcServer creates a new mock instance.
func (*MockChatbotSvcServer) EXPECT ¶ added in v0.0.25
func (m *MockChatbotSvcServer) EXPECT() *MockChatbotSvcServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockChatbotSvcServer) Handle ¶ added in v0.0.25
func (m *MockChatbotSvcServer) Handle(arg0 context.Context, arg1 *pb.ChatbotRequest) (*pb.ChatbotReply, error)
Handle mocks base method.
type MockChatbotSvcServerMockRecorder ¶ added in v0.0.25
type MockChatbotSvcServerMockRecorder struct {
// contains filtered or unexported fields
}
MockChatbotSvcServerMockRecorder is the mock recorder for MockChatbotSvcServer.
func (*MockChatbotSvcServerMockRecorder) Handle ¶ added in v0.0.25
func (mr *MockChatbotSvcServerMockRecorder) Handle(arg0, arg1 interface{}) *gomock.Call
Handle indicates an expected call of Handle.
type MockMessageRepository ¶
type MockMessageRepository struct {
// contains filtered or unexported fields
}
MockMessageRepository is a mock of MessageRepository interface.
func NewMockMessageRepository ¶
func NewMockMessageRepository(ctrl *gomock.Controller) *MockMessageRepository
NewMockMessageRepository creates a new mock instance.
func (*MockMessageRepository) Create ¶
func (m *MockMessageRepository) Create(message pb.Message) (int64, error)
Create mocks base method.
func (*MockMessageRepository) Delete ¶
func (m *MockMessageRepository) Delete(id int64) error
Delete mocks base method.
func (*MockMessageRepository) EXPECT ¶
func (m *MockMessageRepository) EXPECT() *MockMessageRepositoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockMessageRepository) GetByID ¶
func (m *MockMessageRepository) GetByID(id int64) (pb.Message, error)
GetByID mocks base method.
func (*MockMessageRepository) GetByUUID ¶
func (m *MockMessageRepository) GetByUUID(uuid string) (pb.Message, error)
GetByUUID mocks base method.
func (*MockMessageRepository) List ¶
func (m *MockMessageRepository) List() ([]pb.Message, error)
List mocks base method.
func (*MockMessageRepository) ListByType ¶
func (m *MockMessageRepository) ListByType(t string) ([]pb.Message, error)
ListByType mocks base method.
type MockMessageRepositoryMockRecorder ¶
type MockMessageRepositoryMockRecorder struct {
// contains filtered or unexported fields
}
MockMessageRepositoryMockRecorder is the mock recorder for MockMessageRepository.
func (*MockMessageRepositoryMockRecorder) Create ¶
func (mr *MockMessageRepositoryMockRecorder) Create(message interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockMessageRepositoryMockRecorder) Delete ¶
func (mr *MockMessageRepositoryMockRecorder) Delete(id interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockMessageRepositoryMockRecorder) GetByID ¶
func (mr *MockMessageRepositoryMockRecorder) GetByID(id interface{}) *gomock.Call
GetByID indicates an expected call of GetByID.
func (*MockMessageRepositoryMockRecorder) GetByUUID ¶
func (mr *MockMessageRepositoryMockRecorder) GetByUUID(uuid interface{}) *gomock.Call
GetByUUID indicates an expected call of GetByUUID.
func (*MockMessageRepositoryMockRecorder) List ¶
func (mr *MockMessageRepositoryMockRecorder) List() *gomock.Call
List indicates an expected call of List.
func (*MockMessageRepositoryMockRecorder) ListByType ¶
func (mr *MockMessageRepositoryMockRecorder) ListByType(t interface{}) *gomock.Call
ListByType indicates an expected call of ListByType.
type MockMessageSvcClient ¶ added in v0.0.25
type MockMessageSvcClient struct {
// contains filtered or unexported fields
}
MockMessageSvcClient is a mock of MessageSvcClient interface.
func NewMockMessageSvcClient ¶ added in v0.0.25
func NewMockMessageSvcClient(ctrl *gomock.Controller) *MockMessageSvcClient
NewMockMessageSvcClient creates a new mock instance.
func (*MockMessageSvcClient) Create ¶ added in v0.0.25
func (m *MockMessageSvcClient) Create(ctx context.Context, in *pb.MessageRequest, opts ...grpc.CallOption) (*pb.MessageReply, error)
Create mocks base method.
func (*MockMessageSvcClient) CreateActionMessage ¶ added in v0.0.25
func (m *MockMessageSvcClient) CreateActionMessage(ctx context.Context, in *pb.TextRequest, opts ...grpc.CallOption) (*pb.StateReply, error)
CreateActionMessage mocks base method.
func (*MockMessageSvcClient) Delete ¶ added in v0.0.25
func (m *MockMessageSvcClient) Delete(ctx context.Context, in *pb.MessageRequest, opts ...grpc.CallOption) (*pb.TextReply, error)
Delete mocks base method.
func (*MockMessageSvcClient) DeleteWorkflowMessage ¶ added in v0.0.25
func (m *MockMessageSvcClient) DeleteWorkflowMessage(ctx context.Context, in *pb.MessageRequest, opts ...grpc.CallOption) (*pb.StateReply, error)
DeleteWorkflowMessage mocks base method.
func (*MockMessageSvcClient) EXPECT ¶ added in v0.0.25
func (m *MockMessageSvcClient) EXPECT() *MockMessageSvcClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockMessageSvcClient) Get ¶ added in v0.0.25
func (m *MockMessageSvcClient) Get(ctx context.Context, in *pb.MessageRequest, opts ...grpc.CallOption) (*pb.MessageReply, error)
Get mocks base method.
func (*MockMessageSvcClient) GetActionMessages ¶ added in v0.0.25
func (m *MockMessageSvcClient) GetActionMessages(ctx context.Context, in *pb.TextRequest, opts ...grpc.CallOption) (*pb.ActionReply, error)
GetActionMessages mocks base method.
func (*MockMessageSvcClient) List ¶ added in v0.0.25
func (m *MockMessageSvcClient) List(ctx context.Context, in *pb.MessageRequest, opts ...grpc.CallOption) (*pb.MessagesReply, error)
List mocks base method.
func (*MockMessageSvcClient) Run ¶ added in v0.0.25
func (m *MockMessageSvcClient) Run(ctx context.Context, in *pb.MessageRequest, opts ...grpc.CallOption) (*pb.TextReply, error)
Run mocks base method.
func (*MockMessageSvcClient) Send ¶ added in v0.0.25
func (m *MockMessageSvcClient) Send(ctx context.Context, in *pb.MessageRequest, opts ...grpc.CallOption) (*pb.StateReply, error)
Send mocks base method.
type MockMessageSvcClientMockRecorder ¶ added in v0.0.25
type MockMessageSvcClientMockRecorder struct {
// contains filtered or unexported fields
}
MockMessageSvcClientMockRecorder is the mock recorder for MockMessageSvcClient.
func (*MockMessageSvcClientMockRecorder) Create ¶ added in v0.0.25
func (mr *MockMessageSvcClientMockRecorder) Create(ctx, in interface{}, opts ...interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockMessageSvcClientMockRecorder) CreateActionMessage ¶ added in v0.0.25
func (mr *MockMessageSvcClientMockRecorder) CreateActionMessage(ctx, in interface{}, opts ...interface{}) *gomock.Call
CreateActionMessage indicates an expected call of CreateActionMessage.
func (*MockMessageSvcClientMockRecorder) Delete ¶ added in v0.0.25
func (mr *MockMessageSvcClientMockRecorder) Delete(ctx, in interface{}, opts ...interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockMessageSvcClientMockRecorder) DeleteWorkflowMessage ¶ added in v0.0.25
func (mr *MockMessageSvcClientMockRecorder) DeleteWorkflowMessage(ctx, in interface{}, opts ...interface{}) *gomock.Call
DeleteWorkflowMessage indicates an expected call of DeleteWorkflowMessage.
func (*MockMessageSvcClientMockRecorder) Get ¶ added in v0.0.25
func (mr *MockMessageSvcClientMockRecorder) Get(ctx, in interface{}, opts ...interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockMessageSvcClientMockRecorder) GetActionMessages ¶ added in v0.0.25
func (mr *MockMessageSvcClientMockRecorder) GetActionMessages(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetActionMessages indicates an expected call of GetActionMessages.
func (*MockMessageSvcClientMockRecorder) List ¶ added in v0.0.25
func (mr *MockMessageSvcClientMockRecorder) List(ctx, in interface{}, opts ...interface{}) *gomock.Call
List indicates an expected call of List.
func (*MockMessageSvcClientMockRecorder) Run ¶ added in v0.0.25
func (mr *MockMessageSvcClientMockRecorder) Run(ctx, in interface{}, opts ...interface{}) *gomock.Call
Run indicates an expected call of Run.
func (*MockMessageSvcClientMockRecorder) Send ¶ added in v0.0.25
func (mr *MockMessageSvcClientMockRecorder) Send(ctx, in interface{}, opts ...interface{}) *gomock.Call
Send indicates an expected call of Send.
type MockMessageSvcServer ¶ added in v0.0.25
type MockMessageSvcServer struct {
// contains filtered or unexported fields
}
MockMessageSvcServer is a mock of MessageSvcServer interface.
func NewMockMessageSvcServer ¶ added in v0.0.25
func NewMockMessageSvcServer(ctrl *gomock.Controller) *MockMessageSvcServer
NewMockMessageSvcServer creates a new mock instance.
func (*MockMessageSvcServer) Create ¶ added in v0.0.25
func (m *MockMessageSvcServer) Create(arg0 context.Context, arg1 *pb.MessageRequest) (*pb.MessageReply, error)
Create mocks base method.
func (*MockMessageSvcServer) CreateActionMessage ¶ added in v0.0.25
func (m *MockMessageSvcServer) CreateActionMessage(arg0 context.Context, arg1 *pb.TextRequest) (*pb.StateReply, error)
CreateActionMessage mocks base method.
func (*MockMessageSvcServer) Delete ¶ added in v0.0.25
func (m *MockMessageSvcServer) Delete(arg0 context.Context, arg1 *pb.MessageRequest) (*pb.TextReply, error)
Delete mocks base method.
func (*MockMessageSvcServer) DeleteWorkflowMessage ¶ added in v0.0.25
func (m *MockMessageSvcServer) DeleteWorkflowMessage(arg0 context.Context, arg1 *pb.MessageRequest) (*pb.StateReply, error)
DeleteWorkflowMessage mocks base method.
func (*MockMessageSvcServer) EXPECT ¶ added in v0.0.25
func (m *MockMessageSvcServer) EXPECT() *MockMessageSvcServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockMessageSvcServer) Get ¶ added in v0.0.25
func (m *MockMessageSvcServer) Get(arg0 context.Context, arg1 *pb.MessageRequest) (*pb.MessageReply, error)
Get mocks base method.
func (*MockMessageSvcServer) GetActionMessages ¶ added in v0.0.25
func (m *MockMessageSvcServer) GetActionMessages(arg0 context.Context, arg1 *pb.TextRequest) (*pb.ActionReply, error)
GetActionMessages mocks base method.
func (*MockMessageSvcServer) List ¶ added in v0.0.25
func (m *MockMessageSvcServer) List(arg0 context.Context, arg1 *pb.MessageRequest) (*pb.MessagesReply, error)
List mocks base method.
func (*MockMessageSvcServer) Run ¶ added in v0.0.25
func (m *MockMessageSvcServer) Run(arg0 context.Context, arg1 *pb.MessageRequest) (*pb.TextReply, error)
Run mocks base method.
func (*MockMessageSvcServer) Send ¶ added in v0.0.25
func (m *MockMessageSvcServer) Send(arg0 context.Context, arg1 *pb.MessageRequest) (*pb.StateReply, error)
Send mocks base method.
type MockMessageSvcServerMockRecorder ¶ added in v0.0.25
type MockMessageSvcServerMockRecorder struct {
// contains filtered or unexported fields
}
MockMessageSvcServerMockRecorder is the mock recorder for MockMessageSvcServer.
func (*MockMessageSvcServerMockRecorder) Create ¶ added in v0.0.25
func (mr *MockMessageSvcServerMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockMessageSvcServerMockRecorder) CreateActionMessage ¶ added in v0.0.25
func (mr *MockMessageSvcServerMockRecorder) CreateActionMessage(arg0, arg1 interface{}) *gomock.Call
CreateActionMessage indicates an expected call of CreateActionMessage.
func (*MockMessageSvcServerMockRecorder) Delete ¶ added in v0.0.25
func (mr *MockMessageSvcServerMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockMessageSvcServerMockRecorder) DeleteWorkflowMessage ¶ added in v0.0.25
func (mr *MockMessageSvcServerMockRecorder) DeleteWorkflowMessage(arg0, arg1 interface{}) *gomock.Call
DeleteWorkflowMessage indicates an expected call of DeleteWorkflowMessage.
func (*MockMessageSvcServerMockRecorder) Get ¶ added in v0.0.25
func (mr *MockMessageSvcServerMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockMessageSvcServerMockRecorder) GetActionMessages ¶ added in v0.0.25
func (mr *MockMessageSvcServerMockRecorder) GetActionMessages(arg0, arg1 interface{}) *gomock.Call
GetActionMessages indicates an expected call of GetActionMessages.
func (*MockMessageSvcServerMockRecorder) List ¶ added in v0.0.25
func (mr *MockMessageSvcServerMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
List indicates an expected call of List.
func (*MockMessageSvcServerMockRecorder) Run ¶ added in v0.0.25
func (mr *MockMessageSvcServerMockRecorder) Run(arg0, arg1 interface{}) *gomock.Call
Run indicates an expected call of Run.
func (*MockMessageSvcServerMockRecorder) Send ¶ added in v0.0.25
func (mr *MockMessageSvcServerMockRecorder) Send(arg0, arg1 interface{}) *gomock.Call
Send indicates an expected call of Send.
type MockMiddleRepository ¶
type MockMiddleRepository struct {
// contains filtered or unexported fields
}
MockMiddleRepository is a mock of MiddleRepository interface.
func NewMockMiddleRepository ¶
func NewMockMiddleRepository(ctrl *gomock.Controller) *MockMiddleRepository
NewMockMiddleRepository creates a new mock instance.
func (*MockMiddleRepository) CreateApp ¶
func (m *MockMiddleRepository) CreateApp(app pb.App) (int64, error)
CreateApp mocks base method.
func (*MockMiddleRepository) CreateCredential ¶
func (m *MockMiddleRepository) CreateCredential(credential pb.Credential) (int64, error)
CreateCredential mocks base method.
func (*MockMiddleRepository) CreatePage ¶
func (m *MockMiddleRepository) CreatePage(page pb.Page) (int64, error)
CreatePage mocks base method.
func (*MockMiddleRepository) EXPECT ¶
func (m *MockMiddleRepository) EXPECT() *MockMiddleRepositoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockMiddleRepository) GetAppByType ¶
func (m *MockMiddleRepository) GetAppByType(t string) (pb.App, error)
GetAppByType mocks base method.
func (*MockMiddleRepository) GetAvailableAppByType ¶
func (m *MockMiddleRepository) GetAvailableAppByType(t string) (pb.App, error)
GetAvailableAppByType mocks base method.
func (*MockMiddleRepository) GetCredentialByName ¶
func (m *MockMiddleRepository) GetCredentialByName(name string) (pb.Credential, error)
GetCredentialByName mocks base method.
func (*MockMiddleRepository) GetCredentialByType ¶
func (m *MockMiddleRepository) GetCredentialByType(t string) (pb.Credential, error)
GetCredentialByType mocks base method.
func (*MockMiddleRepository) GetPageByUUID ¶
func (m *MockMiddleRepository) GetPageByUUID(uuid string) (pb.Page, error)
GetPageByUUID mocks base method.
func (*MockMiddleRepository) ListApps ¶
func (m *MockMiddleRepository) ListApps() ([]pb.App, error)
ListApps mocks base method.
func (*MockMiddleRepository) ListCredentials ¶
func (m *MockMiddleRepository) ListCredentials() ([]pb.Credential, error)
ListCredentials mocks base method.
func (*MockMiddleRepository) UpdateAppByID ¶
func (m *MockMiddleRepository) UpdateAppByID(id int64, token, extra string) error
UpdateAppByID mocks base method.
type MockMiddleRepositoryMockRecorder ¶
type MockMiddleRepositoryMockRecorder struct {
// contains filtered or unexported fields
}
MockMiddleRepositoryMockRecorder is the mock recorder for MockMiddleRepository.
func (*MockMiddleRepositoryMockRecorder) CreateApp ¶
func (mr *MockMiddleRepositoryMockRecorder) CreateApp(app interface{}) *gomock.Call
CreateApp indicates an expected call of CreateApp.
func (*MockMiddleRepositoryMockRecorder) CreateCredential ¶
func (mr *MockMiddleRepositoryMockRecorder) CreateCredential(credential interface{}) *gomock.Call
CreateCredential indicates an expected call of CreateCredential.
func (*MockMiddleRepositoryMockRecorder) CreatePage ¶
func (mr *MockMiddleRepositoryMockRecorder) CreatePage(page interface{}) *gomock.Call
CreatePage indicates an expected call of CreatePage.
func (*MockMiddleRepositoryMockRecorder) GetAppByType ¶
func (mr *MockMiddleRepositoryMockRecorder) GetAppByType(t interface{}) *gomock.Call
GetAppByType indicates an expected call of GetAppByType.
func (*MockMiddleRepositoryMockRecorder) GetAvailableAppByType ¶
func (mr *MockMiddleRepositoryMockRecorder) GetAvailableAppByType(t interface{}) *gomock.Call
GetAvailableAppByType indicates an expected call of GetAvailableAppByType.
func (*MockMiddleRepositoryMockRecorder) GetCredentialByName ¶
func (mr *MockMiddleRepositoryMockRecorder) GetCredentialByName(name interface{}) *gomock.Call
GetCredentialByName indicates an expected call of GetCredentialByName.
func (*MockMiddleRepositoryMockRecorder) GetCredentialByType ¶
func (mr *MockMiddleRepositoryMockRecorder) GetCredentialByType(t interface{}) *gomock.Call
GetCredentialByType indicates an expected call of GetCredentialByType.
func (*MockMiddleRepositoryMockRecorder) GetPageByUUID ¶
func (mr *MockMiddleRepositoryMockRecorder) GetPageByUUID(uuid interface{}) *gomock.Call
GetPageByUUID indicates an expected call of GetPageByUUID.
func (*MockMiddleRepositoryMockRecorder) ListApps ¶
func (mr *MockMiddleRepositoryMockRecorder) ListApps() *gomock.Call
ListApps indicates an expected call of ListApps.
func (*MockMiddleRepositoryMockRecorder) ListCredentials ¶
func (mr *MockMiddleRepositoryMockRecorder) ListCredentials() *gomock.Call
ListCredentials indicates an expected call of ListCredentials.
func (*MockMiddleRepositoryMockRecorder) UpdateAppByID ¶
func (mr *MockMiddleRepositoryMockRecorder) UpdateAppByID(id, token, extra interface{}) *gomock.Call
UpdateAppByID indicates an expected call of UpdateAppByID.
type MockMiddleSvcClient ¶ added in v0.0.25
type MockMiddleSvcClient struct {
// contains filtered or unexported fields
}
MockMiddleSvcClient is a mock of MiddleSvcClient interface.
func NewMockMiddleSvcClient ¶ added in v0.0.25
func NewMockMiddleSvcClient(ctrl *gomock.Controller) *MockMiddleSvcClient
NewMockMiddleSvcClient creates a new mock instance.
func (*MockMiddleSvcClient) CreateCredential ¶ added in v0.0.25
func (m *MockMiddleSvcClient) CreateCredential(ctx context.Context, in *pb.KVsRequest, opts ...grpc.CallOption) (*pb.StateReply, error)
CreateCredential mocks base method.
func (*MockMiddleSvcClient) CreatePage ¶ added in v0.0.25
func (m *MockMiddleSvcClient) CreatePage(ctx context.Context, in *pb.PageRequest, opts ...grpc.CallOption) (*pb.TextReply, error)
CreatePage mocks base method.
func (*MockMiddleSvcClient) CreateSetting ¶ added in v0.0.25
func (m *MockMiddleSvcClient) CreateSetting(ctx context.Context, in *pb.KVRequest, opts ...grpc.CallOption) (*pb.StateReply, error)
CreateSetting mocks base method.
func (*MockMiddleSvcClient) EXPECT ¶ added in v0.0.25
func (m *MockMiddleSvcClient) EXPECT() *MockMiddleSvcClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockMiddleSvcClient) GetApps ¶ added in v0.0.25
func (m *MockMiddleSvcClient) GetApps(ctx context.Context, in *pb.TextRequest, opts ...grpc.CallOption) (*pb.AppsReply, error)
GetApps mocks base method.
func (*MockMiddleSvcClient) GetAvailableApp ¶ added in v0.0.25
func (m *MockMiddleSvcClient) GetAvailableApp(ctx context.Context, in *pb.TextRequest, opts ...grpc.CallOption) (*pb.AppReply, error)
GetAvailableApp mocks base method.
func (*MockMiddleSvcClient) GetCredential ¶ added in v0.0.25
func (m *MockMiddleSvcClient) GetCredential(ctx context.Context, in *pb.CredentialRequest, opts ...grpc.CallOption) (*pb.CredentialReply, error)
GetCredential mocks base method.
func (*MockMiddleSvcClient) GetCredentials ¶ added in v0.0.25
func (m *MockMiddleSvcClient) GetCredentials(ctx context.Context, in *pb.TextRequest, opts ...grpc.CallOption) (*pb.CredentialsReply, error)
GetCredentials mocks base method.
func (*MockMiddleSvcClient) GetMaskingCredentials ¶ added in v0.0.25
func (m *MockMiddleSvcClient) GetMaskingCredentials(ctx context.Context, in *pb.TextRequest, opts ...grpc.CallOption) (*pb.MaskingReply, error)
GetMaskingCredentials mocks base method.
func (*MockMiddleSvcClient) GetMenu ¶ added in v0.0.25
func (m *MockMiddleSvcClient) GetMenu(ctx context.Context, in *pb.TextRequest, opts ...grpc.CallOption) (*pb.TextReply, error)
GetMenu mocks base method.
func (*MockMiddleSvcClient) GetPage ¶ added in v0.0.25
func (m *MockMiddleSvcClient) GetPage(ctx context.Context, in *pb.PageRequest, opts ...grpc.CallOption) (*pb.PageReply, error)
GetPage mocks base method.
func (*MockMiddleSvcClient) GetQrUrl ¶ added in v0.0.25
func (m *MockMiddleSvcClient) GetQrUrl(ctx context.Context, in *pb.TextRequest, opts ...grpc.CallOption) (*pb.TextReply, error)
GetQrUrl mocks base method.
func (*MockMiddleSvcClient) GetRoleImageUrl ¶ added in v0.0.25
func (m *MockMiddleSvcClient) GetRoleImageUrl(ctx context.Context, in *pb.TextRequest, opts ...grpc.CallOption) (*pb.TextReply, error)
GetRoleImageUrl mocks base method.
func (*MockMiddleSvcClient) GetSetting ¶ added in v0.0.25
func (m *MockMiddleSvcClient) GetSetting(ctx context.Context, in *pb.TextRequest, opts ...grpc.CallOption) (*pb.SettingReply, error)
GetSetting mocks base method.
func (*MockMiddleSvcClient) GetSettings ¶ added in v0.0.25
func (m *MockMiddleSvcClient) GetSettings(ctx context.Context, in *pb.TextRequest, opts ...grpc.CallOption) (*pb.SettingsReply, error)
GetSettings mocks base method.
func (*MockMiddleSvcClient) GetStats ¶ added in v0.0.25
func (m *MockMiddleSvcClient) GetStats(ctx context.Context, in *pb.TextRequest, opts ...grpc.CallOption) (*pb.TextReply, error)
GetStats mocks base method.
func (*MockMiddleSvcClient) StoreAppOAuth ¶ added in v0.0.25
func (m *MockMiddleSvcClient) StoreAppOAuth(ctx context.Context, in *pb.AppRequest, opts ...grpc.CallOption) (*pb.StateReply, error)
StoreAppOAuth mocks base method.
type MockMiddleSvcClientMockRecorder ¶ added in v0.0.25
type MockMiddleSvcClientMockRecorder struct {
// contains filtered or unexported fields
}
MockMiddleSvcClientMockRecorder is the mock recorder for MockMiddleSvcClient.
func (*MockMiddleSvcClientMockRecorder) CreateCredential ¶ added in v0.0.25
func (mr *MockMiddleSvcClientMockRecorder) CreateCredential(ctx, in interface{}, opts ...interface{}) *gomock.Call
CreateCredential indicates an expected call of CreateCredential.
func (*MockMiddleSvcClientMockRecorder) CreatePage ¶ added in v0.0.25
func (mr *MockMiddleSvcClientMockRecorder) CreatePage(ctx, in interface{}, opts ...interface{}) *gomock.Call
CreatePage indicates an expected call of CreatePage.
func (*MockMiddleSvcClientMockRecorder) CreateSetting ¶ added in v0.0.25
func (mr *MockMiddleSvcClientMockRecorder) CreateSetting(ctx, in interface{}, opts ...interface{}) *gomock.Call
CreateSetting indicates an expected call of CreateSetting.
func (*MockMiddleSvcClientMockRecorder) GetApps ¶ added in v0.0.25
func (mr *MockMiddleSvcClientMockRecorder) GetApps(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetApps indicates an expected call of GetApps.
func (*MockMiddleSvcClientMockRecorder) GetAvailableApp ¶ added in v0.0.25
func (mr *MockMiddleSvcClientMockRecorder) GetAvailableApp(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetAvailableApp indicates an expected call of GetAvailableApp.
func (*MockMiddleSvcClientMockRecorder) GetCredential ¶ added in v0.0.25
func (mr *MockMiddleSvcClientMockRecorder) GetCredential(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetCredential indicates an expected call of GetCredential.
func (*MockMiddleSvcClientMockRecorder) GetCredentials ¶ added in v0.0.25
func (mr *MockMiddleSvcClientMockRecorder) GetCredentials(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetCredentials indicates an expected call of GetCredentials.
func (*MockMiddleSvcClientMockRecorder) GetMaskingCredentials ¶ added in v0.0.25
func (mr *MockMiddleSvcClientMockRecorder) GetMaskingCredentials(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetMaskingCredentials indicates an expected call of GetMaskingCredentials.
func (*MockMiddleSvcClientMockRecorder) GetMenu ¶ added in v0.0.25
func (mr *MockMiddleSvcClientMockRecorder) GetMenu(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetMenu indicates an expected call of GetMenu.
func (*MockMiddleSvcClientMockRecorder) GetPage ¶ added in v0.0.25
func (mr *MockMiddleSvcClientMockRecorder) GetPage(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetPage indicates an expected call of GetPage.
func (*MockMiddleSvcClientMockRecorder) GetQrUrl ¶ added in v0.0.25
func (mr *MockMiddleSvcClientMockRecorder) GetQrUrl(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetQrUrl indicates an expected call of GetQrUrl.
func (*MockMiddleSvcClientMockRecorder) GetRoleImageUrl ¶ added in v0.0.25
func (mr *MockMiddleSvcClientMockRecorder) GetRoleImageUrl(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetRoleImageUrl indicates an expected call of GetRoleImageUrl.
func (*MockMiddleSvcClientMockRecorder) GetSetting ¶ added in v0.0.25
func (mr *MockMiddleSvcClientMockRecorder) GetSetting(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetSetting indicates an expected call of GetSetting.
func (*MockMiddleSvcClientMockRecorder) GetSettings ¶ added in v0.0.25
func (mr *MockMiddleSvcClientMockRecorder) GetSettings(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetSettings indicates an expected call of GetSettings.
func (*MockMiddleSvcClientMockRecorder) GetStats ¶ added in v0.0.25
func (mr *MockMiddleSvcClientMockRecorder) GetStats(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetStats indicates an expected call of GetStats.
func (*MockMiddleSvcClientMockRecorder) StoreAppOAuth ¶ added in v0.0.25
func (mr *MockMiddleSvcClientMockRecorder) StoreAppOAuth(ctx, in interface{}, opts ...interface{}) *gomock.Call
StoreAppOAuth indicates an expected call of StoreAppOAuth.
type MockMiddleSvcServer ¶ added in v0.0.25
type MockMiddleSvcServer struct {
// contains filtered or unexported fields
}
MockMiddleSvcServer is a mock of MiddleSvcServer interface.
func NewMockMiddleSvcServer ¶ added in v0.0.25
func NewMockMiddleSvcServer(ctrl *gomock.Controller) *MockMiddleSvcServer
NewMockMiddleSvcServer creates a new mock instance.
func (*MockMiddleSvcServer) CreateCredential ¶ added in v0.0.25
func (m *MockMiddleSvcServer) CreateCredential(arg0 context.Context, arg1 *pb.KVsRequest) (*pb.StateReply, error)
CreateCredential mocks base method.
func (*MockMiddleSvcServer) CreatePage ¶ added in v0.0.25
func (m *MockMiddleSvcServer) CreatePage(arg0 context.Context, arg1 *pb.PageRequest) (*pb.TextReply, error)
CreatePage mocks base method.
func (*MockMiddleSvcServer) CreateSetting ¶ added in v0.0.25
func (m *MockMiddleSvcServer) CreateSetting(arg0 context.Context, arg1 *pb.KVRequest) (*pb.StateReply, error)
CreateSetting mocks base method.
func (*MockMiddleSvcServer) EXPECT ¶ added in v0.0.25
func (m *MockMiddleSvcServer) EXPECT() *MockMiddleSvcServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockMiddleSvcServer) GetApps ¶ added in v0.0.25
func (m *MockMiddleSvcServer) GetApps(arg0 context.Context, arg1 *pb.TextRequest) (*pb.AppsReply, error)
GetApps mocks base method.
func (*MockMiddleSvcServer) GetAvailableApp ¶ added in v0.0.25
func (m *MockMiddleSvcServer) GetAvailableApp(arg0 context.Context, arg1 *pb.TextRequest) (*pb.AppReply, error)
GetAvailableApp mocks base method.
func (*MockMiddleSvcServer) GetCredential ¶ added in v0.0.25
func (m *MockMiddleSvcServer) GetCredential(arg0 context.Context, arg1 *pb.CredentialRequest) (*pb.CredentialReply, error)
GetCredential mocks base method.
func (*MockMiddleSvcServer) GetCredentials ¶ added in v0.0.25
func (m *MockMiddleSvcServer) GetCredentials(arg0 context.Context, arg1 *pb.TextRequest) (*pb.CredentialsReply, error)
GetCredentials mocks base method.
func (*MockMiddleSvcServer) GetMaskingCredentials ¶ added in v0.0.25
func (m *MockMiddleSvcServer) GetMaskingCredentials(arg0 context.Context, arg1 *pb.TextRequest) (*pb.MaskingReply, error)
GetMaskingCredentials mocks base method.
func (*MockMiddleSvcServer) GetMenu ¶ added in v0.0.25
func (m *MockMiddleSvcServer) GetMenu(arg0 context.Context, arg1 *pb.TextRequest) (*pb.TextReply, error)
GetMenu mocks base method.
func (*MockMiddleSvcServer) GetPage ¶ added in v0.0.25
func (m *MockMiddleSvcServer) GetPage(arg0 context.Context, arg1 *pb.PageRequest) (*pb.PageReply, error)
GetPage mocks base method.
func (*MockMiddleSvcServer) GetQrUrl ¶ added in v0.0.25
func (m *MockMiddleSvcServer) GetQrUrl(arg0 context.Context, arg1 *pb.TextRequest) (*pb.TextReply, error)
GetQrUrl mocks base method.
func (*MockMiddleSvcServer) GetRoleImageUrl ¶ added in v0.0.25
func (m *MockMiddleSvcServer) GetRoleImageUrl(arg0 context.Context, arg1 *pb.TextRequest) (*pb.TextReply, error)
GetRoleImageUrl mocks base method.
func (*MockMiddleSvcServer) GetSetting ¶ added in v0.0.25
func (m *MockMiddleSvcServer) GetSetting(arg0 context.Context, arg1 *pb.TextRequest) (*pb.SettingReply, error)
GetSetting mocks base method.
func (*MockMiddleSvcServer) GetSettings ¶ added in v0.0.25
func (m *MockMiddleSvcServer) GetSettings(arg0 context.Context, arg1 *pb.TextRequest) (*pb.SettingsReply, error)
GetSettings mocks base method.
func (*MockMiddleSvcServer) GetStats ¶ added in v0.0.25
func (m *MockMiddleSvcServer) GetStats(arg0 context.Context, arg1 *pb.TextRequest) (*pb.TextReply, error)
GetStats mocks base method.
func (*MockMiddleSvcServer) StoreAppOAuth ¶ added in v0.0.25
func (m *MockMiddleSvcServer) StoreAppOAuth(arg0 context.Context, arg1 *pb.AppRequest) (*pb.StateReply, error)
StoreAppOAuth mocks base method.
type MockMiddleSvcServerMockRecorder ¶ added in v0.0.25
type MockMiddleSvcServerMockRecorder struct {
// contains filtered or unexported fields
}
MockMiddleSvcServerMockRecorder is the mock recorder for MockMiddleSvcServer.
func (*MockMiddleSvcServerMockRecorder) CreateCredential ¶ added in v0.0.25
func (mr *MockMiddleSvcServerMockRecorder) CreateCredential(arg0, arg1 interface{}) *gomock.Call
CreateCredential indicates an expected call of CreateCredential.
func (*MockMiddleSvcServerMockRecorder) CreatePage ¶ added in v0.0.25
func (mr *MockMiddleSvcServerMockRecorder) CreatePage(arg0, arg1 interface{}) *gomock.Call
CreatePage indicates an expected call of CreatePage.
func (*MockMiddleSvcServerMockRecorder) CreateSetting ¶ added in v0.0.25
func (mr *MockMiddleSvcServerMockRecorder) CreateSetting(arg0, arg1 interface{}) *gomock.Call
CreateSetting indicates an expected call of CreateSetting.
func (*MockMiddleSvcServerMockRecorder) GetApps ¶ added in v0.0.25
func (mr *MockMiddleSvcServerMockRecorder) GetApps(arg0, arg1 interface{}) *gomock.Call
GetApps indicates an expected call of GetApps.
func (*MockMiddleSvcServerMockRecorder) GetAvailableApp ¶ added in v0.0.25
func (mr *MockMiddleSvcServerMockRecorder) GetAvailableApp(arg0, arg1 interface{}) *gomock.Call
GetAvailableApp indicates an expected call of GetAvailableApp.
func (*MockMiddleSvcServerMockRecorder) GetCredential ¶ added in v0.0.25
func (mr *MockMiddleSvcServerMockRecorder) GetCredential(arg0, arg1 interface{}) *gomock.Call
GetCredential indicates an expected call of GetCredential.
func (*MockMiddleSvcServerMockRecorder) GetCredentials ¶ added in v0.0.25
func (mr *MockMiddleSvcServerMockRecorder) GetCredentials(arg0, arg1 interface{}) *gomock.Call
GetCredentials indicates an expected call of GetCredentials.
func (*MockMiddleSvcServerMockRecorder) GetMaskingCredentials ¶ added in v0.0.25
func (mr *MockMiddleSvcServerMockRecorder) GetMaskingCredentials(arg0, arg1 interface{}) *gomock.Call
GetMaskingCredentials indicates an expected call of GetMaskingCredentials.
func (*MockMiddleSvcServerMockRecorder) GetMenu ¶ added in v0.0.25
func (mr *MockMiddleSvcServerMockRecorder) GetMenu(arg0, arg1 interface{}) *gomock.Call
GetMenu indicates an expected call of GetMenu.
func (*MockMiddleSvcServerMockRecorder) GetPage ¶ added in v0.0.25
func (mr *MockMiddleSvcServerMockRecorder) GetPage(arg0, arg1 interface{}) *gomock.Call
GetPage indicates an expected call of GetPage.
func (*MockMiddleSvcServerMockRecorder) GetQrUrl ¶ added in v0.0.25
func (mr *MockMiddleSvcServerMockRecorder) GetQrUrl(arg0, arg1 interface{}) *gomock.Call
GetQrUrl indicates an expected call of GetQrUrl.
func (*MockMiddleSvcServerMockRecorder) GetRoleImageUrl ¶ added in v0.0.25
func (mr *MockMiddleSvcServerMockRecorder) GetRoleImageUrl(arg0, arg1 interface{}) *gomock.Call
GetRoleImageUrl indicates an expected call of GetRoleImageUrl.
func (*MockMiddleSvcServerMockRecorder) GetSetting ¶ added in v0.0.25
func (mr *MockMiddleSvcServerMockRecorder) GetSetting(arg0, arg1 interface{}) *gomock.Call
GetSetting indicates an expected call of GetSetting.
func (*MockMiddleSvcServerMockRecorder) GetSettings ¶ added in v0.0.25
func (mr *MockMiddleSvcServerMockRecorder) GetSettings(arg0, arg1 interface{}) *gomock.Call
GetSettings indicates an expected call of GetSettings.
func (*MockMiddleSvcServerMockRecorder) GetStats ¶ added in v0.0.25
func (mr *MockMiddleSvcServerMockRecorder) GetStats(arg0, arg1 interface{}) *gomock.Call
GetStats indicates an expected call of GetStats.
func (*MockMiddleSvcServerMockRecorder) StoreAppOAuth ¶ added in v0.0.25
func (mr *MockMiddleSvcServerMockRecorder) StoreAppOAuth(arg0, arg1 interface{}) *gomock.Call
StoreAppOAuth indicates an expected call of StoreAppOAuth.
type MockNLPSvcClient ¶ added in v0.0.25
type MockNLPSvcClient struct {
// contains filtered or unexported fields
}
MockNLPSvcClient is a mock of NLPSvcClient interface.
func NewMockNLPSvcClient ¶ added in v0.0.25
func NewMockNLPSvcClient(ctrl *gomock.Controller) *MockNLPSvcClient
NewMockNLPSvcClient creates a new mock instance.
func (*MockNLPSvcClient) Classifier ¶ added in v0.0.25
func (m *MockNLPSvcClient) Classifier(ctx context.Context, in *pb.TextRequest, opts ...grpc.CallOption) (*pb.TextReply, error)
Classifier mocks base method.
func (*MockNLPSvcClient) EXPECT ¶ added in v0.0.25
func (m *MockNLPSvcClient) EXPECT() *MockNLPSvcClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockNLPSvcClient) Pinyin ¶ added in v0.0.25
func (m *MockNLPSvcClient) Pinyin(ctx context.Context, in *pb.TextRequest, opts ...grpc.CallOption) (*pb.WordsReply, error)
Pinyin mocks base method.
func (*MockNLPSvcClient) Segmentation ¶ added in v0.0.25
func (m *MockNLPSvcClient) Segmentation(ctx context.Context, in *pb.TextRequest, opts ...grpc.CallOption) (*pb.WordsReply, error)
Segmentation mocks base method.
type MockNLPSvcClientMockRecorder ¶ added in v0.0.25
type MockNLPSvcClientMockRecorder struct {
// contains filtered or unexported fields
}
MockNLPSvcClientMockRecorder is the mock recorder for MockNLPSvcClient.
func (*MockNLPSvcClientMockRecorder) Classifier ¶ added in v0.0.25
func (mr *MockNLPSvcClientMockRecorder) Classifier(ctx, in interface{}, opts ...interface{}) *gomock.Call
Classifier indicates an expected call of Classifier.
func (*MockNLPSvcClientMockRecorder) Pinyin ¶ added in v0.0.25
func (mr *MockNLPSvcClientMockRecorder) Pinyin(ctx, in interface{}, opts ...interface{}) *gomock.Call
Pinyin indicates an expected call of Pinyin.
func (*MockNLPSvcClientMockRecorder) Segmentation ¶ added in v0.0.25
func (mr *MockNLPSvcClientMockRecorder) Segmentation(ctx, in interface{}, opts ...interface{}) *gomock.Call
Segmentation indicates an expected call of Segmentation.
type MockNLPSvcServer ¶ added in v0.0.25
type MockNLPSvcServer struct {
// contains filtered or unexported fields
}
MockNLPSvcServer is a mock of NLPSvcServer interface.
func NewMockNLPSvcServer ¶ added in v0.0.25
func NewMockNLPSvcServer(ctrl *gomock.Controller) *MockNLPSvcServer
NewMockNLPSvcServer creates a new mock instance.
func (*MockNLPSvcServer) Classifier ¶ added in v0.0.25
func (m *MockNLPSvcServer) Classifier(arg0 context.Context, arg1 *pb.TextRequest) (*pb.TextReply, error)
Classifier mocks base method.
func (*MockNLPSvcServer) EXPECT ¶ added in v0.0.25
func (m *MockNLPSvcServer) EXPECT() *MockNLPSvcServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockNLPSvcServer) Pinyin ¶ added in v0.0.25
func (m *MockNLPSvcServer) Pinyin(arg0 context.Context, arg1 *pb.TextRequest) (*pb.WordsReply, error)
Pinyin mocks base method.
func (*MockNLPSvcServer) Segmentation ¶ added in v0.0.25
func (m *MockNLPSvcServer) Segmentation(arg0 context.Context, arg1 *pb.TextRequest) (*pb.WordsReply, error)
Segmentation mocks base method.
type MockNLPSvcServerMockRecorder ¶ added in v0.0.25
type MockNLPSvcServerMockRecorder struct {
// contains filtered or unexported fields
}
MockNLPSvcServerMockRecorder is the mock recorder for MockNLPSvcServer.
func (*MockNLPSvcServerMockRecorder) Classifier ¶ added in v0.0.25
func (mr *MockNLPSvcServerMockRecorder) Classifier(arg0, arg1 interface{}) *gomock.Call
Classifier indicates an expected call of Classifier.
func (*MockNLPSvcServerMockRecorder) Pinyin ¶ added in v0.0.25
func (mr *MockNLPSvcServerMockRecorder) Pinyin(arg0, arg1 interface{}) *gomock.Call
Pinyin indicates an expected call of Pinyin.
func (*MockNLPSvcServerMockRecorder) Segmentation ¶ added in v0.0.25
func (mr *MockNLPSvcServerMockRecorder) Segmentation(arg0, arg1 interface{}) *gomock.Call
Segmentation indicates an expected call of Segmentation.
type MockSubscribeSvcClient ¶ added in v0.0.25
type MockSubscribeSvcClient struct {
// contains filtered or unexported fields
}
MockSubscribeSvcClient is a mock of SubscribeSvcClient interface.
func NewMockSubscribeSvcClient ¶ added in v0.0.25
func NewMockSubscribeSvcClient(ctrl *gomock.Controller) *MockSubscribeSvcClient
NewMockSubscribeSvcClient creates a new mock instance.
func (*MockSubscribeSvcClient) Close ¶ added in v0.0.25
func (m *MockSubscribeSvcClient) Close(ctx context.Context, in *pb.SubscribeRequest, opts ...grpc.CallOption) (*pb.StateReply, error)
Close mocks base method.
func (*MockSubscribeSvcClient) EXPECT ¶ added in v0.0.25
func (m *MockSubscribeSvcClient) EXPECT() *MockSubscribeSvcClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSubscribeSvcClient) List ¶ added in v0.0.25
func (m *MockSubscribeSvcClient) List(ctx context.Context, in *pb.SubscribeRequest, opts ...grpc.CallOption) (*pb.SubscribeReply, error)
List mocks base method.
func (*MockSubscribeSvcClient) Open ¶ added in v0.0.25
func (m *MockSubscribeSvcClient) Open(ctx context.Context, in *pb.SubscribeRequest, opts ...grpc.CallOption) (*pb.StateReply, error)
Open mocks base method.
func (*MockSubscribeSvcClient) Register ¶ added in v0.0.25
func (m *MockSubscribeSvcClient) Register(ctx context.Context, in *pb.SubscribeRequest, opts ...grpc.CallOption) (*pb.StateReply, error)
Register mocks base method.
func (*MockSubscribeSvcClient) Status ¶ added in v0.0.25
func (m *MockSubscribeSvcClient) Status(ctx context.Context, in *pb.SubscribeRequest, opts ...grpc.CallOption) (*pb.StateReply, error)
Status mocks base method.
type MockSubscribeSvcClientMockRecorder ¶ added in v0.0.25
type MockSubscribeSvcClientMockRecorder struct {
// contains filtered or unexported fields
}
MockSubscribeSvcClientMockRecorder is the mock recorder for MockSubscribeSvcClient.
func (*MockSubscribeSvcClientMockRecorder) Close ¶ added in v0.0.25
func (mr *MockSubscribeSvcClientMockRecorder) Close(ctx, in interface{}, opts ...interface{}) *gomock.Call
Close indicates an expected call of Close.
func (*MockSubscribeSvcClientMockRecorder) List ¶ added in v0.0.25
func (mr *MockSubscribeSvcClientMockRecorder) List(ctx, in interface{}, opts ...interface{}) *gomock.Call
List indicates an expected call of List.
func (*MockSubscribeSvcClientMockRecorder) Open ¶ added in v0.0.25
func (mr *MockSubscribeSvcClientMockRecorder) Open(ctx, in interface{}, opts ...interface{}) *gomock.Call
Open indicates an expected call of Open.
func (*MockSubscribeSvcClientMockRecorder) Register ¶ added in v0.0.25
func (mr *MockSubscribeSvcClientMockRecorder) Register(ctx, in interface{}, opts ...interface{}) *gomock.Call
Register indicates an expected call of Register.
func (*MockSubscribeSvcClientMockRecorder) Status ¶ added in v0.0.25
func (mr *MockSubscribeSvcClientMockRecorder) Status(ctx, in interface{}, opts ...interface{}) *gomock.Call
Status indicates an expected call of Status.
type MockSubscribeSvcServer ¶ added in v0.0.25
type MockSubscribeSvcServer struct {
// contains filtered or unexported fields
}
MockSubscribeSvcServer is a mock of SubscribeSvcServer interface.
func NewMockSubscribeSvcServer ¶ added in v0.0.25
func NewMockSubscribeSvcServer(ctrl *gomock.Controller) *MockSubscribeSvcServer
NewMockSubscribeSvcServer creates a new mock instance.
func (*MockSubscribeSvcServer) Close ¶ added in v0.0.25
func (m *MockSubscribeSvcServer) Close(arg0 context.Context, arg1 *pb.SubscribeRequest) (*pb.StateReply, error)
Close mocks base method.
func (*MockSubscribeSvcServer) EXPECT ¶ added in v0.0.25
func (m *MockSubscribeSvcServer) EXPECT() *MockSubscribeSvcServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSubscribeSvcServer) List ¶ added in v0.0.25
func (m *MockSubscribeSvcServer) List(arg0 context.Context, arg1 *pb.SubscribeRequest) (*pb.SubscribeReply, error)
List mocks base method.
func (*MockSubscribeSvcServer) Open ¶ added in v0.0.25
func (m *MockSubscribeSvcServer) Open(arg0 context.Context, arg1 *pb.SubscribeRequest) (*pb.StateReply, error)
Open mocks base method.
func (*MockSubscribeSvcServer) Register ¶ added in v0.0.25
func (m *MockSubscribeSvcServer) Register(arg0 context.Context, arg1 *pb.SubscribeRequest) (*pb.StateReply, error)
Register mocks base method.
func (*MockSubscribeSvcServer) Status ¶ added in v0.0.25
func (m *MockSubscribeSvcServer) Status(arg0 context.Context, arg1 *pb.SubscribeRequest) (*pb.StateReply, error)
Status mocks base method.
type MockSubscribeSvcServerMockRecorder ¶ added in v0.0.25
type MockSubscribeSvcServerMockRecorder struct {
// contains filtered or unexported fields
}
MockSubscribeSvcServerMockRecorder is the mock recorder for MockSubscribeSvcServer.
func (*MockSubscribeSvcServerMockRecorder) Close ¶ added in v0.0.25
func (mr *MockSubscribeSvcServerMockRecorder) Close(arg0, arg1 interface{}) *gomock.Call
Close indicates an expected call of Close.
func (*MockSubscribeSvcServerMockRecorder) List ¶ added in v0.0.25
func (mr *MockSubscribeSvcServerMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
List indicates an expected call of List.
func (*MockSubscribeSvcServerMockRecorder) Open ¶ added in v0.0.25
func (mr *MockSubscribeSvcServerMockRecorder) Open(arg0, arg1 interface{}) *gomock.Call
Open indicates an expected call of Open.
func (*MockSubscribeSvcServerMockRecorder) Register ¶ added in v0.0.25
func (mr *MockSubscribeSvcServerMockRecorder) Register(arg0, arg1 interface{}) *gomock.Call
Register indicates an expected call of Register.
func (*MockSubscribeSvcServerMockRecorder) Status ¶ added in v0.0.25
func (mr *MockSubscribeSvcServerMockRecorder) Status(arg0, arg1 interface{}) *gomock.Call
Status indicates an expected call of Status.
type MockTodoRepository ¶
type MockTodoRepository struct {
// contains filtered or unexported fields
}
MockTodoRepository is a mock of TodoRepository interface.
func NewMockTodoRepository ¶
func NewMockTodoRepository(ctrl *gomock.Controller) *MockTodoRepository
NewMockTodoRepository creates a new mock instance.
func (*MockTodoRepository) CompleteTodo ¶
func (m *MockTodoRepository) CompleteTodo(id int64) error
CompleteTodo mocks base method.
func (*MockTodoRepository) CreateTodo ¶
func (m *MockTodoRepository) CreateTodo(todo pb.Todo) (int64, error)
CreateTodo mocks base method.
func (*MockTodoRepository) DeleteTodo ¶
func (m *MockTodoRepository) DeleteTodo(id int64) error
DeleteTodo mocks base method.
func (*MockTodoRepository) EXPECT ¶
func (m *MockTodoRepository) EXPECT() *MockTodoRepositoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockTodoRepository) GetTodo ¶
func (m *MockTodoRepository) GetTodo(id int64) (pb.Todo, error)
GetTodo mocks base method.
func (*MockTodoRepository) ListRemindTodos ¶ added in v0.0.25
func (m *MockTodoRepository) ListRemindTodos() ([]pb.Todo, error)
ListRemindTodos mocks base method.
func (*MockTodoRepository) ListTodos ¶
func (m *MockTodoRepository) ListTodos() ([]pb.Todo, error)
ListTodos mocks base method.
func (*MockTodoRepository) UpdateTodo ¶
func (m *MockTodoRepository) UpdateTodo(todo pb.Todo) error
UpdateTodo mocks base method.
type MockTodoRepositoryMockRecorder ¶
type MockTodoRepositoryMockRecorder struct {
// contains filtered or unexported fields
}
MockTodoRepositoryMockRecorder is the mock recorder for MockTodoRepository.
func (*MockTodoRepositoryMockRecorder) CompleteTodo ¶
func (mr *MockTodoRepositoryMockRecorder) CompleteTodo(id interface{}) *gomock.Call
CompleteTodo indicates an expected call of CompleteTodo.
func (*MockTodoRepositoryMockRecorder) CreateTodo ¶
func (mr *MockTodoRepositoryMockRecorder) CreateTodo(todo interface{}) *gomock.Call
CreateTodo indicates an expected call of CreateTodo.
func (*MockTodoRepositoryMockRecorder) DeleteTodo ¶
func (mr *MockTodoRepositoryMockRecorder) DeleteTodo(id interface{}) *gomock.Call
DeleteTodo indicates an expected call of DeleteTodo.
func (*MockTodoRepositoryMockRecorder) GetTodo ¶
func (mr *MockTodoRepositoryMockRecorder) GetTodo(id interface{}) *gomock.Call
GetTodo indicates an expected call of GetTodo.
func (*MockTodoRepositoryMockRecorder) ListRemindTodos ¶ added in v0.0.25
func (mr *MockTodoRepositoryMockRecorder) ListRemindTodos() *gomock.Call
ListRemindTodos indicates an expected call of ListRemindTodos.
func (*MockTodoRepositoryMockRecorder) ListTodos ¶
func (mr *MockTodoRepositoryMockRecorder) ListTodos() *gomock.Call
ListTodos indicates an expected call of ListTodos.
func (*MockTodoRepositoryMockRecorder) UpdateTodo ¶
func (mr *MockTodoRepositoryMockRecorder) UpdateTodo(todo interface{}) *gomock.Call
UpdateTodo indicates an expected call of UpdateTodo.
type MockTodoSvcClient ¶ added in v0.0.25
type MockTodoSvcClient struct {
// contains filtered or unexported fields
}
MockTodoSvcClient is a mock of TodoSvcClient interface.
func NewMockTodoSvcClient ¶ added in v0.0.25
func NewMockTodoSvcClient(ctrl *gomock.Controller) *MockTodoSvcClient
NewMockTodoSvcClient creates a new mock instance.
func (*MockTodoSvcClient) CompleteTodo ¶ added in v0.0.25
func (m *MockTodoSvcClient) CompleteTodo(ctx context.Context, in *pb.TodoRequest, opts ...grpc.CallOption) (*pb.StateReply, error)
CompleteTodo mocks base method.
func (*MockTodoSvcClient) CreateTodo ¶ added in v0.0.25
func (m *MockTodoSvcClient) CreateTodo(ctx context.Context, in *pb.TodoRequest, opts ...grpc.CallOption) (*pb.StateReply, error)
CreateTodo mocks base method.
func (*MockTodoSvcClient) DeleteTodo ¶ added in v0.0.25
func (m *MockTodoSvcClient) DeleteTodo(ctx context.Context, in *pb.TodoRequest, opts ...grpc.CallOption) (*pb.StateReply, error)
DeleteTodo mocks base method.
func (*MockTodoSvcClient) EXPECT ¶ added in v0.0.25
func (m *MockTodoSvcClient) EXPECT() *MockTodoSvcClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockTodoSvcClient) GetRemindTodos ¶ added in v0.0.25
func (m *MockTodoSvcClient) GetRemindTodos(ctx context.Context, in *pb.TodoRequest, opts ...grpc.CallOption) (*pb.TodosReply, error)
GetRemindTodos mocks base method.
func (*MockTodoSvcClient) GetTodo ¶ added in v0.0.25
func (m *MockTodoSvcClient) GetTodo(ctx context.Context, in *pb.TodoRequest, opts ...grpc.CallOption) (*pb.TodoReply, error)
GetTodo mocks base method.
func (*MockTodoSvcClient) GetTodos ¶ added in v0.0.25
func (m *MockTodoSvcClient) GetTodos(ctx context.Context, in *pb.TodoRequest, opts ...grpc.CallOption) (*pb.TodosReply, error)
GetTodos mocks base method.
func (*MockTodoSvcClient) UpdateTodo ¶ added in v0.0.25
func (m *MockTodoSvcClient) UpdateTodo(ctx context.Context, in *pb.TodoRequest, opts ...grpc.CallOption) (*pb.StateReply, error)
UpdateTodo mocks base method.
type MockTodoSvcClientMockRecorder ¶ added in v0.0.25
type MockTodoSvcClientMockRecorder struct {
// contains filtered or unexported fields
}
MockTodoSvcClientMockRecorder is the mock recorder for MockTodoSvcClient.
func (*MockTodoSvcClientMockRecorder) CompleteTodo ¶ added in v0.0.25
func (mr *MockTodoSvcClientMockRecorder) CompleteTodo(ctx, in interface{}, opts ...interface{}) *gomock.Call
CompleteTodo indicates an expected call of CompleteTodo.
func (*MockTodoSvcClientMockRecorder) CreateTodo ¶ added in v0.0.25
func (mr *MockTodoSvcClientMockRecorder) CreateTodo(ctx, in interface{}, opts ...interface{}) *gomock.Call
CreateTodo indicates an expected call of CreateTodo.
func (*MockTodoSvcClientMockRecorder) DeleteTodo ¶ added in v0.0.25
func (mr *MockTodoSvcClientMockRecorder) DeleteTodo(ctx, in interface{}, opts ...interface{}) *gomock.Call
DeleteTodo indicates an expected call of DeleteTodo.
func (*MockTodoSvcClientMockRecorder) GetRemindTodos ¶ added in v0.0.25
func (mr *MockTodoSvcClientMockRecorder) GetRemindTodos(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetRemindTodos indicates an expected call of GetRemindTodos.
func (*MockTodoSvcClientMockRecorder) GetTodo ¶ added in v0.0.25
func (mr *MockTodoSvcClientMockRecorder) GetTodo(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetTodo indicates an expected call of GetTodo.
func (*MockTodoSvcClientMockRecorder) GetTodos ¶ added in v0.0.25
func (mr *MockTodoSvcClientMockRecorder) GetTodos(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetTodos indicates an expected call of GetTodos.
func (*MockTodoSvcClientMockRecorder) UpdateTodo ¶ added in v0.0.25
func (mr *MockTodoSvcClientMockRecorder) UpdateTodo(ctx, in interface{}, opts ...interface{}) *gomock.Call
UpdateTodo indicates an expected call of UpdateTodo.
type MockTodoSvcServer ¶ added in v0.0.25
type MockTodoSvcServer struct {
// contains filtered or unexported fields
}
MockTodoSvcServer is a mock of TodoSvcServer interface.
func NewMockTodoSvcServer ¶ added in v0.0.25
func NewMockTodoSvcServer(ctrl *gomock.Controller) *MockTodoSvcServer
NewMockTodoSvcServer creates a new mock instance.
func (*MockTodoSvcServer) CompleteTodo ¶ added in v0.0.25
func (m *MockTodoSvcServer) CompleteTodo(arg0 context.Context, arg1 *pb.TodoRequest) (*pb.StateReply, error)
CompleteTodo mocks base method.
func (*MockTodoSvcServer) CreateTodo ¶ added in v0.0.25
func (m *MockTodoSvcServer) CreateTodo(arg0 context.Context, arg1 *pb.TodoRequest) (*pb.StateReply, error)
CreateTodo mocks base method.
func (*MockTodoSvcServer) DeleteTodo ¶ added in v0.0.25
func (m *MockTodoSvcServer) DeleteTodo(arg0 context.Context, arg1 *pb.TodoRequest) (*pb.StateReply, error)
DeleteTodo mocks base method.
func (*MockTodoSvcServer) EXPECT ¶ added in v0.0.25
func (m *MockTodoSvcServer) EXPECT() *MockTodoSvcServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockTodoSvcServer) GetRemindTodos ¶ added in v0.0.25
func (m *MockTodoSvcServer) GetRemindTodos(arg0 context.Context, arg1 *pb.TodoRequest) (*pb.TodosReply, error)
GetRemindTodos mocks base method.
func (*MockTodoSvcServer) GetTodo ¶ added in v0.0.25
func (m *MockTodoSvcServer) GetTodo(arg0 context.Context, arg1 *pb.TodoRequest) (*pb.TodoReply, error)
GetTodo mocks base method.
func (*MockTodoSvcServer) GetTodos ¶ added in v0.0.25
func (m *MockTodoSvcServer) GetTodos(arg0 context.Context, arg1 *pb.TodoRequest) (*pb.TodosReply, error)
GetTodos mocks base method.
func (*MockTodoSvcServer) UpdateTodo ¶ added in v0.0.25
func (m *MockTodoSvcServer) UpdateTodo(arg0 context.Context, arg1 *pb.TodoRequest) (*pb.StateReply, error)
UpdateTodo mocks base method.
type MockTodoSvcServerMockRecorder ¶ added in v0.0.25
type MockTodoSvcServerMockRecorder struct {
// contains filtered or unexported fields
}
MockTodoSvcServerMockRecorder is the mock recorder for MockTodoSvcServer.
func (*MockTodoSvcServerMockRecorder) CompleteTodo ¶ added in v0.0.25
func (mr *MockTodoSvcServerMockRecorder) CompleteTodo(arg0, arg1 interface{}) *gomock.Call
CompleteTodo indicates an expected call of CompleteTodo.
func (*MockTodoSvcServerMockRecorder) CreateTodo ¶ added in v0.0.25
func (mr *MockTodoSvcServerMockRecorder) CreateTodo(arg0, arg1 interface{}) *gomock.Call
CreateTodo indicates an expected call of CreateTodo.
func (*MockTodoSvcServerMockRecorder) DeleteTodo ¶ added in v0.0.25
func (mr *MockTodoSvcServerMockRecorder) DeleteTodo(arg0, arg1 interface{}) *gomock.Call
DeleteTodo indicates an expected call of DeleteTodo.
func (*MockTodoSvcServerMockRecorder) GetRemindTodos ¶ added in v0.0.25
func (mr *MockTodoSvcServerMockRecorder) GetRemindTodos(arg0, arg1 interface{}) *gomock.Call
GetRemindTodos indicates an expected call of GetRemindTodos.
func (*MockTodoSvcServerMockRecorder) GetTodo ¶ added in v0.0.25
func (mr *MockTodoSvcServerMockRecorder) GetTodo(arg0, arg1 interface{}) *gomock.Call
GetTodo indicates an expected call of GetTodo.
func (*MockTodoSvcServerMockRecorder) GetTodos ¶ added in v0.0.25
func (mr *MockTodoSvcServerMockRecorder) GetTodos(arg0, arg1 interface{}) *gomock.Call
GetTodos indicates an expected call of GetTodos.
func (*MockTodoSvcServerMockRecorder) UpdateTodo ¶ added in v0.0.25
func (mr *MockTodoSvcServerMockRecorder) UpdateTodo(arg0, arg1 interface{}) *gomock.Call
UpdateTodo indicates an expected call of UpdateTodo.
type MockUserRepository ¶
type MockUserRepository struct {
// contains filtered or unexported fields
}
MockUserRepository is a mock of UserRepository interface.
func NewMockUserRepository ¶
func NewMockUserRepository(ctrl *gomock.Controller) *MockUserRepository
NewMockUserRepository creates a new mock instance.
func (*MockUserRepository) ChangeRoleAttr ¶
func (m *MockUserRepository) ChangeRoleAttr(userID int64, attr string, val int64) error
ChangeRoleAttr mocks base method.
func (*MockUserRepository) ChangeRoleExp ¶
func (m *MockUserRepository) ChangeRoleExp(userID, exp int64) error
ChangeRoleExp mocks base method.
func (*MockUserRepository) Create ¶ added in v0.0.25
func (m *MockUserRepository) Create(user pb.User) (int64, error)
Create mocks base method.
func (*MockUserRepository) EXPECT ¶
func (m *MockUserRepository) EXPECT() *MockUserRepositoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockUserRepository) GetByID ¶ added in v0.0.25
func (m *MockUserRepository) GetByID(id int64) (pb.User, error)
GetByID mocks base method.
func (*MockUserRepository) GetByName ¶ added in v0.0.25
func (m *MockUserRepository) GetByName(name string) (pb.User, error)
GetByName mocks base method.
func (*MockUserRepository) GetRole ¶
func (m *MockUserRepository) GetRole(userID int64) (pb.Role, error)
GetRole mocks base method.
type MockUserRepositoryMockRecorder ¶
type MockUserRepositoryMockRecorder struct {
// contains filtered or unexported fields
}
MockUserRepositoryMockRecorder is the mock recorder for MockUserRepository.
func (*MockUserRepositoryMockRecorder) ChangeRoleAttr ¶
func (mr *MockUserRepositoryMockRecorder) ChangeRoleAttr(userID, attr, val interface{}) *gomock.Call
ChangeRoleAttr indicates an expected call of ChangeRoleAttr.
func (*MockUserRepositoryMockRecorder) ChangeRoleExp ¶
func (mr *MockUserRepositoryMockRecorder) ChangeRoleExp(userID, exp interface{}) *gomock.Call
ChangeRoleExp indicates an expected call of ChangeRoleExp.
func (*MockUserRepositoryMockRecorder) Create ¶ added in v0.0.25
func (mr *MockUserRepositoryMockRecorder) Create(user interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockUserRepositoryMockRecorder) GetByID ¶ added in v0.0.25
func (mr *MockUserRepositoryMockRecorder) GetByID(id interface{}) *gomock.Call
GetByID indicates an expected call of GetByID.
func (*MockUserRepositoryMockRecorder) GetByName ¶ added in v0.0.25
func (mr *MockUserRepositoryMockRecorder) GetByName(name interface{}) *gomock.Call
GetByName indicates an expected call of GetByName.
func (*MockUserRepositoryMockRecorder) GetRole ¶
func (mr *MockUserRepositoryMockRecorder) GetRole(userID interface{}) *gomock.Call
GetRole indicates an expected call of GetRole.
func (*MockUserRepositoryMockRecorder) List ¶ added in v0.0.25
func (mr *MockUserRepositoryMockRecorder) List() *gomock.Call
List indicates an expected call of List.
func (*MockUserRepositoryMockRecorder) Update ¶ added in v0.0.25
func (mr *MockUserRepositoryMockRecorder) Update(user interface{}) *gomock.Call
Update indicates an expected call of Update.
type MockUserSvcClient ¶ added in v0.0.25
type MockUserSvcClient struct {
// contains filtered or unexported fields
}
MockUserSvcClient is a mock of UserSvcClient interface.
func NewMockUserSvcClient ¶ added in v0.0.25
func NewMockUserSvcClient(ctrl *gomock.Controller) *MockUserSvcClient
NewMockUserSvcClient creates a new mock instance.
func (*MockUserSvcClient) Authorization ¶ added in v0.0.25
func (m *MockUserSvcClient) Authorization(ctx context.Context, in *pb.TextRequest, opts ...grpc.CallOption) (*pb.StateReply, error)
Authorization mocks base method.
func (*MockUserSvcClient) CreateUser ¶ added in v0.0.25
func (m *MockUserSvcClient) CreateUser(ctx context.Context, in *pb.UserRequest, opts ...grpc.CallOption) (*pb.UserReply, error)
CreateUser mocks base method.
func (*MockUserSvcClient) EXPECT ¶ added in v0.0.25
func (m *MockUserSvcClient) EXPECT() *MockUserSvcClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockUserSvcClient) GetAuthToken ¶ added in v0.0.25
func (m *MockUserSvcClient) GetAuthToken(ctx context.Context, in *pb.TextRequest, opts ...grpc.CallOption) (*pb.TextReply, error)
GetAuthToken mocks base method.
func (*MockUserSvcClient) GetRole ¶ added in v0.0.25
func (m *MockUserSvcClient) GetRole(ctx context.Context, in *pb.RoleRequest, opts ...grpc.CallOption) (*pb.RoleReply, error)
GetRole mocks base method.
func (*MockUserSvcClient) GetRoleImage ¶ added in v0.0.25
func (m *MockUserSvcClient) GetRoleImage(ctx context.Context, in *pb.RoleRequest, opts ...grpc.CallOption) (*pb.BytesReply, error)
GetRoleImage mocks base method.
func (*MockUserSvcClient) GetUser ¶ added in v0.0.25
func (m *MockUserSvcClient) GetUser(ctx context.Context, in *pb.UserRequest, opts ...grpc.CallOption) (*pb.UserReply, error)
GetUser mocks base method.
func (*MockUserSvcClient) GetUserByName ¶ added in v0.0.25
func (m *MockUserSvcClient) GetUserByName(ctx context.Context, in *pb.UserRequest, opts ...grpc.CallOption) (*pb.UserReply, error)
GetUserByName mocks base method.
func (*MockUserSvcClient) GetUsers ¶ added in v0.0.25
func (m *MockUserSvcClient) GetUsers(ctx context.Context, in *pb.UserRequest, opts ...grpc.CallOption) (*pb.UsersReply, error)
GetUsers mocks base method.
func (*MockUserSvcClient) UpdateUser ¶ added in v0.0.25
func (m *MockUserSvcClient) UpdateUser(ctx context.Context, in *pb.UserRequest, opts ...grpc.CallOption) (*pb.StateReply, error)
UpdateUser mocks base method.
type MockUserSvcClientMockRecorder ¶ added in v0.0.25
type MockUserSvcClientMockRecorder struct {
// contains filtered or unexported fields
}
MockUserSvcClientMockRecorder is the mock recorder for MockUserSvcClient.
func (*MockUserSvcClientMockRecorder) Authorization ¶ added in v0.0.25
func (mr *MockUserSvcClientMockRecorder) Authorization(ctx, in interface{}, opts ...interface{}) *gomock.Call
Authorization indicates an expected call of Authorization.
func (*MockUserSvcClientMockRecorder) CreateUser ¶ added in v0.0.25
func (mr *MockUserSvcClientMockRecorder) CreateUser(ctx, in interface{}, opts ...interface{}) *gomock.Call
CreateUser indicates an expected call of CreateUser.
func (*MockUserSvcClientMockRecorder) GetAuthToken ¶ added in v0.0.25
func (mr *MockUserSvcClientMockRecorder) GetAuthToken(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetAuthToken indicates an expected call of GetAuthToken.
func (*MockUserSvcClientMockRecorder) GetRole ¶ added in v0.0.25
func (mr *MockUserSvcClientMockRecorder) GetRole(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetRole indicates an expected call of GetRole.
func (*MockUserSvcClientMockRecorder) GetRoleImage ¶ added in v0.0.25
func (mr *MockUserSvcClientMockRecorder) GetRoleImage(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetRoleImage indicates an expected call of GetRoleImage.
func (*MockUserSvcClientMockRecorder) GetUser ¶ added in v0.0.25
func (mr *MockUserSvcClientMockRecorder) GetUser(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetUser indicates an expected call of GetUser.
func (*MockUserSvcClientMockRecorder) GetUserByName ¶ added in v0.0.25
func (mr *MockUserSvcClientMockRecorder) GetUserByName(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetUserByName indicates an expected call of GetUserByName.
func (*MockUserSvcClientMockRecorder) GetUsers ¶ added in v0.0.25
func (mr *MockUserSvcClientMockRecorder) GetUsers(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetUsers indicates an expected call of GetUsers.
func (*MockUserSvcClientMockRecorder) UpdateUser ¶ added in v0.0.25
func (mr *MockUserSvcClientMockRecorder) UpdateUser(ctx, in interface{}, opts ...interface{}) *gomock.Call
UpdateUser indicates an expected call of UpdateUser.
type MockUserSvcServer ¶ added in v0.0.25
type MockUserSvcServer struct {
// contains filtered or unexported fields
}
MockUserSvcServer is a mock of UserSvcServer interface.
func NewMockUserSvcServer ¶ added in v0.0.25
func NewMockUserSvcServer(ctrl *gomock.Controller) *MockUserSvcServer
NewMockUserSvcServer creates a new mock instance.
func (*MockUserSvcServer) Authorization ¶ added in v0.0.25
func (m *MockUserSvcServer) Authorization(arg0 context.Context, arg1 *pb.TextRequest) (*pb.StateReply, error)
Authorization mocks base method.
func (*MockUserSvcServer) CreateUser ¶ added in v0.0.25
func (m *MockUserSvcServer) CreateUser(arg0 context.Context, arg1 *pb.UserRequest) (*pb.UserReply, error)
CreateUser mocks base method.
func (*MockUserSvcServer) EXPECT ¶ added in v0.0.25
func (m *MockUserSvcServer) EXPECT() *MockUserSvcServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockUserSvcServer) GetAuthToken ¶ added in v0.0.25
func (m *MockUserSvcServer) GetAuthToken(arg0 context.Context, arg1 *pb.TextRequest) (*pb.TextReply, error)
GetAuthToken mocks base method.
func (*MockUserSvcServer) GetRole ¶ added in v0.0.25
func (m *MockUserSvcServer) GetRole(arg0 context.Context, arg1 *pb.RoleRequest) (*pb.RoleReply, error)
GetRole mocks base method.
func (*MockUserSvcServer) GetRoleImage ¶ added in v0.0.25
func (m *MockUserSvcServer) GetRoleImage(arg0 context.Context, arg1 *pb.RoleRequest) (*pb.BytesReply, error)
GetRoleImage mocks base method.
func (*MockUserSvcServer) GetUser ¶ added in v0.0.25
func (m *MockUserSvcServer) GetUser(arg0 context.Context, arg1 *pb.UserRequest) (*pb.UserReply, error)
GetUser mocks base method.
func (*MockUserSvcServer) GetUserByName ¶ added in v0.0.25
func (m *MockUserSvcServer) GetUserByName(arg0 context.Context, arg1 *pb.UserRequest) (*pb.UserReply, error)
GetUserByName mocks base method.
func (*MockUserSvcServer) GetUsers ¶ added in v0.0.25
func (m *MockUserSvcServer) GetUsers(arg0 context.Context, arg1 *pb.UserRequest) (*pb.UsersReply, error)
GetUsers mocks base method.
func (*MockUserSvcServer) UpdateUser ¶ added in v0.0.25
func (m *MockUserSvcServer) UpdateUser(arg0 context.Context, arg1 *pb.UserRequest) (*pb.StateReply, error)
UpdateUser mocks base method.
type MockUserSvcServerMockRecorder ¶ added in v0.0.25
type MockUserSvcServerMockRecorder struct {
// contains filtered or unexported fields
}
MockUserSvcServerMockRecorder is the mock recorder for MockUserSvcServer.
func (*MockUserSvcServerMockRecorder) Authorization ¶ added in v0.0.25
func (mr *MockUserSvcServerMockRecorder) Authorization(arg0, arg1 interface{}) *gomock.Call
Authorization indicates an expected call of Authorization.
func (*MockUserSvcServerMockRecorder) CreateUser ¶ added in v0.0.25
func (mr *MockUserSvcServerMockRecorder) CreateUser(arg0, arg1 interface{}) *gomock.Call
CreateUser indicates an expected call of CreateUser.
func (*MockUserSvcServerMockRecorder) GetAuthToken ¶ added in v0.0.25
func (mr *MockUserSvcServerMockRecorder) GetAuthToken(arg0, arg1 interface{}) *gomock.Call
GetAuthToken indicates an expected call of GetAuthToken.
func (*MockUserSvcServerMockRecorder) GetRole ¶ added in v0.0.25
func (mr *MockUserSvcServerMockRecorder) GetRole(arg0, arg1 interface{}) *gomock.Call
GetRole indicates an expected call of GetRole.
func (*MockUserSvcServerMockRecorder) GetRoleImage ¶ added in v0.0.25
func (mr *MockUserSvcServerMockRecorder) GetRoleImage(arg0, arg1 interface{}) *gomock.Call
GetRoleImage indicates an expected call of GetRoleImage.
func (*MockUserSvcServerMockRecorder) GetUser ¶ added in v0.0.25
func (mr *MockUserSvcServerMockRecorder) GetUser(arg0, arg1 interface{}) *gomock.Call
GetUser indicates an expected call of GetUser.
func (*MockUserSvcServerMockRecorder) GetUserByName ¶ added in v0.0.25
func (mr *MockUserSvcServerMockRecorder) GetUserByName(arg0, arg1 interface{}) *gomock.Call
GetUserByName indicates an expected call of GetUserByName.
func (*MockUserSvcServerMockRecorder) GetUsers ¶ added in v0.0.25
func (mr *MockUserSvcServerMockRecorder) GetUsers(arg0, arg1 interface{}) *gomock.Call
GetUsers indicates an expected call of GetUsers.
func (*MockUserSvcServerMockRecorder) UpdateUser ¶ added in v0.0.25
func (mr *MockUserSvcServerMockRecorder) UpdateUser(arg0, arg1 interface{}) *gomock.Call
UpdateUser indicates an expected call of UpdateUser.
type MockWorkflowRepository ¶
type MockWorkflowRepository struct {
// contains filtered or unexported fields
}
MockWorkflowRepository is a mock of WorkflowRepository interface.
func NewMockWorkflowRepository ¶
func NewMockWorkflowRepository(ctrl *gomock.Controller) *MockWorkflowRepository
NewMockWorkflowRepository creates a new mock instance.
func (*MockWorkflowRepository) CreateTrigger ¶
func (m *MockWorkflowRepository) CreateTrigger(trigger pb.Trigger) (int64, error)
CreateTrigger mocks base method.
func (*MockWorkflowRepository) DeleteTriggerByMessageID ¶
func (m *MockWorkflowRepository) DeleteTriggerByMessageID(messageID int64) error
DeleteTriggerByMessageID mocks base method.
func (*MockWorkflowRepository) EXPECT ¶
func (m *MockWorkflowRepository) EXPECT() *MockWorkflowRepositoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockWorkflowRepository) GetTriggerByFlag ¶
func (m *MockWorkflowRepository) GetTriggerByFlag(t, flag string) (pb.Trigger, error)
GetTriggerByFlag mocks base method.
func (*MockWorkflowRepository) ListTriggersByType ¶
func (m *MockWorkflowRepository) ListTriggersByType(t string) ([]pb.Trigger, error)
ListTriggersByType mocks base method.
type MockWorkflowRepositoryMockRecorder ¶
type MockWorkflowRepositoryMockRecorder struct {
// contains filtered or unexported fields
}
MockWorkflowRepositoryMockRecorder is the mock recorder for MockWorkflowRepository.
func (*MockWorkflowRepositoryMockRecorder) CreateTrigger ¶
func (mr *MockWorkflowRepositoryMockRecorder) CreateTrigger(trigger interface{}) *gomock.Call
CreateTrigger indicates an expected call of CreateTrigger.
func (*MockWorkflowRepositoryMockRecorder) DeleteTriggerByMessageID ¶
func (mr *MockWorkflowRepositoryMockRecorder) DeleteTriggerByMessageID(messageID interface{}) *gomock.Call
DeleteTriggerByMessageID indicates an expected call of DeleteTriggerByMessageID.
func (*MockWorkflowRepositoryMockRecorder) GetTriggerByFlag ¶
func (mr *MockWorkflowRepositoryMockRecorder) GetTriggerByFlag(t, flag interface{}) *gomock.Call
GetTriggerByFlag indicates an expected call of GetTriggerByFlag.
func (*MockWorkflowRepositoryMockRecorder) ListTriggersByType ¶
func (mr *MockWorkflowRepositoryMockRecorder) ListTriggersByType(t interface{}) *gomock.Call
ListTriggersByType indicates an expected call of ListTriggersByType.
type MockWorkflowSvcClient ¶ added in v0.0.25
type MockWorkflowSvcClient struct {
// contains filtered or unexported fields
}
MockWorkflowSvcClient is a mock of WorkflowSvcClient interface.
func NewMockWorkflowSvcClient ¶ added in v0.0.25
func NewMockWorkflowSvcClient(ctrl *gomock.Controller) *MockWorkflowSvcClient
NewMockWorkflowSvcClient creates a new mock instance.
func (*MockWorkflowSvcClient) ActionDoc ¶ added in v0.0.25
func (m *MockWorkflowSvcClient) ActionDoc(ctx context.Context, in *pb.WorkflowRequest, opts ...grpc.CallOption) (*pb.WorkflowReply, error)
ActionDoc mocks base method.
func (*MockWorkflowSvcClient) CreateTrigger ¶ added in v0.0.25
func (m *MockWorkflowSvcClient) CreateTrigger(ctx context.Context, in *pb.TriggerRequest, opts ...grpc.CallOption) (*pb.StateReply, error)
CreateTrigger mocks base method.
func (*MockWorkflowSvcClient) CronTrigger ¶ added in v0.0.25
func (m *MockWorkflowSvcClient) CronTrigger(ctx context.Context, in *pb.TriggerRequest, opts ...grpc.CallOption) (*pb.WorkflowReply, error)
CronTrigger mocks base method.
func (*MockWorkflowSvcClient) DeleteTrigger ¶ added in v0.0.25
func (m *MockWorkflowSvcClient) DeleteTrigger(ctx context.Context, in *pb.TriggerRequest, opts ...grpc.CallOption) (*pb.StateReply, error)
DeleteTrigger mocks base method.
func (*MockWorkflowSvcClient) EXPECT ¶ added in v0.0.25
func (m *MockWorkflowSvcClient) EXPECT() *MockWorkflowSvcClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockWorkflowSvcClient) RunAction ¶ added in v0.0.25
func (m *MockWorkflowSvcClient) RunAction(ctx context.Context, in *pb.WorkflowRequest, opts ...grpc.CallOption) (*pb.WorkflowReply, error)
RunAction mocks base method.
func (*MockWorkflowSvcClient) SyntaxCheck ¶ added in v0.0.25
func (m *MockWorkflowSvcClient) SyntaxCheck(ctx context.Context, in *pb.WorkflowRequest, opts ...grpc.CallOption) (*pb.StateReply, error)
SyntaxCheck mocks base method.
func (*MockWorkflowSvcClient) WebhookTrigger ¶ added in v0.0.25
func (m *MockWorkflowSvcClient) WebhookTrigger(ctx context.Context, in *pb.TriggerRequest, opts ...grpc.CallOption) (*pb.WorkflowReply, error)
WebhookTrigger mocks base method.
type MockWorkflowSvcClientMockRecorder ¶ added in v0.0.25
type MockWorkflowSvcClientMockRecorder struct {
// contains filtered or unexported fields
}
MockWorkflowSvcClientMockRecorder is the mock recorder for MockWorkflowSvcClient.
func (*MockWorkflowSvcClientMockRecorder) ActionDoc ¶ added in v0.0.25
func (mr *MockWorkflowSvcClientMockRecorder) ActionDoc(ctx, in interface{}, opts ...interface{}) *gomock.Call
ActionDoc indicates an expected call of ActionDoc.
func (*MockWorkflowSvcClientMockRecorder) CreateTrigger ¶ added in v0.0.25
func (mr *MockWorkflowSvcClientMockRecorder) CreateTrigger(ctx, in interface{}, opts ...interface{}) *gomock.Call
CreateTrigger indicates an expected call of CreateTrigger.
func (*MockWorkflowSvcClientMockRecorder) CronTrigger ¶ added in v0.0.25
func (mr *MockWorkflowSvcClientMockRecorder) CronTrigger(ctx, in interface{}, opts ...interface{}) *gomock.Call
CronTrigger indicates an expected call of CronTrigger.
func (*MockWorkflowSvcClientMockRecorder) DeleteTrigger ¶ added in v0.0.25
func (mr *MockWorkflowSvcClientMockRecorder) DeleteTrigger(ctx, in interface{}, opts ...interface{}) *gomock.Call
DeleteTrigger indicates an expected call of DeleteTrigger.
func (*MockWorkflowSvcClientMockRecorder) RunAction ¶ added in v0.0.25
func (mr *MockWorkflowSvcClientMockRecorder) RunAction(ctx, in interface{}, opts ...interface{}) *gomock.Call
RunAction indicates an expected call of RunAction.
func (*MockWorkflowSvcClientMockRecorder) SyntaxCheck ¶ added in v0.0.25
func (mr *MockWorkflowSvcClientMockRecorder) SyntaxCheck(ctx, in interface{}, opts ...interface{}) *gomock.Call
SyntaxCheck indicates an expected call of SyntaxCheck.
func (*MockWorkflowSvcClientMockRecorder) WebhookTrigger ¶ added in v0.0.25
func (mr *MockWorkflowSvcClientMockRecorder) WebhookTrigger(ctx, in interface{}, opts ...interface{}) *gomock.Call
WebhookTrigger indicates an expected call of WebhookTrigger.
type MockWorkflowSvcServer ¶ added in v0.0.25
type MockWorkflowSvcServer struct {
// contains filtered or unexported fields
}
MockWorkflowSvcServer is a mock of WorkflowSvcServer interface.
func NewMockWorkflowSvcServer ¶ added in v0.0.25
func NewMockWorkflowSvcServer(ctrl *gomock.Controller) *MockWorkflowSvcServer
NewMockWorkflowSvcServer creates a new mock instance.
func (*MockWorkflowSvcServer) ActionDoc ¶ added in v0.0.25
func (m *MockWorkflowSvcServer) ActionDoc(arg0 context.Context, arg1 *pb.WorkflowRequest) (*pb.WorkflowReply, error)
ActionDoc mocks base method.
func (*MockWorkflowSvcServer) CreateTrigger ¶ added in v0.0.25
func (m *MockWorkflowSvcServer) CreateTrigger(arg0 context.Context, arg1 *pb.TriggerRequest) (*pb.StateReply, error)
CreateTrigger mocks base method.
func (*MockWorkflowSvcServer) CronTrigger ¶ added in v0.0.25
func (m *MockWorkflowSvcServer) CronTrigger(arg0 context.Context, arg1 *pb.TriggerRequest) (*pb.WorkflowReply, error)
CronTrigger mocks base method.
func (*MockWorkflowSvcServer) DeleteTrigger ¶ added in v0.0.25
func (m *MockWorkflowSvcServer) DeleteTrigger(arg0 context.Context, arg1 *pb.TriggerRequest) (*pb.StateReply, error)
DeleteTrigger mocks base method.
func (*MockWorkflowSvcServer) EXPECT ¶ added in v0.0.25
func (m *MockWorkflowSvcServer) EXPECT() *MockWorkflowSvcServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockWorkflowSvcServer) RunAction ¶ added in v0.0.25
func (m *MockWorkflowSvcServer) RunAction(arg0 context.Context, arg1 *pb.WorkflowRequest) (*pb.WorkflowReply, error)
RunAction mocks base method.
func (*MockWorkflowSvcServer) SyntaxCheck ¶ added in v0.0.25
func (m *MockWorkflowSvcServer) SyntaxCheck(arg0 context.Context, arg1 *pb.WorkflowRequest) (*pb.StateReply, error)
SyntaxCheck mocks base method.
func (*MockWorkflowSvcServer) WebhookTrigger ¶ added in v0.0.25
func (m *MockWorkflowSvcServer) WebhookTrigger(arg0 context.Context, arg1 *pb.TriggerRequest) (*pb.WorkflowReply, error)
WebhookTrigger mocks base method.
type MockWorkflowSvcServerMockRecorder ¶ added in v0.0.25
type MockWorkflowSvcServerMockRecorder struct {
// contains filtered or unexported fields
}
MockWorkflowSvcServerMockRecorder is the mock recorder for MockWorkflowSvcServer.
func (*MockWorkflowSvcServerMockRecorder) ActionDoc ¶ added in v0.0.25
func (mr *MockWorkflowSvcServerMockRecorder) ActionDoc(arg0, arg1 interface{}) *gomock.Call
ActionDoc indicates an expected call of ActionDoc.
func (*MockWorkflowSvcServerMockRecorder) CreateTrigger ¶ added in v0.0.25
func (mr *MockWorkflowSvcServerMockRecorder) CreateTrigger(arg0, arg1 interface{}) *gomock.Call
CreateTrigger indicates an expected call of CreateTrigger.
func (*MockWorkflowSvcServerMockRecorder) CronTrigger ¶ added in v0.0.25
func (mr *MockWorkflowSvcServerMockRecorder) CronTrigger(arg0, arg1 interface{}) *gomock.Call
CronTrigger indicates an expected call of CronTrigger.
func (*MockWorkflowSvcServerMockRecorder) DeleteTrigger ¶ added in v0.0.25
func (mr *MockWorkflowSvcServerMockRecorder) DeleteTrigger(arg0, arg1 interface{}) *gomock.Call
DeleteTrigger indicates an expected call of DeleteTrigger.
func (*MockWorkflowSvcServerMockRecorder) RunAction ¶ added in v0.0.25
func (mr *MockWorkflowSvcServerMockRecorder) RunAction(arg0, arg1 interface{}) *gomock.Call
RunAction indicates an expected call of RunAction.
func (*MockWorkflowSvcServerMockRecorder) SyntaxCheck ¶ added in v0.0.25
func (mr *MockWorkflowSvcServerMockRecorder) SyntaxCheck(arg0, arg1 interface{}) *gomock.Call
SyntaxCheck indicates an expected call of SyntaxCheck.
func (*MockWorkflowSvcServerMockRecorder) WebhookTrigger ¶ added in v0.0.25
func (mr *MockWorkflowSvcServerMockRecorder) WebhookTrigger(arg0, arg1 interface{}) *gomock.Call
WebhookTrigger indicates an expected call of WebhookTrigger.