package imagerefchecker

import "github.com/moby/buildkit/snapshot/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 Checker

type Checker struct {
	// contains filtered or unexported fields
}

func (*Checker) Exists

func (c *Checker) Exists(key string, blobs []digest.Digest) bool

type Opt

type Opt struct {
	ImageStore   images.Store
	ContentStore content.Store
}

Source Files

checker.go

Version
v0.21.0 (latest)
Published
Apr 11, 2025
Platform
linux/amd64
Imports
10 packages
Last checked
2 days ago

Tools for package owners.