validations

package
v0.0.0-...-00dab56 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (

	// correlates to java 1.8
	JavaClassLessThan52 = newSemverConstraint("< 52")

	// correlates to java 1.11
	JavaClassLessThan55 = newSemverConstraint("< 55")
)

Functions

func ScanBinary

func ScanBinary(ctx context.Context, topDir, innerPath string, rpmIgnores map[string]types.IgnoreLists, errIgnores ...types.ErrIgnoreList) *types.ScanResult

func ValidateOpenssl

func ValidateOpenssl(ctx context.Context, mountPath string) types.OpensslInfo

Types

type Baton

type Baton struct {
	TopDir      string
	Static      bool
	GoNoCrypto  bool
	GoVersion   *semver.Version
	GoBuildInfo *buildinfo.BuildInfo
}

type ValidationFn

type ValidationFn func(ctx context.Context, path string, baton *Baton) *types.ValidationError

Jump to

Keyboard shortcuts

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