Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeAuthService
- func (fake *FakeAuthService) AuthLogin(arg1 context.Context) error
- func (fake *FakeAuthService) AuthLoginArgsForCall(i int) context.Context
- func (fake *FakeAuthService) AuthLoginCallCount() int
- func (fake *FakeAuthService) AuthLoginCalls(stub func(context.Context) error)
- func (fake *FakeAuthService) AuthLoginReturns(result1 error)
- func (fake *FakeAuthService) AuthLoginReturnsOnCall(i int, result1 error)
- func (fake *FakeAuthService) AuthLogout(arg1 context.Context) error
- func (fake *FakeAuthService) AuthLogoutArgsForCall(i int) context.Context
- func (fake *FakeAuthService) AuthLogoutCallCount() int
- func (fake *FakeAuthService) AuthLogoutCalls(stub func(context.Context) error)
- func (fake *FakeAuthService) AuthLogoutReturns(result1 error)
- func (fake *FakeAuthService) AuthLogoutReturnsOnCall(i int, result1 error)
- func (fake *FakeAuthService) AuthRequest(arg1 *http.Request) error
- func (fake *FakeAuthService) AuthRequestArgsForCall(i int) *http.Request
- func (fake *FakeAuthService) AuthRequestCallCount() int
- func (fake *FakeAuthService) AuthRequestCalls(stub func(*http.Request) error)
- func (fake *FakeAuthService) AuthRequestReturns(result1 error)
- func (fake *FakeAuthService) AuthRequestReturnsOnCall(i int, result1 error)
- func (fake *FakeAuthService) Invocations() map[string][][]interface{}
- func (fake *FakeAuthService) Name() string
- func (fake *FakeAuthService) NameCallCount() int
- func (fake *FakeAuthService) NameCalls(stub func() string)
- func (fake *FakeAuthService) NameReturns(result1 string)
- func (fake *FakeAuthService) NameReturnsOnCall(i int, result1 string)
- func (fake *FakeAuthService) Type() servicea.Type
- func (fake *FakeAuthService) TypeCallCount() int
- func (fake *FakeAuthService) TypeCalls(stub func() servicea.Type)
- func (fake *FakeAuthService) TypeReturns(result1 servicea.Type)
- func (fake *FakeAuthService) TypeReturnsOnCall(i int, result1 servicea.Type)
- func (fake *FakeAuthService) Version() string
- func (fake *FakeAuthService) VersionCallCount() int
- func (fake *FakeAuthService) VersionCalls(stub func() string)
- func (fake *FakeAuthService) VersionReturns(result1 string)
- func (fake *FakeAuthService) VersionReturnsOnCall(i int, result1 string)
- type FakeManager
- func (fake *FakeManager) Add(arg1 service.Service)
- func (fake *FakeManager) AddArgsForCall(i int) service.Service
- func (fake *FakeManager) AddCallCount() int
- func (fake *FakeManager) AddCalls(stub func(service.Service))
- func (fake *FakeManager) AddFactory(arg1 service.ServiceFactory)
- func (fake *FakeManager) AddFactoryArgsForCall(i int) service.ServiceFactory
- func (fake *FakeManager) AddFactoryCallCount() int
- func (fake *FakeManager) AddFactoryCalls(stub func(service.ServiceFactory))
- func (fake *FakeManager) Get(arg1 servicea.Type, arg2 string) (service.Service, error)
- func (fake *FakeManager) GetArgsForCall(i int) (servicea.Type, string)
- func (fake *FakeManager) GetCallCount() int
- func (fake *FakeManager) GetCalls(stub func(servicea.Type, string) (service.Service, error))
- func (fake *FakeManager) GetReturns(result1 service.Service, result2 error)
- func (fake *FakeManager) GetReturnsOnCall(i int, result1 service.Service, result2 error)
- func (fake *FakeManager) Invocations() map[string][][]interface{}
- type FakeService
- func (fake *FakeService) Invocations() map[string][][]interface{}
- func (fake *FakeService) Name() string
- func (fake *FakeService) NameCallCount() int
- func (fake *FakeService) NameCalls(stub func() string)
- func (fake *FakeService) NameReturns(result1 string)
- func (fake *FakeService) NameReturnsOnCall(i int, result1 string)
- func (fake *FakeService) Type() servicea.Type
- func (fake *FakeService) TypeCallCount() int
- func (fake *FakeService) TypeCalls(stub func() servicea.Type)
- func (fake *FakeService) TypeReturns(result1 servicea.Type)
- func (fake *FakeService) TypeReturnsOnCall(i int, result1 servicea.Type)
- func (fake *FakeService) Version() string
- func (fake *FakeService) VersionCallCount() int
- func (fake *FakeService) VersionCalls(stub func() string)
- func (fake *FakeService) VersionReturns(result1 string)
- func (fake *FakeService) VersionReturnsOnCall(i int, result1 string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeAuthService ¶
type FakeAuthService struct { AuthLoginStub func(context.Context) error AuthLogoutStub func(context.Context) error AuthRequestStub func(*http.Request) error NameStub func() string TypeStub func() servicea.Type VersionStub func() string // contains filtered or unexported fields }
func (*FakeAuthService) AuthLogin ¶
func (fake *FakeAuthService) AuthLogin(arg1 context.Context) error
func (*FakeAuthService) AuthLoginArgsForCall ¶
func (fake *FakeAuthService) AuthLoginArgsForCall(i int) context.Context
func (*FakeAuthService) AuthLoginCallCount ¶
func (fake *FakeAuthService) AuthLoginCallCount() int
func (*FakeAuthService) AuthLoginCalls ¶ added in v0.19.0
func (fake *FakeAuthService) AuthLoginCalls(stub func(context.Context) error)
func (*FakeAuthService) AuthLoginReturns ¶
func (fake *FakeAuthService) AuthLoginReturns(result1 error)
func (*FakeAuthService) AuthLoginReturnsOnCall ¶ added in v0.12.0
func (fake *FakeAuthService) AuthLoginReturnsOnCall(i int, result1 error)
func (*FakeAuthService) AuthLogout ¶
func (fake *FakeAuthService) AuthLogout(arg1 context.Context) error
func (*FakeAuthService) AuthLogoutArgsForCall ¶ added in v0.17.0
func (fake *FakeAuthService) AuthLogoutArgsForCall(i int) context.Context
func (*FakeAuthService) AuthLogoutCallCount ¶
func (fake *FakeAuthService) AuthLogoutCallCount() int
func (*FakeAuthService) AuthLogoutCalls ¶ added in v0.19.0
func (fake *FakeAuthService) AuthLogoutCalls(stub func(context.Context) error)
func (*FakeAuthService) AuthLogoutReturns ¶
func (fake *FakeAuthService) AuthLogoutReturns(result1 error)
func (*FakeAuthService) AuthLogoutReturnsOnCall ¶ added in v0.12.0
func (fake *FakeAuthService) AuthLogoutReturnsOnCall(i int, result1 error)
func (*FakeAuthService) AuthRequest ¶
func (fake *FakeAuthService) AuthRequest(arg1 *http.Request) error
func (*FakeAuthService) AuthRequestArgsForCall ¶
func (fake *FakeAuthService) AuthRequestArgsForCall(i int) *http.Request
func (*FakeAuthService) AuthRequestCallCount ¶
func (fake *FakeAuthService) AuthRequestCallCount() int
func (*FakeAuthService) AuthRequestCalls ¶ added in v0.19.0
func (fake *FakeAuthService) AuthRequestCalls(stub func(*http.Request) error)
func (*FakeAuthService) AuthRequestReturns ¶
func (fake *FakeAuthService) AuthRequestReturns(result1 error)
func (*FakeAuthService) AuthRequestReturnsOnCall ¶ added in v0.12.0
func (fake *FakeAuthService) AuthRequestReturnsOnCall(i int, result1 error)
func (*FakeAuthService) Invocations ¶
func (fake *FakeAuthService) Invocations() map[string][][]interface{}
func (*FakeAuthService) Name ¶ added in v0.17.0
func (fake *FakeAuthService) Name() string
func (*FakeAuthService) NameCallCount ¶ added in v0.17.0
func (fake *FakeAuthService) NameCallCount() int
func (*FakeAuthService) NameCalls ¶ added in v0.19.0
func (fake *FakeAuthService) NameCalls(stub func() string)
func (*FakeAuthService) NameReturns ¶ added in v0.17.0
func (fake *FakeAuthService) NameReturns(result1 string)
func (*FakeAuthService) NameReturnsOnCall ¶ added in v0.17.0
func (fake *FakeAuthService) NameReturnsOnCall(i int, result1 string)
func (*FakeAuthService) Type ¶
func (fake *FakeAuthService) Type() servicea.Type
func (*FakeAuthService) TypeCallCount ¶
func (fake *FakeAuthService) TypeCallCount() int
func (*FakeAuthService) TypeCalls ¶ added in v0.19.0
func (fake *FakeAuthService) TypeCalls(stub func() servicea.Type)
func (*FakeAuthService) TypeReturns ¶
func (fake *FakeAuthService) TypeReturns(result1 servicea.Type)
func (*FakeAuthService) TypeReturnsOnCall ¶ added in v0.12.0
func (fake *FakeAuthService) TypeReturnsOnCall(i int, result1 servicea.Type)
func (*FakeAuthService) Version ¶
func (fake *FakeAuthService) Version() string
func (*FakeAuthService) VersionCallCount ¶
func (fake *FakeAuthService) VersionCallCount() int
func (*FakeAuthService) VersionCalls ¶ added in v0.19.0
func (fake *FakeAuthService) VersionCalls(stub func() string)
func (*FakeAuthService) VersionReturns ¶
func (fake *FakeAuthService) VersionReturns(result1 string)
func (*FakeAuthService) VersionReturnsOnCall ¶ added in v0.12.0
func (fake *FakeAuthService) VersionReturnsOnCall(i int, result1 string)
type FakeManager ¶
type FakeManager struct { AddStub func(service.Service) AddFactoryStub func(service.ServiceFactory) GetStub func(servicea.Type, string) (service.Service, error) // contains filtered or unexported fields }
func (*FakeManager) Add ¶
func (fake *FakeManager) Add(arg1 service.Service)
func (*FakeManager) AddArgsForCall ¶
func (fake *FakeManager) AddArgsForCall(i int) service.Service
func (*FakeManager) AddCallCount ¶
func (fake *FakeManager) AddCallCount() int
func (*FakeManager) AddCalls ¶ added in v0.19.0
func (fake *FakeManager) AddCalls(stub func(service.Service))
func (*FakeManager) AddFactory ¶ added in v0.17.0
func (fake *FakeManager) AddFactory(arg1 service.ServiceFactory)
func (*FakeManager) AddFactoryArgsForCall ¶ added in v0.17.0
func (fake *FakeManager) AddFactoryArgsForCall(i int) service.ServiceFactory
func (*FakeManager) AddFactoryCallCount ¶ added in v0.17.0
func (fake *FakeManager) AddFactoryCallCount() int
func (*FakeManager) AddFactoryCalls ¶ added in v0.19.0
func (fake *FakeManager) AddFactoryCalls(stub func(service.ServiceFactory))
func (*FakeManager) GetArgsForCall ¶
func (fake *FakeManager) GetArgsForCall(i int) (servicea.Type, string)
func (*FakeManager) GetCallCount ¶
func (fake *FakeManager) GetCallCount() int
func (*FakeManager) GetReturns ¶
func (fake *FakeManager) GetReturns(result1 service.Service, result2 error)
func (*FakeManager) GetReturnsOnCall ¶ added in v0.12.0
func (fake *FakeManager) GetReturnsOnCall(i int, result1 service.Service, result2 error)
func (*FakeManager) Invocations ¶
func (fake *FakeManager) Invocations() map[string][][]interface{}
type FakeService ¶
type FakeService struct { NameStub func() string TypeStub func() servicea.Type VersionStub func() string // contains filtered or unexported fields }
func (*FakeService) Invocations ¶
func (fake *FakeService) Invocations() map[string][][]interface{}
func (*FakeService) Name ¶ added in v0.17.0
func (fake *FakeService) Name() string
func (*FakeService) NameCallCount ¶ added in v0.17.0
func (fake *FakeService) NameCallCount() int
func (*FakeService) NameCalls ¶ added in v0.19.0
func (fake *FakeService) NameCalls(stub func() string)
func (*FakeService) NameReturns ¶ added in v0.17.0
func (fake *FakeService) NameReturns(result1 string)
func (*FakeService) NameReturnsOnCall ¶ added in v0.17.0
func (fake *FakeService) NameReturnsOnCall(i int, result1 string)
func (*FakeService) Type ¶
func (fake *FakeService) Type() servicea.Type
func (*FakeService) TypeCallCount ¶
func (fake *FakeService) TypeCallCount() int
func (*FakeService) TypeCalls ¶ added in v0.19.0
func (fake *FakeService) TypeCalls(stub func() servicea.Type)
func (*FakeService) TypeReturns ¶
func (fake *FakeService) TypeReturns(result1 servicea.Type)
func (*FakeService) TypeReturnsOnCall ¶ added in v0.12.0
func (fake *FakeService) TypeReturnsOnCall(i int, result1 servicea.Type)
func (*FakeService) Version ¶
func (fake *FakeService) Version() string
func (*FakeService) VersionCallCount ¶
func (fake *FakeService) VersionCallCount() int
func (*FakeService) VersionCalls ¶ added in v0.19.0
func (fake *FakeService) VersionCalls(stub func() string)
func (*FakeService) VersionReturns ¶
func (fake *FakeService) VersionReturns(result1 string)
func (*FakeService) VersionReturnsOnCall ¶ added in v0.12.0
func (fake *FakeService) VersionReturnsOnCall(i int, result1 string)
Click to show internal directories.
Click to hide internal directories.