Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
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) GetRoutes() []req.RouteHandler
- func (fake *FakeAuthService) GetRoutesCallCount() int
- func (fake *FakeAuthService) GetRoutesCalls(stub func() []req.RouteHandler)
- func (fake *FakeAuthService) GetRoutesReturns(result1 []req.RouteHandler)
- func (fake *FakeAuthService) GetRoutesReturnsOnCall(i int, result1 []req.RouteHandler)
- func (fake *FakeAuthService) Invocations() map[string][][]interface{}
- func (fake *FakeAuthService) Metadata() interface{}
- func (fake *FakeAuthService) MetadataCallCount() int
- func (fake *FakeAuthService) MetadataCalls(stub func() interface{})
- func (fake *FakeAuthService) MetadataReturns(result1 interface{})
- func (fake *FakeAuthService) MetadataReturnsOnCall(i int, result1 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) ParseRequestAuth(arg1 http.Request) (*auth.Token, error)
- func (fake *FakeAuthService) ParseRequestAuthArgsForCall(i int) http.Request
- func (fake *FakeAuthService) ParseRequestAuthCallCount() int
- func (fake *FakeAuthService) ParseRequestAuthCalls(stub func(http.Request) (*auth.Token, error))
- func (fake *FakeAuthService) ParseRequestAuthReturns(result1 *auth.Token, result2 error)
- func (fake *FakeAuthService) ParseRequestAuthReturnsOnCall(i int, result1 *auth.Token, result2 error)
- func (fake *FakeAuthService) SupportsRequestAuth(arg1 http.Request) (bool, error)
- func (fake *FakeAuthService) SupportsRequestAuthArgsForCall(i int) http.Request
- func (fake *FakeAuthService) SupportsRequestAuthCallCount() int
- func (fake *FakeAuthService) SupportsRequestAuthCalls(stub func(http.Request) (bool, error))
- func (fake *FakeAuthService) SupportsRequestAuthReturns(result1 bool, result2 error)
- func (fake *FakeAuthService) SupportsRequestAuthReturnsOnCall(i int, result1 bool, result2 error)
- 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) VerifyAuthorization(arg1 http.Request, arg2 *auth.Token) error
- func (fake *FakeAuthService) VerifyAuthorizationArgsForCall(i int) (http.Request, *auth.Token)
- func (fake *FakeAuthService) VerifyAuthorizationCallCount() int
- func (fake *FakeAuthService) VerifyAuthorizationCalls(stub func(http.Request, *auth.Token) error)
- func (fake *FakeAuthService) VerifyAuthorizationReturns(result1 error)
- func (fake *FakeAuthService) VerifyAuthorizationReturnsOnCall(i int, result1 error)
- 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 FakeFactory
- func (fake *FakeFactory) Create(arg1 servicea.Type, arg2 string, arg3 map[string]interface{}) (service.Service, error)
- func (fake *FakeFactory) CreateArgsForCall(i int) (servicea.Type, string, map[string]interface{})
- func (fake *FakeFactory) CreateCallCount() int
- func (fake *FakeFactory) CreateCalls(...)
- func (fake *FakeFactory) CreateReturns(result1 service.Service, result2 error)
- func (fake *FakeFactory) CreateReturnsOnCall(i int, result1 service.Service, result2 error)
- func (fake *FakeFactory) Invocations() map[string][][]interface{}
- 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) Get(arg1 string) (service.Service, error)
- func (fake *FakeManager) GetArgsForCall(i int) string
- func (fake *FakeManager) GetCallCount() int
- func (fake *FakeManager) GetCalls(stub func(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{}
- func (fake *FakeManager) Services() []string
- func (fake *FakeManager) ServicesCallCount() int
- func (fake *FakeManager) ServicesCalls(stub func() []string)
- func (fake *FakeManager) ServicesReturns(result1 []string)
- func (fake *FakeManager) ServicesReturnsOnCall(i int, result1 []string)
- type FakeService
- func (fake *FakeService) GetRoutes() []req.RouteHandler
- func (fake *FakeService) GetRoutesCallCount() int
- func (fake *FakeService) GetRoutesCalls(stub func() []req.RouteHandler)
- func (fake *FakeService) GetRoutesReturns(result1 []req.RouteHandler)
- func (fake *FakeService) GetRoutesReturnsOnCall(i int, result1 []req.RouteHandler)
- func (fake *FakeService) Invocations() map[string][][]interface{}
- func (fake *FakeService) Metadata() interface{}
- func (fake *FakeService) MetadataCallCount() int
- func (fake *FakeService) MetadataCalls(stub func() interface{})
- func (fake *FakeService) MetadataReturns(result1 interface{})
- func (fake *FakeService) MetadataReturnsOnCall(i int, result1 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) VerifyAuthorization(arg1 http.Request, arg2 *auth.Token) error
- func (fake *FakeService) VerifyAuthorizationArgsForCall(i int) (http.Request, *auth.Token)
- func (fake *FakeService) VerifyAuthorizationCallCount() int
- func (fake *FakeService) VerifyAuthorizationCalls(stub func(http.Request, *auth.Token) error)
- func (fake *FakeService) VerifyAuthorizationReturns(result1 error)
- func (fake *FakeService) VerifyAuthorizationReturnsOnCall(i int, result1 error)
- 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)
- type FakeServiceFactory
- func (fake *FakeServiceFactory) Create(arg1 string, arg2 map[string]interface{}) (service.Service, error)
- func (fake *FakeServiceFactory) CreateArgsForCall(i int) (string, map[string]interface{})
- func (fake *FakeServiceFactory) CreateCallCount() int
- func (fake *FakeServiceFactory) CreateCalls(stub func(string, map[string]interface{}) (service.Service, error))
- func (fake *FakeServiceFactory) CreateReturns(result1 service.Service, result2 error)
- func (fake *FakeServiceFactory) CreateReturnsOnCall(i int, result1 service.Service, result2 error)
- func (fake *FakeServiceFactory) Invocations() map[string][][]interface{}
- func (fake *FakeServiceFactory) Type() servicea.Type
- func (fake *FakeServiceFactory) TypeCallCount() int
- func (fake *FakeServiceFactory) TypeCalls(stub func() servicea.Type)
- func (fake *FakeServiceFactory) TypeReturns(result1 servicea.Type)
- func (fake *FakeServiceFactory) TypeReturnsOnCall(i int, result1 servicea.Type)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeAuthService ¶
type FakeAuthService struct { GetRoutesStub func() []req.RouteHandler MetadataStub func() interface{} NameStub func() string ParseRequestAuthStub func(http.Request) (*auth.Token, error) SupportsRequestAuthStub func(http.Request) (bool, error) TypeStub func() servicea.Type VerifyAuthorizationStub func(http.Request, *auth.Token) error VersionStub func() string // contains filtered or unexported fields }
func (*FakeAuthService) GetRoutes ¶
func (fake *FakeAuthService) GetRoutes() []req.RouteHandler
func (*FakeAuthService) GetRoutesCallCount ¶
func (fake *FakeAuthService) GetRoutesCallCount() int
func (*FakeAuthService) GetRoutesCalls ¶ added in v0.19.0
func (fake *FakeAuthService) GetRoutesCalls(stub func() []req.RouteHandler)
func (*FakeAuthService) GetRoutesReturns ¶
func (fake *FakeAuthService) GetRoutesReturns(result1 []req.RouteHandler)
func (*FakeAuthService) GetRoutesReturnsOnCall ¶ added in v0.12.0
func (fake *FakeAuthService) GetRoutesReturnsOnCall(i int, result1 []req.RouteHandler)
func (*FakeAuthService) Invocations ¶
func (fake *FakeAuthService) Invocations() map[string][][]interface{}
func (*FakeAuthService) Metadata ¶
func (fake *FakeAuthService) Metadata() interface{}
func (*FakeAuthService) MetadataCallCount ¶
func (fake *FakeAuthService) MetadataCallCount() int
func (*FakeAuthService) MetadataCalls ¶ added in v0.19.0
func (fake *FakeAuthService) MetadataCalls(stub func() interface{})
func (*FakeAuthService) MetadataReturns ¶
func (fake *FakeAuthService) MetadataReturns(result1 interface{})
func (*FakeAuthService) MetadataReturnsOnCall ¶ added in v0.12.0
func (fake *FakeAuthService) MetadataReturnsOnCall(i int, result1 interface{})
func (*FakeAuthService) Name ¶
func (fake *FakeAuthService) Name() string
func (*FakeAuthService) NameCallCount ¶
func (fake *FakeAuthService) NameCallCount() int
func (*FakeAuthService) NameCalls ¶ added in v0.19.0
func (fake *FakeAuthService) NameCalls(stub func() string)
func (*FakeAuthService) NameReturns ¶
func (fake *FakeAuthService) NameReturns(result1 string)
func (*FakeAuthService) NameReturnsOnCall ¶ added in v0.12.0
func (fake *FakeAuthService) NameReturnsOnCall(i int, result1 string)
func (*FakeAuthService) ParseRequestAuth ¶
func (*FakeAuthService) ParseRequestAuthArgsForCall ¶
func (fake *FakeAuthService) ParseRequestAuthArgsForCall(i int) http.Request
func (*FakeAuthService) ParseRequestAuthCallCount ¶
func (fake *FakeAuthService) ParseRequestAuthCallCount() int
func (*FakeAuthService) ParseRequestAuthCalls ¶ added in v0.19.0
func (*FakeAuthService) ParseRequestAuthReturns ¶
func (fake *FakeAuthService) ParseRequestAuthReturns(result1 *auth.Token, result2 error)
func (*FakeAuthService) ParseRequestAuthReturnsOnCall ¶ added in v0.12.0
func (fake *FakeAuthService) ParseRequestAuthReturnsOnCall(i int, result1 *auth.Token, result2 error)
func (*FakeAuthService) SupportsRequestAuth ¶ added in v0.17.0
func (fake *FakeAuthService) SupportsRequestAuth(arg1 http.Request) (bool, error)
func (*FakeAuthService) SupportsRequestAuthArgsForCall ¶ added in v0.17.0
func (fake *FakeAuthService) SupportsRequestAuthArgsForCall(i int) http.Request
func (*FakeAuthService) SupportsRequestAuthCallCount ¶ added in v0.17.0
func (fake *FakeAuthService) SupportsRequestAuthCallCount() int
func (*FakeAuthService) SupportsRequestAuthCalls ¶ added in v0.19.0
func (fake *FakeAuthService) SupportsRequestAuthCalls(stub func(http.Request) (bool, error))
func (*FakeAuthService) SupportsRequestAuthReturns ¶ added in v0.17.0
func (fake *FakeAuthService) SupportsRequestAuthReturns(result1 bool, result2 error)
func (*FakeAuthService) SupportsRequestAuthReturnsOnCall ¶ added in v0.17.0
func (fake *FakeAuthService) SupportsRequestAuthReturnsOnCall(i int, result1 bool, result2 error)
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) VerifyAuthorization ¶ added in v0.7.0
func (*FakeAuthService) VerifyAuthorizationArgsForCall ¶ added in v0.7.0
func (*FakeAuthService) VerifyAuthorizationCallCount ¶ added in v0.7.0
func (fake *FakeAuthService) VerifyAuthorizationCallCount() int
func (*FakeAuthService) VerifyAuthorizationCalls ¶ added in v0.19.0
func (*FakeAuthService) VerifyAuthorizationReturns ¶ added in v0.7.0
func (fake *FakeAuthService) VerifyAuthorizationReturns(result1 error)
func (*FakeAuthService) VerifyAuthorizationReturnsOnCall ¶ added in v0.12.0
func (fake *FakeAuthService) VerifyAuthorizationReturnsOnCall(i int, result1 error)
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 FakeFactory ¶
type FakeFactory struct { CreateStub func(servicea.Type, string, map[string]interface{}) (service.Service, error) // contains filtered or unexported fields }
func (*FakeFactory) CreateArgsForCall ¶
func (*FakeFactory) CreateCallCount ¶
func (fake *FakeFactory) CreateCallCount() int
func (*FakeFactory) CreateCalls ¶ added in v0.19.0
func (*FakeFactory) CreateReturns ¶
func (fake *FakeFactory) CreateReturns(result1 service.Service, result2 error)
func (*FakeFactory) CreateReturnsOnCall ¶ added in v0.12.0
func (fake *FakeFactory) CreateReturnsOnCall(i int, result1 service.Service, result2 error)
func (*FakeFactory) Invocations ¶
func (fake *FakeFactory) Invocations() map[string][][]interface{}
type FakeManager ¶
type FakeManager struct { AddStub func(service.Service) GetStub func(string) (service.Service, error) ServicesStub func() []string // 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) GetArgsForCall ¶
func (fake *FakeManager) GetArgsForCall(i int) string
func (*FakeManager) GetCallCount ¶
func (fake *FakeManager) GetCallCount() int
func (*FakeManager) GetCalls ¶ added in v0.19.0
func (fake *FakeManager) GetCalls(stub func(string) (service.Service, error))
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{}
func (*FakeManager) Services ¶
func (fake *FakeManager) Services() []string
func (*FakeManager) ServicesCallCount ¶
func (fake *FakeManager) ServicesCallCount() int
func (*FakeManager) ServicesCalls ¶ added in v0.19.0
func (fake *FakeManager) ServicesCalls(stub func() []string)
func (*FakeManager) ServicesReturns ¶
func (fake *FakeManager) ServicesReturns(result1 []string)
func (*FakeManager) ServicesReturnsOnCall ¶ added in v0.12.0
func (fake *FakeManager) ServicesReturnsOnCall(i int, result1 []string)
type FakeService ¶
type FakeService struct { GetRoutesStub func() []req.RouteHandler MetadataStub func() interface{} NameStub func() string TypeStub func() servicea.Type VerifyAuthorizationStub func(http.Request, *auth.Token) error VersionStub func() string // contains filtered or unexported fields }
func (*FakeService) GetRoutes ¶
func (fake *FakeService) GetRoutes() []req.RouteHandler
func (*FakeService) GetRoutesCallCount ¶
func (fake *FakeService) GetRoutesCallCount() int
func (*FakeService) GetRoutesCalls ¶ added in v0.19.0
func (fake *FakeService) GetRoutesCalls(stub func() []req.RouteHandler)
func (*FakeService) GetRoutesReturns ¶
func (fake *FakeService) GetRoutesReturns(result1 []req.RouteHandler)
func (*FakeService) GetRoutesReturnsOnCall ¶ added in v0.12.0
func (fake *FakeService) GetRoutesReturnsOnCall(i int, result1 []req.RouteHandler)
func (*FakeService) Invocations ¶
func (fake *FakeService) Invocations() map[string][][]interface{}
func (*FakeService) Metadata ¶
func (fake *FakeService) Metadata() interface{}
func (*FakeService) MetadataCallCount ¶
func (fake *FakeService) MetadataCallCount() int
func (*FakeService) MetadataCalls ¶ added in v0.19.0
func (fake *FakeService) MetadataCalls(stub func() interface{})
func (*FakeService) MetadataReturns ¶
func (fake *FakeService) MetadataReturns(result1 interface{})
func (*FakeService) MetadataReturnsOnCall ¶ added in v0.12.0
func (fake *FakeService) MetadataReturnsOnCall(i int, result1 interface{})
func (*FakeService) Name ¶
func (fake *FakeService) Name() string
func (*FakeService) NameCallCount ¶
func (fake *FakeService) NameCallCount() int
func (*FakeService) NameCalls ¶ added in v0.19.0
func (fake *FakeService) NameCalls(stub func() string)
func (*FakeService) NameReturns ¶
func (fake *FakeService) NameReturns(result1 string)
func (*FakeService) NameReturnsOnCall ¶ added in v0.12.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) VerifyAuthorization ¶ added in v0.7.0
func (*FakeService) VerifyAuthorizationArgsForCall ¶ added in v0.7.0
func (*FakeService) VerifyAuthorizationCallCount ¶ added in v0.7.0
func (fake *FakeService) VerifyAuthorizationCallCount() int
func (*FakeService) VerifyAuthorizationCalls ¶ added in v0.19.0
func (*FakeService) VerifyAuthorizationReturns ¶ added in v0.7.0
func (fake *FakeService) VerifyAuthorizationReturns(result1 error)
func (*FakeService) VerifyAuthorizationReturnsOnCall ¶ added in v0.12.0
func (fake *FakeService) VerifyAuthorizationReturnsOnCall(i int, result1 error)
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)
type FakeServiceFactory ¶
type FakeServiceFactory struct { CreateStub func(string, map[string]interface{}) (service.Service, error) TypeStub func() servicea.Type // contains filtered or unexported fields }
func (*FakeServiceFactory) CreateArgsForCall ¶
func (fake *FakeServiceFactory) CreateArgsForCall(i int) (string, map[string]interface{})
func (*FakeServiceFactory) CreateCallCount ¶
func (fake *FakeServiceFactory) CreateCallCount() int
func (*FakeServiceFactory) CreateCalls ¶ added in v0.19.0
func (*FakeServiceFactory) CreateReturns ¶
func (fake *FakeServiceFactory) CreateReturns(result1 service.Service, result2 error)
func (*FakeServiceFactory) CreateReturnsOnCall ¶ added in v0.12.0
func (fake *FakeServiceFactory) CreateReturnsOnCall(i int, result1 service.Service, result2 error)
func (*FakeServiceFactory) Invocations ¶
func (fake *FakeServiceFactory) Invocations() map[string][][]interface{}
func (*FakeServiceFactory) Type ¶
func (fake *FakeServiceFactory) Type() servicea.Type
func (*FakeServiceFactory) TypeCallCount ¶
func (fake *FakeServiceFactory) TypeCallCount() int
func (*FakeServiceFactory) TypeCalls ¶ added in v0.19.0
func (fake *FakeServiceFactory) TypeCalls(stub func() servicea.Type)
func (*FakeServiceFactory) TypeReturns ¶
func (fake *FakeServiceFactory) TypeReturns(result1 servicea.Type)
func (*FakeServiceFactory) TypeReturnsOnCall ¶ added in v0.12.0
func (fake *FakeServiceFactory) TypeReturnsOnCall(i int, result1 servicea.Type)
Click to show internal directories.
Click to hide internal directories.