diff options
Diffstat (limited to 'libpod/state.go')
-rw-r--r-- | libpod/state.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libpod/state.go b/libpod/state.go index 1c21911bb..41f44ac8e 100644 --- a/libpod/state.go +++ b/libpod/state.go @@ -2,6 +2,10 @@ package libpod // State is a storage backend for libpod's current state type State interface { + // Close performs any pre-exit cleanup (e.g. closing database + // connections) that may be required + Close() error + // Accepts full ID of container Container(id string) (*Container, error) // Accepts full or partial IDs (as long as they are unique) and names |