Documentation ¶
Overview ¶
Package usecase is a generated GoMock package.
Package usecase is a generated GoMock package.
Package usecase is a generated GoMock package.
Package usecase is a generated GoMock package.
Package usecase is a generated GoMock package.
Index ¶
- type APIArticle
- type APIArticleAddToUserInput
- type APIArticleAddToUserOutput
- type APIArticleDeleteInput
- type APIArticleDeleteOutput
- type APIArticleListInput
- type APIArticleListOutput
- type APIArticleRemoveFromUserInput
- type APIArticleRemoveFromUserOutput
- type APIArticleShareInput
- type APIArticleShareOutput
- type APIAuth
- type APIAuthChangePasswordInput
- type APIAuthChangePasswordOutput
- type APIAuthGenerateCodeInput
- type APIAuthGenerateCodeOutput
- type APIAuthInviteInput
- type APIAuthInviteOutput
- type APIAuthJoinInput
- type APIAuthJoinOutput
- type APIAuthRefreshInput
- type APIAuthRefreshOutput
- type APIAuthSignInInput
- type APIAuthSignInOutput
- type APIAuthSignOutAllInput
- type APIAuthSignOutAllOutput
- type APIAuthSignOutInput
- type APIAuthSignOutOutput
- type APIAuthSignUpInput
- type APIAuthSignUpOutput
- type APIAuthVerifyInput
- type APIAuthVerifyOutput
- type APIHealth
- type APIHealthCheckInput
- type APIHealthCheckOutput
- type CoreArticle
- type CoreArticleAddToUserInput
- type CoreArticleAddToUserOutput
- type CoreArticleDeleteInput
- type CoreArticleDeleteOutput
- type CoreArticleListByUserInput
- type CoreArticleListByUserOutput
- type CoreArticleListInput
- type CoreArticleListOutput
- type CoreArticleRemoveFromUserInput
- type CoreArticleRemoveFromUserOutput
- type CoreArticleShareInput
- type CoreArticleShareOutput
- type CoreUser
- type CoreUserCreateInput
- type CoreUserCreateOutput
- type CoreUserUpdateInput
- type CoreUserUpdateOutput
- type MockAPIArticle
- func (m *MockAPIArticle) AddToUser(arg0 context.Context, arg1 APIArticleAddToUserInput) (APIArticleAddToUserOutput, error)
- func (m *MockAPIArticle) Delete(arg0 context.Context, arg1 APIArticleDeleteInput) (APIArticleDeleteOutput, error)
- func (m *MockAPIArticle) EXPECT() *MockAPIArticleMockRecorder
- func (m *MockAPIArticle) List(arg0 context.Context, arg1 APIArticleListInput) (APIArticleListOutput, error)
- func (m *MockAPIArticle) RemoveFromUser(arg0 context.Context, arg1 APIArticleRemoveFromUserInput) (APIArticleRemoveFromUserOutput, error)
- func (m *MockAPIArticle) Share(arg0 context.Context, arg1 APIArticleShareInput) (APIArticleShareOutput, error)
- type MockAPIArticleMockRecorder
- func (mr *MockAPIArticleMockRecorder) AddToUser(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAPIArticleMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAPIArticleMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAPIArticleMockRecorder) RemoveFromUser(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAPIArticleMockRecorder) Share(arg0, arg1 interface{}) *gomock.Call
- type MockAPIAuth
- func (m *MockAPIAuth) ChangePassword(arg0 context.Context, arg1 APIAuthChangePasswordInput) (APIAuthChangePasswordOutput, error)
- func (m *MockAPIAuth) EXPECT() *MockAPIAuthMockRecorder
- func (m *MockAPIAuth) GenerateCode(arg0 context.Context, arg1 APIAuthGenerateCodeInput) (APIAuthGenerateCodeOutput, error)
- func (m *MockAPIAuth) Invite(arg0 context.Context, arg1 APIAuthInviteInput) (APIAuthInviteOutput, error)
- func (m *MockAPIAuth) Join(arg0 context.Context, arg1 APIAuthJoinInput) (APIAuthJoinOutput, error)
- func (m *MockAPIAuth) Refresh(arg0 context.Context, arg1 APIAuthRefreshInput) (APIAuthRefreshOutput, error)
- func (m *MockAPIAuth) SignIn(arg0 context.Context, arg1 APIAuthSignInInput) (APIAuthSignInOutput, error)
- func (m *MockAPIAuth) SignOut(arg0 context.Context, arg1 APIAuthSignOutInput) (APIAuthSignOutOutput, error)
- func (m *MockAPIAuth) SignOutAll(arg0 context.Context, arg1 APIAuthSignOutAllInput) (APIAuthSignOutAllOutput, error)
- func (m *MockAPIAuth) SignUp(arg0 context.Context, arg1 APIAuthSignUpInput) (APIAuthSignUpOutput, error)
- func (m *MockAPIAuth) Verify(arg0 context.Context, arg1 APIAuthVerifyInput) (APIAuthVerifyOutput, error)
- type MockAPIAuthMockRecorder
- func (mr *MockAPIAuthMockRecorder) ChangePassword(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAPIAuthMockRecorder) GenerateCode(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAPIAuthMockRecorder) Invite(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAPIAuthMockRecorder) Join(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAPIAuthMockRecorder) Refresh(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAPIAuthMockRecorder) SignIn(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAPIAuthMockRecorder) SignOut(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAPIAuthMockRecorder) SignOutAll(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAPIAuthMockRecorder) SignUp(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAPIAuthMockRecorder) Verify(arg0, arg1 interface{}) *gomock.Call
- type MockAPIHealth
- type MockAPIHealthMockRecorder
- type MockCoreArticle
- func (m *MockCoreArticle) AddToUser(arg0 context.Context, arg1 CoreArticleAddToUserInput) (CoreArticleAddToUserOutput, error)
- func (m *MockCoreArticle) Delete(arg0 context.Context, arg1 CoreArticleDeleteInput) (CoreArticleDeleteOutput, error)
- func (m *MockCoreArticle) EXPECT() *MockCoreArticleMockRecorder
- func (m *MockCoreArticle) List(arg0 context.Context, arg1 CoreArticleListInput) (CoreArticleListOutput, error)
- func (m *MockCoreArticle) ListByUser(arg0 context.Context, arg1 CoreArticleListByUserInput) (CoreArticleListByUserOutput, error)
- func (m *MockCoreArticle) RemoveFromUser(arg0 context.Context, arg1 CoreArticleRemoveFromUserInput) (CoreArticleRemoveFromUserOutput, error)
- func (m *MockCoreArticle) Share(arg0 context.Context, arg1 CoreArticleShareInput) (CoreArticleShareOutput, error)
- type MockCoreArticleMockRecorder
- func (mr *MockCoreArticleMockRecorder) AddToUser(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockCoreArticleMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockCoreArticleMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockCoreArticleMockRecorder) ListByUser(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockCoreArticleMockRecorder) RemoveFromUser(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockCoreArticleMockRecorder) Share(arg0, arg1 interface{}) *gomock.Call
- type MockCoreUser
- type MockCoreUserMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIArticle ¶
type APIArticle interface { List(context.Context, APIArticleListInput) (APIArticleListOutput, error) Delete(context.Context, APIArticleDeleteInput) (APIArticleDeleteOutput, error) AddToUser(context.Context, APIArticleAddToUserInput) (APIArticleAddToUserOutput, error) RemoveFromUser(context.Context, APIArticleRemoveFromUserInput) (APIArticleRemoveFromUserOutput, error) }
APIArticle.
type APIArticleAddToUserInput ¶
APIArticleAddToUserInput.
type APIArticleDeleteInput ¶
APIArticleDeleteInput.
type APIArticleListInput ¶
type APIArticleListInput struct { UserID user.ID Scope article.Scope Index value.Index Size value.Size Filter []value.Filter }
APIArticleListInput.
type APIArticleListOutput ¶
APIArticleListOutput.
type APIArticleRemoveFromUserInput ¶
APIArticleRemoveFromUserInput.
type APIArticleRemoveFromUserOutput ¶
type APIArticleRemoveFromUserOutput struct{}
APIArticleRemoveFromUserOutput.
type APIAuth ¶
type APIAuth interface { Invite(context.Context, APIAuthInviteInput) (APIAuthInviteOutput, error) Join(context.Context, APIAuthJoinInput) (APIAuthJoinOutput, error) SignUp(context.Context, APIAuthSignUpInput) (APIAuthSignUpOutput, error) SignIn(context.Context, APIAuthSignInInput) (APIAuthSignInOutput, error) SignOut(context.Context, APIAuthSignOutInput) (APIAuthSignOutOutput, error) SignOutAll(context.Context, APIAuthSignOutAllInput) (APIAuthSignOutAllOutput, error) Verify(context.Context, APIAuthVerifyInput) (APIAuthVerifyOutput, error) GenerateCode(context.Context, APIAuthGenerateCodeInput) (APIAuthGenerateCodeOutput, error) Refresh(context.Context, APIAuthRefreshInput) (APIAuthRefreshOutput, error) ChangePassword(context.Context, APIAuthChangePasswordInput) (APIAuthChangePasswordOutput, error) }
APIAuth.
type APIAuthInviteInput ¶
type APIAuthInviteOutput ¶
type APIAuthInviteOutput struct {
InvitationCode auth.InvitationCode
}
type APIAuthJoinInput ¶
type APIAuthJoinInput struct { InvitationCode auth.InvitationCode Password auth.Password }
type APIAuthJoinOutput ¶
type APIAuthJoinOutput struct{}
type APIAuthRefreshInput ¶
type APIAuthRefreshOutput ¶
type APIAuthSignInInput ¶
type APIAuthSignInOutput ¶
type APIAuthSignOutAllInput ¶
type APIAuthSignOutAllOutput ¶
type APIAuthSignOutAllOutput struct{}
type APIAuthSignOutInput ¶
type APIAuthSignOutOutput ¶
type APIAuthSignOutOutput struct{}
type APIAuthSignUpInput ¶
type APIAuthSignUpOutput ¶
type APIAuthSignUpOutput struct{}
type APIAuthVerifyInput ¶
type APIAuthVerifyOutput ¶
type APIAuthVerifyOutput struct{}
type APIHealth ¶
type APIHealth interface {
Check(context.Context, APIHealthCheckInput) (APIHealthCheckOutput, error)
}
APIHealth.
type CoreArticle ¶
type CoreArticle interface { List(context.Context, CoreArticleListInput) (CoreArticleListOutput, error) ListByUser(context.Context, CoreArticleListByUserInput) (CoreArticleListByUserOutput, error) Delete(context.Context, CoreArticleDeleteInput) (CoreArticleDeleteOutput, error) AddToUser(context.Context, CoreArticleAddToUserInput) (CoreArticleAddToUserOutput, error) RemoveFromUser(context.Context, CoreArticleRemoveFromUserInput) (CoreArticleRemoveFromUserOutput, error) }
CoreArticle.
type CoreArticleAddToUserInput ¶
CoreArticleAddToUserInput.
type CoreArticleAddToUserOutput ¶
type CoreArticleAddToUserOutput struct{}
CoreArticleAddToUserOutput.
type CoreArticleDeleteInput ¶
CoreArticleDeleteInput.
type CoreArticleListByUserInput ¶
type CoreArticleListByUserInput struct { UserID user.ID Index value.Index Size value.Size Filter []value.Filter }
CoreArticleListByUserInput.
type CoreArticleListByUserOutput ¶
CoreArticleListByUserOutput.
type CoreArticleListInput ¶
CoreArticleListInput.
type CoreArticleListOutput ¶
CoreArticleListOutput.
type CoreArticleRemoveFromUserInput ¶
CoreArticleRemoveFromUserInput.
type CoreArticleRemoveFromUserOutput ¶
type CoreArticleRemoveFromUserOutput struct{}
CoreArticleRemoveFromUserOutput.
type CoreUser ¶
type CoreUser interface { Create(context.Context, CoreUserCreateInput) (CoreUserCreateOutput, error) Update(context.Context, CoreUserUpdateInput) (CoreUserUpdateOutput, error) }
CoreUser.
type CoreUserCreateOutput ¶
CoreUserCreateOutput.
type CoreUserUpdateOutput ¶
CoreUserUpdateOutput.
type MockAPIArticle ¶
type MockAPIArticle struct {
// contains filtered or unexported fields
}
MockAPIArticle is a mock of APIArticle interface.
func NewMockAPIArticle ¶
func NewMockAPIArticle(ctrl *gomock.Controller) *MockAPIArticle
NewMockAPIArticle creates a new mock instance.
func (*MockAPIArticle) AddToUser ¶
func (m *MockAPIArticle) AddToUser(arg0 context.Context, arg1 APIArticleAddToUserInput) (APIArticleAddToUserOutput, error)
AddToUser mocks base method.
func (*MockAPIArticle) Delete ¶
func (m *MockAPIArticle) Delete(arg0 context.Context, arg1 APIArticleDeleteInput) (APIArticleDeleteOutput, error)
Delete mocks base method.
func (*MockAPIArticle) EXPECT ¶
func (m *MockAPIArticle) EXPECT() *MockAPIArticleMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAPIArticle) List ¶
func (m *MockAPIArticle) List(arg0 context.Context, arg1 APIArticleListInput) (APIArticleListOutput, error)
List mocks base method.
func (*MockAPIArticle) RemoveFromUser ¶
func (m *MockAPIArticle) RemoveFromUser(arg0 context.Context, arg1 APIArticleRemoveFromUserInput) (APIArticleRemoveFromUserOutput, error)
RemoveFromUser mocks base method.
func (*MockAPIArticle) Share ¶
func (m *MockAPIArticle) Share(arg0 context.Context, arg1 APIArticleShareInput) (APIArticleShareOutput, error)
Share mocks base method.
type MockAPIArticleMockRecorder ¶
type MockAPIArticleMockRecorder struct {
// contains filtered or unexported fields
}
MockAPIArticleMockRecorder is the mock recorder for MockAPIArticle.
func (*MockAPIArticleMockRecorder) AddToUser ¶
func (mr *MockAPIArticleMockRecorder) AddToUser(arg0, arg1 interface{}) *gomock.Call
AddToUser indicates an expected call of AddToUser.
func (*MockAPIArticleMockRecorder) Delete ¶
func (mr *MockAPIArticleMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockAPIArticleMockRecorder) List ¶
func (mr *MockAPIArticleMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
List indicates an expected call of List.
func (*MockAPIArticleMockRecorder) RemoveFromUser ¶
func (mr *MockAPIArticleMockRecorder) RemoveFromUser(arg0, arg1 interface{}) *gomock.Call
RemoveFromUser indicates an expected call of RemoveFromUser.
func (*MockAPIArticleMockRecorder) Share ¶
func (mr *MockAPIArticleMockRecorder) Share(arg0, arg1 interface{}) *gomock.Call
Share indicates an expected call of Share.
type MockAPIAuth ¶
type MockAPIAuth struct {
// contains filtered or unexported fields
}
MockAPIAuth is a mock of APIAuth interface.
func NewMockAPIAuth ¶
func NewMockAPIAuth(ctrl *gomock.Controller) *MockAPIAuth
NewMockAPIAuth creates a new mock instance.
func (*MockAPIAuth) ChangePassword ¶
func (m *MockAPIAuth) ChangePassword(arg0 context.Context, arg1 APIAuthChangePasswordInput) (APIAuthChangePasswordOutput, error)
ChangePassword mocks base method.
func (*MockAPIAuth) EXPECT ¶
func (m *MockAPIAuth) EXPECT() *MockAPIAuthMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAPIAuth) GenerateCode ¶
func (m *MockAPIAuth) GenerateCode(arg0 context.Context, arg1 APIAuthGenerateCodeInput) (APIAuthGenerateCodeOutput, error)
GenerateCode mocks base method.
func (*MockAPIAuth) Invite ¶
func (m *MockAPIAuth) Invite(arg0 context.Context, arg1 APIAuthInviteInput) (APIAuthInviteOutput, error)
Invite mocks base method.
func (*MockAPIAuth) Join ¶
func (m *MockAPIAuth) Join(arg0 context.Context, arg1 APIAuthJoinInput) (APIAuthJoinOutput, error)
Join mocks base method.
func (*MockAPIAuth) Refresh ¶
func (m *MockAPIAuth) Refresh(arg0 context.Context, arg1 APIAuthRefreshInput) (APIAuthRefreshOutput, error)
Refresh mocks base method.
func (*MockAPIAuth) SignIn ¶
func (m *MockAPIAuth) SignIn(arg0 context.Context, arg1 APIAuthSignInInput) (APIAuthSignInOutput, error)
SignIn mocks base method.
func (*MockAPIAuth) SignOut ¶
func (m *MockAPIAuth) SignOut(arg0 context.Context, arg1 APIAuthSignOutInput) (APIAuthSignOutOutput, error)
SignOut mocks base method.
func (*MockAPIAuth) SignOutAll ¶
func (m *MockAPIAuth) SignOutAll(arg0 context.Context, arg1 APIAuthSignOutAllInput) (APIAuthSignOutAllOutput, error)
SignOutAll mocks base method.
func (*MockAPIAuth) SignUp ¶
func (m *MockAPIAuth) SignUp(arg0 context.Context, arg1 APIAuthSignUpInput) (APIAuthSignUpOutput, error)
SignUp mocks base method.
func (*MockAPIAuth) Verify ¶
func (m *MockAPIAuth) Verify(arg0 context.Context, arg1 APIAuthVerifyInput) (APIAuthVerifyOutput, error)
Verify mocks base method.
type MockAPIAuthMockRecorder ¶
type MockAPIAuthMockRecorder struct {
// contains filtered or unexported fields
}
MockAPIAuthMockRecorder is the mock recorder for MockAPIAuth.
func (*MockAPIAuthMockRecorder) ChangePassword ¶
func (mr *MockAPIAuthMockRecorder) ChangePassword(arg0, arg1 interface{}) *gomock.Call
ChangePassword indicates an expected call of ChangePassword.
func (*MockAPIAuthMockRecorder) GenerateCode ¶
func (mr *MockAPIAuthMockRecorder) GenerateCode(arg0, arg1 interface{}) *gomock.Call
GenerateCode indicates an expected call of GenerateCode.
func (*MockAPIAuthMockRecorder) Invite ¶
func (mr *MockAPIAuthMockRecorder) Invite(arg0, arg1 interface{}) *gomock.Call
Invite indicates an expected call of Invite.
func (*MockAPIAuthMockRecorder) Join ¶
func (mr *MockAPIAuthMockRecorder) Join(arg0, arg1 interface{}) *gomock.Call
Join indicates an expected call of Join.
func (*MockAPIAuthMockRecorder) Refresh ¶
func (mr *MockAPIAuthMockRecorder) Refresh(arg0, arg1 interface{}) *gomock.Call
Refresh indicates an expected call of Refresh.
func (*MockAPIAuthMockRecorder) SignIn ¶
func (mr *MockAPIAuthMockRecorder) SignIn(arg0, arg1 interface{}) *gomock.Call
SignIn indicates an expected call of SignIn.
func (*MockAPIAuthMockRecorder) SignOut ¶
func (mr *MockAPIAuthMockRecorder) SignOut(arg0, arg1 interface{}) *gomock.Call
SignOut indicates an expected call of SignOut.
func (*MockAPIAuthMockRecorder) SignOutAll ¶
func (mr *MockAPIAuthMockRecorder) SignOutAll(arg0, arg1 interface{}) *gomock.Call
SignOutAll indicates an expected call of SignOutAll.
func (*MockAPIAuthMockRecorder) SignUp ¶
func (mr *MockAPIAuthMockRecorder) SignUp(arg0, arg1 interface{}) *gomock.Call
SignUp indicates an expected call of SignUp.
func (*MockAPIAuthMockRecorder) Verify ¶
func (mr *MockAPIAuthMockRecorder) Verify(arg0, arg1 interface{}) *gomock.Call
Verify indicates an expected call of Verify.
type MockAPIHealth ¶
type MockAPIHealth struct {
// contains filtered or unexported fields
}
MockAPIHealth is a mock of APIHealth interface.
func NewMockAPIHealth ¶
func NewMockAPIHealth(ctrl *gomock.Controller) *MockAPIHealth
NewMockAPIHealth creates a new mock instance.
func (*MockAPIHealth) Check ¶
func (m *MockAPIHealth) Check(arg0 context.Context, arg1 APIHealthCheckInput) (APIHealthCheckOutput, error)
Check mocks base method.
func (*MockAPIHealth) EXPECT ¶
func (m *MockAPIHealth) EXPECT() *MockAPIHealthMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockAPIHealthMockRecorder ¶
type MockAPIHealthMockRecorder struct {
// contains filtered or unexported fields
}
MockAPIHealthMockRecorder is the mock recorder for MockAPIHealth.
func (*MockAPIHealthMockRecorder) Check ¶
func (mr *MockAPIHealthMockRecorder) Check(arg0, arg1 interface{}) *gomock.Call
Check indicates an expected call of Check.
type MockCoreArticle ¶
type MockCoreArticle struct {
// contains filtered or unexported fields
}
MockCoreArticle is a mock of CoreArticle interface.
func NewMockCoreArticle ¶
func NewMockCoreArticle(ctrl *gomock.Controller) *MockCoreArticle
NewMockCoreArticle creates a new mock instance.
func (*MockCoreArticle) AddToUser ¶
func (m *MockCoreArticle) AddToUser(arg0 context.Context, arg1 CoreArticleAddToUserInput) (CoreArticleAddToUserOutput, error)
AddToUser mocks base method.
func (*MockCoreArticle) Delete ¶
func (m *MockCoreArticle) Delete(arg0 context.Context, arg1 CoreArticleDeleteInput) (CoreArticleDeleteOutput, error)
Delete mocks base method.
func (*MockCoreArticle) EXPECT ¶
func (m *MockCoreArticle) EXPECT() *MockCoreArticleMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockCoreArticle) List ¶
func (m *MockCoreArticle) List(arg0 context.Context, arg1 CoreArticleListInput) (CoreArticleListOutput, error)
List mocks base method.
func (*MockCoreArticle) ListByUser ¶
func (m *MockCoreArticle) ListByUser(arg0 context.Context, arg1 CoreArticleListByUserInput) (CoreArticleListByUserOutput, error)
ListByUser mocks base method.
func (*MockCoreArticle) RemoveFromUser ¶
func (m *MockCoreArticle) RemoveFromUser(arg0 context.Context, arg1 CoreArticleRemoveFromUserInput) (CoreArticleRemoveFromUserOutput, error)
RemoveFromUser mocks base method.
func (*MockCoreArticle) Share ¶
func (m *MockCoreArticle) Share(arg0 context.Context, arg1 CoreArticleShareInput) (CoreArticleShareOutput, error)
Share mocks base method.
type MockCoreArticleMockRecorder ¶
type MockCoreArticleMockRecorder struct {
// contains filtered or unexported fields
}
MockCoreArticleMockRecorder is the mock recorder for MockCoreArticle.
func (*MockCoreArticleMockRecorder) AddToUser ¶
func (mr *MockCoreArticleMockRecorder) AddToUser(arg0, arg1 interface{}) *gomock.Call
AddToUser indicates an expected call of AddToUser.
func (*MockCoreArticleMockRecorder) Delete ¶
func (mr *MockCoreArticleMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockCoreArticleMockRecorder) List ¶
func (mr *MockCoreArticleMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
List indicates an expected call of List.
func (*MockCoreArticleMockRecorder) ListByUser ¶
func (mr *MockCoreArticleMockRecorder) ListByUser(arg0, arg1 interface{}) *gomock.Call
ListByUser indicates an expected call of ListByUser.
func (*MockCoreArticleMockRecorder) RemoveFromUser ¶
func (mr *MockCoreArticleMockRecorder) RemoveFromUser(arg0, arg1 interface{}) *gomock.Call
RemoveFromUser indicates an expected call of RemoveFromUser.
func (*MockCoreArticleMockRecorder) Share ¶
func (mr *MockCoreArticleMockRecorder) Share(arg0, arg1 interface{}) *gomock.Call
Share indicates an expected call of Share.
type MockCoreUser ¶
type MockCoreUser struct {
// contains filtered or unexported fields
}
MockCoreUser is a mock of CoreUser interface.
func NewMockCoreUser ¶
func NewMockCoreUser(ctrl *gomock.Controller) *MockCoreUser
NewMockCoreUser creates a new mock instance.
func (*MockCoreUser) Create ¶
func (m *MockCoreUser) Create(arg0 context.Context, arg1 CoreUserCreateInput) (CoreUserCreateOutput, error)
Create mocks base method.
func (*MockCoreUser) EXPECT ¶
func (m *MockCoreUser) EXPECT() *MockCoreUserMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockCoreUser) Update ¶
func (m *MockCoreUser) Update(arg0 context.Context, arg1 CoreUserUpdateInput) (CoreUserUpdateOutput, error)
Update mocks base method.
type MockCoreUserMockRecorder ¶
type MockCoreUserMockRecorder struct {
// contains filtered or unexported fields
}
MockCoreUserMockRecorder is the mock recorder for MockCoreUser.
func (*MockCoreUserMockRecorder) Create ¶
func (mr *MockCoreUserMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockCoreUserMockRecorder) Update ¶
func (mr *MockCoreUserMockRecorder) Update(arg0, arg1 interface{}) *gomock.Call
Update indicates an expected call of Update.