test

package
v0.0.0-...-e341b83 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2026 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Helper

type Helper struct {
	testutil.BaseHelper
	APIServer         pkgserver.Server
	GRPCServer        pkgserver.Server
	ControllersServer *pkgserver.ControllersServer
	MetricsServer     pkgserver.Server
	HealthCheckServer pkgserver.Server
	TimeFunc          TimeFunc
	// contains filtered or unexported fields
}

func NewHelper

func NewHelper(t *testing.T) *Helper

func RegisterIntegration

func RegisterIntegration(t *testing.T) (*Helper, *openapi.APIClient)

func (*Helper) Env

func (helper *Helper) Env() *environments.Env

func (*Helper) GRPCAddress

func (helper *Helper) GRPCAddress() string

func (*Helper) NewApiClient

func (helper *Helper) NewApiClient() *openapi.APIClient

func (*Helper) NewAuthenticatedContext

func (helper *Helper) NewAuthenticatedContext(account *amv1.Account) context.Context

func (*Helper) OpenapiError

func (helper *Helper) OpenapiError(err error) openapi.Error

func (*Helper) RestURL

func (helper *Helper) RestURL(path string) string

func (*Helper) RestartMetricsServer

func (helper *Helper) RestartMetricsServer()

func (*Helper) RestartServer

func (helper *Helper) RestartServer()

func (*Helper) StartControllersServer

func (helper *Helper) StartControllersServer()

func (*Helper) Teardown

func (helper *Helper) Teardown()

type TimeFunc

type TimeFunc func() time.Time

Jump to

Keyboard shortcuts

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