summaryrefslogtreecommitdiffhomepage
path: root/runsc/boot/boot_state_autogen.go
blob: 167d1cf02bd234b861d78b2df3d65421ccc4656f (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
// automatically generated by stateify.

package boot

import (
	"gvisor.dev/gvisor/pkg/state"
)

func (x *sandboxNetstackCreator) beforeSave() {}
func (x *sandboxNetstackCreator) save(m state.Map) {
	x.beforeSave()
	m.Save("clock", &x.clock)
	m.Save("uniqueID", &x.uniqueID)
}

func (x *sandboxNetstackCreator) afterLoad() {}
func (x *sandboxNetstackCreator) load(m state.Map) {
	m.Load("clock", &x.clock)
	m.Load("uniqueID", &x.uniqueID)
}

func init() {
	state.Register("runsc/boot.sandboxNetstackCreator", (*sandboxNetstackCreator)(nil), state.Fns{Save: (*sandboxNetstackCreator).save, Load: (*sandboxNetstackCreator).load})
}