package
5.0.1+incompatible
Repository: https://github.com/fairwindsops/polaris.git
Documentation: pkg.go.dev
# Functions
ApplyAllSchemaChecks applies available checks to a single resource.
ApplyAllSchemaChecksToAllResources applies available checks to a list of resources.
ApplyAllSchemaChecksToResourceProvider applies all available checks to a ResourceProvider.
ParseAudit decodes either a YAML or JSON file and returns AuditData.
ReadAuditFromFile reads the data from a past audit stored in a JSON or YAML file.
RunAudit runs a full Polaris audit and returns an AuditData object.
# Constants
PolarisOutputVersion is the version of the current output structure.
# Structs
AuditData contains all the data from a full Polaris audit.
ClusterInfo contains Polaris results as well as some high-level stats.
ContainerResult provides a list of validation messages for each container.
CountSummary provides a high level overview of success, warnings, and errors.
PodResult provides a list of validation messages for each pod.
Result provides results for a Kubernetes object.
ResultMessage is the result of a given check.
# Type aliases
CountSummaryByCategory is a map from category to CountSummary.
ResultSet contiains the results for a set of checks.