lua

package
v0.38.0 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PolicyResult

type PolicyResult struct {
	Passed  bool
	Message string
	File    string
	Line    int
}

type Runner

type Runner struct {
	// contains filtered or unexported fields
}

func NewRunner

func NewRunner(workDir string) *Runner

func (*Runner) RunPolicy

func (r *Runner) RunPolicy(scriptPath string, files []string) ([]PolicyResult, error)

func (*Runner) RunScript

func (r *Runner) RunScript(scriptPath string) error

Jump to

Keyboard shortcuts

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