update

package
v0.7.3 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package update provides functionality to update images with digests.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IImageDigestUpdater

type IImageDigestUpdater interface {
	UpdateDigests(
		images <-chan parse.IImage,
		done <-chan struct{},
	) <-chan parse.IImage
}

IImageDigestUpdater provides an interface for ImageDigestUpdaters, which query registries for digests and update images with them.

func NewImageDigestUpdater

func NewImageDigestUpdater(
	wrapperManager *registry.WrapperManager,
	ignoreMissingDigests bool,
	updateExistingDigests bool,
) (IImageDigestUpdater, error)

NewImageDigestUpdater returns an IImageDigestUpdater after validating its fields. wrapperManager cannot be nil as it is responsible for querying registries for digests.

Jump to

Keyboard shortcuts

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