Commit Graph

7 Commits

Author SHA1 Message Date
CrazyMax
b9615bf2db fix defaults not handled by yaml configuration 2023-09-23 13:49:15 +02:00
CrazyMax
522c8e9448 handle analysis of image with tag and digest 2023-09-16 18:41:00 +02:00
CrazyMax
78879b3fae chore: fix wording and remove unnecessary comments 2023-09-16 16:59:00 +02:00
CrazyMax
24bc0548e0 chore: use typed error and fix missing wraps 2023-09-16 11:47:53 +02:00
CrazyMax
6a4236c545 chore: make invalid label typed error private 2023-09-16 11:47:53 +02:00
CrazyMax
49b8852a04 test: use white-box testing 2023-09-16 11:47:52 +02:00
Ian Fijolek
60ddac4a59 Global defaults for image configs
Allows setting of image configs at a global level to act as default
values.

This required a change in the model.Image struct due to a bool field not
having a third, unset state. The remedy is to unmarshal into a temporary
data structure to detect the presents of a field value and then use that
to determine if the default value should be used.

Fixes #491
2023-09-12 12:10:10 -07:00