mirror of
https://github.com/crazy-max/diun.git
synced 2025-12-21 13:23:09 +01:00
Move insecure_tls and timeout options to registry option Rename Bolt bucket Change default schedule Review registry client
20 lines
515 B
Go
20 lines
515 B
Go
package model
|
|
|
|
import (
|
|
"github.com/crazy-max/diun/pkg/docker"
|
|
"github.com/crazy-max/diun/pkg/docker/registry"
|
|
)
|
|
|
|
// Notif holds data necessary for notification configuration
|
|
type Notif struct {
|
|
Mail Mail `yaml:"mail,omitempty"`
|
|
Webhook Webhook `yaml:"webhook,omitempty"`
|
|
}
|
|
|
|
// NotifEntry represents a notification entry
|
|
type NotifEntry struct {
|
|
Status ImageStatus `json:"status,omitempty"`
|
|
Image registry.Image `json:"image,omitempty"`
|
|
Manifest docker.Manifest `json:"manifest,omitempty"`
|
|
}
|