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.
Index ¶
- type FakeCompletePassword
- func (fake *FakeCompletePassword) Hash() []byte
- func (fake *FakeCompletePassword) HashCallCount() int
- func (fake *FakeCompletePassword) HashReturns(result1 []byte)
- func (fake *FakeCompletePassword) HashReturnsOnCall(i int, result1 []byte)
- func (fake *FakeCompletePassword) Invocations() map[string][][]interface{}
- type FakeIdentifier
- type FakeIncompletePassword
- func (fake *FakeIncompletePassword) Invocations() map[string][][]interface{}
- func (fake *FakeIncompletePassword) Password() string
- func (fake *FakeIncompletePassword) PasswordCallCount() int
- func (fake *FakeIncompletePassword) PasswordReturns(result1 string)
- func (fake *FakeIncompletePassword) PasswordReturnsOnCall(i int, result1 string)
- type FakeManager
- func (fake *FakeManager) CheckPassword(ctx context.Context, id user.Identifier, incPw user.IncompletePassword) error
- func (fake *FakeManager) CheckPasswordArgsForCall(i int) (context.Context, user.Identifier, user.IncompletePassword)
- func (fake *FakeManager) CheckPasswordCallCount() int
- func (fake *FakeManager) CheckPasswordReturns(result1 error)
- func (fake *FakeManager) CheckPasswordReturnsOnCall(i int, result1 error)
- func (fake *FakeManager) Create(ctx context.Context, inc user.Incomplete) (user.Complete, error)
- func (fake *FakeManager) CreateArgsForCall(i int) (context.Context, user.Incomplete)
- func (fake *FakeManager) CreateCallCount() int
- func (fake *FakeManager) CreateReturns(result1 user.Complete, result2 error)
- func (fake *FakeManager) CreateReturnsOnCall(i int, result1 user.Complete, result2 error)
- func (fake *FakeManager) Delete(ctx context.Context, id user.Identifier) error
- func (fake *FakeManager) DeleteArgsForCall(i int) (context.Context, user.Identifier)
- func (fake *FakeManager) DeleteCallCount() int
- func (fake *FakeManager) DeleteReturns(result1 error)
- func (fake *FakeManager) DeleteReturnsOnCall(i int, result1 error)
- func (fake *FakeManager) Get(ctx context.Context, id user.Identifier) (user.Complete, error)
- func (fake *FakeManager) GetArgsForCall(i int) (context.Context, user.Identifier)
- func (fake *FakeManager) GetByGameSerialHash(ctx context.Context, hash string) (user.Complete, error)
- func (fake *FakeManager) GetByGameSerialHashArgsForCall(i int) (context.Context, string)
- func (fake *FakeManager) GetByGameSerialHashCallCount() int
- func (fake *FakeManager) GetByGameSerialHashReturns(result1 user.Complete, result2 error)
- func (fake *FakeManager) GetByGameSerialHashReturnsOnCall(i int, result1 user.Complete, result2 error)
- func (fake *FakeManager) GetByWCFUserID(ctx context.Context, wcfUserID user.WCFUserID) (user.Complete, error)
- func (fake *FakeManager) GetByWCFUserIDArgsForCall(i int) (context.Context, user.WCFUserID)
- func (fake *FakeManager) GetByWCFUserIDCallCount() int
- func (fake *FakeManager) GetByWCFUserIDReturns(result1 user.Complete, result2 error)
- func (fake *FakeManager) GetByWCFUserIDReturnsOnCall(i int, result1 user.Complete, result2 error)
- func (fake *FakeManager) GetCallCount() int
- func (fake *FakeManager) GetReturns(result1 user.Complete, result2 error)
- func (fake *FakeManager) GetReturnsOnCall(i int, result1 user.Complete, result2 error)
- func (fake *FakeManager) GetRoles(ctx context.Context, id user.Identifier) (rbac.AccountRoles, error)
- func (fake *FakeManager) GetRolesArgsForCall(i int) (context.Context, user.Identifier)
- func (fake *FakeManager) GetRolesCallCount() int
- func (fake *FakeManager) GetRolesReturns(result1 rbac.AccountRoles, result2 error)
- func (fake *FakeManager) GetRolesReturnsOnCall(i int, result1 rbac.AccountRoles, result2 error)
- func (fake *FakeManager) GetWCFInfo(ctx context.Context, name string) (*user.WCFUserInfo, error)
- func (fake *FakeManager) GetWCFInfoArgsForCall(i int) (context.Context, string)
- func (fake *FakeManager) GetWCFInfoCallCount() int
- func (fake *FakeManager) GetWCFInfoReturns(result1 *user.WCFUserInfo, result2 error)
- func (fake *FakeManager) GetWCFInfoReturnsOnCall(i int, result1 *user.WCFUserInfo, result2 error)
- func (fake *FakeManager) Invocations() map[string][][]interface{}
- func (fake *FakeManager) SetRoles(ctx context.Context, id user.Identifier, roles rbac.AccountRoles) error
- func (fake *FakeManager) SetRolesArgsForCall(i int) (context.Context, user.Identifier, rbac.AccountRoles)
- func (fake *FakeManager) SetRolesCallCount() int
- func (fake *FakeManager) SetRolesReturns(result1 error)
- func (fake *FakeManager) SetRolesReturnsOnCall(i int, result1 error)
- func (fake *FakeManager) Update(ctx context.Context, c user.Complete) error
- func (fake *FakeManager) UpdateArgsForCall(i int) (context.Context, user.Complete)
- func (fake *FakeManager) UpdateCallCount() int
- func (fake *FakeManager) UpdateReturns(result1 error)
- func (fake *FakeManager) UpdateReturnsOnCall(i int, result1 error)
- type FakeRepository
- func (fake *FakeRepository) Create(arg1 context.Context, arg2 user.Incomplete) (user.Complete, error)
- func (fake *FakeRepository) CreateArgsForCall(i int) (context.Context, user.Incomplete)
- func (fake *FakeRepository) CreateCallCount() int
- func (fake *FakeRepository) CreateReturns(result1 user.Complete, result2 error)
- func (fake *FakeRepository) CreateReturnsOnCall(i int, result1 user.Complete, result2 error)
- func (fake *FakeRepository) Delete(arg1 context.Context, arg2 user.Identifier) error
- func (fake *FakeRepository) DeleteArgsForCall(i int) (context.Context, user.Identifier)
- func (fake *FakeRepository) DeleteCallCount() int
- func (fake *FakeRepository) DeleteReturns(result1 error)
- func (fake *FakeRepository) DeleteReturnsOnCall(i int, result1 error)
- func (fake *FakeRepository) Get(arg1 context.Context, arg2 user.Identifier) (user.Complete, error)
- func (fake *FakeRepository) GetArgsForCall(i int) (context.Context, user.Identifier)
- func (fake *FakeRepository) GetByGameSerialHash(arg1 context.Context, arg2 string) (user.Complete, error)
- func (fake *FakeRepository) GetByGameSerialHashArgsForCall(i int) (context.Context, string)
- func (fake *FakeRepository) GetByGameSerialHashCallCount() int
- func (fake *FakeRepository) GetByGameSerialHashReturns(result1 user.Complete, result2 error)
- func (fake *FakeRepository) GetByGameSerialHashReturnsOnCall(i int, result1 user.Complete, result2 error)
- func (fake *FakeRepository) GetByWCFUserID(arg1 context.Context, arg2 user.WCFUserID) (user.Complete, error)
- func (fake *FakeRepository) GetByWCFUserIDArgsForCall(i int) (context.Context, user.WCFUserID)
- func (fake *FakeRepository) GetByWCFUserIDCallCount() int
- func (fake *FakeRepository) GetByWCFUserIDReturns(result1 user.Complete, result2 error)
- func (fake *FakeRepository) GetByWCFUserIDReturnsOnCall(i int, result1 user.Complete, result2 error)
- func (fake *FakeRepository) GetCallCount() int
- func (fake *FakeRepository) GetReturns(result1 user.Complete, result2 error)
- func (fake *FakeRepository) GetReturnsOnCall(i int, result1 user.Complete, result2 error)
- func (fake *FakeRepository) Invocations() map[string][][]interface{}
- func (fake *FakeRepository) Update(arg1 context.Context, arg2 user.Complete) error
- func (fake *FakeRepository) UpdateArgsForCall(i int) (context.Context, user.Complete)
- func (fake *FakeRepository) UpdateCallCount() int
- func (fake *FakeRepository) UpdateReturns(result1 error)
- func (fake *FakeRepository) UpdateReturnsOnCall(i int, result1 error)
- type FakeWCFRepository
- func (fake *FakeWCFRepository) GetInfo(arg1 context.Context, arg2 user.WCFUserID) (*user.WCFUserInfo, error)
- func (fake *FakeWCFRepository) GetInfoArgsForCall(i int) (context.Context, user.WCFUserID)
- func (fake *FakeWCFRepository) GetInfoByEmail(arg1 context.Context, arg2 string) (*user.WCFUserInfo, error)
- func (fake *FakeWCFRepository) GetInfoByEmailArgsForCall(i int) (context.Context, string)
- func (fake *FakeWCFRepository) GetInfoByEmailCallCount() int
- func (fake *FakeWCFRepository) GetInfoByEmailReturns(result1 *user.WCFUserInfo, result2 error)
- func (fake *FakeWCFRepository) GetInfoByEmailReturnsOnCall(i int, result1 *user.WCFUserInfo, result2 error)
- func (fake *FakeWCFRepository) GetInfoByUsername(arg1 context.Context, arg2 string) (*user.WCFUserInfo, error)
- func (fake *FakeWCFRepository) GetInfoByUsernameArgsForCall(i int) (context.Context, string)
- func (fake *FakeWCFRepository) GetInfoByUsernameCallCount() int
- func (fake *FakeWCFRepository) GetInfoByUsernameReturns(result1 *user.WCFUserInfo, result2 error)
- func (fake *FakeWCFRepository) GetInfoByUsernameReturnsOnCall(i int, result1 *user.WCFUserInfo, result2 error)
- func (fake *FakeWCFRepository) GetInfoCallCount() int
- func (fake *FakeWCFRepository) GetInfoReturns(result1 *user.WCFUserInfo, result2 error)
- func (fake *FakeWCFRepository) GetInfoReturnsOnCall(i int, result1 *user.WCFUserInfo, result2 error)
- func (fake *FakeWCFRepository) Invocations() map[string][][]interface{}
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeCompletePassword ¶
type FakeCompletePassword struct { HashStub func() []byte // contains filtered or unexported fields }
func (*FakeCompletePassword) Hash ¶
func (fake *FakeCompletePassword) Hash() []byte
func (*FakeCompletePassword) HashCallCount ¶
func (fake *FakeCompletePassword) HashCallCount() int
func (*FakeCompletePassword) HashReturns ¶
func (fake *FakeCompletePassword) HashReturns(result1 []byte)
func (*FakeCompletePassword) HashReturnsOnCall ¶
func (fake *FakeCompletePassword) HashReturnsOnCall(i int, result1 []byte)
func (*FakeCompletePassword) Invocations ¶
func (fake *FakeCompletePassword) Invocations() map[string][][]interface{}
type FakeIdentifier ¶
type FakeIdentifier struct { UUIDStub func() string // contains filtered or unexported fields }
func (*FakeIdentifier) Invocations ¶
func (fake *FakeIdentifier) Invocations() map[string][][]interface{}
func (*FakeIdentifier) UUID ¶
func (fake *FakeIdentifier) UUID() string
func (*FakeIdentifier) UUIDCallCount ¶
func (fake *FakeIdentifier) UUIDCallCount() int
func (*FakeIdentifier) UUIDReturns ¶
func (fake *FakeIdentifier) UUIDReturns(result1 string)
func (*FakeIdentifier) UUIDReturnsOnCall ¶
func (fake *FakeIdentifier) UUIDReturnsOnCall(i int, result1 string)
type FakeIncompletePassword ¶
type FakeIncompletePassword struct { PasswordStub func() string // contains filtered or unexported fields }
func (*FakeIncompletePassword) Invocations ¶
func (fake *FakeIncompletePassword) Invocations() map[string][][]interface{}
func (*FakeIncompletePassword) Password ¶
func (fake *FakeIncompletePassword) Password() string
func (*FakeIncompletePassword) PasswordCallCount ¶
func (fake *FakeIncompletePassword) PasswordCallCount() int
func (*FakeIncompletePassword) PasswordReturns ¶
func (fake *FakeIncompletePassword) PasswordReturns(result1 string)
func (*FakeIncompletePassword) PasswordReturnsOnCall ¶
func (fake *FakeIncompletePassword) PasswordReturnsOnCall(i int, result1 string)
type FakeManager ¶
type FakeManager struct { GetStub func(ctx context.Context, id user.Identifier) (user.Complete, error) GetByGameSerialHashStub func(ctx context.Context, hash string) (user.Complete, error) GetByWCFUserIDStub func(ctx context.Context, wcfUserID user.WCFUserID) (user.Complete, error) CreateStub func(ctx context.Context, inc user.Incomplete) (user.Complete, error) DeleteStub func(ctx context.Context, id user.Identifier) error GetWCFInfoStub func(ctx context.Context, name string) (*user.WCFUserInfo, error) UpdateStub func(ctx context.Context, c user.Complete) error CheckPasswordStub func(ctx context.Context, id user.Identifier, incPw user.IncompletePassword) error GetRolesStub func(ctx context.Context, id user.Identifier) (rbac.AccountRoles, error) SetRolesStub func(ctx context.Context, id user.Identifier, roles rbac.AccountRoles) error // contains filtered or unexported fields }
func (*FakeManager) CheckPassword ¶
func (fake *FakeManager) CheckPassword(ctx context.Context, id user.Identifier, incPw user.IncompletePassword) error
func (*FakeManager) CheckPasswordArgsForCall ¶
func (fake *FakeManager) CheckPasswordArgsForCall(i int) (context.Context, user.Identifier, user.IncompletePassword)
func (*FakeManager) CheckPasswordCallCount ¶
func (fake *FakeManager) CheckPasswordCallCount() int
func (*FakeManager) CheckPasswordReturns ¶
func (fake *FakeManager) CheckPasswordReturns(result1 error)
func (*FakeManager) CheckPasswordReturnsOnCall ¶
func (fake *FakeManager) CheckPasswordReturnsOnCall(i int, result1 error)
func (*FakeManager) Create ¶
func (fake *FakeManager) Create(ctx context.Context, inc user.Incomplete) (user.Complete, error)
func (*FakeManager) CreateArgsForCall ¶
func (fake *FakeManager) CreateArgsForCall(i int) (context.Context, user.Incomplete)
func (*FakeManager) CreateCallCount ¶
func (fake *FakeManager) CreateCallCount() int
func (*FakeManager) CreateReturns ¶
func (fake *FakeManager) CreateReturns(result1 user.Complete, result2 error)
func (*FakeManager) CreateReturnsOnCall ¶
func (fake *FakeManager) CreateReturnsOnCall(i int, result1 user.Complete, result2 error)
func (*FakeManager) Delete ¶
func (fake *FakeManager) Delete(ctx context.Context, id user.Identifier) error
func (*FakeManager) DeleteArgsForCall ¶
func (fake *FakeManager) DeleteArgsForCall(i int) (context.Context, user.Identifier)
func (*FakeManager) DeleteCallCount ¶
func (fake *FakeManager) DeleteCallCount() int
func (*FakeManager) DeleteReturns ¶
func (fake *FakeManager) DeleteReturns(result1 error)
func (*FakeManager) DeleteReturnsOnCall ¶
func (fake *FakeManager) DeleteReturnsOnCall(i int, result1 error)
func (*FakeManager) Get ¶
func (fake *FakeManager) Get(ctx context.Context, id user.Identifier) (user.Complete, error)
func (*FakeManager) GetArgsForCall ¶
func (fake *FakeManager) GetArgsForCall(i int) (context.Context, user.Identifier)
func (*FakeManager) GetByGameSerialHash ¶
func (*FakeManager) GetByGameSerialHashArgsForCall ¶
func (fake *FakeManager) GetByGameSerialHashArgsForCall(i int) (context.Context, string)
func (*FakeManager) GetByGameSerialHashCallCount ¶
func (fake *FakeManager) GetByGameSerialHashCallCount() int
func (*FakeManager) GetByGameSerialHashReturns ¶
func (fake *FakeManager) GetByGameSerialHashReturns(result1 user.Complete, result2 error)
func (*FakeManager) GetByGameSerialHashReturnsOnCall ¶
func (fake *FakeManager) GetByGameSerialHashReturnsOnCall(i int, result1 user.Complete, result2 error)
func (*FakeManager) GetByWCFUserID ¶
func (*FakeManager) GetByWCFUserIDArgsForCall ¶
func (*FakeManager) GetByWCFUserIDCallCount ¶
func (fake *FakeManager) GetByWCFUserIDCallCount() int
func (*FakeManager) GetByWCFUserIDReturns ¶
func (fake *FakeManager) GetByWCFUserIDReturns(result1 user.Complete, result2 error)
func (*FakeManager) GetByWCFUserIDReturnsOnCall ¶
func (fake *FakeManager) GetByWCFUserIDReturnsOnCall(i int, result1 user.Complete, result2 error)
func (*FakeManager) GetCallCount ¶
func (fake *FakeManager) GetCallCount() int
func (*FakeManager) GetReturns ¶
func (fake *FakeManager) GetReturns(result1 user.Complete, result2 error)
func (*FakeManager) GetReturnsOnCall ¶
func (fake *FakeManager) GetReturnsOnCall(i int, result1 user.Complete, result2 error)
func (*FakeManager) GetRoles ¶
func (fake *FakeManager) GetRoles(ctx context.Context, id user.Identifier) (rbac.AccountRoles, error)
func (*FakeManager) GetRolesArgsForCall ¶
func (fake *FakeManager) GetRolesArgsForCall(i int) (context.Context, user.Identifier)
func (*FakeManager) GetRolesCallCount ¶
func (fake *FakeManager) GetRolesCallCount() int
func (*FakeManager) GetRolesReturns ¶
func (fake *FakeManager) GetRolesReturns(result1 rbac.AccountRoles, result2 error)
func (*FakeManager) GetRolesReturnsOnCall ¶
func (fake *FakeManager) GetRolesReturnsOnCall(i int, result1 rbac.AccountRoles, result2 error)
func (*FakeManager) GetWCFInfo ¶
func (fake *FakeManager) GetWCFInfo(ctx context.Context, name string) (*user.WCFUserInfo, error)
func (*FakeManager) GetWCFInfoArgsForCall ¶
func (fake *FakeManager) GetWCFInfoArgsForCall(i int) (context.Context, string)
func (*FakeManager) GetWCFInfoCallCount ¶
func (fake *FakeManager) GetWCFInfoCallCount() int
func (*FakeManager) GetWCFInfoReturns ¶
func (fake *FakeManager) GetWCFInfoReturns(result1 *user.WCFUserInfo, result2 error)
func (*FakeManager) GetWCFInfoReturnsOnCall ¶
func (fake *FakeManager) GetWCFInfoReturnsOnCall(i int, result1 *user.WCFUserInfo, result2 error)
func (*FakeManager) Invocations ¶
func (fake *FakeManager) Invocations() map[string][][]interface{}
func (*FakeManager) SetRoles ¶
func (fake *FakeManager) SetRoles(ctx context.Context, id user.Identifier, roles rbac.AccountRoles) error
func (*FakeManager) SetRolesArgsForCall ¶
func (fake *FakeManager) SetRolesArgsForCall(i int) (context.Context, user.Identifier, rbac.AccountRoles)
func (*FakeManager) SetRolesCallCount ¶
func (fake *FakeManager) SetRolesCallCount() int
func (*FakeManager) SetRolesReturns ¶
func (fake *FakeManager) SetRolesReturns(result1 error)
func (*FakeManager) SetRolesReturnsOnCall ¶
func (fake *FakeManager) SetRolesReturnsOnCall(i int, result1 error)
func (*FakeManager) UpdateArgsForCall ¶
func (*FakeManager) UpdateCallCount ¶
func (fake *FakeManager) UpdateCallCount() int
func (*FakeManager) UpdateReturns ¶
func (fake *FakeManager) UpdateReturns(result1 error)
func (*FakeManager) UpdateReturnsOnCall ¶
func (fake *FakeManager) UpdateReturnsOnCall(i int, result1 error)
type FakeRepository ¶
type FakeRepository struct { GetStub func(context.Context, user.Identifier) (user.Complete, error) GetByGameSerialHashStub func(context.Context, string) (user.Complete, error) GetByWCFUserIDStub func(context.Context, user.WCFUserID) (user.Complete, error) CreateStub func(context.Context, user.Incomplete) (user.Complete, error) UpdateStub func(context.Context, user.Complete) error DeleteStub func(context.Context, user.Identifier) error // contains filtered or unexported fields }
func (*FakeRepository) Create ¶
func (fake *FakeRepository) Create(arg1 context.Context, arg2 user.Incomplete) (user.Complete, error)
func (*FakeRepository) CreateArgsForCall ¶
func (fake *FakeRepository) CreateArgsForCall(i int) (context.Context, user.Incomplete)
func (*FakeRepository) CreateCallCount ¶
func (fake *FakeRepository) CreateCallCount() int
func (*FakeRepository) CreateReturns ¶
func (fake *FakeRepository) CreateReturns(result1 user.Complete, result2 error)
func (*FakeRepository) CreateReturnsOnCall ¶
func (fake *FakeRepository) CreateReturnsOnCall(i int, result1 user.Complete, result2 error)
func (*FakeRepository) Delete ¶
func (fake *FakeRepository) Delete(arg1 context.Context, arg2 user.Identifier) error
func (*FakeRepository) DeleteArgsForCall ¶
func (fake *FakeRepository) DeleteArgsForCall(i int) (context.Context, user.Identifier)
func (*FakeRepository) DeleteCallCount ¶
func (fake *FakeRepository) DeleteCallCount() int
func (*FakeRepository) DeleteReturns ¶
func (fake *FakeRepository) DeleteReturns(result1 error)
func (*FakeRepository) DeleteReturnsOnCall ¶
func (fake *FakeRepository) DeleteReturnsOnCall(i int, result1 error)
func (*FakeRepository) Get ¶
func (fake *FakeRepository) Get(arg1 context.Context, arg2 user.Identifier) (user.Complete, error)
func (*FakeRepository) GetArgsForCall ¶
func (fake *FakeRepository) GetArgsForCall(i int) (context.Context, user.Identifier)
func (*FakeRepository) GetByGameSerialHash ¶
func (*FakeRepository) GetByGameSerialHashArgsForCall ¶
func (fake *FakeRepository) GetByGameSerialHashArgsForCall(i int) (context.Context, string)
func (*FakeRepository) GetByGameSerialHashCallCount ¶
func (fake *FakeRepository) GetByGameSerialHashCallCount() int
func (*FakeRepository) GetByGameSerialHashReturns ¶
func (fake *FakeRepository) GetByGameSerialHashReturns(result1 user.Complete, result2 error)
func (*FakeRepository) GetByGameSerialHashReturnsOnCall ¶
func (fake *FakeRepository) GetByGameSerialHashReturnsOnCall(i int, result1 user.Complete, result2 error)
func (*FakeRepository) GetByWCFUserID ¶
func (*FakeRepository) GetByWCFUserIDArgsForCall ¶
func (*FakeRepository) GetByWCFUserIDCallCount ¶
func (fake *FakeRepository) GetByWCFUserIDCallCount() int
func (*FakeRepository) GetByWCFUserIDReturns ¶
func (fake *FakeRepository) GetByWCFUserIDReturns(result1 user.Complete, result2 error)
func (*FakeRepository) GetByWCFUserIDReturnsOnCall ¶
func (fake *FakeRepository) GetByWCFUserIDReturnsOnCall(i int, result1 user.Complete, result2 error)
func (*FakeRepository) GetCallCount ¶
func (fake *FakeRepository) GetCallCount() int
func (*FakeRepository) GetReturns ¶
func (fake *FakeRepository) GetReturns(result1 user.Complete, result2 error)
func (*FakeRepository) GetReturnsOnCall ¶
func (fake *FakeRepository) GetReturnsOnCall(i int, result1 user.Complete, result2 error)
func (*FakeRepository) Invocations ¶
func (fake *FakeRepository) Invocations() map[string][][]interface{}
func (*FakeRepository) UpdateArgsForCall ¶
func (*FakeRepository) UpdateCallCount ¶
func (fake *FakeRepository) UpdateCallCount() int
func (*FakeRepository) UpdateReturns ¶
func (fake *FakeRepository) UpdateReturns(result1 error)
func (*FakeRepository) UpdateReturnsOnCall ¶
func (fake *FakeRepository) UpdateReturnsOnCall(i int, result1 error)
type FakeWCFRepository ¶
type FakeWCFRepository struct { GetInfoStub func(context.Context, user.WCFUserID) (*user.WCFUserInfo, error) GetInfoByEmailStub func(context.Context, string) (*user.WCFUserInfo, error) GetInfoByUsernameStub func(context.Context, string) (*user.WCFUserInfo, error) // contains filtered or unexported fields }
func (*FakeWCFRepository) GetInfo ¶
func (fake *FakeWCFRepository) GetInfo(arg1 context.Context, arg2 user.WCFUserID) (*user.WCFUserInfo, error)
func (*FakeWCFRepository) GetInfoArgsForCall ¶
func (*FakeWCFRepository) GetInfoByEmail ¶
func (fake *FakeWCFRepository) GetInfoByEmail(arg1 context.Context, arg2 string) (*user.WCFUserInfo, error)
func (*FakeWCFRepository) GetInfoByEmailArgsForCall ¶
func (fake *FakeWCFRepository) GetInfoByEmailArgsForCall(i int) (context.Context, string)
func (*FakeWCFRepository) GetInfoByEmailCallCount ¶
func (fake *FakeWCFRepository) GetInfoByEmailCallCount() int
func (*FakeWCFRepository) GetInfoByEmailReturns ¶
func (fake *FakeWCFRepository) GetInfoByEmailReturns(result1 *user.WCFUserInfo, result2 error)
func (*FakeWCFRepository) GetInfoByEmailReturnsOnCall ¶
func (fake *FakeWCFRepository) GetInfoByEmailReturnsOnCall(i int, result1 *user.WCFUserInfo, result2 error)
func (*FakeWCFRepository) GetInfoByUsername ¶
func (fake *FakeWCFRepository) GetInfoByUsername(arg1 context.Context, arg2 string) (*user.WCFUserInfo, error)
func (*FakeWCFRepository) GetInfoByUsernameArgsForCall ¶
func (fake *FakeWCFRepository) GetInfoByUsernameArgsForCall(i int) (context.Context, string)
func (*FakeWCFRepository) GetInfoByUsernameCallCount ¶
func (fake *FakeWCFRepository) GetInfoByUsernameCallCount() int
func (*FakeWCFRepository) GetInfoByUsernameReturns ¶
func (fake *FakeWCFRepository) GetInfoByUsernameReturns(result1 *user.WCFUserInfo, result2 error)
func (*FakeWCFRepository) GetInfoByUsernameReturnsOnCall ¶
func (fake *FakeWCFRepository) GetInfoByUsernameReturnsOnCall(i int, result1 *user.WCFUserInfo, result2 error)
func (*FakeWCFRepository) GetInfoCallCount ¶
func (fake *FakeWCFRepository) GetInfoCallCount() int
func (*FakeWCFRepository) GetInfoReturns ¶
func (fake *FakeWCFRepository) GetInfoReturns(result1 *user.WCFUserInfo, result2 error)
func (*FakeWCFRepository) GetInfoReturnsOnCall ¶
func (fake *FakeWCFRepository) GetInfoReturnsOnCall(i int, result1 *user.WCFUserInfo, result2 error)
func (*FakeWCFRepository) Invocations ¶
func (fake *FakeWCFRepository) Invocations() map[string][][]interface{}
Click to show internal directories.
Click to hide internal directories.