( runtime: RemoteSessionRuntime, )
| 69 | } |
| 70 | |
| 71 | export function remoteRuntimeEnvironmentVariables( |
| 72 | runtime: RemoteSessionRuntime, |
| 73 | ): Record<string, string> { |
| 74 | return { |
| 75 | NCODE_REMOTE_RUNTIME_KIND: runtime.kind, |
| 76 | NCODE_REMOTE_RUNTIME_PROVIDER_MODE: runtime.provider_mode, |
| 77 | ...(runtime.token_transport |
| 78 | ? { NCODE_REMOTE_RUNTIME_TOKEN_TRANSPORT: runtime.token_transport } |
| 79 | : {}), |
| 80 | } |
| 81 | } |
no outgoing calls
no test coverage detected