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.17.0-rc1
Published
Oct 8, 2024
Platform
js/wasm
Imports
10 packages
Last checked
17 minutes ago

Tools for package owners.