drift

package
v0.0.0-...-26f70cb Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2025 License: MIT Imports: 11 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SendSlackMessage

func SendSlackMessage(slackUrl string, message string) error

func SplitCodeBlocks

func SplitCodeBlocks(message string) []string

Types

type DriftNotificationProvider

type DriftNotificationProvider interface {
	Get(prService ci.PullRequestService) (core_drift.Notification, error)
}

type DriftNotificationProviderBasic

type DriftNotificationProviderBasic struct{}

func (DriftNotificationProviderBasic) Get

type SlackNotification

type SlackNotification struct {
	Url string
}

func (*SlackNotification) Flush

func (slack *SlackNotification) Flush() error

func (*SlackNotification) SendErrorNotificationForProject

func (slack *SlackNotification) SendErrorNotificationForProject(projectName string, repoFullName string, err error) error

func (*SlackNotification) SendNotificationForProject

func (slack *SlackNotification) SendNotificationForProject(projectName string, repoFullName string, plan string) error

Jump to

Keyboard shortcuts

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