mirror of
https://github.com/containrrr/watchtower.git
synced 2026-02-28 18:00:17 +01:00
add support for opencontainers meta labels
This commit is contained in:
parent
9f60766692
commit
77a46ab3bd
8 changed files with 125 additions and 5 deletions
14
pkg/types/image_meta.go
Normal file
14
pkg/types/image_meta.go
Normal 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
|
||||
}
|
||||
|
|
@ -20,4 +20,6 @@ type ContainerReport interface {
|
|||
ImageName() string
|
||||
Error() string
|
||||
State() string
|
||||
Before() ImageMeta
|
||||
After() ImageMeta
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue