app

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2026 License: MIT Imports: 90 Imported by: 0 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

func NewRootCommand

func NewRootCommand() *cobra.Command

func Run

func Run(ctx context.Context, args []string) error

Types

type ExitError added in v0.7.0

type ExitError struct {
	Code   int
	Err    error
	Silent bool
}

ExitError carries the process exit code independently from the diagnostic error. Silent is used after a command has already emitted its complete machine-readable result.

func (*ExitError) Error added in v0.7.0

func (e *ExitError) Error() string

func (*ExitError) Unwrap added in v0.7.0

func (e *ExitError) Unwrap() error

type LocalArchiveTarget added in v0.7.0

type LocalArchiveTarget struct {
	Provider string `json:"provider,omitempty"`
	Bucket   string `json:"bucket,omitempty"`
	Prefix   string `json:"prefix,omitempty"`
	Origin   string `json:"origin,omitempty"`
}

type LocalAuditCheckDetail added in v0.7.0

type LocalAuditCheckDetail struct {
	CheckID      audit.CheckID `json:"check_id"`
	RowIDs       []int64       `json:"row_ids"`
	SourceKeys   []string      `json:"source_keys"`
	CleanupPaths []string      `json:"cleanup_paths"`
	Truncated    bool          `json:"truncated"`
}

type LocalAuditDetails added in v0.7.0

type LocalAuditDetails struct {
	Checks []LocalAuditCheckDetail `json:"checks"`
}

type LocalAuditIdentifiers added in v0.7.0

type LocalAuditIdentifiers struct {
	RowIDs       []int64  `json:"row_ids"`
	SourceKeys   []string `json:"source_keys"`
	CleanupPaths []string `json:"cleanup_paths"`
}

type LocalAuditTarget added in v0.7.0

type LocalAuditTarget struct {
	ConfigPath    string             `json:"config_path,omitempty"`
	Database      string             `json:"database,omitempty"`
	Vault         string             `json:"vault,omitempty"`
	Metrics       string             `json:"metrics,omitempty"`
	Temporary     string             `json:"temporary,omitempty"`
	Media         string             `json:"media,omitempty"`
	OKFRoot       string             `json:"okf_root,omitempty"`
	MediaArchive  LocalArchiveTarget `json:"media_archive"`
	SQLiteArchive LocalArchiveTarget `json:"sqlite_archive"`
}

type LocalAuditWrapper added in v0.7.0

type LocalAuditWrapper struct {
	Schema       string            `json:"schema"`
	LocalTarget  LocalAuditTarget  `json:"local_target"`
	LocalDetails LocalAuditDetails `json:"local_details"`
	Report       audit.Report      `json:"report"`
}

Source Files

Jump to

Keyboard shortcuts

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