Documentation
¶
Index ¶
- func RandLocalTCPAddr(t *testing.T) *net.TCPAddr
- type Runner
- func (r *Runner[RT, CT]) AssertLogNoErrors()
- func (r *Runner[RT, CT]) AssertLogNoWarns()
- func (r *Runner[RT, CT]) Logs() string
- func (r *Runner[RT, CT]) Run() error
- func (r *Runner[RT, CT]) SetHTTPReadyStartWaiter(url string) *Runner[RT, CT]
- func (r *Runner[RT, CT]) SetStartWaiter(w func(CT) bool) *Runner[RT, CT]
- func (r *Runner[RT, CT]) SetTCPReadyStartWaiter(addr string) *Runner[RT, CT]
- func (r *Runner[RT, CT]) Start() *Runner[RT, CT]
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Runner ¶
type Runner[RT func(*runner.Runtime[CT]) error, CT any] struct { // contains filtered or unexported fields }
func (*Runner[RT, CT]) AssertLogNoErrors ¶
func (r *Runner[RT, CT]) AssertLogNoErrors()
func (*Runner[RT, CT]) AssertLogNoWarns ¶
func (r *Runner[RT, CT]) AssertLogNoWarns()
func (*Runner[RT, CT]) SetHTTPReadyStartWaiter ¶
func (*Runner[RT, CT]) SetStartWaiter ¶
func (*Runner[RT, CT]) SetTCPReadyStartWaiter ¶
Click to show internal directories.
Click to hide internal directories.