// automatically generated by stateify. package boot import ( "gvisor.dev/gvisor/pkg/state" ) func (s *sandboxNetstackCreator) StateTypeName() string { return "runsc/boot.sandboxNetstackCreator" } func (s *sandboxNetstackCreator) StateFields() []string { return []string{ "clock", "uniqueID", } } func (s *sandboxNetstackCreator) beforeSave() {} func (s *sandboxNetstackCreator) StateSave(stateSinkObject state.Sink) { s.beforeSave() stateSinkObject.Save(0, &s.clock) stateSinkObject.Save(1, &s.uniqueID) } func (s *sandboxNetstackCreator) afterLoad() {} func (s *sandboxNetstackCreator) StateLoad(stateSourceObject state.Source) { stateSourceObject.Load(0, &s.clock) stateSourceObject.Load(1, &s.uniqueID) } func init() { state.Register((*sandboxNetstackCreator)(nil)) }