Documentation ¶
Overview ¶
This file was generated by counterfeiter
Index ¶
- type FakeTeamsDB
- func (fake *FakeTeamsDB) CreateTeam(data db.Team) (db.SavedTeam, error)
- func (fake *FakeTeamsDB) CreateTeamArgsForCall(i int) db.Team
- func (fake *FakeTeamsDB) CreateTeamCallCount() int
- func (fake *FakeTeamsDB) CreateTeamReturns(result1 db.SavedTeam, result2 error)
- func (fake *FakeTeamsDB) CreateTeamReturnsOnCall(i int, result1 db.SavedTeam, result2 error)
- func (fake *FakeTeamsDB) DeleteTeamByName(teamName string) error
- func (fake *FakeTeamsDB) DeleteTeamByNameArgsForCall(i int) string
- func (fake *FakeTeamsDB) DeleteTeamByNameCallCount() int
- func (fake *FakeTeamsDB) DeleteTeamByNameReturns(result1 error)
- func (fake *FakeTeamsDB) DeleteTeamByNameReturnsOnCall(i int, result1 error)
- func (fake *FakeTeamsDB) GetTeams() ([]db.SavedTeam, error)
- func (fake *FakeTeamsDB) GetTeamsCallCount() int
- func (fake *FakeTeamsDB) GetTeamsReturns(result1 []db.SavedTeam, result2 error)
- func (fake *FakeTeamsDB) GetTeamsReturnsOnCall(i int, result1 []db.SavedTeam, result2 error)
- func (fake *FakeTeamsDB) Invocations() map[string][][]interface{}
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeTeamsDB ¶
type FakeTeamsDB struct { GetTeamsStub func() ([]db.SavedTeam, error) CreateTeamStub func(data db.Team) (db.SavedTeam, error) DeleteTeamByNameStub func(teamName string) error // contains filtered or unexported fields }
func (*FakeTeamsDB) CreateTeam ¶
func (*FakeTeamsDB) CreateTeamArgsForCall ¶
func (fake *FakeTeamsDB) CreateTeamArgsForCall(i int) db.Team
func (*FakeTeamsDB) CreateTeamCallCount ¶
func (fake *FakeTeamsDB) CreateTeamCallCount() int
func (*FakeTeamsDB) CreateTeamReturns ¶
func (fake *FakeTeamsDB) CreateTeamReturns(result1 db.SavedTeam, result2 error)
func (*FakeTeamsDB) CreateTeamReturnsOnCall ¶
func (fake *FakeTeamsDB) CreateTeamReturnsOnCall(i int, result1 db.SavedTeam, result2 error)
func (*FakeTeamsDB) DeleteTeamByName ¶
func (fake *FakeTeamsDB) DeleteTeamByName(teamName string) error
func (*FakeTeamsDB) DeleteTeamByNameArgsForCall ¶
func (fake *FakeTeamsDB) DeleteTeamByNameArgsForCall(i int) string
func (*FakeTeamsDB) DeleteTeamByNameCallCount ¶
func (fake *FakeTeamsDB) DeleteTeamByNameCallCount() int
func (*FakeTeamsDB) DeleteTeamByNameReturns ¶
func (fake *FakeTeamsDB) DeleteTeamByNameReturns(result1 error)
func (*FakeTeamsDB) DeleteTeamByNameReturnsOnCall ¶
func (fake *FakeTeamsDB) DeleteTeamByNameReturnsOnCall(i int, result1 error)
func (*FakeTeamsDB) GetTeamsCallCount ¶
func (fake *FakeTeamsDB) GetTeamsCallCount() int
func (*FakeTeamsDB) GetTeamsReturns ¶
func (fake *FakeTeamsDB) GetTeamsReturns(result1 []db.SavedTeam, result2 error)
func (*FakeTeamsDB) GetTeamsReturnsOnCall ¶
func (fake *FakeTeamsDB) GetTeamsReturnsOnCall(i int, result1 []db.SavedTeam, result2 error)
func (*FakeTeamsDB) Invocations ¶
func (fake *FakeTeamsDB) Invocations() map[string][][]interface{}
Click to show internal directories.
Click to hide internal directories.