Appends the authentication token to the gRPC context
(ctx context.Context)
| 161 | |
| 162 | // Appends the authentication token to the gRPC context |
| 163 | func (i *invoker) appendMetadata(ctx context.Context) context.Context { |
| 164 | return metadata.AppendToOutgoingContext(ctx, "Authorization", "Bearer token") |
| 165 | } |
| 166 | |
| 167 | // Starts a remote JupyterLab server to allow the user to connect to the codespace via JupyterLab in their browser |
| 168 | func (i *invoker) StartJupyterServer(ctx context.Context) (port int, serverUrl string, err error) { |
no outgoing calls
no test coverage detected