docker: Index | Files

package imagerefchecker

import ""


Package Files


func New Uses

func New(opt Opt) cache.ExternalRefCheckerFunc

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

type LayerGetter Uses

type LayerGetter interface {
    GetLayer(string) (layer.Layer, error)

LayerGetter abstracts away the snapshotter

type Opt Uses

type Opt struct {
    LayerGetter LayerGetter
    ImageStore  image.Store

Opt represents the options needed to create a refchecker

Package imagerefchecker imports 5 packages (graph) and is imported by 2 packages. Updated 2019-12-13. Refresh now. Tools for package owners.