Commit 8b42fec
committed
Upgrade to GRPC V2
No real notable API changes. The largest change code wise is in Vminitd.
The connection loop is setup immediately in the new API by calling
runConnections() on the client, and this blocks until either the task
it's running on is cancelled or beginGracefulShutdown is called. Because
of this, either we'd have to modify our API to have VirtualMachineAgent
implementations call some run() method, or we just put runConnections in
an internal task on Vminitd. I went for the latter approach as it's simpler.1 parent ce0963f commit 8b42fec
12 files changed
Lines changed: 6760 additions & 3476 deletions
File tree
- Sources/Containerization
- SandboxContext
- vminitd
- Sources/vminitd
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
43 | 46 | | |
44 | | - | |
| 47 | + | |
45 | 48 | | |
46 | 49 | | |
47 | 50 | | |
| |||
56 | 59 | | |
57 | 60 | | |
58 | 61 | | |
59 | | - | |
60 | 62 | | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
61 | 66 | | |
62 | 67 | | |
63 | 68 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| |||
0 commit comments