steps

package
v1.34.0 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2025 License: MIT Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MongoFeature added in v1.22.0

type MongoFeature struct {
	componenttest.ErrorFeature
	*componenttest.MongoFeature
	// contains filtered or unexported fields
}

func NewMongoFeature added in v1.22.0

func NewMongoFeature(ef componenttest.ErrorFeature, cfg *config.Config) *MongoFeature

func (*MongoFeature) RegisterSteps added in v1.22.0

func (mf *MongoFeature) RegisterSteps(ctx *godog.ScenarioContext)

type PopulationTypesComponent added in v1.1.0

type PopulationTypesComponent struct {
	componenttest.ErrorFeature

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

	InitialiserMock service.Initialiser
	MongoFeature    *MongoFeature

	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) GetMongoClient added in v1.22.0

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