slacknotifier

package
v1.7.28 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 7, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SlackNotifier added in v1.7.25

type SlackNotifier struct {
	Ready bool
	// contains filtered or unexported fields
}

func NewSlackNotifier added in v1.7.25

func NewSlackNotifier(template string) *SlackNotifier

func (*SlackNotifier) SendEvent added in v1.7.25

func (s *SlackNotifier) SendEvent(event testkube.Event) error

SendEvent composes an event message and sends it to slack

func (*SlackNotifier) SendMessage added in v1.7.25

func (s *SlackNotifier) SendMessage(channelID string, message string) error

SendMessage posts a message to the slack configured channel

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL