Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API struct {
*test.Mock
InitializeMiddlewareInvocations int
InitializeMiddlewareOutputs []error
InitializeRouterInvocations int
InitializeRouterInputs [][]*rest.Route
InitializeRouterOutputs []error
StatusInvocations int
StatusOutputs []*rest.Status
HandlerInvocations int
HandlerOutputs []http.Handler
}
func (*API) Expectations ¶
func (a *API) Expectations()
func (*API) InitializeMiddleware ¶
type Service ¶
type Service struct {
*test.Mock
VersionReporterInvocations int
VersionReporterImpl version.Reporter
ConfigReporterInvocations int
ConfigReporterImpl *testConfig.Reporter
LoggerInvocations int
LoggerImpl log.Logger
SecretInvocations int
SecretOutputs []string
AuthClientInvocations int
AuthClientImpl *testAuth.Client
}
func NewService ¶
func NewService() *Service
func (*Service) AuthClient ¶
func (*Service) ConfigReporter ¶
func (*Service) Expectations ¶
func (s *Service) Expectations()
func (*Service) VersionReporter ¶
Click to show internal directories.
Click to hide internal directories.