package imagerefchecker

import "github.com/docker/docker/builder/builder-next/imagerefchecker"

Index

Functions

func New

New creates new image reference checker that can be used to see if a reference is being used by any of the images in the image store

Types

type LayerGetter

type LayerGetter interface {
	GetLayer(string) (layer.Layer, error)
}

LayerGetter abstracts away the snapshotter

type Opt

type Opt struct {
	LayerGetter LayerGetter
	ImageStore  image.Store
}

Opt represents the options needed to create a refchecker

Source Files

checker.go

Version
v27.1.1+incompatible
Published
Jul 23, 2024
Platform
js/wasm
Imports
5 packages
Last checked
1 hour ago

Tools for package owners.