add support for opencontainers meta labels

This commit is contained in:
nils måsén 2023-08-12 20:49:56 +02:00
parent 9f60766692
commit 77a46ab3bd
8 changed files with 125 additions and 5 deletions

14
pkg/types/image_meta.go Normal file
View file

@ -0,0 +1,14 @@
package types
type ImageMeta interface {
Authors() string
Created() string
Description() string
Documentation() string
Licenses() string
Revision() string
Source() string
Title() string
Url() string
Version() string
}

View file

@ -20,4 +20,6 @@ type ContainerReport interface {
ImageName() string
Error() string
State() string
Before() ImageMeta
After() ImageMeta
}