mocks

package
v0.0.0-...-50815b3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 24, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeDBClient

type FakeDBClient struct {
	AddNewApplicantStub func(string, *models.Applicant) error

	AddNewApplicationStub func(string, *models.Application) error

	AddNewClubStub func(*models.Club, *models.ClubUser) error

	AddNewEventStub func(string, *models.EventProps) error

	AddNewPeriodStub func(string, *models.Period) error

	AddNewUserStub func(*models.User, *models.EmailVerification) error

	AddTagStub func(string, *models.Tag) error

	DeleteApplicantStub func(string, string, string) error

	DeleteApplicationStub func(string, string, string, string) error

	DeleteClubStub func(string) error

	DeleteEventStub func(string, string, string) error

	DeleteTagStub func(string, string, string) error

	DeleteUserStub func(string) error

	GetAllClubUsersStub func(string) ([]*models.ClubUser, error)

	GetApplicantStub func(string, string, string) (*models.Applicant, error)

	GetApplicantsStub func(string, string) ([]*models.Applicant, error)

	GetApplicationStub func(string, string, string, string) (*models.Application, error)

	GetApplicationsStub func(string, string, string) ([]*models.Application, error)

	GetClubStub func(string) (*models.Club, error)

	GetEmailVerificationStub func(string, string) (*models.EmailVerification, error)

	GetEventStub func(string, string, string) (*models.EventProps, error)

	GetEventsStub func(string, string) ([]*models.EventProps, error)

	GetTagsStub func(string, string) ([]*models.Tag, error)

	GetUserStub func(string) (*models.User, error)
	// contains filtered or unexported fields
}

func (*FakeDBClient) AddNewApplicant

func (fake *FakeDBClient) AddNewApplicant(arg1 string, arg2 *models.Applicant) error

func (*FakeDBClient) AddNewApplicantArgsForCall

func (fake *FakeDBClient) AddNewApplicantArgsForCall(i int) (string, *models.Applicant)

func (*FakeDBClient) AddNewApplicantCallCount

func (fake *FakeDBClient) AddNewApplicantCallCount() int

func (*FakeDBClient) AddNewApplicantCalls

func (fake *FakeDBClient) AddNewApplicantCalls(stub func(string, *models.Applicant) error)

func (*FakeDBClient) AddNewApplicantReturns

func (fake *FakeDBClient) AddNewApplicantReturns(result1 error)

func (*FakeDBClient) AddNewApplicantReturnsOnCall

func (fake *FakeDBClient) AddNewApplicantReturnsOnCall(i int, result1 error)

func (*FakeDBClient) AddNewApplication

func (fake *FakeDBClient) AddNewApplication(arg1 string, arg2 *models.Application) error

func (*FakeDBClient) AddNewApplicationArgsForCall

func (fake *FakeDBClient) AddNewApplicationArgsForCall(i int) (string, *models.Application)

func (*FakeDBClient) AddNewApplicationCallCount

func (fake *FakeDBClient) AddNewApplicationCallCount() int

func (*FakeDBClient) AddNewApplicationCalls

func (fake *FakeDBClient) AddNewApplicationCalls(stub func(string, *models.Application) error)

func (*FakeDBClient) AddNewApplicationReturns

func (fake *FakeDBClient) AddNewApplicationReturns(result1 error)

func (*FakeDBClient) AddNewApplicationReturnsOnCall

func (fake *FakeDBClient) AddNewApplicationReturnsOnCall(i int, result1 error)

func (*FakeDBClient) AddNewClub

func (fake *FakeDBClient) AddNewClub(arg1 *models.Club, arg2 *models.ClubUser) error

func (*FakeDBClient) AddNewClubArgsForCall

func (fake *FakeDBClient) AddNewClubArgsForCall(i int) (*models.Club, *models.ClubUser)

func (*FakeDBClient) AddNewClubCallCount

func (fake *FakeDBClient) AddNewClubCallCount() int

