Documentation ¶
Overview ¶
Package postaction executes post actions for run termination events.
Index ¶
Constants ¶
View Source
const CreditRunQuotaPostActionName = "credit-run-quota"
CreditRunQuotaPostActionName is the name of the internal post action that credits the run quota after the provided run is ended.
Variables ¶
This section is empty.
Functions ¶
func IsTriggeringConditionMet ¶
func IsTriggeringConditionMet(act *cfgpb.ConfigGroup_PostAction, r *run.Run) bool
IsTriggeringConditionMet returns true if at least one of the triggering conditions in a given PostAction config is met.
Types ¶
Click to show internal directories.
Click to hide internal directories.