summaryrefslogtreecommitdiffhomepage
path: root/pkg/waiter
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-10-09 19:26:05 +0000
committergVisor bot <gvisor-bot@google.com>2020-10-09 19:26:05 +0000
commit69aa120d401c6d6028aebe4c050cefb4794a60f1 (patch)
tree9b57d56a75d3900b35c7814bf1417057f8fac933 /pkg/waiter
parent578aece760dd47a06a686f82efab5b650807d4c5 (diff)
parent743327817faa1aa46ff3b31f74a0c5c2d047d65a (diff)
Merge release-20200928.0-78-g743327817 (automated)
Diffstat (limited to 'pkg/waiter')
-rw-r--r--pkg/waiter/waiter_state_autogen.go44
1 files changed, 22 insertions, 22 deletions
diff --git a/pkg/waiter/waiter_state_autogen.go b/pkg/waiter/waiter_state_autogen.go
index 8110a621c..95ca472de 100644
--- a/pkg/waiter/waiter_state_autogen.go
+++ b/pkg/waiter/waiter_state_autogen.go
@@ -57,56 +57,56 @@ func (q *Queue) afterLoad() {}
func (q *Queue) StateLoad(stateSourceObject state.Source) {
}
-func (w *waiterList) StateTypeName() string {
+func (l *waiterList) StateTypeName() string {
return "pkg/waiter.waiterList"
}
-func (w *waiterList) StateFields() []string {
+func (l *waiterList) StateFields() []string {
return []string{
"head",
"tail",
}
}
-func (w *waiterList) beforeSave() {}
+func (l *waiterList) beforeSave() {}
-func (w *waiterList) StateSave(stateSinkObject state.Sink) {
- w.beforeSave()
- stateSinkObject.Save(0, &w.head)
- stateSinkObject.Save(1, &w.tail)
+func (l *waiterList) StateSave(stateSinkObject state.Sink) {
+ l.beforeSave()
+ stateSinkObject.Save(0, &l.head)
+ stateSinkObject.Save(1, &l.tail)
}
-func (w *waiterList) afterLoad() {}
+func (l *waiterList) afterLoad() {}
-func (w *waiterList) StateLoad(stateSourceObject state.Source) {
- stateSourceObject.Load(0, &w.head)
- stateSourceObject.Load(1, &w.tail)
+func (l *waiterList) StateLoad(stateSourceObject state.Source) {
+ stateSourceObject.Load(0, &l.head)
+ stateSourceObject.Load(1, &l.tail)
}
-func (w *waiterEntry) StateTypeName() string {
+func (e *waiterEntry) StateTypeName() string {
return "pkg/waiter.waiterEntry"
}
-func (w *waiterEntry) StateFields() []string {
+func (e *waiterEntry) StateFields() []string {
return []string{
"next",
"prev",
}
}
-func (w *waiterEntry) beforeSave() {}
+func (e *waiterEntry) beforeSave() {}
-func (w *waiterEntry) StateSave(stateSinkObject state.Sink) {
- w.beforeSave()
- stateSinkObject.Save(0, &w.next)
- stateSinkObject.Save(1, &w.prev)
+func (e *waiterEntry) StateSave(stateSinkObject state.Sink) {
+ e.beforeSave()
+ stateSinkObject.Save(0, &e.next)
+ stateSinkObject.Save(1, &e.prev)
}
-func (w *waiterEntry) afterLoad() {}
+func (e *waiterEntry) afterLoad() {}
-func (w *waiterEntry) StateLoad(stateSourceObject state.Source) {
- stateSourceObject.Load(0, &w.next)
- stateSourceObject.Load(1, &w.prev)
+func (e *waiterEntry) StateLoad(stateSourceObject state.Source) {
+ stateSourceObject.Load(0, &e.next)
+ stateSourceObject.Load(1, &e.prev)
}
func init() {