func (*FakeDBClient) AddNewClubCalls

func (fake *FakeDBClient) AddNewClubCalls(stub func(*models.Club, *models.ClubUser) error)

func (*FakeDBClient) AddNewClubReturns

func (fake *FakeDBClient) AddNewClubReturns(result1 error)

func (*FakeDBClient) AddNewClubReturnsOnCall

func (fake *FakeDBClient) AddNewClubReturnsOnCall(i int, result1 error)

func (*FakeDBClient) AddNewEvent

func (fake *FakeDBClient) AddNewEvent(arg1 string, arg2 *models.EventProps) error

func (*FakeDBClient) AddNewEventArgsForCall

func (fake *FakeDBClient) AddNewEventArgsForCall(i int) (string, *models.EventProps)

func (*FakeDBClient) AddNewEventCallCount

func (fake *FakeDBClient) AddNewEventCallCount() int

func (*FakeDBClient) AddNewEventCalls

func (fake *FakeDBClient) AddNewEventCalls(stub func(string, *models.EventProps) error)

func (*FakeDBClient) AddNewEventReturns

func (fake *FakeDBClient) AddNewEventReturns(result1 error)

func (*FakeDBClient) AddNewEventReturnsOnCall

func (fake *FakeDBClient) AddNewEventReturnsOnCall(i int, result1 error)

func (*FakeDBClient) AddNewPeriod

func (fake *FakeDBClient) AddNewPeriod(arg1 string, arg2 *models.Period) error

func (*FakeDBClient) AddNewPeriodArgsForCall

func (fake *FakeDBClient) AddNewPeriodArgsForCall(i int) (string, *models.Period)

func (*FakeDBClient) AddNewPeriodCallCount

func (fake *FakeDBClient) AddNewPeriodCallCount() int

func (*FakeDBClient) AddNewPeriodCalls

func (fake *FakeDBClient) AddNewPeriodCalls(stub func(string, *models.Period) error)

func (*FakeDBClient) AddNewPeriodReturns

func (fake *FakeDBClient) AddNewPeriodReturns(result1 error)

func (*FakeDBClient) AddNewPeriodReturnsOnCall

func (fake *FakeDBClient) AddNewPeriodReturnsOnCall(i int, result1 error)

func (*FakeDBClient) AddNewUser

func (fake *FakeDBClient) AddNewUser(arg1 *models.User, arg2 *models.EmailVerification) error

func (*FakeDBClient) AddNewUserArgsForCall

func (fake *FakeDBClient) AddNewUserArgsForCall(i int) (*models.User, *models.EmailVerification)

func (*FakeDBClient) AddNewUserCallCount

func (fake *FakeDBClient) AddNewUserCallCount() int

func (*FakeDBClient) AddNewUserCalls

func (fake *FakeDBClient) AddNewUserCalls(stub func(*models.User, *models.EmailVerification) error)

func (*FakeDBClient) AddNewUserReturns

func (fake *FakeDBClient) AddNewUserReturns(result1 error)

func (*FakeDBClient) AddNewUserReturnsOnCall

func (fake *FakeDBClient) AddNewUserReturnsOnCall(i int, result1 error)

func (*FakeDBClient) AddTag

func (fake *FakeDBClient) AddTag(arg1 string, arg2 *models.Tag) error

func (*FakeDBClient) AddTagArgsForCall

func (fake *FakeDBClient) AddTagArgsForCall(i int) (string, *models.Tag)

func (*FakeDBClient) AddTagCallCount

func (fake *FakeDBClient) AddTagCallCount() int

func (*FakeDBClient) AddTagCalls

func (fake *FakeDBClient) AddTagCalls(stub func(string, *models.Tag) error)

func (*FakeDBClient) AddTagReturns

func (fake *FakeDBClient) AddTagReturns(result1 error)

func (*FakeDBClient) AddTagReturnsOnCall

