imagerefchecker

package
v0.0.0-...-6eab4f5 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2022 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