steps

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2023 License: MIT Imports: 31 Imported by: 0

Documentation

Index

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
	EsClient          *es710.Client
	EsIndex           *godog.Table
	S3UploadedSitemap map[string]string
	// contains filtered or unexported fields
}

func NewComponent

func NewComponent() *Component

func (*Component) CleanFile

func (c *Component) CleanFile(file string)

func (*Component) DoGetConsumer

func (c *Component) DoGetConsumer(ctx context.Context, kafkaCfg *config.KafkaConfig) (kafkaConsumer kafka.IConsumerGroup, err error)

func (*Component) DoGetHTTPServer

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

func (*Component) DoGetHealthCheck

func (c *Component) DoGetHealthCheck(cfg *config.Config, buildTime, gitCommit, version string) (service.HealthChecker, error)

func (*Component) RegisterSteps

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

func (*Component) Reset

func (c *Component) Reset()

Jump to

Keyboard shortcuts

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