mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
feat: add --disable-direct flag to CLI (#8131)
This commit is contained in:
@@ -117,6 +117,11 @@ type Client struct {
|
||||
// Trace can be enabled to propagate tracing spans to the Coder API.
|
||||
// This is useful for tracking a request end-to-end.
|
||||
Trace bool
|
||||
|
||||
// DisableDirectConnections forces any connections to workspaces to go
|
||||
// through DERP, regardless of the BlockEndpoints setting on each
|
||||
// connection.
|
||||
DisableDirectConnections bool
|
||||
}
|
||||
|
||||
// SessionToken returns the currently set token for the client.
|
||||
|
||||
Reference in New Issue
Block a user