Documentation ¶
Index ¶
- type Fake
- func (fake *Fake) Current() (*user.User, error)
- func (fake *Fake) CurrentCallCount() int
- func (fake *Fake) CurrentReturns(result1 *user.User, result2 error)
- func (fake *Fake) Invocations() map[string][][]interface{}
- func (fake *Fake) Lookup(arg1 string) (*user.User, error)
- func (fake *Fake) LookupArgsForCall(i int) string
- func (fake *Fake) LookupCallCount() int
- func (fake *Fake) LookupGroup(arg1 string) (*user.Group, error)
- func (fake *Fake) LookupGroupArgsForCall(i int) string
- func (fake *Fake) LookupGroupCallCount() int
- func (fake *Fake) LookupGroupReturns(result1 *user.Group, result2 error)
- func (fake *Fake) LookupReturns(result1 *user.User, result2 error)
- type Real
- type User
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Fake ¶
type Fake struct { LookupStub func(string) (*user.User, error) LookupGroupStub func(string) (*user.Group, error) CurrentStub func() (*user.User, error) // contains filtered or unexported fields }
Fake ...
func (*Fake) CurrentReturns ¶
CurrentReturns ...
func (*Fake) Invocations ¶
Invocations ...
func (*Fake) LookupArgsForCall ¶
LookupArgsForCall ...
func (*Fake) LookupGroup ¶
LookupGroup ...
func (*Fake) LookupGroupArgsForCall ¶
LookupGroupArgsForCall ...
func (*Fake) LookupGroupCallCount ¶
LookupGroupCallCount ...
func (*Fake) LookupGroupReturns ¶
LookupGroupReturns ...
Click to show internal directories.
Click to hide internal directories.