steps

package
v1.4.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 3, 2023 License: MIT Imports: 14 Imported by: 0

Documentation

Index

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 NewComponent() (*Component, error)

func (*Component) Close

func (c *Component) Close() error

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 (c *Component) DoGetHTTPServer(bindAddr string, router http.Handler) service.HTTPServer

func (*Component) DoGetHealthClient

func (c *Component) DoGetHealthClient(name, url string) *health.Client

func (*Component) DoGetHealthcheckOk

func (c *Component) DoGetHealthcheckOk(_ *config.Config, _, _, _ string) (service.HealthChecker, error)

func (*Component) InitialiseService

func (c *Component) InitialiseService() (http.Handler, error)

func (*Component) RegisterSteps

func (c *Component) RegisterSteps(ctx *godog.ScenarioContext)

func (*Component) Reset

func (c *Component) Reset() *Component

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL