profile

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Profile

type Profile struct {
	Name          string         `yaml:"name" json:"name"`
	Description   string         `yaml:"description" json:"description"`
	MinCompliance float64        `yaml:"min_compliance" json:"min_compliance"`
	RuleThreshold map[string]int `yaml:"rule_thresholds" json:"rule_thresholds"`
}

func Builtin

func Builtin(name string) (Profile, error)

func WithOverrides

func WithOverrides(base Profile, policyPath, repoRoot string) (Profile, error)

Jump to

Keyboard shortcuts

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