Documentation ¶
Index ¶
Constants ¶
View Source
const ( DummyAction = "dummy" SlackNotify = "slacknotify" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DummySettings ¶
type DummySettings struct {
ID string `json:"id" doc-key:"dummy.id"`
}
DummySettings is an empty dummy action to serve as a template
func (DummySettings) Execute ¶
func (settings DummySettings) Execute(sessionState *session.State, actionState *action.State, connection *connection.ConnectionSettings, label string, reset func())
Execute DummySettings action (Implements ActionSettings interface)
func (DummySettings) Validate ¶
func (settings DummySettings) Validate() ([]string, error)
Validate DummySettings action (Implements ActionSettings interface)
type LocalData ¶
type LocalData struct {
Warnings uint64
}
LocalData used to feed custom data to variable replacer use in go template as {{.Local.warnings}}
type SlackNotifySettings ¶
type SlackNotifySettings struct { WebHook string `json:"webhook" doc-key:"slacknotify.webhook"` Msg synced.Template `json:"msg" doc-key:"slacknotify.msg"` }
SlackNotifySettings is an empty dummy action to serve as a template
func (SlackNotifySettings) Execute ¶
func (settings SlackNotifySettings) Execute(sessionState *session.State, actionState *action.State, connection *connection.ConnectionSettings, label string, reset func())
Execute SlackNotifySettings action (Implements ActionSettings interface)
func (SlackNotifySettings) Validate ¶
func (settings SlackNotifySettings) Validate() ([]string, error)
Validate SlackNotifySettings action (Implements ActionSettings interface)
Click to show internal directories.
Click to hide internal directories.