Documentation
¶
Index ¶
- type Component
- func (c *Component) Close()
- func (c *Component) DoGetConsumer(ctx context.Context, cfg *config.Config) (kafkaConsumer kafka.IConsumerGroup, err error)
- func (c *Component) DoGetHTTPServer(bindAddr string, router http.Handler) service.HTTPServer
- func (c *Component) DoGetHealthCheck(cfg *config.Config, buildTime string, gitCommit string, version string) (service.HealthChecker, error)
- func (c *Component) RegisterSteps(ctx *godog.ScenarioContext)
- func (c *Component) Reset()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Component ¶
type Component struct { componenttest.ErrorFeature KafkaConsumer kafka.IConsumerGroup // contains filtered or unexported fields }
func NewComponent ¶
func NewComponent() *Component
func (*Component) DoGetConsumer ¶
func (*Component) DoGetHTTPServer ¶
func (*Component) DoGetHealthCheck ¶
func (*Component) RegisterSteps ¶
func (c *Component) RegisterSteps(ctx *godog.ScenarioContext)
Click to show internal directories.
Click to hide internal directories.