steps

package
v0.0.0-...-ab02cca Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2022 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DoGetHealthClient

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

GetHealthClient returns a healthclient for the provided URL

func DoGetHealthcheckOk

func DoGetHealthcheckOk(cfg *config.Config, buildTime, gitCommit, version string) (service.HealthChecker, error)

DoGetHealthCheck creates a healthcheck with versionInfo

func DoGetInteractivesAPIClientFunc

func DoGetInteractivesAPIClientFunc(apiRouter *health.Client) (routes.InteractivesAPIClient, error)

Types

type Chrome

type Chrome struct {
	// contains filtered or unexported fields
}

type Component

type Component struct {
	componenttest.ErrorFeature

	HTTPServer *http.Server
	// contains filtered or unexported fields
}

func NewComponent

func NewComponent() (*Component, error)

func (*Component) Close

func (c *Component) Close() error

func (*Component) DoGetHTTPServer

func (c *Component) DoGetHTTPServer(bindAddr string, router http.Handler) service.HTTPServer

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