verify

package
v0.30.18 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2026 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrVerifyFailed = errors.New("verify failed")

ErrVerifyFailed is returned by Verify when one or more linters report errors.

Functions

func Verify

func Verify(ctx context.Context, opts Options) error

Verify runs all linters against the selected package source and prints the results. By default it verifies the current package directory; when Options.Remote is set, it verifies the filesystem extracted from that image reference.

Types

type Options

type Options struct {
	HideWarnings bool   // suppress Warn-level diagnostics from output
	ShowIgnored  bool   // include Ignored-level diagnostics in output
	Remote       string // registry reference to verify instead of the current package directory
	LintConfig   string // lint config path to use instead of package-relative discovery
}

Options controls which diagnostic severities are surfaced in the output.

Directories

Path Synopsis
linters/icon
Package icon validates package-icon content (format, size, dimensions).
Package icon validates package-icon content (format, size, dimensions).
linters/oss
Package oss validates optional oss.yaml package metadata.
Package oss validates optional oss.yaml package metadata.

Jump to

Keyboard shortcuts

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