Documentation
¶
Index ¶
- type Component
- func (c *Component) Close() error
- func (c *Component) DoGetAppClients(ctx context.Context, cfg *config.Config) *clients.ClientList
- func (c *Component) DoGetHTTPServer(bindAddr string, router http.Handler) service.HTTPServer
- func (c *Component) DoGetHealthcheckOk(cfg *config.Config, buildTime, gitCommit, version string) (service.HealthChecker, error)
- func (c *Component) DoGetMigrator(ctx context.Context, datastore store.Datastore, clientList *clients.ClientList) (migrator.Migrator, error)
- func (c *Component) DoGetMongoDB(ctx context.Context, cfg config.MongoConfig) (store.MongoDB, error)
- func (c *Component) InitialiseService() (http.Handler, error)
- func (c *Component) RegisterSteps(ctx *godog.ScenarioContext)
- func (c *Component) Reset() *Component
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Component ¶
type Component struct {
componenttest.ErrorFeature
Config *config.Config
HTTPServer *http.Server
ServiceRunning bool
// contains filtered or unexported fields
}
func NewComponent ¶
func (*Component) DoGetAppClients ¶ added in v0.5.0
func (*Component) DoGetHTTPServer ¶
func (*Component) DoGetHealthcheckOk ¶
func (*Component) DoGetMigrator ¶ added in v0.4.0
func (*Component) DoGetMongoDB ¶ added in v0.4.0
func (*Component) RegisterSteps ¶
func (c *Component) RegisterSteps(ctx *godog.ScenarioContext)
Click to show internal directories.
Click to hide internal directories.