steps

package
v1.42.0 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2022 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IdentityComponent

type IdentityComponent struct {
	ErrorFeature componenttest.ErrorFeature

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

	CognitoClient           *cognitoMock.CognitoIdentityProviderClientStub
	AuthorisationMiddleware authorisation.Middleware
	JWKSHandler             *jwksMock.JWKSIntMock
	// contains filtered or unexported fields
}

func NewIdentityComponent

func NewIdentityComponent() (*IdentityComponent, error)

func (*IdentityComponent) Close

func (c *IdentityComponent) Close() error

func (*IdentityComponent) DoGetAuthorisationMiddleware added in v1.31.0

func (c *IdentityComponent) DoGetAuthorisationMiddleware(ctx context.Context, cfg *authorisation.Config) (authorisation.Middleware, error)

func (*IdentityComponent) DoGetCognitoClient added in v1.5.0

func (c *IdentityComponent) DoGetCognitoClient(AWSRegion string) cognito.Client

func (*IdentityComponent) DoGetHTTPServer

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

func (*IdentityComponent) DoGetHealthcheckOk

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

func (*IdentityComponent) InitialiseService

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

func (*IdentityComponent) RegisterSteps

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

func (*IdentityComponent) Reset

Jump to

Keyboard shortcuts

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