package snapshot

import "github.com/docker/docker/builder/builder-next/adapters/snapshot"

Index

Functions

func NewSnapshotter

func NewSnapshotter(opt Opt, prevLM leases.Manager, ns string) (snapshot.Snapshotter, *leaseutil.Manager, error)

NewSnapshotter creates a new snapshotter

Types

type Opt

type Opt struct {
	GraphDriver     graphdriver.Driver
	LayerStore      layer.Store
	Root            string
	IdentityMapping idtools.IdentityMapping
}

Opt defines options for creating the snapshotter

Source Files

layer.go leasemanager.go snapshot.go

Version
v26.0.0-rc2+incompatible
Published
Mar 7, 2024
Platform
js/wasm
Imports
23 packages
Last checked
1 hour ago

Tools for package owners.