inconsistency

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2023 License: Apache-2.0 Imports: 7 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CombinedReporter

type CombinedReporter struct {
	Reporters []Reporter
}

func (CombinedReporter) Close

func (c CombinedReporter) Close()

func (CombinedReporter) Report

func (c CombinedReporter) Report(obj ReportableObject)

type ExtraneousRow

type ExtraneousRow struct {
	dbtable.Name

	PrimaryKeyColumns []tree.Name
	PrimaryKeyValues  tree.Datums
}

type ExtraneousTable

type ExtraneousTable struct {
	dbtable.DBTable
}

ExtraneousTable represents a table that is extraneous to a database.

type FixReporter

type FixReporter struct {
	Conn   dbconn.Conn
	Logger zerolog.Logger
}

func (FixReporter) Close

func (l FixReporter) Close()

func (FixReporter) Report

func (l FixReporter) Report(obj ReportableObject)

type LogReporter

type LogReporter struct {
	zerolog.Logger
}

LogReporter reports to `zerolog`.

func (LogReporter) Close

func (l LogReporter) Close()

func (LogReporter) Report

func (l LogReporter) Report(obj ReportableObject)

type MismatchingRow

type MismatchingRow struct {
	dbtable.Name

	PrimaryKeyColumns []tree.Name
	PrimaryKeyValues  tree.Datums

	MismatchingColumns []tree.Name
	TruthVals          tree.Datums
	TargetVals         tree.Datums
}

type MismatchingTableDefinition

type MismatchingTableDefinition struct {
	dbtable.DBTable
	Info string
}

MismatchingTableDefinition represents a missing table definition.

type MissingRow

type MissingRow struct {
	dbtable.Name

	PrimaryKeyColumns []tree.Name
	PrimaryKeyValues  tree.Datums

	Columns []tree.Name
	Values  tree.Datums
}

type MissingTable

type MissingTable struct {
	dbtable.DBTable
}

MissingTable represents a table that is missing from a database.

type ReportableObject

type ReportableObject interface{}

type Reporter

type Reporter interface {
	Report(obj ReportableObject)
	Close()
}

type StatusReport

type StatusReport struct {
	Info string
}

Jump to

Keyboard shortcuts

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