File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -161,8 +161,10 @@ type ContainerSandbox string
161161const (
162162 // Unknown sandbox.
163163 ContainerSandboxUnknownSandbox = ContainerSandbox ("unknown_sandbox" )
164- ContainerSandboxV1 = ContainerSandbox ("v1" )
165- ContainerSandboxV2 = ContainerSandbox ("v2" )
164+ // Legacy sandboxing with slower cold starts. Fully supports the Linux system call interface.
165+ ContainerSandboxV1 = ContainerSandbox ("v1" )
166+ // Recommended sandboxing with faster cold starts.
167+ ContainerSandboxV2 = ContainerSandbox ("v2" )
166168)
167169
168170func (enum ContainerSandbox ) String () string {
Original file line number Diff line number Diff line change @@ -307,8 +307,10 @@ type FunctionSandbox string
307307const (
308308 // Unknown sandbox.
309309 FunctionSandboxUnknownSandbox = FunctionSandbox ("unknown_sandbox" )
310- FunctionSandboxV1 = FunctionSandbox ("v1" )
311- FunctionSandboxV2 = FunctionSandbox ("v2" )
310+ // Legacy sandboxing with slower cold starts. Fully supports the Linux system call interface.
311+ FunctionSandboxV1 = FunctionSandbox ("v1" )
312+ // Recommended sandboxing with faster cold starts.
313+ FunctionSandboxV2 = FunctionSandbox ("v2" )
312314)
313315
314316func (enum FunctionSandbox ) String () string {
You can’t perform that action at this time.
0 commit comments