package
5.0.1+incompatible
Repository: https://github.com/fairwindsops/polaris.git
Documentation: pkg.go.dev

# Functions

Parse parses config from a byte array.
ParseCheck parses a check from a byte array.
ParseFile parses config from a file.

# Constants

SeverityDanger errors on validation failures.
SeverityIgnore ignores validation failures.
SeverityWarning warns on validation failures.
TargetContainer points to the container spec.
TargetController points to the controller's spec.
TargetPod points to the pod spec.

# Variables

BuiltInChecks contains the checks that come pre-installed w/ Polaris.
HandledTargets is a list of target names that are explicitly handled.

# Structs

Configuration contains all of the config for the validation checks.
Exemption represents an exemption to normal rules.
SchemaCheck is a Polaris check that runs using JSON Schema.

# Type aliases

Severity represents the severity of action to take (Ignore, Warning, Error).
TargetKind represents the part of the config to be validated.