imagerefchecker

package
v24.0.4+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2023 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