Documentation ¶
Index ¶
- type Component
- func (c *Component) Close() error
- func (c *Component) DoGetAuthorisationMiddleware(ctx context.Context, cfg *authorisation.Config) (authorisation.Middleware, error)
- func (c *Component) DoGetHTTPServer(bindAddr string, router http.Handler) service.HTTPServer
- func (c *Component) DoGetHealthClient(name, url string) *health.Client
- func (c *Component) DoGetHealthcheckOk(_ *config.Config, _, _, _ string) (service.HealthChecker, error)
- func (c *Component) InitialiseService() (http.Handler, error)
- func (c *Component) RegisterSteps(ctx *godog.ScenarioContext)
- func (c *Component) Reset() *Component
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Component ¶
type Component struct { componenttest.ErrorFeature Config *config.Config HTTPServer *http.Server ServiceRunning bool // contains filtered or unexported fields }
func NewComponent ¶
func (*Component) DoGetAuthorisationMiddleware ¶ added in v1.2.0
func (c *Component) DoGetAuthorisationMiddleware(ctx context.Context, cfg *authorisation.Config) (authorisation.Middleware, error)
func (*Component) DoGetHTTPServer ¶
func (*Component) DoGetHealthClient ¶
func (*Component) DoGetHealthcheckOk ¶
func (*Component) RegisterSteps ¶
func (c *Component) RegisterSteps(ctx *godog.ScenarioContext)
Click to show internal directories.
Click to hide internal directories.