Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add Alert Method types #475

Merged
merged 3 commits into from
Jul 1, 2024
Merged

feat: Add Alert Method types #475

merged 3 commits into from
Jul 1, 2024

Conversation

nieomylnieja
Copy link
Collaborator

Motivation

Similar to Agent or Direct, AlertMethod has different types based on its spec contents.
Each type corresponds to the method's integration provider.
It would be beneficial to be able to quickly tell what type of integration does given method support, just like Agent.Spec.GetType.

Release Notes

Added AlertMethod.Spec.GetType() function and v1alpha.AlertMethodType enum to help discern different types of alert methods.

@nieomylnieja nieomylnieja merged commit 4bf666a into main Jul 1, 2024
5 checks passed
@nieomylnieja nieomylnieja deleted the add-alert-method-type branch July 1, 2024 13:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request go minor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants