mirror of
https://github.com/crazy-max/diun.git
synced 2025-12-21 13:23:09 +01:00
Add Rocket.Chat notifier (#44)
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
// Source: https://github.com/genuinetools/reg/blob/f3a9b00ec86f334702381edf842f03b3a9243a0a/registry/image.go
|
||||
package registry
|
||||
|
||||
import (
|
||||
@@ -8,6 +7,8 @@ import (
|
||||
digest "github.com/opencontainers/go-digest"
|
||||
)
|
||||
|
||||
// Source: https://github.com/genuinetools/reg/blob/f3a9b00ec86f334702381edf842f03b3a9243a0a/registry/image.go
|
||||
|
||||
// Image holds information about an image.
|
||||
type Image struct {
|
||||
Domain string
|
||||
|
||||
@@ -7,6 +7,7 @@ import (
|
||||
"github.com/opencontainers/go-digest"
|
||||
)
|
||||
|
||||
// Manifest is the Docker image manifest information
|
||||
type Manifest struct {
|
||||
Name string
|
||||
Tag string
|
||||
|
||||
@@ -5,6 +5,7 @@ import (
|
||||
"github.com/crazy-max/diun/pkg/utl"
|
||||
)
|
||||
|
||||
// Tags holds information about image tags.
|
||||
type Tags struct {
|
||||
List []string
|
||||
NotIncluded int
|
||||
@@ -12,6 +13,7 @@ type Tags struct {
|
||||
Total int
|
||||
}
|
||||
|
||||
// TagsOptions holds docker tags image options
|
||||
type TagsOptions struct {
|
||||
Image Image
|
||||
Max int
|
||||
|
||||
Reference in New Issue
Block a user