Documentation
¶
Index ¶
- func DispatchAlert(ctx context.Context, r utils.Reconciler, b *notifier.Body) error
- func FiredAlert(job metav1.Object) (string, bool)
- func FiredState(expr v1alpha1.ExprState, state lifecycle.ClassifierReader) (string, bool, error)
- func SetAlert(job client.Object, slo v1alpha1.ExprMetrics) error
- func UnsetAlert(obj metav1.Object)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DispatchAlert ¶
DispatchAlert informs an object about the fired alert by updating the metadata of that object.
func FiredState ¶
FiredState enforces user-driven decisions as to when the test has passed or has fail. if it has failed, it updates the workflow status and returns true to indicate that the status has been modified.
func UnsetAlert ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.