verify

package
v0.8.10 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package verify provides functionality for verifying that an existing Lockfile is up-to-date.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IVerifier

type IVerifier interface {
	VerifyLockfile(lockfileReader io.Reader) error
}

IVerifier provides an interface for Verifiers, which are responsible for verifying that a newly generated Lockfile equals the existing Lockfile.

func NewVerifier

func NewVerifier(
	generator generate.IGenerator,
	differentiators ...diff.IImageDifferentiator,
) (IVerifier, error)

NewVerifier returns a Verifier after ensuring that generator is non nil, and there is at least one non nil differentiator.

Directories

Path Synopsis
Package diff provides functionality to diff an image.
Package diff provides functionality to diff an image.

Jump to

Keyboard shortcuts

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