imagerefchecker

package
v24.0.0-beta.1+incompa... Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2023 License: Apache-2.0 Imports: 5 Imported by: 102

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