incidents

package
v0.0.0-...-98bb693 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Store

type Store struct {
	Client *servicenow.Client

	Service         string
	Priority        string
	AssignmentGroup string
}

Store is a wrapper around package servicenow that implements smee.IncidentStore

func (*Store) AddIssueEvents

func (s *Store) AddIssueEvents(ctx context.Context, id string, events ...smee.IssueEvent) error

func (*Store) CreateIncident

func (s *Store) CreateIncident(ctx context.Context, inc smee.Incident) (smee.Incident, error)

func (*Store) Incident

func (s *Store) Incident(ctx context.Context, id string) (smee.Incident, error)

func (*Store) IncidentByName

func (s *Store) IncidentByName(ctx context.Context, name string) (smee.Incident, error)

Jump to

Keyboard shortcuts

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