Documentation
¶
Index ¶
- type Component
- func (c *Component) Close() error
- 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) DoGetZebedeeClient(url string) api.ZebedeeClient
- 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) DoGetHTTPServer ¶
func (*Component) DoGetHealthcheckOk ¶
func (*Component) DoGetZebedeeClient ¶
func (c *Component) DoGetZebedeeClient(url string) api.ZebedeeClient
func (*Component) RegisterSteps ¶
func (c *Component) RegisterSteps(ctx *godog.ScenarioContext)
Click to show internal directories.
Click to hide internal directories.