exceptions

package
v1.5.10 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ActiveCount

func ActiveCount() int

func AllowedPackages

func AllowedPackages(manifest *models.PackageManifest,
	handler func(pkg *models.Package) error) error

AllowedPackages iterates over packages in the manifest and call handler only for packages not in the exempted by exception rules

func Apply

func Apply(pkg *models.Package) (*exceptionMatchResult, error)

func Load

func Load(loader exceptionsLoader) error

func NewExceptionsFileLoader

func NewExceptionsFileLoader(path string) (exceptionsLoader, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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