func (fake *FakeDBClient) AddTagReturnsOnCall(i int, result1 error)

func (*FakeDBClient) DeleteApplicant

func (fake *FakeDBClient) DeleteApplicant(arg1 string, arg2 string, arg3 string) error

func (*FakeDBClient) DeleteApplicantArgsForCall

func (fake *FakeDBClient) DeleteApplicantArgsForCall(i int) (string, string, string)

func (*FakeDBClient) DeleteApplicantCallCount

func (fake *FakeDBClient) DeleteApplicantCallCount() int

func (*FakeDBClient) DeleteApplicantCalls

func (fake *FakeDBClient) DeleteApplicantCalls(stub func(string, string, string) error)

func (*FakeDBClient) DeleteApplicantReturns

func (fake *FakeDBClient) DeleteApplicantReturns(result1 error)

func (*FakeDBClient) DeleteApplicantReturnsOnCall

func (fake *FakeDBClient) DeleteApplicantReturnsOnCall(i int, result1 error)

func (*FakeDBClient) DeleteApplication

func (fake *FakeDBClient) DeleteApplication(arg1 string, arg2 string, arg3 string, arg4 string) error

func (*FakeDBClient) DeleteApplicationArgsForCall

func (fake *FakeDBClient) DeleteApplicationArgsForCall(i int) (string, string, string, string)

func (*FakeDBClient) DeleteApplicationCallCount

func (fake *FakeDBClient) DeleteApplicationCallCount() int

func (*FakeDBClient) DeleteApplicationCalls

func (fake *FakeDBClient) DeleteApplicationCalls(stub func(string, string, string, string) error)

func (*FakeDBClient) DeleteApplicationReturns

func (fake *FakeDBClient) DeleteApplicationReturns(result1 error)

func (*FakeDBClient) DeleteApplicationReturnsOnCall

func (fake *FakeDBClient) DeleteApplicationReturnsOnCall(i int, result1 error)

func (*FakeDBClient) DeleteClub

func (fake *FakeDBClient) DeleteClub(arg1 string) error

func (*FakeDBClient) DeleteClubArgsForCall

func (fake *FakeDBClient) DeleteClubArgsForCall(i int) string

func (*FakeDBClient) DeleteClubCallCount

func (fake *FakeDBClient) DeleteClubCallCount() int

func (*FakeDBClient) DeleteClubCalls

func (fake *FakeDBClient) DeleteClubCalls(stub func(string) error)

func (*FakeDBClient) DeleteClubReturns

func (fake *FakeDBClient) DeleteClubReturns(result1 error)

func (*FakeDBClient) DeleteClubReturnsOnCall

func (fake *FakeDBClient) DeleteClubReturnsOnCall(i int, result1 error)

func (*FakeDBClient) DeleteEvent

func (fake *FakeDBClient) DeleteEvent(arg1 string, arg2 string, arg3 string) error

func (*FakeDBClient) DeleteEventArgsForCall

func (fake *FakeDBClient) DeleteEventArgsForCall(i int) (string, string, string)

func (*FakeDBClient) DeleteEventCallCount

func (fake *FakeDBClient) DeleteEventCallCount() int

func (*FakeDBClient) DeleteEventCalls

func (fake *FakeDBClient) DeleteEventCalls(stub func(string, string, string) error)

func (*FakeDBClient) DeleteEventReturns

func (fake *FakeDBClient) DeleteEventReturns(result1 error)

func (*FakeDBClient) DeleteEventReturnsOnCall

func (fake *FakeDBClient) DeleteEventReturnsOnCall(i int, result1 error)

func (*FakeDBClient) DeleteTag

func (fake *FakeDBClient) DeleteTag(arg1 string, arg2 string, arg3 string) error

func (*FakeDBClient) DeleteTagArgsForCall

func (fake *FakeDBClient) DeleteTagArgsForCall(i int) (string, string, string)

