| 5352 | } |
| 5353 | |
| 5354 | type SSHConfigResponse struct { |
| 5355 | // HostnamePrefix is the prefix we append to workspace names for SSH hostnames. |
| 5356 | // Deprecated: use HostnameSuffix instead. |
| 5357 | HostnamePrefix string `json:"hostname_prefix"` |
| 5358 | |
| 5359 | // HostnameSuffix is the suffix to append to workspace names for SSH hostnames. |
| 5360 | HostnameSuffix string `json:"hostname_suffix"` |
| 5361 | SSHConfigOptions map[string]string `json:"ssh_config_options"` |
| 5362 | } |
| 5363 | |
| 5364 | // Validate checks that the deployment-provided SSH configuration is safe to |
| 5365 | // write into a user's local SSH config. Validating here ensures a deployment |
nothing calls this directly
no outgoing calls
no test coverage detected