MCPcopy
hub / github.com/containerd/containerd / Snapshotter

Struct Snapshotter

plugins/snapshots/devmapper/snapshotter.go:56–62  ·  view source on GitHub ↗

Snapshotter implements containerd's snapshotter (https://godoc.org/github.com/containerd/containerd/snapshots#Snapshotter) based on Linux device-mapper targets.

Source from the content-addressed store, hash-verified

54// Snapshotter implements containerd's snapshotter (https://godoc.org/github.com/containerd/containerd/snapshots#Snapshotter)
55// based on Linux device-mapper targets.
56type 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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected