steps

package
v0.37.0 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2025 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RedirectComponent added in v0.3.0

type RedirectComponent struct {
	componentTest.ErrorFeature

	Config         *config.Config
	HTTPServer     *http.Server
	ServiceRunning bool

	StartTime               time.Time
	AuthorisationMiddleware authorisation.Middleware
	// contains filtered or unexported fields
}

func NewRedirectComponent added in v0.3.0

func NewRedirectComponent(redisFeat *componentTest.RedisFeature, authFeat *componentTest.AuthorizationFeature) (*RedirectComponent, error)

func (*RedirectComponent) Close added in v0.3.0

func (c *RedirectComponent) Close() error

func (*RedirectComponent) DoGetAuthorisationMiddlewareOk added in v0.3.2

func (c *RedirectComponent) DoGetAuthorisationMiddlewareOk(ctx context.Context, cfg *authorisation.Config) (authorisation.Middleware, error)

func (*RedirectComponent) DoGetHTTPServer added in v0.3.0

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

func (*RedirectComponent) DoGetHealthcheckOk added in v0.3.0

func (c *RedirectComponent) DoGetHealthcheckOk(cfg *config.Config, _, _, _ string) (service.HealthChecker, error)

func (*RedirectComponent) DoGetRedisClientOk added in v0.3.0

func (c *RedirectComponent) DoGetRedisClientOk(ctx context.Context, cfg *config.Config) (store.Redis, error)

func (*RedirectComponent) InitAPIFeature added in v0.3.0

func (c *RedirectComponent) InitAPIFeature() *componentTest.APIFeature

func (*RedirectComponent) InitialiseService added in v0.3.0

func (c *RedirectComponent) InitialiseService() (http.Handler, error)

func (*RedirectComponent) RegisterSteps added in v0.3.0

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

func (*RedirectComponent) Reset added in v0.3.0

Jump to

Keyboard shortcuts

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