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

Function sshDisableAutostartOption

cli/ssh.go:1504–1512  ·  view source on GitHub ↗
(src *serpent.Bool)

Source from the content-addressed store, hash-verified

1502}
1503
1504func sshDisableAutostartOption(src *serpent.Bool) serpent.Option {
1505 return serpent.Option{
1506 Flag: "disable-autostart",
1507 Description: "Disable starting the workspace automatically when connecting via SSH.",
1508 Env: "CODER_SSH_DISABLE_AUTOSTART",
1509 Value: src,
1510 Default: "false",
1511 }
1512}
1513
1514type stdioErrLogReader struct {
1515 l slog.Logger

Callers 2

portForwardMethod · 0.85
sshMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected