slack

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2024 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 Block

type Block struct {
	Type string `json:"type"`
	Text Text   `json:"text"`
}

type Slack

type Slack struct {
	IncomingWebhook string `yaml:"incomingwebhook"`
}

func (*Slack) Notify

func (slack *Slack) Notify(results []*jobresult.JobResult) error

type SlackMessage

type SlackMessage struct {
	Blocks []Block `json:"blocks"`
}

type Text

type Text struct {
	Type string `json:"type"`
	Text string `json:"text"`
}

Jump to

Keyboard shortcuts

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