MCPcopy Index your code
hub / github.com/coder/coder / BasicClientStarter

Struct BasicClientStarter

tailnet/test/integration/integration.go:388–399  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

386}
387
388type BasicClientStarter struct {
389 BlockEndpoints bool
390 DERPForceWebsockets bool
391 // WaitForConnection means wait for (any) peer connection before returning from StartClient
392 WaitForConnection bool
393 // WaitForConnection means wait for a direct peer connection before returning from StartClient
394 WaitForDirect bool
395 // Service is a network service (e.g. an echo server) to start on the client. If Wait* is set, the service is
396 // started prior to waiting.
397 Service NetworkService
398 LogPackets bool
399}
400
401type NetworkService interface {
402 StartService(t *testing.T, logger slog.Logger, conn *tailnet.Conn)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected