pagerduty

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2019 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Event

type Event struct {
	Action    string
	Service   string
	Severity  string
	Summary   string
	Source    string
	Component string
	Group     string
	Class     string
	Details   string
	DedupKey  string
}

type Pagerduty

type Pagerduty struct {
	// contains filtered or unexported fields
}

func New

func New(apiKey string) *Pagerduty

func (*Pagerduty) GetServiceIntegrationId

func (p *Pagerduty) GetServiceIntegrationId(servicename string) (string, error)

func (*Pagerduty) SendEvent

func (p *Pagerduty) SendEvent(e *Event) error

Jump to

Keyboard shortcuts

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