Versions in this module Expand all Collapse all v3 v3.13.1 Sep 21, 2022 Changes in this version + func ChangeNamespace(cmd *Command, env, namespace string) error + func Login(serv Server, t *T, email, password string) error + func Try(blockName string, t *T, f cmdFunc, maxTime time.Duration) error + func TrySuite(t *testing.T, f func(t *T), times int) + type Command struct + Config string + Dir string + Env string + func (c *Command) Exec(args ...string) ([]byte, error) + func (c *Command) Output() ([]byte, error) + func (c *Command) Start(args ...string) error + func (c *Command) Stop() error + type NewServerFunc func(t *T, fname string, opts ...Option) Server + type Option func(o *Options) + func WithDisableAdmin() Option + func WithLogin() Option + func WithNamespace(ns string) Option + type Options struct + DisableAdmin bool + Login bool + Namespace string + type Server interface + APIPort func() int + Close func() + Command func() *Command + Env func() string + ProxyPort func() int + Run func() error + func NewServer(t *T, opts ...Option) Server + type ServerBase struct + func (s *ServerBase) APIPort() int + func (s *ServerBase) Close() + func (s *ServerBase) Command() *Command + func (s *ServerBase) Env() string + func (s *ServerBase) ProxyPort() int + func (s *ServerBase) Run() error + type ServerDefault struct + func (s *ServerDefault) Close() + func (s *ServerDefault) Run() error + type T struct + func New(t *testing.T) *T + func (t *T) Failed() bool + func (t *T) Fatal(values ...interface{}) + func (t *T) Fatalf(format string, values ...interface{}) + func (t *T) Log(values ...interface{}) + func (t *T) Logf(format string, values ...interface{}) + func (t *T) Parallel() + func (t *T) T() *testing.T