notifier

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const NotifierLoggerName = "Logger"
View Source
const NotifierSlackName = "Slack"

Variables

This section is empty.

Functions

This section is empty.

Types

type Logger

type Logger struct {
	// contains filtered or unexported fields
}

func NewLogger

func NewLogger(options LoggerOptions, observability *common.Observability) *Logger

func (*Logger) Name

func (s *Logger) Name() string

func (*Logger) Notify

func (s *Logger) Notify(vr *common.VerifyResult) error

type LoggerOptions

type LoggerOptions struct {
}

type Slack

type Slack struct {
	// contains filtered or unexported fields
}

func NewSlack

func NewSlack(options SlackOptions, observability *common.Observability) *Slack

func (*Slack) Name

func (s *Slack) Name() string

func (*Slack) Notify

func (s *Slack) Notify(vr *common.VerifyResult) error

type SlackOptions

type SlackOptions struct {
	vendors.SlackOptions
	Channel  string
	Message  string
	Runbooks string
}

Jump to

Keyboard shortcuts

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