blob: d025a2a1ad33e7bf20accbf77a9684657dbdf289 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
// automatically generated by stateify.
package boot
import (
"gvisor.dev/gvisor/pkg/state"
)
func (x *sandboxNetstackCreator) StateTypeName() string {
return "runsc/boot.sandboxNetstackCreator"
}
func (x *sandboxNetstackCreator) StateFields() []string {
return []string{
"clock",
"uniqueID",
}
}
func (x *sandboxNetstackCreator) beforeSave() {}
func (x *sandboxNetstackCreator) StateSave(m state.Sink) {
x.beforeSave()
m.Save(0, &x.clock)
m.Save(1, &x.uniqueID)
}
func (x *sandboxNetstackCreator) afterLoad() {}
func (x *sandboxNetstackCreator) StateLoad(m state.Source) {
m.Load(0, &x.clock)
m.Load(1, &x.uniqueID)
}
func init() {
state.Register((*sandboxNetstackCreator)(nil))
}
|