# What this PR does
New OnCall plugin initialization process
## Checklist
- [x] Unit, integration, and e2e (if applicable) tests updated
- [x] Documentation added (or `pr:no public docs` PR label added if not
required)
- [x] Added the relevant release notes label (see labels prefixed w/
`release:`). These labels dictate how your PR will
show up in the autogenerated release notes.
---------
Co-authored-by: Michael Derynck <michael.derynck@grafana.com>
Co-authored-by: Matias Bordese <mbordese@gmail.com>
11 lines
226 B
Go
11 lines
226 B
Go
package plugin
|
|
|
|
const (
|
|
INSTALL_ERROR_CODE = 1000
|
|
)
|
|
|
|
type OnCallError struct {
|
|
Code int `json:"code"`
|
|
Message string `json:"message"`
|
|
Fields map[string][]string `json:"fields,omitempty"`
|
|
}
|