func (*FakeDBClient) DeleteTagCallCount

func (fake *FakeDBClient) DeleteTagCallCount() int

func (*FakeDBClient) DeleteTagCalls

func (fake *FakeDBClient) DeleteTagCalls(stub func(string, string, string) error)

func (*FakeDBClient) DeleteTagReturns

func (fake *FakeDBClient) DeleteTagReturns(result1 error)

func (*FakeDBClient) DeleteTagReturnsOnCall

func (fake *FakeDBClient) DeleteTagReturnsOnCall(i int, result1 error)

func (*FakeDBClient) DeleteUser

func (fake *FakeDBClient) DeleteUser(arg1 string) error

func (*FakeDBClient) DeleteUserArgsForCall

func (fake *FakeDBClient) DeleteUserArgsForCall(i int) string

func (*FakeDBClient) DeleteUserCallCount

func (fake *FakeDBClient) DeleteUserCallCount() int

func (*FakeDBClient) DeleteUserCalls

func (fake *FakeDBClient) DeleteUserCalls(stub func(string) error)

func (*FakeDBClient) DeleteUserReturns

func (fake *FakeDBClient) DeleteUserReturns(result1 error)

func (*FakeDBClient) DeleteUserReturnsOnCall

func (fake *FakeDBClient) DeleteUserReturnsOnCall(i int, result1 error)

func (*FakeDBClient) GetAllClubUsers

func (fake *FakeDBClient) GetAllClubUsers(arg1 string) ([]*models.ClubUser, error)

func (*FakeDBClient) GetAllClubUsersArgsForCall

func (fake *FakeDBClient) GetAllClubUsersArgsForCall(i int) string

func (*FakeDBClient) GetAllClubUsersCallCount

func (fake *FakeDBClient) GetAllClubUsersCallCount() int

func (*FakeDBClient) GetAllClubUsersCalls

func (fake *FakeDBClient) GetAllClubUsersCalls(stub func(string) ([]*models.ClubUser, error))

func (*FakeDBClient) GetAllClubUsersReturns

func (fake *FakeDBClient) GetAllClubUsersReturns(result1 []*models.ClubUser, result2 error)

func (*FakeDBClient) GetAllClubUsersReturnsOnCall

func (fake *FakeDBClient) GetAllClubUsersReturnsOnCall(i int, result1 []*models.ClubUser, result2 error)

func (*FakeDBClient) GetApplicant

func (fake *FakeDBClient) GetApplicant(arg1 string, arg2 string, arg3 string) (*models.Applicant, error)

func (*FakeDBClient) GetApplicantArgsForCall

func (fake *FakeDBClient) GetApplicantArgsForCall(i int) (string, string, string)

func (*FakeDBClient) GetApplicantCallCount

func (fake *FakeDBClient) GetApplicantCallCount() int

func (*FakeDBClient) GetApplicantCalls

func (fake *FakeDBClient) GetApplicantCalls(stub func(string, string, string) (*models.Applicant, error))

func (*FakeDBClient) GetApplicantReturns

func (fake *FakeDBClient) GetApplicantReturns(result1 *models.Applicant, result2 error)

func (*FakeDBClient) GetApplicantReturnsOnCall

func (fake *FakeDBClient) GetApplicantReturnsOnCall(i int, result1 *models.Applicant, result2 error)

func (*FakeDBClient) GetApplicants

func (fake *FakeDBClient) GetApplicants(arg1 string, arg2 string) ([]*models.Applicant, error)

func (*FakeDBClient) GetApplicantsArgsForCall

func (fake *FakeDBClient) GetApplicantsArgsForCall(i int) (string, string)

func (*FakeDBClient) GetApplicantsCallCount

func (fake *FakeDBClient) GetApplicantsCallCount() int

func (*FakeDBClient) GetApplicantsCalls

func (fake *FakeDBClient) GetApplicantsCalls(stub func(string, string) ([]*models.Applicant, error))

