Documentation ¶
Index ¶
- func AlertIsFired(job metav1.Object) (*time.Time, string, bool)
- func DispatchAlert(ctx context.Context, r common.Reconciler, alertBody *notifier.Body) error
- func SetAlert(ctx context.Context, job client.Object, expr v1alpha1.ExprMetrics) error
- func UnsetAlert(_ context.Context, obj metav1.Object)
- type Condition
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.
Types ¶
Click to show internal directories.
Click to hide internal directories.