Documentation
¶
Index ¶
- type Helper
- func (helper *Helper) Env() *environments.Env
- func (helper *Helper) GRPCAddress() string
- func (helper *Helper) NewApiClient() *openapi.APIClient
- func (helper *Helper) NewAuthenticatedContext(account *amv1.Account) context.Context
- func (helper *Helper) OpenapiError(err error) openapi.Error
- func (helper *Helper) RestURL(path string) string
- func (helper *Helper) RestartMetricsServer()
- func (helper *Helper) RestartServer()
- func (helper *Helper) StartControllersServer()
- func (helper *Helper) Teardown()
- type TimeFunc
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 (*Helper) Env ¶
func (helper *Helper) Env() *environments.Env
func (*Helper) GRPCAddress ¶
func (*Helper) NewApiClient ¶
func (*Helper) NewAuthenticatedContext ¶
func (*Helper) RestartMetricsServer ¶
func (helper *Helper) RestartMetricsServer()
func (*Helper) RestartServer ¶
func (helper *Helper) RestartServer()
func (*Helper) StartControllersServer ¶
func (helper *Helper) StartControllersServer()
Click to show internal directories.
Click to hide internal directories.