We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 88c818f commit 1b6694dCopy full SHA for 1b6694d
1 file changed
sandbox-spec-v2/vm/spec.go
@@ -0,0 +1,22 @@
1
+package vm
2
+
3
+import (
4
+ "github.com/containerd/typeurl/v2"
5
+ specs "github.com/opencontainers/runtime-spec/specs-go"
6
+)
7
8
+func init() {
9
+ typeurl.Register(&Spec{}, "sandbox-spec-v2/vm/Spec", "Spec")
10
+}
11
12
+// Spec holds the subset of PodSandboxConfig that the VM sandbox
13
+// implementation needs.
14
+type Spec struct {
15
+ // Unstructured key-value map that may be set by the kubelet to store and
16
+ // retrieve arbitrary metadata.
17
+ Annotations map[string]string `json:"annotations,omitempty"`
18
19
+ // Devices holds Windows devices that should be assigned to the sandbox VM
20
+ // at boot time.
21
+ Devices []specs.WindowsDevice `json:"devices,omitempty"`
22
0 commit comments