types

package
v2.2.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DisplayDetectionInfo

func DisplayDetectionInfo(displayer loghelper.Displayer, version string, source string) string

Types

type ConstraintInfo

type ConstraintInfo interface {
	ReadDefaultConstraint() string
}

type PredicateInfo

type PredicateInfo struct {
	Predicate    func(string) bool
	ReverseOrder bool
}

type PredicateReader

type PredicateReader = func(ConstraintInfo, *config.Config) (func(string) bool, error)

type VersionFile

type VersionFile struct {
	Name   string
	Parser func(filePath string, conf *config.Config) (string, error)
}

Jump to

Keyboard shortcuts

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