Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NotifyConfiguration ¶
type NotifyConfiguration []NotifyEntry
NotifyConfiguration represents a list of notification methods
func (*NotifyConfiguration) Execute ¶
func (n *NotifyConfiguration) Execute(metadata NotifyMetaData, cfg *config.Config) error
Execute iterates over all configured notification methods and calls the respective methods
type NotifyEntry ¶
type NotifyEntry struct { // Type can be one of these: "dockerhub" Type string `yaml:"type"` // Target represents a target expected by the notification Type Target string `yaml:"target"` // Filter determines whether to send a notification. Expected is a comma seperated list of EventTypes (e.g. "success,error") Filter string `yaml:"filter,omitempty"` }
NotifyEntry represents a configuration for a single notification method
func (*NotifyEntry) NotifyDockerHub ¶
func (n *NotifyEntry) NotifyDockerHub(metadata NotifyMetaData) error
NotifyDockerHub calls a DockerHub webhook to build a container after building the artifacts
func (*NotifyEntry) NotifyPushover ¶
func (n *NotifyEntry) NotifyPushover(metadata NotifyMetaData, cfg *config.Config) error
type NotifyMetaData ¶
NotifyMetaData contains information from the build process about the build for the notification process
Click to show internal directories.
Click to hide internal directories.