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.
Click to show internal directories.
Click to hide internal directories.