package imagerefchecker

import "github.com/dotcloud/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
v26.0.1+incompatible
Published
Apr 10, 2024
Platform
js/wasm
Imports
5 packages
Last checked
34 minutes ago

Tools for package owners.