Documentation
¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeRepository
- func (fake *FakeRepository) AddFollowRecord(arg1 context.Context, arg2 string, arg3 string) error
- func (fake *FakeRepository) AddFollowRecordArgsForCall(i int) (context.Context, string, string)
- func (fake *FakeRepository) AddFollowRecordCallCount() int
- func (fake *FakeRepository) AddFollowRecordCalls(stub func(context.Context, string, string) error)
- func (fake *FakeRepository) AddFollowRecordReturns(result1 error)
- func (fake *FakeRepository) AddFollowRecordReturnsOnCall(i int, result1 error)
- func (fake *FakeRepository) AddPost(arg1 context.Context, arg2 string, arg3 []byte) error
- func (fake *FakeRepository) AddPostArgsForCall(i int) (context.Context, string, []byte)
- func (fake *FakeRepository) AddPostCallCount() int
- func (fake *FakeRepository) AddPostCalls(stub func(context.Context, string, []byte) error)
- func (fake *FakeRepository) AddPostReturns(result1 error)
- func (fake *FakeRepository) AddPostReturnsOnCall(i int, result1 error)
- func (fake *FakeRepository) AddUser(arg1 context.Context, arg2 []byte) error
- func (fake *FakeRepository) AddUserArgsForCall(i int) (context.Context, []byte)
- func (fake *FakeRepository) AddUserCallCount() int
- func (fake *FakeRepository) AddUserCalls(stub func(context.Context, []byte) error)
- func (fake *FakeRepository) AddUserReturns(result1 error)
- func (fake *FakeRepository) AddUserReturnsOnCall(i int, result1 error)
- func (fake *FakeRepository) AssertCredentials(arg1 context.Context, arg2 []byte, arg3 []byte) error
- func (fake *FakeRepository) AssertCredentialsArgsForCall(i int) (context.Context, []byte, []byte)
- func (fake *FakeRepository) AssertCredentialsCallCount() int
- func (fake *FakeRepository) AssertCredentialsCalls(stub func(context.Context, []byte, []byte) error)
- func (fake *FakeRepository) AssertCredentialsReturns(result1 error)
- func (fake *FakeRepository) AssertCredentialsReturnsOnCall(i int, result1 error)
- func (fake *FakeRepository) DeleteFollowRecord(arg1 context.Context, arg2 string, arg3 string) error
- func (fake *FakeRepository) DeleteFollowRecordArgsForCall(i int) (context.Context, string, string)
- func (fake *FakeRepository) DeleteFollowRecordCallCount() int
- func (fake *FakeRepository) DeleteFollowRecordCalls(stub func(context.Context, string, string) error)
- func (fake *FakeRepository) DeleteFollowRecordReturns(result1 error)
- func (fake *FakeRepository) DeleteFollowRecordReturnsOnCall(i int, result1 error)
- func (fake *FakeRepository) GetFollowers(arg1 context.Context, arg2 string) (models.UserSlice, error)
- func (fake *FakeRepository) GetFollowersArgsForCall(i int) (context.Context, string)
- func (fake *FakeRepository) GetFollowersCallCount() int
- func (fake *FakeRepository) GetFollowersCalls(stub func(context.Context, string) (models.UserSlice, error))
- func (fake *FakeRepository) GetFollowersReturns(result1 models.UserSlice, result2 error)
- func (fake *FakeRepository) GetFollowersReturnsOnCall(i int, result1 models.UserSlice, result2 error)
- func (fake *FakeRepository) GetFollowing(arg1 context.Context, arg2 string) (models.UserSlice, error)
- func (fake *FakeRepository) GetFollowingArgsForCall(i int) (context.Context, string)
- func (fake *FakeRepository) GetFollowingCallCount() int
- func (fake *FakeRepository) GetFollowingCalls(stub func(context.Context, string) (models.UserSlice, error))
- func (fake *FakeRepository) GetFollowingReturns(result1 models.UserSlice, result2 error)
- func (fake *FakeRepository) GetFollowingReturnsOnCall(i int, result1 models.UserSlice, result2 error)
- func (fake *FakeRepository) GetTargetsPosts(arg1 context.Context, arg2 string) (models.PostSlice, error)
- func (fake *FakeRepository) GetTargetsPostsArgsForCall(i int) (context.Context, string)
- func (fake *FakeRepository) GetTargetsPostsCallCount() int
- func (fake *FakeRepository) GetTargetsPostsCalls(stub func(context.Context, string) (models.PostSlice, error))
- func (fake *FakeRepository) GetTargetsPostsReturns(result1 models.PostSlice, result2 error)
- func (fake *FakeRepository) GetTargetsPostsReturnsOnCall(i int, result1 models.PostSlice, result2 error)
- func (fake *FakeRepository) GetUserByUsername(arg1 context.Context, arg2 string) (*models.User, error)
- func (fake *FakeRepository) GetUserByUsernameArgsForCall(i int) (context.Context, string)
- func (fake *FakeRepository) GetUserByUsernameCallCount() int
- func (fake *FakeRepository) GetUserByUsernameCalls(stub func(context.Context, string) (*models.User, error))
- func (fake *FakeRepository) GetUserByUsernameReturns(result1 *models.User, result2 error)
- func (fake *FakeRepository) GetUserByUsernameReturnsOnCall(i int, result1 *models.User, result2 error)
- func (fake *FakeRepository) Invocations() map[string][][]interface{}
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeRepository ¶
type FakeRepository struct {
AddFollowRecordStub func(context.Context, string, string) error
AddPostStub func(context.Context, string, []byte) error
AddUserStub func(context.Context, []byte) error
AssertCredentialsStub func(context.Context, []byte, []byte) error
DeleteFollowRecordStub func(context.Context, string, string) error
GetFollowersStub func(context.Context, string) (models.UserSlice, error)
GetFollowingStub func(context.Context, string) (models.UserSlice, error)
GetTargetsPostsStub func(context.Context, string) (models.PostSlice, error)
GetUserByUsernameStub func(context.Context, string) (*models.User, error)
// contains filtered or unexported fields
}
func (*FakeRepository) AddFollowRecord ¶
func (*FakeRepository) AddFollowRecordArgsForCall ¶
func (*FakeRepository) AddFollowRecordCallCount ¶
func (fake *FakeRepository) AddFollowRecordCallCount() int
func (*FakeRepository) AddFollowRecordCalls ¶
func (*FakeRepository) AddFollowRecordReturns ¶
func (fake *FakeRepository) AddFollowRecordReturns(result1 error)
func (*FakeRepository) AddFollowRecordReturnsOnCall ¶
func (fake *FakeRepository) AddFollowRecordReturnsOnCall(i int, result1 error)
func (*FakeRepository) AddPostArgsForCall ¶
func (*FakeRepository) AddPostCallCount ¶
func (fake *FakeRepository) AddPostCallCount() int
func (*FakeRepository) AddPostCalls ¶
func (*FakeRepository) AddPostReturns ¶
func (fake *FakeRepository) AddPostReturns(result1 error)
func (*FakeRepository) AddPostReturnsOnCall ¶
func (fake *FakeRepository) AddPostReturnsOnCall(i int, result1 error)
func (*FakeRepository) AddUser ¶
func (fake *FakeRepository) AddUser(arg1 context.Context, arg2 []byte) error
func (*FakeRepository) AddUserArgsForCall ¶
func (fake *FakeRepository) AddUserArgsForCall(i int) (context.Context, []byte)
func (*FakeRepository) AddUserCallCount ¶
func (fake *FakeRepository) AddUserCallCount() int
func (*FakeRepository) AddUserCalls ¶
func (fake *FakeRepository) AddUserCalls(stub func(context.Context, []byte) error)
func (*FakeRepository) AddUserReturns ¶
func (fake *FakeRepository) AddUserReturns(result1 error)
func (*FakeRepository) AddUserReturnsOnCall ¶
func (fake *FakeRepository) AddUserReturnsOnCall(i int, result1 error)
func (*FakeRepository) AssertCredentials ¶
func (*FakeRepository) AssertCredentialsArgsForCall ¶
func (*FakeRepository) AssertCredentialsCallCount ¶
func (fake *FakeRepository) AssertCredentialsCallCount() int
func (*FakeRepository) AssertCredentialsCalls ¶
func (*FakeRepository) AssertCredentialsReturns ¶
func (fake *FakeRepository) AssertCredentialsReturns(result1 error)
func (*FakeRepository) AssertCredentialsReturnsOnCall ¶
func (fake *FakeRepository) AssertCredentialsReturnsOnCall(i int, result1 error)
func (*FakeRepository) DeleteFollowRecord ¶
func (*FakeRepository) DeleteFollowRecordArgsForCall ¶
func (*FakeRepository) DeleteFollowRecordCallCount ¶
func (fake *FakeRepository) DeleteFollowRecordCallCount() int
func (*FakeRepository) DeleteFollowRecordCalls ¶
func (*FakeRepository) DeleteFollowRecordReturns ¶
func (fake *FakeRepository) DeleteFollowRecordReturns(result1 error)
func (*FakeRepository) DeleteFollowRecordReturnsOnCall ¶
func (fake *FakeRepository) DeleteFollowRecordReturnsOnCall(i int, result1 error)
func (*FakeRepository) GetFollowers ¶
func (*FakeRepository) GetFollowersArgsForCall ¶
func (fake *FakeRepository) GetFollowersArgsForCall(i int) (context.Context, string)
func (*FakeRepository) GetFollowersCallCount ¶
func (fake *FakeRepository) GetFollowersCallCount() int
func (*FakeRepository) GetFollowersCalls ¶
func (*FakeRepository) GetFollowersReturns ¶
func (fake *FakeRepository) GetFollowersReturns(result1 models.UserSlice, result2 error)
func (*FakeRepository) GetFollowersReturnsOnCall ¶
func (fake *FakeRepository) GetFollowersReturnsOnCall(i int, result1 models.UserSlice, result2 error)
func (*FakeRepository) GetFollowing ¶
func (*FakeRepository) GetFollowingArgsForCall ¶
func (fake *FakeRepository) GetFollowingArgsForCall(i int) (context.Context, string)
func (*FakeRepository) GetFollowingCallCount ¶
func (fake *FakeRepository) GetFollowingCallCount() int
func (*FakeRepository) GetFollowingCalls ¶
func (*FakeRepository) GetFollowingReturns ¶
func (fake *FakeRepository) GetFollowingReturns(result1 models.UserSlice, result2 error)
func (*FakeRepository) GetFollowingReturnsOnCall ¶
func (fake *FakeRepository) GetFollowingReturnsOnCall(i int, result1 models.UserSlice, result2 error)
func (*FakeRepository) GetTargetsPosts ¶
func (*FakeRepository) GetTargetsPostsArgsForCall ¶
func (fake *FakeRepository) GetTargetsPostsArgsForCall(i int) (context.Context, string)
func (*FakeRepository) GetTargetsPostsCallCount ¶
func (fake *FakeRepository) GetTargetsPostsCallCount() int
func (*FakeRepository) GetTargetsPostsCalls ¶
func (*FakeRepository) GetTargetsPostsReturns ¶
func (fake *FakeRepository) GetTargetsPostsReturns(result1 models.PostSlice, result2 error)
func (*FakeRepository) GetTargetsPostsReturnsOnCall ¶
func (fake *FakeRepository) GetTargetsPostsReturnsOnCall(i int, result1 models.PostSlice, result2 error)
func (*FakeRepository) GetUserByUsername ¶
func (*FakeRepository) GetUserByUsernameArgsForCall ¶
func (fake *FakeRepository) GetUserByUsernameArgsForCall(i int) (context.Context, string)
func (*FakeRepository) GetUserByUsernameCallCount ¶
func (fake *FakeRepository) GetUserByUsernameCallCount() int
func (*FakeRepository) GetUserByUsernameCalls ¶
func (*FakeRepository) GetUserByUsernameReturns ¶
func (fake *FakeRepository) GetUserByUsernameReturns(result1 *models.User, result2 error)
func (*FakeRepository) GetUserByUsernameReturnsOnCall ¶
func (fake *FakeRepository) GetUserByUsernameReturnsOnCall(i int, result1 *models.User, result2 error)
func (*FakeRepository) Invocations ¶
func (fake *FakeRepository) Invocations() map[string][][]interface{}
Click to show internal directories.
Click to hide internal directories.