summaryrefslogtreecommitdiff
path: root/libpod/state.go
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2017-12-11 10:47:50 -0600
committerGitHub <noreply@github.com>2017-12-11 10:47:50 -0600
commit62e19beeecc8f4af97388c0e715c92b582fbe685 (patch)
tree0d5cd12032d5a90305c00370c861ac69c46dc821 /libpod/state.go
parent915410aafffbe91707e2dd6562a1bfb237815f88 (diff)
parentb71cde19c8b511c054ee42084113ce97ed6d5b62 (diff)
downloadpodman-62e19beeecc8f4af97388c0e715c92b582fbe685.tar.gz
podman-62e19beeecc8f4af97388c0e715c92b582fbe685.tar.bz2
podman-62e19beeecc8f4af97388c0e715c92b582fbe685.zip
Merge pull request #94 from mheon/restart
Add handling for system restart in libpod
Diffstat (limited to 'libpod/state.go')
-rw-r--r--libpod/state.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/libpod/state.go b/libpod/state.go
index 4093f14f1..4a79b8d2d 100644
--- a/libpod/state.go
+++ b/libpod/state.go
@@ -6,6 +6,9 @@ type State interface {
// connections) that may be required
Close() error
+ // Refresh clears container and pod states after a reboot
+ Refresh() error
+
// Accepts full ID of container
Container(id string) (*Container, error)
// Accepts full or partial IDs (as long as they are unique) and names