Documentation ¶
Overview ¶
Package approval contains useful functionality for approval
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckApprovalResults ¶
func CheckApprovalResults(ctx context.Context, approvalSpec *metav1alpha1.ApprovalSpec, check *metav1alpha1.Check, checkStatus *metav1alpha1.ApprovalCheckStatus) ( approved, denied bool, message string, newCheckStatus *metav1alpha1.ApprovalCheckStatus)
CheckApprovalResults checks the approval results of the given resources. approved is true if passed denied is true if rejected message is the message of the result
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.