mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
feat: Add deployment side config-ssh options (#6613)
* feat: Allow setting deployment wide ssh config settings * feat: config-ssh respects deployment ssh config * The '.' is now configurable * Move buildinfo into deployment.go
This commit is contained in:
@@ -359,6 +359,7 @@ export interface DeploymentValues {
|
||||
// Named type "github.com/coder/coder/cli/clibase.Struct[[]github.com/coder/coder/codersdk.GitAuthConfig]" unknown, using "any"
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any -- TODO explain why this is needed
|
||||
readonly git_auth?: any
|
||||
readonly config_ssh?: SSHConfig
|
||||
readonly config?: string
|
||||
readonly write_config?: boolean
|
||||
// Named type "github.com/coder/coder/cli/clibase.HostPort" unknown, using "any"
|
||||
@@ -667,6 +668,18 @@ export interface Role {
|
||||
readonly display_name: string
|
||||
}
|
||||
|
||||
// From codersdk/deployment.go
|
||||
export interface SSHConfig {
|
||||
readonly DeploymentName: string
|
||||
readonly SSHConfigOptions: string[]
|
||||
}
|
||||
|
||||
// From codersdk/deployment.go
|
||||
export interface SSHConfigResponse {
|
||||
readonly hostname_prefix: string
|
||||
readonly ssh_config_options: Record<string, string>
|
||||
}
|
||||
|
||||
// From codersdk/serversentevents.go
|
||||
export interface ServerSentEvent {
|
||||
readonly type: ServerSentEventType
|
||||
|
||||
Reference in New Issue
Block a user