Documentation
¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeAuth
- func (fake *FakeAuth) Invocations() map[string][][]interface{}
- func (fake *FakeAuth) LookupUser(arg1 *http.Request) (model.User, error)
- func (fake *FakeAuth) LookupUserArgsForCall(i int) *http.Request
- func (fake *FakeAuth) LookupUserCallCount() int
- func (fake *FakeAuth) LookupUserCalls(stub func(*http.Request) (model.User, error))
- func (fake *FakeAuth) LookupUserReturns(result1 model.User, result2 error)
- func (fake *FakeAuth) LookupUserReturnsOnCall(i int, result1 model.User, result2 error)
- type FakeBroker
- func (fake *FakeBroker) Find(arg1 model.User) (model.Tunnel, bool)
- func (fake *FakeBroker) FindArgsForCall(i int) model.User
- func (fake *FakeBroker) FindCallCount() int
- func (fake *FakeBroker) FindCalls(stub func(model.User) (model.Tunnel, bool))
- func (fake *FakeBroker) FindReturns(result1 model.Tunnel, result2 bool)
- func (fake *FakeBroker) FindReturnsOnCall(i int, result1 model.Tunnel, result2 bool)
- func (fake *FakeBroker) Invocations() map[string][][]interface{}
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeAuth ¶
type FakeAuth struct { LookupUserStub func(*http.Request) (model.User, error) // contains filtered or unexported fields }
func (*FakeAuth) Invocations ¶
func (*FakeAuth) LookupUser ¶
func (*FakeAuth) LookupUserArgsForCall ¶
func (*FakeAuth) LookupUserCallCount ¶
func (*FakeAuth) LookupUserCalls ¶
func (*FakeAuth) LookupUserReturns ¶
type FakeBroker ¶
type FakeBroker struct { FindStub func(model.User) (model.Tunnel, bool) // contains filtered or unexported fields }
func (*FakeBroker) FindArgsForCall ¶
func (fake *FakeBroker) FindArgsForCall(i int) model.User
func (*FakeBroker) FindCallCount ¶
func (fake *FakeBroker) FindCallCount() int
func (*FakeBroker) FindReturns ¶
func (fake *FakeBroker) FindReturns(result1 model.Tunnel, result2 bool)
func (*FakeBroker) FindReturnsOnCall ¶
func (fake *FakeBroker) FindReturnsOnCall(i int, result1 model.Tunnel, result2 bool)
func (*FakeBroker) Invocations ¶
func (fake *FakeBroker) Invocations() map[string][][]interface{}
Click to show internal directories.
Click to hide internal directories.