conftest

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2023 License: MPL-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Conftest

func Conftest(ctx context.Context, app *v1alpha1.Application, repoPath string) (pkg.CheckResult, error)

Conftest runs the conftest validation against an application in a given repository path. It generates a summary string with the results, which can later be posted as a GitLab comment. The validation checks resources against Zapier policies and provides feedback for warnings or errors as informational messages. Failure to pass a policy check currently does not block deploy.

Types

This section is empty.

Jump to

Keyboard shortcuts

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