validate

package
v0.7.99 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2025 License: Apache-2.0 Imports: 25 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ValidateCmd *cobra.Command

Functions

func NewValidateCmd

func NewValidateCmd() *cobra.Command

func ValidatePolicyCmd

func ValidatePolicyCmd(validate policyValidationFunc) *cobra.Command

Types

type InputValidationFunc

type InputValidationFunc func(context.Context, string, policy.Policy, bool) (*output.Output, error)

type PredicateGenerator

type PredicateGenerator interface {
	GeneratePredicate(ctx context.Context, report applicationsnapshot.Report, comp applicationsnapshot.Component) (*vsa.Predicate, error)
}

PredicateGenerator defines the interface for generating VSA predicates

type VSAWriter

type VSAWriter interface {
	WriteVSA(predicate *vsa.Predicate) (string, error)
}

VSAWriter defines the interface for writing VSA files

Jump to

Keyboard shortcuts

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