func (*FakeDBClient) GetApplicantsReturns

func (fake *FakeDBClient) GetApplicantsReturns(result1 []*models.Applicant, result2 error)

func (*FakeDBClient) GetApplicantsReturnsOnCall

func (fake *FakeDBClient) GetApplicantsReturnsOnCall(i int, result1 []*models.Applicant, result2 error)

func (*FakeDBClient) GetApplication

func (fake *FakeDBClient) GetApplication(arg1 string, arg2 string, arg3 string, arg4 string) (*models.Application, error)

func (*FakeDBClient) GetApplicationArgsForCall

func (fake *FakeDBClient) GetApplicationArgsForCall(i int) (string, string, string, string)

func (*FakeDBClient) GetApplicationCallCount

func (fake *FakeDBClient) GetApplicationCallCount() int

func (*FakeDBClient) GetApplicationCalls

func (fake *FakeDBClient) GetApplicationCalls(stub func(string, string, string, string) (*models.Application, error))

func (*FakeDBClient) GetApplicationReturns

func (fake *FakeDBClient) GetApplicationReturns(result1 *models.Application, result2 error)

func (*FakeDBClient) GetApplicationReturnsOnCall

func (fake *FakeDBClient) GetApplicationReturnsOnCall(i int, result1 *models.Application, result2 error)

func (*FakeDBClient) GetApplications

func (fake *FakeDBClient) GetApplications(arg1 string, arg2 string, arg3 string) ([]*models.Application, error)

func (*FakeDBClient) GetApplicationsArgsForCall

func (fake *FakeDBClient) GetApplicationsArgsForCall(i int) (string, string, string)

func (*FakeDBClient) GetApplicationsCallCount

func (fake *FakeDBClient) GetApplicationsCallCount() int

func (*FakeDBClient) GetApplicationsCalls

func (fake *FakeDBClient) GetApplicationsCalls(stub func(string, string, string) ([]*models.Application, error))

func (*FakeDBClient) GetApplicationsReturns

func (fake *FakeDBClient) GetApplicationsReturns(result1 []*models.Application, result2 error)

func (*FakeDBClient) GetApplicationsReturnsOnCall

func (fake *FakeDBClient) GetApplicationsReturnsOnCall(i int, result1 []*models.Application, result2 error)

func (*FakeDBClient) GetClub

func (fake *FakeDBClient) GetClub(arg1 string) (*models.Club, error)

func (*FakeDBClient) GetClubArgsForCall

func (fake *FakeDBClient) GetClubArgsForCall(i int) string

func (*FakeDBClient) GetClubCallCount

func (fake *FakeDBClient) GetClubCallCount() int

func (*FakeDBClient) GetClubCalls

func (fake *FakeDBClient) GetClubCalls(stub func(string) (*models.Club, error))

func (*FakeDBClient) GetClubReturns

func (fake *FakeDBClient) GetClubReturns(result1 *models.Club, result2 error)

func (*FakeDBClient) GetClubReturnsOnCall

func (fake *FakeDBClient) GetClubReturnsOnCall(i int, result1 *models.Club, result2 error)

func (*FakeDBClient) GetEmailVerification

func (fake *FakeDBClient) GetEmailVerification(arg1 string, arg2 string) (*models.EmailVerification, error)

func (*FakeDBClient) GetEmailVerificationArgsForCall

func (fake *FakeDBClient) GetEmailVerificationArgsForCall(i int) (string, string)

func (*FakeDBClient) GetEmailVerificationCallCount

func (fake *FakeDBClient) GetEmailVerificationCallCount() int

func (*FakeDBClient) GetEmailVerificationCalls

func (fake *FakeDBClient) GetEmailVerificationCalls(stub func(string, string) (*models.EmailVerification, error))

func (*FakeDBClient) GetEmailVerificationReturns

func (fake *FakeDBClient) GetEmailVerificationReturns(result1 *models.EmailVerification, result2 error)

