steps

package
v1.62.0 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2024 License: MIT Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WellKnownTestTime added in v1.41.0

func WellKnownTestTime() time.Time

Types

type DatasetComponent added in v1.29.0

type DatasetComponent struct {
	ErrorFeature componenttest.ErrorFeature

	MongoClient    *mongo.Mongo
	Config         *config.Configuration
	HTTPServer     *http.Server
	ServiceRunning bool
	// contains filtered or unexported fields
}

func NewDatasetComponent added in v1.29.0

func NewDatasetComponent(mongoURI, zebedeeURL string) (*DatasetComponent, error)

func (*DatasetComponent) Close added in v1.29.0

func (c *DatasetComponent) Close() error

func (*DatasetComponent) DoGetGraphDBOk added in v1.29.0

func (c *DatasetComponent) DoGetGraphDBOk(_ context.Context) (store.GraphDB, service.Closer, error)

func (*DatasetComponent) DoGetHTTPServer added in v1.29.0

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

func (*DatasetComponent) DoGetHealthcheckOk added in v1.29.0

func (c *DatasetComponent) DoGetHealthcheckOk(_ *config.Configuration, _, _, _ string) (service.HealthChecker, error)

func (*DatasetComponent) DoGetKafkaProducer added in v1.42.0

func (c *DatasetComponent) DoGetKafkaProducer(ctx context.Context, cfg *config.Configuration, topic string) (kafka.IProducer, error)

func (*DatasetComponent) DoGetMockedKafkaProducerOk added in v1.42.0

func (c *DatasetComponent) DoGetMockedKafkaProducerOk(_ context.Context, _ *config.Configuration, _ string) (kafka.IProducer, error)

func (*DatasetComponent) DoGetMongoDB added in v1.29.0

func (*DatasetComponent) InitialiseService added in v1.29.0

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

func (*DatasetComponent) RegisterSteps added in v1.29.0

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

func (*DatasetComponent) Reset added in v1.29.0

func (c *DatasetComponent) Reset() error

Jump to

Keyboard shortcuts

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