Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeAliasesService
- func (fake *FakeAliasesService) GetByID(arg1 context.Context, arg2 int64) (roomdb.Alias, error)
- func (fake *FakeAliasesService) GetByIDArgsForCall(i int) (context.Context, int64)
- func (fake *FakeAliasesService) GetByIDCallCount() int
- func (fake *FakeAliasesService) GetByIDCalls(stub func(context.Context, int64) (roomdb.Alias, error))
- func (fake *FakeAliasesService) GetByIDReturns(result1 roomdb.Alias, result2 error)
- func (fake *FakeAliasesService) GetByIDReturnsOnCall(i int, result1 roomdb.Alias, result2 error)
- func (fake *FakeAliasesService) Invocations() map[string][][]interface{}
- func (fake *FakeAliasesService) List(arg1 context.Context) ([]roomdb.Alias, error)
- func (fake *FakeAliasesService) ListArgsForCall(i int) context.Context
- func (fake *FakeAliasesService) ListCallCount() int
- func (fake *FakeAliasesService) ListCalls(stub func(context.Context) ([]roomdb.Alias, error))
- func (fake *FakeAliasesService) ListReturns(result1 []roomdb.Alias, result2 error)
- func (fake *FakeAliasesService) ListReturnsOnCall(i int, result1 []roomdb.Alias, result2 error)
- func (fake *FakeAliasesService) Register(arg1 context.Context, arg2 string, arg3 refs.FeedRef, arg4 []byte) error
- func (fake *FakeAliasesService) RegisterArgsForCall(i int) (context.Context, string, refs.FeedRef, []byte)
- func (fake *FakeAliasesService) RegisterCallCount() int
- func (fake *FakeAliasesService) RegisterCalls(stub func(context.Context, string, refs.FeedRef, []byte) error)
- func (fake *FakeAliasesService) RegisterReturns(result1 error)
- func (fake *FakeAliasesService) RegisterReturnsOnCall(i int, result1 error)
- func (fake *FakeAliasesService) Resolve(arg1 context.Context, arg2 string) (roomdb.Alias, error)
- func (fake *FakeAliasesService) ResolveArgsForCall(i int) (context.Context, string)
- func (fake *FakeAliasesService) ResolveCallCount() int
- func (fake *FakeAliasesService) ResolveCalls(stub func(context.Context, string) (roomdb.Alias, error))
- func (fake *FakeAliasesService) ResolveReturns(result1 roomdb.Alias, result2 error)
- func (fake *FakeAliasesService) ResolveReturnsOnCall(i int, result1 roomdb.Alias, result2 error)
- func (fake *FakeAliasesService) Revoke(arg1 context.Context, arg2 string) error
- func (fake *FakeAliasesService) RevokeArgsForCall(i int) (context.Context, string)
- func (fake *FakeAliasesService) RevokeCallCount() int
- func (fake *FakeAliasesService) RevokeCalls(stub func(context.Context, string) error)
- func (fake *FakeAliasesService) RevokeReturns(result1 error)
- func (fake *FakeAliasesService) RevokeReturnsOnCall(i int, result1 error)
- type FakeAuthFallbackService
- func (fake *FakeAuthFallbackService) Check(arg1 string, arg2 string) (interface{}, error)
- func (fake *FakeAuthFallbackService) CheckArgsForCall(i int) (string, string)
- func (fake *FakeAuthFallbackService) CheckCallCount() int
- func (fake *FakeAuthFallbackService) CheckCalls(stub func(string, string) (interface{}, error))
- func (fake *FakeAuthFallbackService) CheckReturns(result1 interface{}, result2 error)
- func (fake *FakeAuthFallbackService) CheckReturnsOnCall(i int, result1 interface{}, result2 error)
- func (fake *FakeAuthFallbackService) CreateResetToken(arg1 context.Context, arg2 int64, arg3 int64) (string, error)
- func (fake *FakeAuthFallbackService) CreateResetTokenArgsForCall(i int) (context.Context, int64, int64)
- func (fake *FakeAuthFallbackService) CreateResetTokenCallCount() int
- func (fake *FakeAuthFallbackService) CreateResetTokenCalls(stub func(context.Context, int64, int64) (string, error))
- func (fake *FakeAuthFallbackService) CreateResetTokenReturns(result1 string, result2 error)
- func (fake *FakeAuthFallbackService) CreateResetTokenReturnsOnCall(i int, result1 string, result2 error)
- func (fake *FakeAuthFallbackService) Invocations() map[string][][]interface{}
- func (fake *FakeAuthFallbackService) SetPassword(arg1 context.Context, arg2 int64, arg3 string) error
- func (fake *FakeAuthFallbackService) SetPasswordArgsForCall(i int) (context.Context, int64, string)
- func (fake *FakeAuthFallbackService) SetPasswordCallCount() int
- func (fake *FakeAuthFallbackService) SetPasswordCalls(stub func(context.Context, int64, string) error)
- func (fake *FakeAuthFallbackService) SetPasswordReturns(result1 error)
- func (fake *FakeAuthFallbackService) SetPasswordReturnsOnCall(i int, result1 error)
- func (fake *FakeAuthFallbackService) SetPasswordWithToken(arg1 context.Context, arg2 string, arg3 string) error
- func (fake *FakeAuthFallbackService) SetPasswordWithTokenArgsForCall(i int) (context.Context, string, string)
- func (fake *FakeAuthFallbackService) SetPasswordWithTokenCallCount() int
- func (fake *FakeAuthFallbackService) SetPasswordWithTokenCalls(stub func(context.Context, string, string) error)
- func (fake *FakeAuthFallbackService) SetPasswordWithTokenReturns(result1 error)
- func (fake *FakeAuthFallbackService) SetPasswordWithTokenReturnsOnCall(i int, result1 error)
- type FakeAuthWithSSBService
- func (fake *FakeAuthWithSSBService) CheckToken(arg1 context.Context, arg2 string) (int64, error)
- func (fake *FakeAuthWithSSBService) CheckTokenArgsForCall(i int) (context.Context, string)
- func (fake *FakeAuthWithSSBService) CheckTokenCallCount() int
- func (fake *FakeAuthWithSSBService) CheckTokenCalls(stub func(context.Context, string) (int64, error))
- func (fake *FakeAuthWithSSBService) CheckTokenReturns(result1 int64, result2 error)
- func (fake *FakeAuthWithSSBService) CheckTokenReturnsOnCall(i int, result1 int64, result2 error)
- func (fake *FakeAuthWithSSBService) CreateToken(arg1 context.Context, arg2 int64) (string, error)
- func (fake *FakeAuthWithSSBService) CreateTokenArgsForCall(i int) (context.Context, int64)
- func (fake *FakeAuthWithSSBService) CreateTokenCallCount() int
- func (fake *FakeAuthWithSSBService) CreateTokenCalls(stub func(context.Context, int64) (string, error))
- func (fake *FakeAuthWithSSBService) CreateTokenReturns(result1 string, result2 error)
- func (fake *FakeAuthWithSSBService) CreateTokenReturnsOnCall(i int, result1 string, result2 error)
- func (fake *FakeAuthWithSSBService) Invocations() map[string][][]interface{}
- func (fake *FakeAuthWithSSBService) RemoveToken(arg1 context.Context, arg2 string) error
- func (fake *FakeAuthWithSSBService) RemoveTokenArgsForCall(i int) (context.Context, string)
- func (fake *FakeAuthWithSSBService) RemoveTokenCallCount() int
- func (fake *FakeAuthWithSSBService) RemoveTokenCalls(stub func(context.Context, string) error)
- func (fake *FakeAuthWithSSBService) RemoveTokenReturns(result1 error)
- func (fake *FakeAuthWithSSBService) RemoveTokenReturnsOnCall(i int, result1 error)
- func (fake *FakeAuthWithSSBService) WipeTokensForMember(arg1 context.Context, arg2 int64) error
- func (fake *FakeAuthWithSSBService) WipeTokensForMemberArgsForCall(i int) (context.Context, int64)
- func (fake *FakeAuthWithSSBService) WipeTokensForMemberCallCount() int
- func (fake *FakeAuthWithSSBService) WipeTokensForMemberCalls(stub func(context.Context, int64) error)
- func (fake *FakeAuthWithSSBService) WipeTokensForMemberReturns(result1 error)
- func (fake *FakeAuthWithSSBService) WipeTokensForMemberReturnsOnCall(i int, result1 error)
- type FakeDeniedKeysService
- func (fake *FakeDeniedKeysService) Add(arg1 context.Context, arg2 refs.FeedRef, arg3 string) error
- func (fake *FakeDeniedKeysService) AddArgsForCall(i int) (context.Context, refs.FeedRef, string)
- func (fake *FakeDeniedKeysService) AddCallCount() int
- func (fake *FakeDeniedKeysService) AddCalls(stub func(context.Context, refs.FeedRef, string) error)
- func (fake *FakeDeniedKeysService) AddReturns(result1 error)
- func (fake *FakeDeniedKeysService) AddReturnsOnCall(i int, result1 error)
- func (fake *FakeDeniedKeysService) Count(arg1 context.Context) (uint, error)
- func (fake *FakeDeniedKeysService) CountArgsForCall(i int) context.Context
- func (fake *FakeDeniedKeysService) CountCallCount() int
- func (fake *FakeDeniedKeysService) CountCalls(stub func(context.Context) (uint, error))
- func (fake *FakeDeniedKeysService) CountReturns(result1 uint, result2 error)
- func (fake *FakeDeniedKeysService) CountReturnsOnCall(i int, result1 uint, result2 error)
- func (fake *FakeDeniedKeysService) GetByID(arg1 context.Context, arg2 int64) (roomdb.ListEntry, error)
- func (fake *FakeDeniedKeysService) GetByIDArgsForCall(i int) (context.Context, int64)
- func (fake *FakeDeniedKeysService) GetByIDCallCount() int
- func (fake *FakeDeniedKeysService) GetByIDCalls(stub func(context.Context, int64) (roomdb.ListEntry, error))
- func (fake *FakeDeniedKeysService) GetByIDReturns(result1 roomdb.ListEntry, result2 error)
- func (fake *FakeDeniedKeysService) GetByIDReturnsOnCall(i int, result1 roomdb.ListEntry, result2 error)
- func (fake *FakeDeniedKeysService) HasFeed(arg1 context.Context, arg2 refs.FeedRef) bool
- func (fake *FakeDeniedKeysService) HasFeedArgsForCall(i int) (context.Context, refs.FeedRef)
- func (fake *FakeDeniedKeysService) HasFeedCallCount() int
- func (fake *FakeDeniedKeysService) HasFeedCalls(stub func(context.Context, refs.FeedRef) bool)
- func (fake *FakeDeniedKeysService) HasFeedReturns(result1 bool)
- func (fake *FakeDeniedKeysService) HasFeedReturnsOnCall(i int, result1 bool)
- func (fake *FakeDeniedKeysService) HasID(arg1 context.Context, arg2 int64) bool
- func (fake *FakeDeniedKeysService) HasIDArgsForCall(i int) (context.Context, int64)
- func (fake *FakeDeniedKeysService) HasIDCallCount() int
- func (fake *FakeDeniedKeysService) HasIDCalls(stub func(context.Context, int64) bool)
- func (fake *FakeDeniedKeysService) HasIDReturns(result1 bool)
- func (fake *FakeDeniedKeysService) HasIDReturnsOnCall(i int, result1 bool)
- func (fake *FakeDeniedKeysService) Invocations() map[string][][]interface{}
- func (fake *FakeDeniedKeysService) List(arg1 context.Context) ([]roomdb.ListEntry, error)
- func (fake *FakeDeniedKeysService) ListArgsForCall(i int) context.Context
- func (fake *FakeDeniedKeysService) ListCallCount() int
- func (fake *FakeDeniedKeysService) ListCalls(stub func(context.Context) ([]roomdb.ListEntry, error))
- func (fake *FakeDeniedKeysService) ListReturns(result1 []roomdb.ListEntry, result2 error)
- func (fake *FakeDeniedKeysService) ListReturnsOnCall(i int, result1 []roomdb.ListEntry, result2 error)
- func (fake *FakeDeniedKeysService) RemoveFeed(arg1 context.Context, arg2 refs.FeedRef) error
- func (fake *FakeDeniedKeysService) RemoveFeedArgsForCall(i int) (context.Context, refs.FeedRef)
- func (fake *FakeDeniedKeysService) RemoveFeedCallCount() int
- func (fake *FakeDeniedKeysService) RemoveFeedCalls(stub func(context.Context, refs.FeedRef) error)
- func (fake *FakeDeniedKeysService) RemoveFeedReturns(result1 error)
- func (fake *FakeDeniedKeysService) RemoveFeedReturnsOnCall(i int, result1 error)
- func (fake *FakeDeniedKeysService) RemoveID(arg1 context.Context, arg2 int64) error
- func (fake *FakeDeniedKeysService) RemoveIDArgsForCall(i int) (context.Context, int64)
- func (fake *FakeDeniedKeysService) RemoveIDCallCount() int
- func (fake *FakeDeniedKeysService) RemoveIDCalls(stub func(context.Context, int64) error)
- func (fake *FakeDeniedKeysService) RemoveIDReturns(result1 error)
- func (fake *FakeDeniedKeysService) RemoveIDReturnsOnCall(i int, result1 error)
- type FakeInvitesService
- func (fake *FakeInvitesService) Consume(arg1 context.Context, arg2 string, arg3 refs.FeedRef) (roomdb.Invite, error)
- func (fake *FakeInvitesService) ConsumeArgsForCall(i int) (context.Context, string, refs.FeedRef)
- func (fake *FakeInvitesService) ConsumeCallCount() int
- func (fake *FakeInvitesService) ConsumeCalls(stub func(context.Context, string, refs.FeedRef) (roomdb.Invite, error))
- func (fake *FakeInvitesService) ConsumeReturns(result1 roomdb.Invite, result2 error)
- func (fake *FakeInvitesService) ConsumeReturnsOnCall(i int, result1 roomdb.Invite, result2 error)
- func (fake *FakeInvitesService) Count(arg1 context.Context) (uint, error)
- func (fake *FakeInvitesService) CountArgsForCall(i int) context.Context
- func (fake *FakeInvitesService) CountCallCount() int
- func (fake *FakeInvitesService) CountCalls(stub func(context.Context) (uint, error))
- func (fake *FakeInvitesService) CountReturns(result1 uint, result2 error)
- func (fake *FakeInvitesService) CountReturnsOnCall(i int, result1 uint, result2 error)
- func (fake *FakeInvitesService) Create(arg1 context.Context, arg2 int64) (string, error)
- func (fake *FakeInvitesService) CreateArgsForCall(i int) (context.Context, int64)
- func (fake *FakeInvitesService) CreateCallCount() int
- func (fake *FakeInvitesService) CreateCalls(stub func(context.Context, int64) (string, error))
- func (fake *FakeInvitesService) CreateReturns(result1 string, result2 error)
- func (fake *FakeInvitesService) CreateReturnsOnCall(i int, result1 string, result2 error)
- func (fake *FakeInvitesService) GetByID(arg1 context.Context, arg2 int64) (roomdb.Invite, error)
- func (fake *FakeInvitesService) GetByIDArgsForCall(i int) (context.Context, int64)
- func (fake *FakeInvitesService) GetByIDCallCount() int
- func (fake *FakeInvitesService) GetByIDCalls(stub func(context.Context, int64) (roomdb.Invite, error))
- func (fake *FakeInvitesService) GetByIDReturns(result1 roomdb.Invite, result2 error)
- func (fake *FakeInvitesService) GetByIDReturnsOnCall(i int, result1 roomdb.Invite, result2 error)
- func (fake *FakeInvitesService) GetByToken(arg1 context.Context, arg2 string) (roomdb.Invite, error)
- func (fake *FakeInvitesService) GetByTokenArgsForCall(i int) (context.Context, string)
- func (fake *FakeInvitesService) GetByTokenCallCount() int
- func (fake *FakeInvitesService) GetByTokenCalls(stub func(context.Context, string) (roomdb.Invite, error))
- func (fake *FakeInvitesService) GetByTokenReturns(result1 roomdb.Invite, result2 error)
- func (fake *FakeInvitesService) GetByTokenReturnsOnCall(i int, result1 roomdb.Invite, result2 error)
- func (fake *FakeInvitesService) Invocations() map[string][][]interface{}
- func (fake *FakeInvitesService) List(arg1 context.Context) ([]roomdb.Invite, error)
- func (fake *FakeInvitesService) ListArgsForCall(i int) context.Context
- func (fake *FakeInvitesService) ListCallCount() int
- func (fake *FakeInvitesService) ListCalls(stub func(context.Context) ([]roomdb.Invite, error))
- func (fake *FakeInvitesService) ListReturns(result1 []roomdb.Invite, result2 error)
- func (fake *FakeInvitesService) ListReturnsOnCall(i int, result1 []roomdb.Invite, result2 error)
- func (fake *FakeInvitesService) Revoke(arg1 context.Context, arg2 int64) error
- func (fake *FakeInvitesService) RevokeArgsForCall(i int) (context.Context, int64)
- func (fake *FakeInvitesService) RevokeCallCount() int
- func (fake *FakeInvitesService) RevokeCalls(stub func(context.Context, int64) error)
- func (fake *FakeInvitesService) RevokeReturns(result1 error)
- func (fake *FakeInvitesService) RevokeReturnsOnCall(i int, result1 error)
- type FakeMembersService
- func (fake *FakeMembersService) Add(arg1 context.Context, arg2 refs.FeedRef, arg3 roomdb.Role) (int64, error)
- func (fake *FakeMembersService) AddArgsForCall(i int) (context.Context, refs.FeedRef, roomdb.Role)
- func (fake *FakeMembersService) AddCallCount() int
- func (fake *FakeMembersService) AddCalls(stub func(context.Context, refs.FeedRef, roomdb.Role) (int64, error))
- func (fake *FakeMembersService) AddReturns(result1 int64, result2 error)
- func (fake *FakeMembersService) AddReturnsOnCall(i int, result1 int64, result2 error)
- func (fake *FakeMembersService) Count(arg1 context.Context) (uint, error)
- func (fake *FakeMembersService) CountArgsForCall(i int) context.Context
- func (fake *FakeMembersService) CountCallCount() int
- func (fake *FakeMembersService) CountCalls(stub func(context.Context) (uint, error))
- func (fake *FakeMembersService) CountReturns(result1 uint, result2 error)
- func (fake *FakeMembersService) CountReturnsOnCall(i int, result1 uint, result2 error)
- func (fake *FakeMembersService) GetByFeed(arg1 context.Context, arg2 refs.FeedRef) (roomdb.Member, error)
- func (fake *FakeMembersService) GetByFeedArgsForCall(i int) (context.Context, refs.FeedRef)
- func (fake *FakeMembersService) GetByFeedCallCount() int
- func (fake *FakeMembersService) GetByFeedCalls(stub func(context.Context, refs.FeedRef) (roomdb.Member, error))
- func (fake *FakeMembersService) GetByFeedReturns(result1 roomdb.Member, result2 error)
- func (fake *FakeMembersService) GetByFeedReturnsOnCall(i int, result1 roomdb.Member, result2 error)
- func (fake *FakeMembersService) GetByID(arg1 context.Context, arg2 int64) (roomdb.Member, error)
- func (fake *FakeMembersService) GetByIDArgsForCall(i int) (context.Context, int64)
- func (fake *FakeMembersService) GetByIDCallCount() int
- func (fake *FakeMembersService) GetByIDCalls(stub func(context.Context, int64) (roomdb.Member, error))
- func (fake *FakeMembersService) GetByIDReturns(result1 roomdb.Member, result2 error)
- func (fake *FakeMembersService) GetByIDReturnsOnCall(i int, result1 roomdb.Member, result2 error)
- func (fake *FakeMembersService) Invocations() map[string][][]interface{}
- func (fake *FakeMembersService) List(arg1 context.Context) ([]roomdb.Member, error)
- func (fake *FakeMembersService) ListArgsForCall(i int) context.Context
- func (fake *FakeMembersService) ListCallCount() int
- func (fake *FakeMembersService) ListCalls(stub func(context.Context) ([]roomdb.Member, error))
- func (fake *FakeMembersService) ListReturns(result1 []roomdb.Member, result2 error)
- func (fake *FakeMembersService) ListReturnsOnCall(i int, result1 []roomdb.Member, result2 error)
- func (fake *FakeMembersService) RemoveFeed(arg1 context.Context, arg2 refs.FeedRef) error
- func (fake *FakeMembersService) RemoveFeedArgsForCall(i int) (context.Context, refs.FeedRef)
- func (fake *FakeMembersService) RemoveFeedCallCount() int
- func (fake *FakeMembersService) RemoveFeedCalls(stub func(context.Context, refs.FeedRef) error)
- func (fake *FakeMembersService) RemoveFeedReturns(result1 error)
- func (fake *FakeMembersService) RemoveFeedReturnsOnCall(i int, result1 error)
- func (fake *FakeMembersService) RemoveID(arg1 context.Context, arg2 int64) error
- func (fake *FakeMembersService) RemoveIDArgsForCall(i int) (context.Context, int64)
- func (fake *FakeMembersService) RemoveIDCallCount() int
- func (fake *FakeMembersService) RemoveIDCalls(stub func(context.Context, int64) error)
- func (fake *FakeMembersService) RemoveIDReturns(result1 error)
- func (fake *FakeMembersService) RemoveIDReturnsOnCall(i int, result1 error)
- func (fake *FakeMembersService) SetRole(arg1 context.Context, arg2 int64, arg3 roomdb.Role) error
- func (fake *FakeMembersService) SetRoleArgsForCall(i int) (context.Context, int64, roomdb.Role)
- func (fake *FakeMembersService) SetRoleCallCount() int
- func (fake *FakeMembersService) SetRoleCalls(stub func(context.Context, int64, roomdb.Role) error)
- func (fake *FakeMembersService) SetRoleReturns(result1 error)
- func (fake *FakeMembersService) SetRoleReturnsOnCall(i int, result1 error)
- type FakeNoticesService
- func (fake *FakeNoticesService) GetByID(arg1 context.Context, arg2 int64) (roomdb.Notice, error)
- func (fake *FakeNoticesService) GetByIDArgsForCall(i int) (context.Context, int64)
- func (fake *FakeNoticesService) GetByIDCallCount() int
- func (fake *FakeNoticesService) GetByIDCalls(stub func(context.Context, int64) (roomdb.Notice, error))
- func (fake *FakeNoticesService) GetByIDReturns(result1 roomdb.Notice, result2 error)
- func (fake *FakeNoticesService) GetByIDReturnsOnCall(i int, result1 roomdb.Notice, result2 error)
- func (fake *FakeNoticesService) Invocations() map[string][][]interface{}
- func (fake *FakeNoticesService) RemoveID(arg1 context.Context, arg2 int64) error
- func (fake *FakeNoticesService) RemoveIDArgsForCall(i int) (context.Context, int64)
- func (fake *FakeNoticesService) RemoveIDCallCount() int
- func (fake *FakeNoticesService) RemoveIDCalls(stub func(context.Context, int64) error)
- func (fake *FakeNoticesService) RemoveIDReturns(result1 error)
- func (fake *FakeNoticesService) RemoveIDReturnsOnCall(i int, result1 error)
- func (fake *FakeNoticesService) Save(arg1 context.Context, arg2 *roomdb.Notice) error
- func (fake *FakeNoticesService) SaveArgsForCall(i int) (context.Context, *roomdb.Notice)
- func (fake *FakeNoticesService) SaveCallCount() int
- func (fake *FakeNoticesService) SaveCalls(stub func(context.Context, *roomdb.Notice) error)
- func (fake *FakeNoticesService) SaveReturns(result1 error)
- func (fake *FakeNoticesService) SaveReturnsOnCall(i int, result1 error)
- type FakePinnedNoticesService
- func (fake *FakePinnedNoticesService) Get(arg1 context.Context, arg2 roomdb.PinnedNoticeName, arg3 string) (*roomdb.Notice, error)
- func (fake *FakePinnedNoticesService) GetArgsForCall(i int) (context.Context, roomdb.PinnedNoticeName, string)
- func (fake *FakePinnedNoticesService) GetCallCount() int
- func (fake *FakePinnedNoticesService) GetCalls(...)
- func (fake *FakePinnedNoticesService) GetReturns(result1 *roomdb.Notice, result2 error)
- func (fake *FakePinnedNoticesService) GetReturnsOnCall(i int, result1 *roomdb.Notice, result2 error)
- func (fake *FakePinnedNoticesService) Invocations() map[string][][]interface{}
- func (fake *FakePinnedNoticesService) List(arg1 context.Context) (roomdb.PinnedNotices, error)
- func (fake *FakePinnedNoticesService) ListArgsForCall(i int) context.Context
- func (fake *FakePinnedNoticesService) ListCallCount() int
- func (fake *FakePinnedNoticesService) ListCalls(stub func(context.Context) (roomdb.PinnedNotices, error))
- func (fake *FakePinnedNoticesService) ListReturns(result1 roomdb.PinnedNotices, result2 error)
- func (fake *FakePinnedNoticesService) ListReturnsOnCall(i int, result1 roomdb.PinnedNotices, result2 error)
- func (fake *FakePinnedNoticesService) Set(arg1 context.Context, arg2 roomdb.PinnedNoticeName, arg3 int64) error
- func (fake *FakePinnedNoticesService) SetArgsForCall(i int) (context.Context, roomdb.PinnedNoticeName, int64)
- func (fake *FakePinnedNoticesService) SetCallCount() int
- func (fake *FakePinnedNoticesService) SetCalls(stub func(context.Context, roomdb.PinnedNoticeName, int64) error)
- func (fake *FakePinnedNoticesService) SetReturns(result1 error)
- func (fake *FakePinnedNoticesService) SetReturnsOnCall(i int, result1 error)
- type FakeRoomConfig
- func (fake *FakeRoomConfig) GetDefaultLanguage(arg1 context.Context) (string, error)
- func (fake *FakeRoomConfig) GetDefaultLanguageArgsForCall(i int) context.Context
- func (fake *FakeRoomConfig) GetDefaultLanguageCallCount() int
- func (fake *FakeRoomConfig) GetDefaultLanguageCalls(stub func(context.Context) (string, error))
- func (fake *FakeRoomConfig) GetDefaultLanguageReturns(result1 string, result2 error)
- func (fake *FakeRoomConfig) GetDefaultLanguageReturnsOnCall(i int, result1 string, result2 error)
- func (fake *FakeRoomConfig) GetPrivacyMode(arg1 context.Context) (roomdb.PrivacyMode, error)
- func (fake *FakeRoomConfig) GetPrivacyModeArgsForCall(i int) context.Context
- func (fake *FakeRoomConfig) GetPrivacyModeCallCount() int
- func (fake *FakeRoomConfig) GetPrivacyModeCalls(stub func(context.Context) (roomdb.PrivacyMode, error))
- func (fake *FakeRoomConfig) GetPrivacyModeReturns(result1 roomdb.PrivacyMode, result2 error)
- func (fake *FakeRoomConfig) GetPrivacyModeReturnsOnCall(i int, result1 roomdb.PrivacyMode, result2 error)
- func (fake *FakeRoomConfig) Invocations() map[string][][]interface{}
- func (fake *FakeRoomConfig) SetDefaultLanguage(arg1 context.Context, arg2 string) error
- func (fake *FakeRoomConfig) SetDefaultLanguageArgsForCall(i int) (context.Context, string)
- func (fake *FakeRoomConfig) SetDefaultLanguageCallCount() int
- func (fake *FakeRoomConfig) SetDefaultLanguageCalls(stub func(context.Context, string) error)
- func (fake *FakeRoomConfig) SetDefaultLanguageReturns(result1 error)
- func (fake *FakeRoomConfig) SetDefaultLanguageReturnsOnCall(i int, result1 error)
- func (fake *FakeRoomConfig) SetPrivacyMode(arg1 context.Context, arg2 roomdb.PrivacyMode) error
- func (fake *FakeRoomConfig) SetPrivacyModeArgsForCall(i int) (context.Context, roomdb.PrivacyMode)
- func (fake *FakeRoomConfig) SetPrivacyModeCallCount() int
- func (fake *FakeRoomConfig) SetPrivacyModeCalls(stub func(context.Context, roomdb.PrivacyMode) error)
- func (fake *FakeRoomConfig) SetPrivacyModeReturns(result1 error)
- func (fake *FakeRoomConfig) SetPrivacyModeReturnsOnCall(i int, result1 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeAliasesService ¶
type FakeAliasesService struct { GetByIDStub func(context.Context, int64) (roomdb.Alias, error) ListStub func(context.Context) ([]roomdb.Alias, error) RegisterStub func(context.Context, string, refs.FeedRef, []byte) error ResolveStub func(context.Context, string) (roomdb.Alias, error) RevokeStub func(context.Context, string) error // contains filtered or unexported fields }
func (*FakeAliasesService) GetByIDArgsForCall ¶
func (fake *FakeAliasesService) GetByIDArgsForCall(i int) (context.Context, int64)
func (*FakeAliasesService) GetByIDCallCount ¶
func (fake *FakeAliasesService) GetByIDCallCount() int
func (*FakeAliasesService) GetByIDCalls ¶
func (*FakeAliasesService) GetByIDReturns ¶
func (fake *FakeAliasesService) GetByIDReturns(result1 roomdb.Alias, result2 error)
func (*FakeAliasesService) GetByIDReturnsOnCall ¶
func (fake *FakeAliasesService) GetByIDReturnsOnCall(i int, result1 roomdb.Alias, result2 error)
func (*FakeAliasesService) Invocations ¶
func (fake *FakeAliasesService) Invocations() map[string][][]interface{}
func (*FakeAliasesService) ListArgsForCall ¶
func (fake *FakeAliasesService) ListArgsForCall(i int) context.Context
func (*FakeAliasesService) ListCallCount ¶
func (fake *FakeAliasesService) ListCallCount() int
func (*FakeAliasesService) ListReturns ¶
func (fake *FakeAliasesService) ListReturns(result1 []roomdb.Alias, result2 error)
func (*FakeAliasesService) ListReturnsOnCall ¶
func (fake *FakeAliasesService) ListReturnsOnCall(i int, result1 []roomdb.Alias, result2 error)
func (*FakeAliasesService) RegisterArgsForCall ¶
func (*FakeAliasesService) RegisterCallCount ¶
func (fake *FakeAliasesService) RegisterCallCount() int
func (*FakeAliasesService) RegisterCalls ¶
func (*FakeAliasesService) RegisterReturns ¶
func (fake *FakeAliasesService) RegisterReturns(result1 error)
func (*FakeAliasesService) RegisterReturnsOnCall ¶
func (fake *FakeAliasesService) RegisterReturnsOnCall(i int, result1 error)
func (*FakeAliasesService) ResolveArgsForCall ¶
func (fake *FakeAliasesService) ResolveArgsForCall(i int) (context.Context, string)
func (*FakeAliasesService) ResolveCallCount ¶
func (fake *FakeAliasesService) ResolveCallCount() int
func (*FakeAliasesService) ResolveCalls ¶
func (*FakeAliasesService) ResolveReturns ¶
func (fake *FakeAliasesService) ResolveReturns(result1 roomdb.Alias, result2 error)
func (*FakeAliasesService) ResolveReturnsOnCall ¶
func (fake *FakeAliasesService) ResolveReturnsOnCall(i int, result1 roomdb.Alias, result2 error)
func (*FakeAliasesService) Revoke ¶
func (fake *FakeAliasesService) Revoke(arg1 context.Context, arg2 string) error
func (*FakeAliasesService) RevokeArgsForCall ¶
func (fake *FakeAliasesService) RevokeArgsForCall(i int) (context.Context, string)
func (*FakeAliasesService) RevokeCallCount ¶
func (fake *FakeAliasesService) RevokeCallCount() int
func (*FakeAliasesService) RevokeCalls ¶
func (fake *FakeAliasesService) RevokeCalls(stub func(context.Context, string) error)
func (*FakeAliasesService) RevokeReturns ¶
func (fake *FakeAliasesService) RevokeReturns(result1 error)
func (*FakeAliasesService) RevokeReturnsOnCall ¶
func (fake *FakeAliasesService) RevokeReturnsOnCall(i int, result1 error)
type FakeAuthFallbackService ¶
type FakeAuthFallbackService struct { CheckStub func(string, string) (interface{}, error) CreateResetTokenStub func(context.Context, int64, int64) (string, error) SetPasswordStub func(context.Context, int64, string) error SetPasswordWithTokenStub func(context.Context, string, string) error // contains filtered or unexported fields }
func (*FakeAuthFallbackService) Check ¶
func (fake *FakeAuthFallbackService) Check(arg1 string, arg2 string) (interface{}, error)
func (*FakeAuthFallbackService) CheckArgsForCall ¶
func (fake *FakeAuthFallbackService) CheckArgsForCall(i int) (string, string)
func (*FakeAuthFallbackService) CheckCallCount ¶
func (fake *FakeAuthFallbackService) CheckCallCount() int
func (*FakeAuthFallbackService) CheckCalls ¶
func (fake *FakeAuthFallbackService) CheckCalls(stub func(string, string) (interface{}, error))
func (*FakeAuthFallbackService) CheckReturns ¶
func (fake *FakeAuthFallbackService) CheckReturns(result1 interface{}, result2 error)
func (*FakeAuthFallbackService) CheckReturnsOnCall ¶
func (fake *FakeAuthFallbackService) CheckReturnsOnCall(i int, result1 interface{}, result2 error)
func (*FakeAuthFallbackService) CreateResetToken ¶
func (*FakeAuthFallbackService) CreateResetTokenArgsForCall ¶
func (*FakeAuthFallbackService) CreateResetTokenCallCount ¶
func (fake *FakeAuthFallbackService) CreateResetTokenCallCount() int
func (*FakeAuthFallbackService) CreateResetTokenCalls ¶
func (*FakeAuthFallbackService) CreateResetTokenReturns ¶
func (fake *FakeAuthFallbackService) CreateResetTokenReturns(result1 string, result2 error)
func (*FakeAuthFallbackService) CreateResetTokenReturnsOnCall ¶
func (fake *FakeAuthFallbackService) CreateResetTokenReturnsOnCall(i int, result1 string, result2 error)
func (*FakeAuthFallbackService) Invocations ¶
func (fake *FakeAuthFallbackService) Invocations() map[string][][]interface{}
func (*FakeAuthFallbackService) SetPassword ¶
func (*FakeAuthFallbackService) SetPasswordArgsForCall ¶
func (*FakeAuthFallbackService) SetPasswordCallCount ¶
func (fake *FakeAuthFallbackService) SetPasswordCallCount() int
func (*FakeAuthFallbackService) SetPasswordCalls ¶
func (*FakeAuthFallbackService) SetPasswordReturns ¶
func (fake *FakeAuthFallbackService) SetPasswordReturns(result1 error)
func (*FakeAuthFallbackService) SetPasswordReturnsOnCall ¶
func (fake *FakeAuthFallbackService) SetPasswordReturnsOnCall(i int, result1 error)
func (*FakeAuthFallbackService) SetPasswordWithToken ¶
func (*FakeAuthFallbackService) SetPasswordWithTokenArgsForCall ¶
func (*FakeAuthFallbackService) SetPasswordWithTokenCallCount ¶
func (fake *FakeAuthFallbackService) SetPasswordWithTokenCallCount() int
func (*FakeAuthFallbackService) SetPasswordWithTokenCalls ¶
func (*FakeAuthFallbackService) SetPasswordWithTokenReturns ¶
func (fake *FakeAuthFallbackService) SetPasswordWithTokenReturns(result1 error)
func (*FakeAuthFallbackService) SetPasswordWithTokenReturnsOnCall ¶
func (fake *FakeAuthFallbackService) SetPasswordWithTokenReturnsOnCall(i int, result1 error)
type FakeAuthWithSSBService ¶
type FakeAuthWithSSBService struct { CheckTokenStub func(context.Context, string) (int64, error) CreateTokenStub func(context.Context, int64) (string, error) RemoveTokenStub func(context.Context, string) error WipeTokensForMemberStub func(context.Context, int64) error // contains filtered or unexported fields }
func (*FakeAuthWithSSBService) CheckToken ¶
func (*FakeAuthWithSSBService) CheckTokenArgsForCall ¶
func (fake *FakeAuthWithSSBService) CheckTokenArgsForCall(i int) (context.Context, string)
func (*FakeAuthWithSSBService) CheckTokenCallCount ¶
func (fake *FakeAuthWithSSBService) CheckTokenCallCount() int
func (*FakeAuthWithSSBService) CheckTokenCalls ¶
func (*FakeAuthWithSSBService) CheckTokenReturns ¶
func (fake *FakeAuthWithSSBService) CheckTokenReturns(result1 int64, result2 error)
func (*FakeAuthWithSSBService) CheckTokenReturnsOnCall ¶
func (fake *FakeAuthWithSSBService) CheckTokenReturnsOnCall(i int, result1 int64, result2 error)
func (*FakeAuthWithSSBService) CreateToken ¶
func (*FakeAuthWithSSBService) CreateTokenArgsForCall ¶
func (fake *FakeAuthWithSSBService) CreateTokenArgsForCall(i int) (context.Context, int64)
func (*FakeAuthWithSSBService) CreateTokenCallCount ¶
func (fake *FakeAuthWithSSBService) CreateTokenCallCount() int
func (*FakeAuthWithSSBService) CreateTokenCalls ¶
func (*FakeAuthWithSSBService) CreateTokenReturns ¶
func (fake *FakeAuthWithSSBService) CreateTokenReturns(result1 string, result2 error)
func (*FakeAuthWithSSBService) CreateTokenReturnsOnCall ¶
func (fake *FakeAuthWithSSBService) CreateTokenReturnsOnCall(i int, result1 string, result2 error)
func (*FakeAuthWithSSBService) Invocations ¶
func (fake *FakeAuthWithSSBService) Invocations() map[string][][]interface{}
func (*FakeAuthWithSSBService) RemoveToken ¶
func (fake *FakeAuthWithSSBService) RemoveToken(arg1 context.Context, arg2 string) error
func (*FakeAuthWithSSBService) RemoveTokenArgsForCall ¶
func (fake *FakeAuthWithSSBService) RemoveTokenArgsForCall(i int) (context.Context, string)
func (*FakeAuthWithSSBService) RemoveTokenCallCount ¶
func (fake *FakeAuthWithSSBService) RemoveTokenCallCount() int
func (*FakeAuthWithSSBService) RemoveTokenCalls ¶
func (fake *FakeAuthWithSSBService) RemoveTokenCalls(stub func(context.Context, string) error)
func (*FakeAuthWithSSBService) RemoveTokenReturns ¶
func (fake *FakeAuthWithSSBService) RemoveTokenReturns(result1 error)
func (*FakeAuthWithSSBService) RemoveTokenReturnsOnCall ¶
func (fake *FakeAuthWithSSBService) RemoveTokenReturnsOnCall(i int, result1 error)
func (*FakeAuthWithSSBService) WipeTokensForMember ¶
func (fake *FakeAuthWithSSBService) WipeTokensForMember(arg1 context.Context, arg2 int64) error
func (*FakeAuthWithSSBService) WipeTokensForMemberArgsForCall ¶
func (fake *FakeAuthWithSSBService) WipeTokensForMemberArgsForCall(i int) (context.Context, int64)
func (*FakeAuthWithSSBService) WipeTokensForMemberCallCount ¶
func (fake *FakeAuthWithSSBService) WipeTokensForMemberCallCount() int
func (*FakeAuthWithSSBService) WipeTokensForMemberCalls ¶
func (fake *FakeAuthWithSSBService) WipeTokensForMemberCalls(stub func(context.Context, int64) error)
func (*FakeAuthWithSSBService) WipeTokensForMemberReturns ¶
func (fake *FakeAuthWithSSBService) WipeTokensForMemberReturns(result1 error)
func (*FakeAuthWithSSBService) WipeTokensForMemberReturnsOnCall ¶
func (fake *FakeAuthWithSSBService) WipeTokensForMemberReturnsOnCall(i int, result1 error)
type FakeDeniedKeysService ¶
type FakeDeniedKeysService struct { AddStub func(context.Context, refs.FeedRef, string) error CountStub func(context.Context) (uint, error) GetByIDStub func(context.Context, int64) (roomdb.ListEntry, error) HasFeedStub func(context.Context, refs.FeedRef) bool HasIDStub func(context.Context, int64) bool ListStub func(context.Context) ([]roomdb.ListEntry, error) RemoveFeedStub func(context.Context, refs.FeedRef) error RemoveIDStub func(context.Context, int64) error // contains filtered or unexported fields }
func (*FakeDeniedKeysService) AddArgsForCall ¶
func (*FakeDeniedKeysService) AddCallCount ¶
func (fake *FakeDeniedKeysService) AddCallCount() int
func (*FakeDeniedKeysService) AddReturns ¶
func (fake *FakeDeniedKeysService) AddReturns(result1 error)
func (*FakeDeniedKeysService) AddReturnsOnCall ¶
func (fake *FakeDeniedKeysService) AddReturnsOnCall(i int, result1 error)
func (*FakeDeniedKeysService) Count ¶
func (fake *FakeDeniedKeysService) Count(arg1 context.Context) (uint, error)
func (*FakeDeniedKeysService) CountArgsForCall ¶
func (fake *FakeDeniedKeysService) CountArgsForCall(i int) context.Context
func (*FakeDeniedKeysService) CountCallCount ¶
func (fake *FakeDeniedKeysService) CountCallCount() int
func (*FakeDeniedKeysService) CountCalls ¶
func (fake *FakeDeniedKeysService) CountCalls(stub func(context.Context) (uint, error))
func (*FakeDeniedKeysService) CountReturns ¶
func (fake *FakeDeniedKeysService) CountReturns(result1 uint, result2 error)
func (*FakeDeniedKeysService) CountReturnsOnCall ¶
func (fake *FakeDeniedKeysService) CountReturnsOnCall(i int, result1 uint, result2 error)
func (*FakeDeniedKeysService) GetByIDArgsForCall ¶
func (fake *FakeDeniedKeysService) GetByIDArgsForCall(i int) (context.Context, int64)
func (*FakeDeniedKeysService) GetByIDCallCount ¶
func (fake *FakeDeniedKeysService) GetByIDCallCount() int
func (*FakeDeniedKeysService) GetByIDCalls ¶
func (*FakeDeniedKeysService) GetByIDReturns ¶
func (fake *FakeDeniedKeysService) GetByIDReturns(result1 roomdb.ListEntry, result2 error)
func (*FakeDeniedKeysService) GetByIDReturnsOnCall ¶
func (fake *FakeDeniedKeysService) GetByIDReturnsOnCall(i int, result1 roomdb.ListEntry, result2 error)
func (*FakeDeniedKeysService) HasFeedArgsForCall ¶
func (*FakeDeniedKeysService) HasFeedCallCount ¶
func (fake *FakeDeniedKeysService) HasFeedCallCount() int
func (*FakeDeniedKeysService) HasFeedCalls ¶
func (*FakeDeniedKeysService) HasFeedReturns ¶
func (fake *FakeDeniedKeysService) HasFeedReturns(result1 bool)
func (*FakeDeniedKeysService) HasFeedReturnsOnCall ¶
func (fake *FakeDeniedKeysService) HasFeedReturnsOnCall(i int, result1 bool)
func (*FakeDeniedKeysService) HasID ¶
func (fake *FakeDeniedKeysService) HasID(arg1 context.Context, arg2 int64) bool
func (*FakeDeniedKeysService) HasIDArgsForCall ¶
func (fake *FakeDeniedKeysService) HasIDArgsForCall(i int) (context.Context, int64)
func (*FakeDeniedKeysService) HasIDCallCount ¶
func (fake *FakeDeniedKeysService) HasIDCallCount() int
func (*FakeDeniedKeysService) HasIDCalls ¶
func (fake *FakeDeniedKeysService) HasIDCalls(stub func(context.Context, int64) bool)
func (*FakeDeniedKeysService) HasIDReturns ¶
func (fake *FakeDeniedKeysService) HasIDReturns(result1 bool)
func (*FakeDeniedKeysService) HasIDReturnsOnCall ¶
func (fake *FakeDeniedKeysService) HasIDReturnsOnCall(i int, result1 bool)
func (*FakeDeniedKeysService) Invocations ¶
func (fake *FakeDeniedKeysService) Invocations() map[string][][]interface{}
func (*FakeDeniedKeysService) ListArgsForCall ¶
func (fake *FakeDeniedKeysService) ListArgsForCall(i int) context.Context
func (*FakeDeniedKeysService) ListCallCount ¶
func (fake *FakeDeniedKeysService) ListCallCount() int
func (*FakeDeniedKeysService) ListReturns ¶
func (fake *FakeDeniedKeysService) ListReturns(result1 []roomdb.ListEntry, result2 error)
func (*FakeDeniedKeysService) ListReturnsOnCall ¶
func (fake *FakeDeniedKeysService) ListReturnsOnCall(i int, result1 []roomdb.ListEntry, result2 error)
func (*FakeDeniedKeysService) RemoveFeed ¶
func (*FakeDeniedKeysService) RemoveFeedArgsForCall ¶
func (*FakeDeniedKeysService) RemoveFeedCallCount ¶
func (fake *FakeDeniedKeysService) RemoveFeedCallCount() int
func (*FakeDeniedKeysService) RemoveFeedCalls ¶
func (*FakeDeniedKeysService) RemoveFeedReturns ¶
func (fake *FakeDeniedKeysService) RemoveFeedReturns(result1 error)
func (*FakeDeniedKeysService) RemoveFeedReturnsOnCall ¶
func (fake *FakeDeniedKeysService) RemoveFeedReturnsOnCall(i int, result1 error)
func (*FakeDeniedKeysService) RemoveID ¶
func (fake *FakeDeniedKeysService) RemoveID(arg1 context.Context, arg2 int64) error
func (*FakeDeniedKeysService) RemoveIDArgsForCall ¶
func (fake *FakeDeniedKeysService) RemoveIDArgsForCall(i int) (context.Context, int64)
func (*FakeDeniedKeysService) RemoveIDCallCount ¶
func (fake *FakeDeniedKeysService) RemoveIDCallCount() int
func (*FakeDeniedKeysService) RemoveIDCalls ¶
func (fake *FakeDeniedKeysService) RemoveIDCalls(stub func(context.Context, int64) error)
func (*FakeDeniedKeysService) RemoveIDReturns ¶
func (fake *FakeDeniedKeysService) RemoveIDReturns(result1 error)
func (*FakeDeniedKeysService) RemoveIDReturnsOnCall ¶
func (fake *FakeDeniedKeysService) RemoveIDReturnsOnCall(i int, result1 error)
type FakeInvitesService ¶
type FakeInvitesService struct { ConsumeStub func(context.Context, string, refs.FeedRef) (roomdb.Invite, error) CountStub func(context.Context) (uint, error) CreateStub func(context.Context, int64) (string, error) GetByIDStub func(context.Context, int64) (roomdb.Invite, error) GetByTokenStub func(context.Context, string) (roomdb.Invite, error) ListStub func(context.Context) ([]roomdb.Invite, error) RevokeStub func(context.Context, int64) error // contains filtered or unexported fields }
func (*FakeInvitesService) ConsumeArgsForCall ¶
func (*FakeInvitesService) ConsumeCallCount ¶
func (fake *FakeInvitesService) ConsumeCallCount() int
func (*FakeInvitesService) ConsumeCalls ¶
func (*FakeInvitesService) ConsumeReturns ¶
func (fake *FakeInvitesService) ConsumeReturns(result1 roomdb.Invite, result2 error)
func (*FakeInvitesService) ConsumeReturnsOnCall ¶
func (fake *FakeInvitesService) ConsumeReturnsOnCall(i int, result1 roomdb.Invite, result2 error)
func (*FakeInvitesService) Count ¶
func (fake *FakeInvitesService) Count(arg1 context.Context) (uint, error)
func (*FakeInvitesService) CountArgsForCall ¶
func (fake *FakeInvitesService) CountArgsForCall(i int) context.Context
func (*FakeInvitesService) CountCallCount ¶
func (fake *FakeInvitesService) CountCallCount() int
func (*FakeInvitesService) CountCalls ¶
func (fake *FakeInvitesService) CountCalls(stub func(context.Context) (uint, error))
func (*FakeInvitesService) CountReturns ¶
func (fake *FakeInvitesService) CountReturns(result1 uint, result2 error)
func (*FakeInvitesService) CountReturnsOnCall ¶
func (fake *FakeInvitesService) CountReturnsOnCall(i int, result1 uint, result2 error)
func (*FakeInvitesService) CreateArgsForCall ¶
func (fake *FakeInvitesService) CreateArgsForCall(i int) (context.Context, int64)
func (*FakeInvitesService) CreateCallCount ¶
func (fake *FakeInvitesService) CreateCallCount() int
func (*FakeInvitesService) CreateCalls ¶
func (*FakeInvitesService) CreateReturns ¶
func (fake *FakeInvitesService) CreateReturns(result1 string, result2 error)
func (*FakeInvitesService) CreateReturnsOnCall ¶
func (fake *FakeInvitesService) CreateReturnsOnCall(i int, result1 string, result2 error)
func (*FakeInvitesService) GetByIDArgsForCall ¶
func (fake *FakeInvitesService) GetByIDArgsForCall(i int) (context.Context, int64)
func (*FakeInvitesService) GetByIDCallCount ¶
func (fake *FakeInvitesService) GetByIDCallCount() int
func (*FakeInvitesService) GetByIDCalls ¶
func (*FakeInvitesService) GetByIDReturns ¶
func (fake *FakeInvitesService) GetByIDReturns(result1 roomdb.Invite, result2 error)
func (*FakeInvitesService) GetByIDReturnsOnCall ¶
func (fake *FakeInvitesService) GetByIDReturnsOnCall(i int, result1 roomdb.Invite, result2 error)
func (*FakeInvitesService) GetByToken ¶
func (*FakeInvitesService) GetByTokenArgsForCall ¶
func (fake *FakeInvitesService) GetByTokenArgsForCall(i int) (context.Context, string)
func (*FakeInvitesService) GetByTokenCallCount ¶
func (fake *FakeInvitesService) GetByTokenCallCount() int
func (*FakeInvitesService) GetByTokenCalls ¶
func (*FakeInvitesService) GetByTokenReturns ¶
func (fake *FakeInvitesService) GetByTokenReturns(result1 roomdb.Invite, result2 error)
func (*FakeInvitesService) GetByTokenReturnsOnCall ¶
func (fake *FakeInvitesService) GetByTokenReturnsOnCall(i int, result1 roomdb.Invite, result2 error)
func (*FakeInvitesService) Invocations ¶
func (fake *FakeInvitesService) Invocations() map[string][][]interface{}
func (*FakeInvitesService) ListArgsForCall ¶
func (fake *FakeInvitesService) ListArgsForCall(i int) context.Context
func (*FakeInvitesService) ListCallCount ¶
func (fake *FakeInvitesService) ListCallCount() int
func (*FakeInvitesService) ListReturns ¶
func (fake *FakeInvitesService) ListReturns(result1 []roomdb.Invite, result2 error)
func (*FakeInvitesService) ListReturnsOnCall ¶
func (fake *FakeInvitesService) ListReturnsOnCall(i int, result1 []roomdb.Invite, result2 error)
func (*FakeInvitesService) Revoke ¶
func (fake *FakeInvitesService) Revoke(arg1 context.Context, arg2 int64) error
func (*FakeInvitesService) RevokeArgsForCall ¶
func (fake *FakeInvitesService) RevokeArgsForCall(i int) (context.Context, int64)
func (*FakeInvitesService) RevokeCallCount ¶
func (fake *FakeInvitesService) RevokeCallCount() int
func (*FakeInvitesService) RevokeCalls ¶
func (fake *FakeInvitesService) RevokeCalls(stub func(context.Context, int64) error)
func (*FakeInvitesService) RevokeReturns ¶
func (fake *FakeInvitesService) RevokeReturns(result1 error)
func (*FakeInvitesService) RevokeReturnsOnCall ¶
func (fake *FakeInvitesService) RevokeReturnsOnCall(i int, result1 error)
type FakeMembersService ¶
type FakeMembersService struct { AddStub func(context.Context, refs.FeedRef, roomdb.Role) (int64, error) CountStub func(context.Context) (uint, error) GetByFeedStub func(context.Context, refs.FeedRef) (roomdb.Member, error) GetByIDStub func(context.Context, int64) (roomdb.Member, error) ListStub func(context.Context) ([]roomdb.Member, error) RemoveFeedStub func(context.Context, refs.FeedRef) error RemoveIDStub func(context.Context, int64) error SetRoleStub func(context.Context, int64, roomdb.Role) error // contains filtered or unexported fields }
func (*FakeMembersService) AddArgsForCall ¶
func (*FakeMembersService) AddCallCount ¶
func (fake *FakeMembersService) AddCallCount() int
func (*FakeMembersService) AddReturns ¶
func (fake *FakeMembersService) AddReturns(result1 int64, result2 error)
func (*FakeMembersService) AddReturnsOnCall ¶
func (fake *FakeMembersService) AddReturnsOnCall(i int, result1 int64, result2 error)
func (*FakeMembersService) Count ¶
func (fake *FakeMembersService) Count(arg1 context.Context) (uint, error)
func (*FakeMembersService) CountArgsForCall ¶
func (fake *FakeMembersService) CountArgsForCall(i int) context.Context
func (*FakeMembersService) CountCallCount ¶
func (fake *FakeMembersService) CountCallCount() int
func (*FakeMembersService) CountCalls ¶
func (fake *FakeMembersService) CountCalls(stub func(context.Context) (uint, error))
func (*FakeMembersService) CountReturns ¶
func (fake *FakeMembersService) CountReturns(result1 uint, result2 error)
func (*FakeMembersService) CountReturnsOnCall ¶
func (fake *FakeMembersService) CountReturnsOnCall(i int, result1 uint, result2 error)
func (*FakeMembersService) GetByFeedArgsForCall ¶
func (*FakeMembersService) GetByFeedCallCount ¶
func (fake *FakeMembersService) GetByFeedCallCount() int
func (*FakeMembersService) GetByFeedCalls ¶
func (*FakeMembersService) GetByFeedReturns ¶
func (fake *FakeMembersService) GetByFeedReturns(result1 roomdb.Member, result2 error)
func (*FakeMembersService) GetByFeedReturnsOnCall ¶
func (fake *FakeMembersService) GetByFeedReturnsOnCall(i int, result1 roomdb.Member, result2 error)
func (*FakeMembersService) GetByIDArgsForCall ¶
func (fake *FakeMembersService) GetByIDArgsForCall(i int) (context.Context, int64)
func (*FakeMembersService) GetByIDCallCount ¶
func (fake *FakeMembersService) GetByIDCallCount() int
func (*FakeMembersService) GetByIDCalls ¶
func (*FakeMembersService) GetByIDReturns ¶
func (fake *FakeMembersService) GetByIDReturns(result1 roomdb.Member, result2 error)
func (*FakeMembersService) GetByIDReturnsOnCall ¶
func (fake *FakeMembersService) GetByIDReturnsOnCall(i int, result1 roomdb.Member, result2 error)
func (*FakeMembersService) Invocations ¶
func (fake *FakeMembersService) Invocations() map[string][][]interface{}
func (*FakeMembersService) ListArgsForCall ¶
func (fake *FakeMembersService) ListArgsForCall(i int) context.Context
func (*FakeMembersService) ListCallCount ¶
func (fake *FakeMembersService) ListCallCount() int
func (*FakeMembersService) ListReturns ¶
func (fake *FakeMembersService) ListReturns(result1 []roomdb.Member, result2 error)
func (*FakeMembersService) ListReturnsOnCall ¶
func (fake *FakeMembersService) ListReturnsOnCall(i int, result1 []roomdb.Member, result2 error)
func (*FakeMembersService) RemoveFeed ¶
func (*FakeMembersService) RemoveFeedArgsForCall ¶
func (*FakeMembersService) RemoveFeedCallCount ¶
func (fake *FakeMembersService) RemoveFeedCallCount() int
func (*FakeMembersService) RemoveFeedCalls ¶
func (*FakeMembersService) RemoveFeedReturns ¶
func (fake *FakeMembersService) RemoveFeedReturns(result1 error)
func (*FakeMembersService) RemoveFeedReturnsOnCall ¶
func (fake *FakeMembersService) RemoveFeedReturnsOnCall(i int, result1 error)
func (*FakeMembersService) RemoveID ¶
func (fake *FakeMembersService) RemoveID(arg1 context.Context, arg2 int64) error
func (*FakeMembersService) RemoveIDArgsForCall ¶
func (fake *FakeMembersService) RemoveIDArgsForCall(i int) (context.Context, int64)
func (*FakeMembersService) RemoveIDCallCount ¶
func (fake *FakeMembersService) RemoveIDCallCount() int
func (*FakeMembersService) RemoveIDCalls ¶
func (fake *FakeMembersService) RemoveIDCalls(stub func(context.Context, int64) error)
func (*FakeMembersService) RemoveIDReturns ¶
func (fake *FakeMembersService) RemoveIDReturns(result1 error)
func (*FakeMembersService) RemoveIDReturnsOnCall ¶
func (fake *FakeMembersService) RemoveIDReturnsOnCall(i int, result1 error)
func (*FakeMembersService) SetRoleArgsForCall ¶
func (*FakeMembersService) SetRoleCallCount ¶
func (fake *FakeMembersService) SetRoleCallCount() int
func (*FakeMembersService) SetRoleCalls ¶
func (*FakeMembersService) SetRoleReturns ¶
func (fake *FakeMembersService) SetRoleReturns(result1 error)
func (*FakeMembersService) SetRoleReturnsOnCall ¶
func (fake *FakeMembersService) SetRoleReturnsOnCall(i int, result1 error)
type FakeNoticesService ¶
type FakeNoticesService struct { GetByIDStub func(context.Context, int64) (roomdb.Notice, error) RemoveIDStub func(context.Context, int64) error SaveStub func(context.Context, *roomdb.Notice) error // contains filtered or unexported fields }
func (*FakeNoticesService) GetByIDArgsForCall ¶
func (fake *FakeNoticesService) GetByIDArgsForCall(i int) (context.Context, int64)
func (*FakeNoticesService) GetByIDCallCount ¶
func (fake *FakeNoticesService) GetByIDCallCount() int
func (*FakeNoticesService) GetByIDCalls ¶
func (*FakeNoticesService) GetByIDReturns ¶
func (fake *FakeNoticesService) GetByIDReturns(result1 roomdb.Notice, result2 error)
func (*FakeNoticesService) GetByIDReturnsOnCall ¶
func (fake *FakeNoticesService) GetByIDReturnsOnCall(i int, result1 roomdb.Notice, result2 error)
func (*FakeNoticesService) Invocations ¶
func (fake *FakeNoticesService) Invocations() map[string][][]interface{}
func (*FakeNoticesService) RemoveID ¶
func (fake *FakeNoticesService) RemoveID(arg1 context.Context, arg2 int64) error
func (*FakeNoticesService) RemoveIDArgsForCall ¶
func (fake *FakeNoticesService) RemoveIDArgsForCall(i int) (context.Context, int64)
func (*FakeNoticesService) RemoveIDCallCount ¶
func (fake *FakeNoticesService) RemoveIDCallCount() int
func (*FakeNoticesService) RemoveIDCalls ¶
func (fake *FakeNoticesService) RemoveIDCalls(stub func(context.Context, int64) error)
func (*FakeNoticesService) RemoveIDReturns ¶
func (fake *FakeNoticesService) RemoveIDReturns(result1 error)
func (*FakeNoticesService) RemoveIDReturnsOnCall ¶
func (fake *FakeNoticesService) RemoveIDReturnsOnCall(i int, result1 error)
func (*FakeNoticesService) SaveArgsForCall ¶
func (*FakeNoticesService) SaveCallCount ¶
func (fake *FakeNoticesService) SaveCallCount() int
func (*FakeNoticesService) SaveReturns ¶
func (fake *FakeNoticesService) SaveReturns(result1 error)
func (*FakeNoticesService) SaveReturnsOnCall ¶
func (fake *FakeNoticesService) SaveReturnsOnCall(i int, result1 error)
type FakePinnedNoticesService ¶
type FakePinnedNoticesService struct { GetStub func(context.Context, roomdb.PinnedNoticeName, string) (*roomdb.Notice, error) ListStub func(context.Context) (roomdb.PinnedNotices, error) SetStub func(context.Context, roomdb.PinnedNoticeName, int64) error // contains filtered or unexported fields }
func (*FakePinnedNoticesService) Get ¶
func (fake *FakePinnedNoticesService) Get(arg1 context.Context, arg2 roomdb.PinnedNoticeName, arg3 string) (*roomdb.Notice, error)
func (*FakePinnedNoticesService) GetArgsForCall ¶
func (fake *FakePinnedNoticesService) GetArgsForCall(i int) (context.Context, roomdb.PinnedNoticeName, string)
func (*FakePinnedNoticesService) GetCallCount ¶
func (fake *FakePinnedNoticesService) GetCallCount() int
func (*FakePinnedNoticesService) GetCalls ¶
func (fake *FakePinnedNoticesService) GetCalls(stub func(context.Context, roomdb.PinnedNoticeName, string) (*roomdb.Notice, error))
func (*FakePinnedNoticesService) GetReturns ¶
func (fake *FakePinnedNoticesService) GetReturns(result1 *roomdb.Notice, result2 error)
func (*FakePinnedNoticesService) GetReturnsOnCall ¶
func (fake *FakePinnedNoticesService) GetReturnsOnCall(i int, result1 *roomdb.Notice, result2 error)
func (*FakePinnedNoticesService) Invocations ¶
func (fake *FakePinnedNoticesService) Invocations() map[string][][]interface{}
func (*FakePinnedNoticesService) List ¶
func (fake *FakePinnedNoticesService) List(arg1 context.Context) (roomdb.PinnedNotices, error)
func (*FakePinnedNoticesService) ListArgsForCall ¶
func (fake *FakePinnedNoticesService) ListArgsForCall(i int) context.Context
func (*FakePinnedNoticesService) ListCallCount ¶
func (fake *FakePinnedNoticesService) ListCallCount() int
func (*FakePinnedNoticesService) ListCalls ¶
func (fake *FakePinnedNoticesService) ListCalls(stub func(context.Context) (roomdb.PinnedNotices, error))
func (*FakePinnedNoticesService) ListReturns ¶
func (fake *FakePinnedNoticesService) ListReturns(result1 roomdb.PinnedNotices, result2 error)
func (*FakePinnedNoticesService) ListReturnsOnCall ¶
func (fake *FakePinnedNoticesService) ListReturnsOnCall(i int, result1 roomdb.PinnedNotices, result2 error)
func (*FakePinnedNoticesService) Set ¶
func (fake *FakePinnedNoticesService) Set(arg1 context.Context, arg2 roomdb.PinnedNoticeName, arg3 int64) error
func (*FakePinnedNoticesService) SetArgsForCall ¶
func (fake *FakePinnedNoticesService) SetArgsForCall(i int) (context.Context, roomdb.PinnedNoticeName, int64)
func (*FakePinnedNoticesService) SetCallCount ¶
func (fake *FakePinnedNoticesService) SetCallCount() int
func (*FakePinnedNoticesService) SetCalls ¶
func (fake *FakePinnedNoticesService) SetCalls(stub func(context.Context, roomdb.PinnedNoticeName, int64) error)
func (*FakePinnedNoticesService) SetReturns ¶
func (fake *FakePinnedNoticesService) SetReturns(result1 error)
func (*FakePinnedNoticesService) SetReturnsOnCall ¶
func (fake *FakePinnedNoticesService) SetReturnsOnCall(i int, result1 error)
type FakeRoomConfig ¶
type FakeRoomConfig struct { GetDefaultLanguageStub func(context.Context) (string, error) GetPrivacyModeStub func(context.Context) (roomdb.PrivacyMode, error) SetDefaultLanguageStub func(context.Context, string) error SetPrivacyModeStub func(context.Context, roomdb.PrivacyMode) error // contains filtered or unexported fields }
func (*FakeRoomConfig) GetDefaultLanguage ¶
func (fake *FakeRoomConfig) GetDefaultLanguage(arg1 context.Context) (string, error)
func (*FakeRoomConfig) GetDefaultLanguageArgsForCall ¶
func (fake *FakeRoomConfig) GetDefaultLanguageArgsForCall(i int) context.Context
func (*FakeRoomConfig) GetDefaultLanguageCallCount ¶
func (fake *FakeRoomConfig) GetDefaultLanguageCallCount() int
func (*FakeRoomConfig) GetDefaultLanguageCalls ¶
func (fake *FakeRoomConfig) GetDefaultLanguageCalls(stub func(context.Context) (string, error))
func (*FakeRoomConfig) GetDefaultLanguageReturns ¶
func (fake *FakeRoomConfig) GetDefaultLanguageReturns(result1 string, result2 error)
func (*FakeRoomConfig) GetDefaultLanguageReturnsOnCall ¶
func (fake *FakeRoomConfig) GetDefaultLanguageReturnsOnCall(i int, result1 string, result2 error)
func (*FakeRoomConfig) GetPrivacyMode ¶
func (fake *FakeRoomConfig) GetPrivacyMode(arg1 context.Context) (roomdb.PrivacyMode, error)
func (*FakeRoomConfig) GetPrivacyModeArgsForCall ¶
func (fake *FakeRoomConfig) GetPrivacyModeArgsForCall(i int) context.Context
func (*FakeRoomConfig) GetPrivacyModeCallCount ¶
func (fake *FakeRoomConfig) GetPrivacyModeCallCount() int
func (*FakeRoomConfig) GetPrivacyModeCalls ¶
func (fake *FakeRoomConfig) GetPrivacyModeCalls(stub func(context.Context) (roomdb.PrivacyMode, error))
func (*FakeRoomConfig) GetPrivacyModeReturns ¶
func (fake *FakeRoomConfig) GetPrivacyModeReturns(result1 roomdb.PrivacyMode, result2 error)
func (*FakeRoomConfig) GetPrivacyModeReturnsOnCall ¶
func (fake *FakeRoomConfig) GetPrivacyModeReturnsOnCall(i int, result1 roomdb.PrivacyMode, result2 error)
func (*FakeRoomConfig) Invocations ¶
func (fake *FakeRoomConfig) Invocations() map[string][][]interface{}
func (*FakeRoomConfig) SetDefaultLanguage ¶
func (fake *FakeRoomConfig) SetDefaultLanguage(arg1 context.Context, arg2 string) error
func (*FakeRoomConfig) SetDefaultLanguageArgsForCall ¶
func (fake *FakeRoomConfig) SetDefaultLanguageArgsForCall(i int) (context.Context, string)
func (*FakeRoomConfig) SetDefaultLanguageCallCount ¶
func (fake *FakeRoomConfig) SetDefaultLanguageCallCount() int
func (*FakeRoomConfig) SetDefaultLanguageCalls ¶
func (fake *FakeRoomConfig) SetDefaultLanguageCalls(stub func(context.Context, string) error)
func (*FakeRoomConfig) SetDefaultLanguageReturns ¶
func (fake *FakeRoomConfig) SetDefaultLanguageReturns(result1 error)
func (*FakeRoomConfig) SetDefaultLanguageReturnsOnCall ¶
func (fake *FakeRoomConfig) SetDefaultLanguageReturnsOnCall(i int, result1 error)
func (*FakeRoomConfig) SetPrivacyMode ¶
func (fake *FakeRoomConfig) SetPrivacyMode(arg1 context.Context, arg2 roomdb.PrivacyMode) error
func (*FakeRoomConfig) SetPrivacyModeArgsForCall ¶
func (fake *FakeRoomConfig) SetPrivacyModeArgsForCall(i int) (context.Context, roomdb.PrivacyMode)
func (*FakeRoomConfig) SetPrivacyModeCallCount ¶
func (fake *FakeRoomConfig) SetPrivacyModeCallCount() int
func (*FakeRoomConfig) SetPrivacyModeCalls ¶
func (fake *FakeRoomConfig) SetPrivacyModeCalls(stub func(context.Context, roomdb.PrivacyMode) error)
func (*FakeRoomConfig) SetPrivacyModeReturns ¶
func (fake *FakeRoomConfig) SetPrivacyModeReturns(result1 error)
func (*FakeRoomConfig) SetPrivacyModeReturnsOnCall ¶
func (fake *FakeRoomConfig) SetPrivacyModeReturnsOnCall(i int, result1 error)
Click to show internal directories.
Click to hide internal directories.