steps

package
v1.39.0 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2021 License: MIT Imports: 21 Imported by: 0

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

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

	LoggedInUser 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

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

func NewFakeApi

func NewFakeApi(t testing.TB) *FakeApi

func (*FakeApi) Close

func (f *FakeApi) Close()

func (*FakeApi) Reset

func (f *FakeApi) Reset()

type Publisher

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

func NewPublisher

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

Jump to

Keyboard shortcuts

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