Snapshotter implements containerd's snapshotter (https://godoc.org/github.com/containerd/containerd/snapshots#Snapshotter) based on Linux device-mapper targets.
| 54 | // Snapshotter implements containerd's snapshotter (https://godoc.org/github.com/containerd/containerd/snapshots#Snapshotter) |
| 55 | // based on Linux device-mapper targets. |
| 56 | type Snapshotter struct { |
| 57 | store *storage.MetaStore |
| 58 | pool *PoolDevice |
| 59 | config *Config |
| 60 | cleanupFn []closeFunc |
| 61 | closeOnce sync.Once |
| 62 | } |
| 63 | |
| 64 | // NewSnapshotter creates new device mapper snapshotter. |
| 65 | // Internally it creates thin-pool device (or reloads if it's already exists) and |
nothing calls this directly
no outgoing calls
no test coverage detected