steps

package
v1.15.0 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2022 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PopulationTypesComponent added in v1.1.0

type PopulationTypesComponent struct {
	componenttest.ErrorFeature

	Config         *config.Config
	ServiceRunning bool
	HttpServer     *http.Server

	InitialiserMock service.Initialiser

	CantabularApiExt *httpfake.HTTPFake
	CantabularSrv    *httpfake.HTTPFake
	// contains filtered or unexported fields
}

func NewComponent

func NewComponent(t testing.TB, zebedeeURL string) (*PopulationTypesComponent, error)

func (*PopulationTypesComponent) Close added in v1.1.0

func (c *PopulationTypesComponent) Close() error

func (*PopulationTypesComponent) GetCantabularClient added in v1.1.0

func (*PopulationTypesComponent) GetDatasetAPIClient added in v1.2.0

func (c *PopulationTypesComponent) GetDatasetAPIClient(_ *config.Config) service.DatasetAPIClient

func (*PopulationTypesComponent) GetHealthcheck added in v1.1.0

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

func (*PopulationTypesComponent) GetHttpServer added in v1.1.0

func (c *PopulationTypesComponent) GetHttpServer(addr string, router http.Handler) service.HTTPServer

func (*PopulationTypesComponent) GetResponder added in v1.1.0

func (c *PopulationTypesComponent) GetResponder() service.Responder

func (*PopulationTypesComponent) InitialiseService added in v1.1.0

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

func (*PopulationTypesComponent) RegisterSteps added in v1.1.0

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

func (*PopulationTypesComponent) Reset added in v1.1.0

func (c *PopulationTypesComponent) Reset() error

Jump to

Keyboard shortcuts

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