models.go 990 B

1234567891011121314151617181920212223242526
  1. package plugins
  2. type DataSourcePlugin struct {
  3. Type string `json:"type"`
  4. Name string `json:"name"`
  5. ServiceName string `json:"serviceName"`
  6. Module string `json:"module"`
  7. Partials map[string]interface{} `json:"partials"`
  8. DefaultMatchFormat string `json:"defaultMatchFormat"`
  9. Annotations bool `json:"annotations"`
  10. Metrics bool `json:"metrics"`
  11. BuiltIn bool `json:"builtIn"`
  12. StaticRootConfig *StaticRootConfig `json:"staticRoot"`
  13. }
  14. type PanelPlugin struct {
  15. Type string `json:"type"`
  16. Name string `json:"name"`
  17. Module string `json:"module"`
  18. StaticRootConfig *StaticRootConfig `json:"staticRoot"`
  19. }
  20. type StaticRootConfig struct {
  21. Url string `json:"url"`
  22. Path string `json:"path"`
  23. }