execution

package
v0.3.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	JAVA_PROJECT_DIR = "java-project"

	POM_XML = `` /* 425-byte string literal not displayed */

	BASE_DISCOVERY_RULES = `` /* 976-byte string literal not displayed */

)

Variables

This section is empty.

Functions

func ExecuteRulesets

func ExecuteRulesets(rulesets []windup.Ruleset, baseLocation, datadir string, writeDiscoveryRules bool) (string, string, error)

func ExecuteTest

func ExecuteTest(test windup.Ruletest, location string, writeDiscoveryRules bool) (int, int, error)

Types

type AnalyzerCmd

type AnalyzerCmd struct {
	Command
	ProviderSettingsPath string
	RulesPath            string
	LabelSelector        string
}

func (*AnalyzerCmd) Run

func (c *AnalyzerCmd) Run() error

type Command

type Command struct {
	BinPath        string
	Env            []string
	Dir            string
	OutputPath     string
	SourceCodePath string
	WorkDirPath    string
	Targets        []string
}

func (*Command) Run

func (c *Command) Run(args ...string) error

type WindupCmd

type WindupCmd struct {
	Command
	SourceMode bool
	WithDeps   bool
}

func (*WindupCmd) Run

func (c *WindupCmd) Run() error

Jump to

Keyboard shortcuts

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