Documentation ¶
Index ¶
- Variables
- type Opsgenie
- func (p *Opsgenie) Kind() string
- func (o *Opsgenie) LoadEscalationPolicies(ctx context.Context) error
- func (o *Opsgenie) LoadSchedules(ctx context.Context) error
- func (o *Opsgenie) LoadTeamMembers(ctx context.Context) error
- func (o *Opsgenie) LoadTeams(ctx context.Context) error
- func (o *Opsgenie) LoadUsers(ctx context.Context) error
- func (o *Opsgenie) TeamInterfaces() []string
- func (o *Opsgenie) Teams(ctx context.Context) ([]store.ExtTeam, error)
- func (o *Opsgenie) UseTeamInterface(string) error
- type Pager
- type PagerDuty
- func (p *PagerDuty) Kind() string
- func (p *PagerDuty) LoadEscalationPolicies(ctx context.Context) error
- func (p *PagerDuty) LoadSchedules(ctx context.Context) error
- func (p *PagerDuty) LoadTeamMembers(ctx context.Context) error
- func (p *PagerDuty) LoadTeams(ctx context.Context) error
- func (p *PagerDuty) LoadUsers(ctx context.Context) error
- func (p *PagerDuty) TeamInterfaces() []string
- func (p *PagerDuty) Teams(ctx context.Context) ([]store.ExtTeam, error)
- func (p *PagerDuty) UseTeamInterface(interfaceName string) error
- type VictorOps
- func (v *VictorOps) Kind() string
- func (v *VictorOps) LoadEscalationPolicies(ctx context.Context) error
- func (v *VictorOps) LoadSchedules(ctx context.Context) error
- func (v *VictorOps) LoadTeamMembers(ctx context.Context) error
- func (v *VictorOps) LoadTeams(ctx context.Context) error
- func (v *VictorOps) LoadUsers(ctx context.Context) error
- func (v *VictorOps) TeamInterfaces() []string
- func (v *VictorOps) Teams(ctx context.Context) ([]store.ExtTeam, error)
- func (v *VictorOps) UseTeamInterface(string) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrUnknownProvider = errors.New("unknown pager provider") ErrNoResults = errors.New("no results found") )
Functions ¶
This section is empty.
Types ¶
type Opsgenie ¶
type Opsgenie struct {
// contains filtered or unexported fields
}
func NewOpsgenie ¶
func NewOpsgenieWithConfig ¶
func NewOpsgenieWithURL ¶
func (*Opsgenie) LoadEscalationPolicies ¶
func (*Opsgenie) TeamInterfaces ¶
func (*Opsgenie) UseTeamInterface ¶
type Pager ¶
type Pager interface { Kind() string TeamInterfaces() []string UseTeamInterface(interfaceName string) error LoadUsers(ctx context.Context) error LoadTeams(ctx context.Context) error LoadTeamMembers(ctx context.Context) error LoadSchedules(ctx context.Context) error LoadEscalationPolicies(ctx context.Context) error Teams(context.Context) ([]store.ExtTeam, error) }
type PagerDuty ¶
type PagerDuty struct {
// contains filtered or unexported fields
}
func NewPagerDuty ¶
func NewPagerDutyWithURL ¶
func (*PagerDuty) LoadEscalationPolicies ¶
func (*PagerDuty) TeamInterfaces ¶
TeamInterfaces defines the available abstraction of a team from PagerDuty. When "team" is selected, the team is fetched from PagerDuty and imported as-is. When "service" is selected, a "service team" will be created as a proxy team, linked to regular PagerDuty teams, via ext_team_groups table. When populating user members, the service team will query all the linked teams for all their user members.
func (*PagerDuty) UseTeamInterface ¶
type VictorOps ¶
type VictorOps struct {
// contains filtered or unexported fields
}
func NewVictorOps ¶
func NewVictorOpsWithURL ¶ added in v0.2.0
func (*VictorOps) LoadEscalationPolicies ¶
func (*VictorOps) TeamInterfaces ¶
func (*VictorOps) UseTeamInterface ¶
Click to show internal directories.
Click to hide internal directories.