policy

package
v0.19.1069 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2026 License: AGPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DenyViolationsKey  = "deny_violations"
	WarnViolationsKey  = "warn_violations"
	PassedPolicyIDsKey = "passed_policy_ids"
)

Variables

This section is empty.

Functions

Types

type Check

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

Check implements directive.ApprovalCreateCheck for policy evaluation.

func (*Check) Name

func (c *Check) Name() string

func (*Check) Run

func (*Check) ShouldRun

func (c *Check) ShouldRun(step *app.WorkflowStep, flw *app.Workflow) bool

Jump to

Keyboard shortcuts

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