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

Describe methods to get an image URL/bytes #80

Merged

Conversation

santihernandezc
Copy link
Contributor

This PR adds methods to get an image URL or bytes, depending on what each integration needs. These methods are described in the ImageStore interface, but not yet implemented.

The next PR will use these methods to add images in notifications instead of using utils.WithStoredImages(). The ImageStore.GetImage() method will be deleted.

Related issue: https://github.com/grafana/alerting-squad/issues/480

Copy link
Contributor

@yuri-tceretian yuri-tceretian left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@santihernandezc santihernandezc requested a review from a team April 27, 2023 18:12
Copy link
Collaborator

@gotjosh gotjosh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@santihernandezc santihernandezc merged commit d4b79e6 into main Apr 27, 2023
@santihernandezc santihernandezc deleted the santihernandezc/interface_to_get_image_url_or_bytes branch April 27, 2023 18:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

3 participants