steps

package
v1.117.0 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2026 License: MIT Imports: 24 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DoGetHealthClient

func DoGetHealthClient(name, url string) *health.Client

GetHealthClient returns a healthclient for the provided URL

func DoGetHealthcheckOk

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

DoGetHealthCheck creates a healthcheck with versionInfo

func GenerateCookie added in v1.42.0

func GenerateCookie(name, value, domain, path string, httpOnly bool) *http.Cookie

func SetCookies added in v1.42.0

func SetCookies(cookies []*http.Cookie) chromedp.Action

Types

type Chrome

type Chrome struct {
	// contains filtered or unexported fields
}

type Collection

type Collection struct {
	componenttest.ErrorFeature
	// contains filtered or unexported fields
}

func NewCollectionAction

func NewCollectionAction(f *FakeAPI, c context.Context) *Collection

type Component

type Component struct {
	componenttest.ErrorFeature

	HTTPServer *http.Server

	FakeAPI *FakeAPI

	SignedInUser string
	// contains filtered or unexported fields
}

func NewFlorenceComponent

func NewFlorenceComponent() (*Component, error)

func (*Component) Close

func (c *Component) Close() error

func (*Component) DoGetHTTPServer

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

func (*Component) InitialiseService

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

func (*Component) RegisterSteps

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

func (*Component) Reset

func (c *Component) Reset() *Component

type FakeAPI added in v1.91.0

type FakeAPI struct {
	// contains filtered or unexported fields
}

func NewFakeAPI added in v1.91.0

func NewFakeAPI(t testing.TB) *FakeAPI

func (*FakeAPI) Close added in v1.91.0

func (f *FakeAPI) Close()

func (*FakeAPI) Reset added in v1.91.0

func (f *FakeAPI) Reset()
type Header struct {
	Name  string
	Value string
}

type Publisher

type Publisher struct {
	// contains filtered or unexported fields
}

func NewPublisher

func NewPublisher(api *FakeAPI, ctx context.Context) *Publisher

type User added in v1.42.0

type User interface {
	// contains filtered or unexported methods
}

Jump to

Keyboard shortcuts

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