Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeUserConfig
- func (fake *FakeUserConfig) CurrentUser() (configv3.User, error)
- func (fake *FakeUserConfig) CurrentUserCallCount() int
- func (fake *FakeUserConfig) CurrentUserCalls(stub func() (configv3.User, error))
- func (fake *FakeUserConfig) CurrentUserName() (string, error)
- func (fake *FakeUserConfig) CurrentUserNameCallCount() int
- func (fake *FakeUserConfig) CurrentUserNameCalls(stub func() (string, error))
- func (fake *FakeUserConfig) CurrentUserNameReturns(result1 string, result2 error)
- func (fake *FakeUserConfig) CurrentUserNameReturnsOnCall(i int, result1 string, result2 error)
- func (fake *FakeUserConfig) CurrentUserReturns(result1 configv3.User, result2 error)
- func (fake *FakeUserConfig) CurrentUserReturnsOnCall(i int, result1 configv3.User, result2 error)
- func (fake *FakeUserConfig) Invocations() map[string][][]interface{}
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeUserConfig ¶
type FakeUserConfig struct { CurrentUserStub func() (configv3.User, error) CurrentUserNameStub func() (string, error) // contains filtered or unexported fields }
func (*FakeUserConfig) CurrentUser ¶
func (fake *FakeUserConfig) CurrentUser() (configv3.User, error)
func (*FakeUserConfig) CurrentUserCallCount ¶
func (fake *FakeUserConfig) CurrentUserCallCount() int
func (*FakeUserConfig) CurrentUserCalls ¶
func (fake *FakeUserConfig) CurrentUserCalls(stub func() (configv3.User, error))
func (*FakeUserConfig) CurrentUserName ¶
func (fake *FakeUserConfig) CurrentUserName() (string, error)
func (*FakeUserConfig) CurrentUserNameCallCount ¶
func (fake *FakeUserConfig) CurrentUserNameCallCount() int
func (*FakeUserConfig) CurrentUserNameCalls ¶
func (fake *FakeUserConfig) CurrentUserNameCalls(stub func() (string, error))
func (*FakeUserConfig) CurrentUserNameReturns ¶
func (fake *FakeUserConfig) CurrentUserNameReturns(result1 string, result2 error)
func (*FakeUserConfig) CurrentUserNameReturnsOnCall ¶
func (fake *FakeUserConfig) CurrentUserNameReturnsOnCall(i int, result1 string, result2 error)
func (*FakeUserConfig) CurrentUserReturns ¶
func (fake *FakeUserConfig) CurrentUserReturns(result1 configv3.User, result2 error)
func (*FakeUserConfig) CurrentUserReturnsOnCall ¶
func (fake *FakeUserConfig) CurrentUserReturnsOnCall(i int, result1 configv3.User, result2 error)
func (*FakeUserConfig) Invocations ¶
func (fake *FakeUserConfig) Invocations() map[string][][]interface{}
Click to show internal directories.
Click to hide internal directories.