CARVIEW |
Select Language
HTTP/2 200
date: Thu, 24 Jul 2025 05:23:44 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-repository-download: git clone https://github.com/containerd/containerd.git
etag: W/"104019ac053f0c276959cb74529d9443"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=NufaE0SXnP9IpspqX5%2FDv5QTzwFjVr6dOUWw37F559IkEsLqyBvyHQzu6rX0QKnqDODgfv4ngu8djDAFc8uQP%2BbB3ASJF4jCztT6S9iNxoDCa8%2BgX3KAEIuAzcsWQtaB%2FjkSq2LpH3GQBnV7wq%2FZ7VBevyQf%2FO%2B3KQQ4DA73Cg3dFCG4VkIpq%2FluqoBNO0CoJpHOg4k9qzaQICIWB0K2RZHDkwBn%2BWGvTU1cGu3UBrmYMN%2F%2BFUXqd5JPjoUsjeiWL6T%2FE40J9ZqI%2BAhY9Xtp1Q%3D%3D--YnDKanP2bQG3I1U%2B--fY%2FmzQ6FlM9NSSdPfHG%2FeA%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.404527510.1753334623; Path=/; Domain=github.com; Expires=Fri, 24 Jul 2026 05:23:43 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Fri, 24 Jul 2026 05:23:43 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: A3FC:B5FA6:1397A9E:17CA53E:6881C35F
sandbox: add all sandbox information to Create method · containerd/containerd@d2d434b · GitHub
Copy file name to clipboardExpand all lines: api/services/sandbox/v1/sandbox.pb.go
Copy file name to clipboardExpand all lines: api/services/sandbox/v1/sandbox.proto
Copy file name to clipboardExpand all lines: pkg/cri/server/podsandbox/sandbox_run.go
Copy file name to clipboardExpand all lines: pkg/cri/server/sandbox_run.go
Copy file name to clipboardExpand all lines: plugins/sandbox/controller.go
Copy file name to clipboardExpand all lines: sandbox/proxy/controller.go
Copy file name to clipboardExpand all lines: services/sandbox/controller_service.go
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Commit d2d434b
sandbox: add all sandbox information to Create method
When call sandbox controller to create sandbox, we change the param from
sandbox id to total sandbox object to git all information to controller,
so that sandbox controller do not rely on the sandbox store anymore,
this is more decouple for the sandbox controller plugin inside
containerd, and it is neccesary for remote sandbox controller plugins as
it is not able to get sandbox from the sandbox store anymore.
Signed-off-by: Abel Feng <fshb1988@gmail.com>1 parent 0707f68 commit d2d434bCopy full SHA for d2d434b
File tree
Expand file treeCollapse file tree
9 files changed
+129
-120
lines changedFilter options
- api
- services/sandbox/v1
- pkg/cri/server
- podsandbox
- plugins/sandbox
- sandbox
- proxy
- services/sandbox
Expand file treeCollapse file tree
9 files changed
+129
-120
lines changed+7Lines changed: 7 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
5528 | 5528 |
| |
5529 | 5529 |
| |
5530 | 5530 |
| |
| 5531 | + | |
| 5532 | + | |
| 5533 | + | |
| 5534 | + | |
| 5535 | + | |
| 5536 | + | |
| 5537 | + | |
5531 | 5538 |
| |
5532 | 5539 |
| |
5533 | 5540 |
| |
|
api/services/sandbox/v1/sandbox.pb.go
Copy file name to clipboardExpand all lines: api/services/sandbox/v1/sandbox.pb.go+108-98Lines changed: 108 additions & 98 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
api/services/sandbox/v1/sandbox.proto
Copy file name to clipboardExpand all lines: api/services/sandbox/v1/sandbox.proto+1Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
174 | 174 |
| |
175 | 175 |
| |
176 | 176 |
| |
| 177 | + | |
177 | 178 |
| |
178 | 179 |
| |
179 | 180 |
| |
|
pkg/cri/server/podsandbox/sandbox_run.go
Copy file name to clipboardExpand all lines: pkg/cri/server/podsandbox/sandbox_run.go+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
273 | 273 |
| |
274 | 274 |
| |
275 | 275 |
| |
276 |
| - | |
| 276 | + | |
277 | 277 |
| |
278 | 278 |
| |
279 | 279 |
| |
|
pkg/cri/server/sandbox_run.go
Copy file name to clipboardExpand all lines: pkg/cri/server/sandbox_run.go+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
249 | 249 |
| |
250 | 250 |
| |
251 | 251 |
| |
252 |
| - | |
| 252 | + | |
253 | 253 |
| |
254 | 254 |
| |
255 | 255 |
| |
|
plugins/sandbox/controller.go
Copy file name to clipboardExpand all lines: plugins/sandbox/controller.go+2-14Lines changed: 2 additions & 14 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
59 | 59 |
| |
60 | 60 |
| |
61 | 61 |
| |
62 |
| - | |
63 |
| - | |
64 |
| - | |
65 |
| - | |
66 |
| - | |
67 | 62 |
| |
68 | 63 |
| |
69 | 64 |
| |
70 |
| - | |
71 | 65 |
| |
72 | 66 |
| |
73 | 67 |
| |
74 | 68 |
| |
75 |
| - | |
76 | 69 |
| |
77 | 70 |
| |
78 | 71 |
| |
| |||
81 | 74 |
| |
82 | 75 |
| |
83 | 76 |
| |
84 |
| - | |
85 | 77 |
| |
86 | 78 |
| |
87 | 79 |
| |
| |||
106 | 98 |
| |
107 | 99 |
| |
108 | 100 |
| |
109 |
| - | |
| 101 | + | |
110 | 102 |
| |
| 103 | + | |
111 | 104 |
| |
112 | 105 |
| |
113 | 106 |
| |
| |||
116 | 109 |
| |
117 | 110 |
| |
118 | 111 |
| |
119 |
| - | |
120 |
| - | |
121 |
| - | |
122 |
| - | |
123 |
| - | |
124 | 112 |
| |
125 | 113 |
| |
126 | 114 |
| |
|
+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
94 | 94 |
| |
95 | 95 |
| |
96 | 96 |
| |
97 |
| - | |
| 97 | + | |
98 | 98 |
| |
99 | 99 |
| |
100 | 100 |
| |
|
sandbox/proxy/controller.go
Copy file name to clipboardExpand all lines: sandbox/proxy/controller.go+2-2Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
40 | 40 |
| |
41 | 41 |
| |
42 | 42 |
| |
43 |
| - | |
| 43 | + | |
44 | 44 |
| |
45 | 45 |
| |
46 | 46 |
| |
47 | 47 |
| |
48 | 48 |
| |
49 |
| - | |
| 49 | + | |
50 | 50 |
| |
51 | 51 |
| |
52 | 52 |
| |
|
services/sandbox/controller_service.go
Copy file name to clipboardExpand all lines: services/sandbox/controller_service.go+6-3Lines changed: 6 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
103 | 103 |
| |
104 | 104 |
| |
105 | 105 |
| |
106 |
| - | |
| 106 | + | |
107 | 107 |
| |
108 | 108 |
| |
109 | 109 |
| |
| |||
217 | 217 |
| |
218 | 218 |
| |
219 | 219 |
| |
220 |
| - | |
221 |
| - | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
222 | 225 |
| |
223 | 226 |
| |
224 | 227 |
| |
|
You can’t perform that action at this time.
0 commit comments