Documentation
¶
Index ¶
- func WellKnownTestTime() time.Time
- type DatasetComponent
- func (c *DatasetComponent) Close() error
- func (c *DatasetComponent) DoGetAuthorisationMiddleware(ctx context.Context, cfg *authorisation.Config) (authorisation.Middleware, error)
- func (c *DatasetComponent) DoGetCloudflareClientOk(ctx context.Context, cloudflareConfig *cloudflare.Config) (cloudflare.Clienter, error)
- func (c *DatasetComponent) DoGetFilesAPIClientOk(ctx context.Context, cfg *config.Configuration) (filesAPISDK.Clienter, error)
- func (c *DatasetComponent) DoGetGraphDBOk(context.Context) (store.GraphDB, service.Closer, error)
- func (c *DatasetComponent) DoGetHTTPServer(bindAddr string, router http.Handler) service.HTTPServer
- func (c *DatasetComponent) DoGetHealthcheckOk(*config.Configuration, string, string, string) (service.HealthChecker, error)
- func (c *DatasetComponent) DoGetKafkaProducer(ctx context.Context, cfg *config.Configuration, topic string) (kafka.IProducer, error)
- func (c *DatasetComponent) DoGetMockedKafkaProducerOk(context.Context, *config.Configuration, string) (kafka.IProducer, error)
- func (c *DatasetComponent) DoGetMongoDB(context.Context, config.MongoConfig) (store.MongoDB, error)
- func (c *DatasetComponent) InitialiseService() (http.Handler, error)
- func (c *DatasetComponent) RegisterSteps(ctx *godog.ScenarioContext)
- func (c *DatasetComponent) Reset() error
- func (c *DatasetComponent) URLRewritingIsEnabled() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WellKnownTestTime ¶ added in v1.41.0
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
AuthorisationMiddleware authorisation.Middleware
// 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) DoGetAuthorisationMiddleware ¶ added in v1.92.0
func (c *DatasetComponent) DoGetAuthorisationMiddleware(ctx context.Context, cfg *authorisation.Config) (authorisation.Middleware, error)
func (*DatasetComponent) DoGetCloudflareClientOk ¶ added in v1.94.0
func (c *DatasetComponent) DoGetCloudflareClientOk(ctx context.Context, cloudflareConfig *cloudflare.Config) (cloudflare.Clienter, error)
func (*DatasetComponent) DoGetFilesAPIClientOk ¶ added in v1.91.0
func (c *DatasetComponent) DoGetFilesAPIClientOk(ctx context.Context, cfg *config.Configuration) (filesAPISDK.Clienter, error)
func (*DatasetComponent) DoGetGraphDBOk ¶ added in v1.29.0
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, string, 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 (c *DatasetComponent) DoGetMongoDB(context.Context, config.MongoConfig) (store.MongoDB, error)
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
func (*DatasetComponent) URLRewritingIsEnabled ¶ added in v1.67.0
func (c *DatasetComponent) URLRewritingIsEnabled() error
Click to show internal directories.
Click to hide internal directories.