drift

package
v0.0.0-...-3dc1c51 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2026 License: MIT Imports: 13 Imported by: 2 modules, 2 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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 GithubIssueNotification

type GithubIssueNotification struct {
	GithubService   *orchestrator.PullRequestService
	RelatedPrNumber *int64
}

func (*GithubIssueNotification) Flush

func (ghi *GithubIssueNotification) Flush() error

func (*GithubIssueNotification) SendErrorNotificationForProject

func (ghi *GithubIssueNotification) SendErrorNotificationForProject(projectName string, repoFullName string, err error) error

func (*GithubIssueNotification) SendNotificationForProject

func (ghi *GithubIssueNotification) SendNotificationForProject(projectName string, repoFullName string, plan string) error

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