verify

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2014 License: LGPL-3.0 Imports: 8 Imported by: 0

Documentation

Overview

Package verify implements verification of seal files previously written with the seal command

Index

Constants

View Source
const (
	SymbolOK       = "OK"
	SymbolSuccess  = "SUCCESS"
	SymbolFail     = "FAIL"
	SymbolMismatch = "MISMATCH"
)
View Source
const (
	Name = "verify"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Command added in v1.0.0

type Command struct {
	api.BasicRunner
}

A type representing all arguments required to drive a Seal operation

func NewCommand

func NewCommand(indices []string, nReaders int) (*Command, error)

NewCommand returns an initialized verify command

func (*Command) Aggregate added in v1.0.0

func (s *Command) Aggregate(results <-chan api.Result) <-chan api.Result

func (*Command) Gather added in v1.0.0

func (s *Command) Gather(rctrl *io.ReadChannelController, files <-chan api.FileInfo, results chan<- api.Result)

func (*Command) Generate added in v1.0.0

func (s *Command) Generate() <-chan api.Result

func (*Command) Init added in v1.0.0

func (s *Command) Init(numReaders, numWriters int, items []string, maxLogLevel api.Importance, filters []api.FileFilter) (err error)

type VerifyResult

type VerifyResult struct {
	api.BasicResult // will contain the actual file information from the disk file
	// contains filtered or unexported fields
}

Implements information about a verify operation

Directories

Path Synopsis
Package cli implements the command-line interface for the Command, for use by the cli.App
Package cli implements the command-line interface for the Command, for use by the cli.App

Jump to

Keyboard shortcuts

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