Documentation ¶
Overview ¶
This file was generated by counterfeiter
This file was generated by counterfeiter ¶
This file was generated by counterfeiter
Index ¶
- type FakeFactoryDB
- func (fake *FakeFactoryDB) GetTeamByName(teamName string) (db.SavedTeam, bool, error)
- func (fake *FakeFactoryDB) GetTeamByNameArgsForCall(i int) string
- func (fake *FakeFactoryDB) GetTeamByNameCallCount() int
- func (fake *FakeFactoryDB) GetTeamByNameReturns(result1 db.SavedTeam, result2 bool, result3 error)
- type FakeProvider
- func (fake *FakeProvider) AuthCodeURL(arg1 string, arg2 ...oauth2.AuthCodeOption) string
- func (fake *FakeProvider) AuthCodeURLArgsForCall(i int) (string, []oauth2.AuthCodeOption)
- func (fake *FakeProvider) AuthCodeURLCallCount() int
- func (fake *FakeProvider) AuthCodeURLReturns(result1 string)
- func (fake *FakeProvider) Client(arg1 context.Context, arg2 *oauth2.Token) *http.Client
- func (fake *FakeProvider) ClientArgsForCall(i int) (context.Context, *oauth2.Token)
- func (fake *FakeProvider) ClientCallCount() int
- func (fake *FakeProvider) ClientReturns(result1 *http.Client)
- func (fake *FakeProvider) DisplayName() string
- func (fake *FakeProvider) DisplayNameCallCount() int
- func (fake *FakeProvider) DisplayNameReturns(result1 string)
- func (fake *FakeProvider) Exchange(arg1 context.Context, arg2 string) (*oauth2.Token, error)
- func (fake *FakeProvider) ExchangeArgsForCall(i int) (context.Context, string)
- func (fake *FakeProvider) ExchangeCallCount() int
- func (fake *FakeProvider) ExchangeReturns(result1 *oauth2.Token, result2 error)
- func (fake *FakeProvider) Verify(arg1 lager.Logger, arg2 *http.Client) (bool, error)
- func (fake *FakeProvider) VerifyArgsForCall(i int) (lager.Logger, *http.Client)
- func (fake *FakeProvider) VerifyCallCount() int
- func (fake *FakeProvider) VerifyReturns(result1 bool, result2 error)
- type FakeVerifier
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeFactoryDB ¶
type FakeFactoryDB struct { GetTeamByNameStub func(teamName string) (db.SavedTeam, bool, error) // contains filtered or unexported fields }
func (*FakeFactoryDB) GetTeamByName ¶
func (*FakeFactoryDB) GetTeamByNameArgsForCall ¶
func (fake *FakeFactoryDB) GetTeamByNameArgsForCall(i int) string
func (*FakeFactoryDB) GetTeamByNameCallCount ¶
func (fake *FakeFactoryDB) GetTeamByNameCallCount() int
func (*FakeFactoryDB) GetTeamByNameReturns ¶
func (fake *FakeFactoryDB) GetTeamByNameReturns(result1 db.SavedTeam, result2 bool, result3 error)
type FakeProvider ¶
type FakeProvider struct { DisplayNameStub func() string AuthCodeURLStub func(string, ...oauth2.AuthCodeOption) string ExchangeStub func(context.Context, string) (*oauth2.Token, error) ClientStub func(context.Context, *oauth2.Token) *http.Client VerifyStub func(lager.Logger, *http.Client) (bool, error) // contains filtered or unexported fields }
func (*FakeProvider) AuthCodeURL ¶
func (fake *FakeProvider) AuthCodeURL(arg1 string, arg2 ...oauth2.AuthCodeOption) string
func (*FakeProvider) AuthCodeURLArgsForCall ¶
func (fake *FakeProvider) AuthCodeURLArgsForCall(i int) (string, []oauth2.AuthCodeOption)
func (*FakeProvider) AuthCodeURLCallCount ¶
func (fake *FakeProvider) AuthCodeURLCallCount() int
func (*FakeProvider) AuthCodeURLReturns ¶
func (fake *FakeProvider) AuthCodeURLReturns(result1 string)
func (*FakeProvider) ClientArgsForCall ¶
func (*FakeProvider) ClientCallCount ¶
func (fake *FakeProvider) ClientCallCount() int
func (*FakeProvider) ClientReturns ¶
func (fake *FakeProvider) ClientReturns(result1 *http.Client)
func (*FakeProvider) DisplayName ¶
func (fake *FakeProvider) DisplayName() string
func (*FakeProvider) DisplayNameCallCount ¶
func (fake *FakeProvider) DisplayNameCallCount() int
func (*FakeProvider) DisplayNameReturns ¶
func (fake *FakeProvider) DisplayNameReturns(result1 string)
func (*FakeProvider) ExchangeArgsForCall ¶
func (fake *FakeProvider) ExchangeArgsForCall(i int) (context.Context, string)
func (*FakeProvider) ExchangeCallCount ¶
func (fake *FakeProvider) ExchangeCallCount() int
func (*FakeProvider) ExchangeReturns ¶
func (fake *FakeProvider) ExchangeReturns(result1 *oauth2.Token, result2 error)
func (*FakeProvider) VerifyArgsForCall ¶
func (*FakeProvider) VerifyCallCount ¶
func (fake *FakeProvider) VerifyCallCount() int
func (*FakeProvider) VerifyReturns ¶
func (fake *FakeProvider) VerifyReturns(result1 bool, result2 error)
type FakeVerifier ¶
type FakeVerifier struct { VerifyStub func(lager.Logger, *http.Client) (bool, error) // contains filtered or unexported fields }
func (*FakeVerifier) VerifyArgsForCall ¶
func (*FakeVerifier) VerifyCallCount ¶
func (fake *FakeVerifier) VerifyCallCount() int
func (*FakeVerifier) VerifyReturns ¶
func (fake *FakeVerifier) VerifyReturns(result1 bool, result2 error)
Click to show internal directories.
Click to hide internal directories.