mock

package
v0.0.26 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2021 License: MIT Imports: 5 Imported by: 0

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

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

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockChatbotSvcClient) Handle added in v0.0.25

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

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockChatbotSvcServer) Handle added in v0.0.25

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

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

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

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

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

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockMessageSvcClient) Get added in v0.0.25

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

List mocks base method.

func (*MockMessageSvcClient) Run added in v0.0.25

Run mocks base method.

func (*MockMessageSvcClient) Send added in v0.0.25

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

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

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

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockMessageSvcServer) Get added in v0.0.25

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

List mocks base method.

func (*MockMessageSvcServer) Run added in v0.0.25

Run mocks base method.

func (*MockMessageSvcServer) Send added in v0.0.25

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

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

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

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

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

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

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

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

Close mocks base method.

func (*MockSubscribeSvcClient) EXPECT added in v0.0.25

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockSubscribeSvcClient) List added in v0.0.25

List mocks base method.

func (*MockSubscribeSvcClient) Open added in v0.0.25

Open mocks base method.

func (*MockSubscribeSvcClient) Register added in v0.0.25

Register mocks base method.

func (*MockSubscribeSvcClient) Status added in v0.0.25

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

Close mocks base method.

func (*MockSubscribeSvcServer) EXPECT added in v0.0.25

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockSubscribeSvcServer) List added in v0.0.25

List mocks base method.

func (*MockSubscribeSvcServer) Open added in v0.0.25

Open mocks base method.

func (*MockSubscribeSvcServer) Register added in v0.0.25

Register mocks base method.

func (*MockSubscribeSvcServer) Status added in v0.0.25

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

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

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

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

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.

func (*MockUserRepository) List added in v0.0.25

func (m *MockUserRepository) List() ([]pb.User, error)

List mocks base method.

func (*MockUserRepository) Update added in v0.0.25

func (m *MockUserRepository) Update(user pb.User) error

Update 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

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

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

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

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

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

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

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockWorkflowSvcClient) RunAction added in v0.0.25

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

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

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockWorkflowSvcServer) RunAction added in v0.0.25

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.

Jump to

Keyboard shortcuts

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