runner

package
v0.0.0-...-88ab25c Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2024 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	RootDirAbs      typedpath.RawPath
	CheckerOpts     *checker.Options
	FilterOpts      *resultfilter.Options
	EnableJUnit     bool
	JUnitOutPath    typedpath.RawPath
	EnablePRComment bool
	PRCommentOpts   *prcomment.Options
	EnableAutofix   bool
	AutofixOpts     *autofix.Options
}

type Runner

type Runner func(opts *Options) (bool, error)

func NewRunner

func NewRunner(
	check checker.Checker,
	filter resultfilter.Filter,
	writeJunitXML junit.WriteToFileFunc,
	send prcomment.SendFunc,
	doAutofix autofix.AutoFixer,
	w io.Writer,
	logger logging.Logger,
) Runner

type Validator

type Validator func(i inputs.Inputs, env inputs.ActionEnv) (*Options, error)

func NewValidateFunc

func NewValidateFunc(
	validateRootDirAbs options.RootDirAbsValidator,
	detectTargetType options.UnityProjectDetector,
	buildIgnoredGlobs options.IgnoredGlobsBuilder,
	buildAutofixOpts autofix.OptionsBuilder,
	readTmplFile l10n.TemplateFileReader,
	readEventPayload inputs.ReadEventPayloadFunc,
) Validator

Jump to

Keyboard shortcuts

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