Documentation ¶
Index ¶
- type Manager
- type Manager_Expecter
- func (_e *Manager_Expecter) Get() *Manager_Get_Call
- func (_e *Manager_Expecter) GetLocation() *Manager_GetLocation_Call
- func (_e *Manager_Expecter) GetPtr() *Manager_GetPtr_Call
- func (_e *Manager_Expecter) Now() *Manager_Now_Call
- func (_e *Manager_Expecter) NowPtr() *Manager_NowPtr_Call
- func (_e *Manager_Expecter) Renew() *Manager_Renew_Call
- type Manager_GetLocation_Call
- type Manager_GetPtr_Call
- type Manager_Get_Call
- type Manager_NowPtr_Call
- type Manager_Now_Call
- type Manager_Renew_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
Manager is an autogenerated mock type for the Manager type
func NewManager ¶
NewManager creates a new instance of Manager. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Manager) EXPECT ¶
func (_m *Manager) EXPECT() *Manager_Expecter
func (*Manager) GetLocation ¶
GetLocation provides a mock function with given fields:
type Manager_Expecter ¶
type Manager_Expecter struct {
// contains filtered or unexported fields
}
func (*Manager_Expecter) Get ¶
func (_e *Manager_Expecter) Get() *Manager_Get_Call
Get is a helper method to define mock.On call
func (*Manager_Expecter) GetLocation ¶
func (_e *Manager_Expecter) GetLocation() *Manager_GetLocation_Call
GetLocation is a helper method to define mock.On call
func (*Manager_Expecter) GetPtr ¶
func (_e *Manager_Expecter) GetPtr() *Manager_GetPtr_Call
GetPtr is a helper method to define mock.On call
func (*Manager_Expecter) Now ¶
func (_e *Manager_Expecter) Now() *Manager_Now_Call
Now is a helper method to define mock.On call
func (*Manager_Expecter) NowPtr ¶
func (_e *Manager_Expecter) NowPtr() *Manager_NowPtr_Call
NowPtr is a helper method to define mock.On call
func (*Manager_Expecter) Renew ¶
func (_e *Manager_Expecter) Renew() *Manager_Renew_Call
Renew is a helper method to define mock.On call
type Manager_GetLocation_Call ¶
Manager_GetLocation_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLocation'
func (*Manager_GetLocation_Call) Return ¶
func (_c *Manager_GetLocation_Call) Return(_a0 *time.Location) *Manager_GetLocation_Call
func (*Manager_GetLocation_Call) Run ¶
func (_c *Manager_GetLocation_Call) Run(run func()) *Manager_GetLocation_Call
func (*Manager_GetLocation_Call) RunAndReturn ¶
func (_c *Manager_GetLocation_Call) RunAndReturn(run func() *time.Location) *Manager_GetLocation_Call
type Manager_GetPtr_Call ¶
Manager_GetPtr_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetPtr'
func (*Manager_GetPtr_Call) Return ¶
func (_c *Manager_GetPtr_Call) Return(_a0 *time.Time) *Manager_GetPtr_Call
func (*Manager_GetPtr_Call) Run ¶
func (_c *Manager_GetPtr_Call) Run(run func()) *Manager_GetPtr_Call
func (*Manager_GetPtr_Call) RunAndReturn ¶
func (_c *Manager_GetPtr_Call) RunAndReturn(run func() *time.Time) *Manager_GetPtr_Call
type Manager_Get_Call ¶
Manager_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'
func (*Manager_Get_Call) Return ¶
func (_c *Manager_Get_Call) Return(_a0 time.Time) *Manager_Get_Call
func (*Manager_Get_Call) Run ¶
func (_c *Manager_Get_Call) Run(run func()) *Manager_Get_Call
func (*Manager_Get_Call) RunAndReturn ¶
func (_c *Manager_Get_Call) RunAndReturn(run func() time.Time) *Manager_Get_Call
type Manager_NowPtr_Call ¶
Manager_NowPtr_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NowPtr'
func (*Manager_NowPtr_Call) Return ¶
func (_c *Manager_NowPtr_Call) Return(_a0 *time.Time) *Manager_NowPtr_Call
func (*Manager_NowPtr_Call) Run ¶
func (_c *Manager_NowPtr_Call) Run(run func()) *Manager_NowPtr_Call
func (*Manager_NowPtr_Call) RunAndReturn ¶
func (_c *Manager_NowPtr_Call) RunAndReturn(run func() *time.Time) *Manager_NowPtr_Call
type Manager_Now_Call ¶
Manager_Now_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Now'
func (*Manager_Now_Call) Return ¶
func (_c *Manager_Now_Call) Return(_a0 time.Time) *Manager_Now_Call
func (*Manager_Now_Call) Run ¶
func (_c *Manager_Now_Call) Run(run func()) *Manager_Now_Call
func (*Manager_Now_Call) RunAndReturn ¶
func (_c *Manager_Now_Call) RunAndReturn(run func() time.Time) *Manager_Now_Call
type Manager_Renew_Call ¶
Manager_Renew_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Renew'
func (*Manager_Renew_Call) Return ¶
func (_c *Manager_Renew_Call) Return(_a0 ts.Manager) *Manager_Renew_Call
func (*Manager_Renew_Call) Run ¶
func (_c *Manager_Renew_Call) Run(run func()) *Manager_Renew_Call
func (*Manager_Renew_Call) RunAndReturn ¶
func (_c *Manager_Renew_Call) RunAndReturn(run func() ts.Manager) *Manager_Renew_Call