Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigurationService ¶
type ConfigurationService struct { ServerSettings *config.ServerSettings TesterSettings *config.TesterSettings TesterConfig *config.TesterConfig MetricsSettings *config.MetricsSettings }
func CreateConfigurationService ¶
func CreateConfigurationService(configReader config.BlackboxConfigReader) (*ConfigurationService, error)
type Factory ¶
type Factory struct { ConfigurationService *ConfigurationService MetricsService MetricsServiceInterface }
func NewServiceFactory ¶
func NewServiceFactory(configurationService *ConfigurationService) (*Factory, error)
type MetricsServiceInterface ¶
type MetricsServiceInterface interface { ReportStepTestSuccess(ctx context.Context, flowName string, stepName string) error ReportStepTestError(ctx context.Context, flowName string, stepName string) error ReportStepTestTimeout(ctx context.Context, flowName string, stepName string) error ReportStepTestDuration(ctx context.Context, flowName string, ms float64, stepName string) error }
func NewMetricsService ¶
func NewMetricsService(settings *config.MetricsSettings) (MetricsServiceInterface, error)
Click to show internal directories.
Click to hide internal directories.