1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

how to maintain the container snapshot struct

Signed-off-by: Fabio Kung <fabio.kung@gmail.com>
This commit is contained in:
Fabio Kung 2017-03-20 08:20:53 -07:00
parent fcb6d37a8d
commit 2ed6f9257a

View file

@ -11,7 +11,8 @@ import (
"github.com/docker/go-connections/nat"
)
// Snapshot is a read only view for Containers
// Snapshot is a read only view for Containers. It holds all information necessary to serve container queries in a
// versioned ACID in-memory store. Pointers are avoided here to make sure all values are copied into the store.
type Snapshot struct {
ID string `json:"Id"`
Name string