Documentation
¶
Index ¶
- func NewNoopTB(name string) (testutil.TB, func())
- func NewSilentTB(tb testutil.TB) testutil.TB
- type LazyCluster
- type NoopTB
- func (t *NoopTB) Cleanup(f func())
- func (t *NoopTB) Error(args ...any)
- func (t *NoopTB) Errorf(format string, args ...any)
- func (t *NoopTB) Fail()
- func (t *NoopTB) FailNow()
- func (t *NoopTB) Failed() bool
- func (t *NoopTB) Fatal(args ...any)
- func (t *NoopTB) Fatalf(format string, args ...any)
- func (t *NoopTB) Helper()
- func (t *NoopTB) Log(...any)
- func (t *NoopTB) Logf(string, ...any)
- func (t *NoopTB) Name() string
- func (t *NoopTB) Skip(...any)
- func (t *NoopTB) TempDir() string
- type SilentTB
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type LazyCluster ¶
type LazyCluster = etcdlazy.LazyCluster
LazyCluster is an alias for etcdlazy.LazyCluster.
func NewLazyCluster ¶
func NewLazyCluster() LazyCluster
NewLazyCluster returns a new test cluster handler that gets created on the first call to GetEndpoints() or GetTransport(). This implementation uses a no-op TB to skip logging.
func NewLazyClusterWithConfig ¶
func NewLazyClusterWithConfig(cfg etcdintegration.ClusterConfig) LazyCluster
NewLazyClusterWithConfig returns a new test cluster handler that gets created on the first call to GetEndpoints() or GetTransport(). This implementation uses a no-op TB to skip logging.
Click to show internal directories.
Click to hide internal directories.