steps

package
v1.35.0 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2026 License: MIT Imports: 24 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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 *componenttest.MongoFeature) (*MongoFeature, error)

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, mongoFeature *componenttest.MongoFeature) (*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