MCPcopy
hub / github.com/apache/devlake / PagerDutyConnection

Struct PagerDutyConnection

backend/plugins/pagerduty/models/connection.go:45–48  ·  view source on GitHub ↗

PagerDutyConnection holds GitlabConn plus ID/Name for database storage

Source from the content-addressed store, hash-verified

43
44// PagerDutyConnection holds GitlabConn plus ID/Name for database storage
45type PagerDutyConnection struct {
46 helper.BaseConnection `mapstructure:",squash"`
47 PagerDutyConn `mapstructure:",squash"`
48}
49
50func (connection *PagerDutyConnection) MergeFromRequest(target *PagerDutyConnection, body map[string]interface{}) error {
51 token := target.Token

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected