runbook

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2025 License: AGPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Format added in v0.0.3

func Format(
	serviceName, alertName string,
	runbook *llm.RunbookResponse,
	updates []recent_activity.Activity,
) []slack.Block

func Get

func Get(
	ctx context.Context,
	qtx *schema.Queries,
	llmClient llm.Client,
	serviceName, alertName string,
	botID string,
) (*llm.RunbookResponse, error)

func New

func New(bot *internal.Bot, slackIntegration slack_integration.Integration, llmClient llm.Client) *handler

Types

This section is empty.

Jump to

Keyboard shortcuts

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