pagerduty

package
v0.1.50 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2023 License: BSD-3-Clause Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SendChange

func SendChange(integrationKey string, summary string, sourceLink string) error

func SendChangeSwallowErrors

func SendChangeSwallowErrors(integrationKey string, summary string, sourceLink string)

Types

type AlertSummary

type AlertSummary struct {
	Summary string `json:"summary"`
}

type SendAlertResponse

type SendAlertResponse struct {
	Message string `json:"message,omitempty"`
	Status  string `json:"status,omitempty"`
}

func SendAlert

func SendAlert(integrationKey string, summary AlertSummary, sourceLink string) (SendAlertResponse, error)

Jump to

Keyboard shortcuts

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