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:
parent
fcb6d37a8d
commit
2ed6f9257a
1 changed files with 2 additions and 1 deletions
|
@ -11,7 +11,8 @@ import (
|
||||||
"github.com/docker/go-connections/nat"
|
"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 {
|
type Snapshot struct {
|
||||||
ID string `json:"Id"`
|
ID string `json:"Id"`
|
||||||
Name string
|
Name string
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue