package overlay
import "github.com/containerd/containerd/snapshots/overlay"
Index ¶
- func AsynchronousRemove(config *SnapshotterConfig) error
- func NewSnapshotter(root string, opts ...Opt) (snapshots.Snapshotter, error)
- type Opt
- type SnapshotterConfig
Functions ¶
func AsynchronousRemove ¶
func AsynchronousRemove(config *SnapshotterConfig) error
AsynchronousRemove defers removal of filesystem content until the Cleanup method is called. Removals will make the snapshot referred to by the key unavailable and make the key immediately available for re-use.
func NewSnapshotter ¶
func NewSnapshotter(root string, opts ...Opt) (snapshots.Snapshotter, error)
NewSnapshotter returns a Snapshotter which uses overlayfs. The overlayfs diffs are stored under the provided root. A metadata file is stored under the root.
Types ¶
type Opt ¶
type Opt func(config *SnapshotterConfig) error
Opt is an option to configure the overlay snapshotter
type SnapshotterConfig ¶
type SnapshotterConfig struct {
// contains filtered or unexported fields
}
SnapshotterConfig is used to configure the overlay snapshotter instance
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
snapshots/overlay/overlayutils | |
snapshots/overlay/plugin |
- Version
- v1.5.4
- Published
- Jul 19, 2021
- Platform
- linux/amd64
- Imports
- 15 packages
- Last checked
- 1 hour ago –
Tools for package owners.