Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit870b8d3

Browse files
committed
impl: add the option to disable ssh wildcard configuration
It will be used later by the Coder Settings view to allow usersto enable or disable SSH hostname wildcard configuration.
1 parent546d317 commit870b8d3

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

‎src/main/kotlin/com/coder/gateway/settings/CoderSettings.kt‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,12 @@ open class CoderSettingsState(
9898
// around issues on macOS where it periodically wakes and Gateway
9999
// reconnects, keeping the workspace constantly up.
100100
openvardisableAutostart:Boolean = getOS() ==OS.MAC,
101+
102+
/**
103+
* Whether SSH wildcard config is enabled
104+
*/
105+
openvarisSshWildcardConfigEnabled:Boolean =true,
106+
101107
// Extra SSH config options.
102108
openvarsshConfigOptions:String ="",
103109
// An external command to run in the directory of the IDE before connecting
@@ -199,6 +205,12 @@ open class CoderSettings(
199205
val disableAutostart:Boolean
200206
get()= state.disableAutostart
201207

208+
/**
209+
* Whether SSH wildcard config is enabled
210+
*/
211+
val isSshWildcardConfigEnabled:Boolean
212+
get()= state.isSshWildcardConfigEnabled
213+
202214
/**
203215
* Extra SSH config to append to each host block.
204216
*/

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp