imagerefchecker

package
v27.0.0-rc.1+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 12, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL