Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Slack ¶
type Slack struct {
// contains filtered or unexported fields
}
func New ¶
func New(thelmaConfig config.Config, vaultClientFactory func() (*vaultapi.Client, error)) (*Slack, error)
New is lazy, meaning that it does not try to set up its Vault client immediately. This makes it much less likely to error, so that a Slack client can be safely passed around Thelma and only try-caught at the actual call-site of attempting to send a message
func (*Slack) SendDevopsAlert ¶ added in v1.0.31
SendDevopsAlert posts a message to the configured DevOps alert channel
Click to show internal directories.
Click to hide internal directories.