func (*FakeDBClient) GetEmailVerificationReturnsOnCall

func (fake *FakeDBClient) GetEmailVerificationReturnsOnCall(i int, result1 *models.EmailVerification, result2 error)

func (*FakeDBClient) GetEvent

func (fake *FakeDBClient) GetEvent(arg1 string, arg2 string, arg3 string) (*models.EventProps, error)

func (*FakeDBClient) GetEventArgsForCall

func (fake *FakeDBClient) GetEventArgsForCall(i int) (string, string, string)

func (*FakeDBClient) GetEventCallCount

func (fake *FakeDBClient) GetEventCallCount() int

func (*FakeDBClient) GetEventCalls

func (fake *FakeDBClient) GetEventCalls(stub func(string, string, string) (*models.EventProps, error))

func (*FakeDBClient) GetEventReturns

func (fake *FakeDBClient) GetEventReturns(result1 *models.EventProps, result2 error)

func (*FakeDBClient) GetEventReturnsOnCall

func (fake *FakeDBClient) GetEventReturnsOnCall(i int, result1 *models.EventProps, result2 error)

func (*FakeDBClient) GetEvents

func (fake *FakeDBClient) GetEvents(arg1 string, arg2 string) ([]*models.EventProps, error)

func (*FakeDBClient) GetEventsArgsForCall

func (fake *FakeDBClient) GetEventsArgsForCall(i int) (string, string)

func (*FakeDBClient) GetEventsCallCount

func (fake *FakeDBClient) GetEventsCallCount() int

func (*FakeDBClient) GetEventsCalls

func (fake *FakeDBClient) GetEventsCalls(stub func(string, string) ([]*models.EventProps, error))

func (*FakeDBClient) GetEventsReturns

func (fake *FakeDBClient) GetEventsReturns(result1 []*models.EventProps, result2 error)

func (*FakeDBClient) GetEventsReturnsOnCall

func (fake *FakeDBClient) GetEventsReturnsOnCall(i int, result1 []*models.EventProps, result2 error)

func (*FakeDBClient) GetTags

func (fake *FakeDBClient) GetTags(arg1 string, arg2 string) ([]*models.Tag, error)

func (*FakeDBClient) GetTagsArgsForCall

func (fake *FakeDBClient) GetTagsArgsForCall(i int) (string, string)

func (*FakeDBClient) GetTagsCallCount

func (fake *FakeDBClient) GetTagsCallCount() int

func (*FakeDBClient) GetTagsCalls

func (fake *FakeDBClient) GetTagsCalls(stub func(string, string) ([]*models.Tag, error))

func (*FakeDBClient) GetTagsReturns

func (fake *FakeDBClient) GetTagsReturns(result1 []*models.Tag, result2 error)

func (*FakeDBClient) GetTagsReturnsOnCall

func (fake *FakeDBClient) GetTagsReturnsOnCall(i int, result1 []*models.Tag, result2 error)

func (*FakeDBClient) GetUser

func (fake *FakeDBClient) GetUser(arg1 string) (*models.User, error)

func (*FakeDBClient) GetUserArgsForCall

func (fake *FakeDBClient) GetUserArgsForCall(i int) string

func (*FakeDBClient) GetUserCallCount

func (fake *FakeDBClient) GetUserCallCount() int

func (*FakeDBClient) GetUserCalls

func (fake *FakeDBClient) GetUserCalls(stub func(string) (*models.User, error))

func (*FakeDBClient) GetUserReturns

func (fake *FakeDBClient) GetUserReturns(result1 *models.User, result2 error)

func (*FakeDBClient) GetUserReturnsOnCall

func (fake *FakeDBClient) GetUserReturnsOnCall(i int, result1 *models.User, result2 error)

func (*FakeDBClient) Invocations

func (fake *FakeDBClient) Invocations() map[string][][]interface{}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL