mirror of
https://github.com/grafana/grafana.git
synced 2025-07-29 12:42:15 +08:00
Plugins: Remove bundled plugins feature (#96490)
* remove bundled plugins * Add echo to command Co-authored-by: Andres Martinez Gotor <andres.martinez@grafana.com> * remove folder entirely * remove folder from CODEOWNERS --------- Co-authored-by: Andres Martinez Gotor <andres.martinez@grafana.com>
This commit is contained in:
@ -494,19 +494,14 @@ func (p *Plugin) IsCorePlugin() bool {
|
||||
return p.Class == ClassCore
|
||||
}
|
||||
|
||||
func (p *Plugin) IsBundledPlugin() bool {
|
||||
return p.Class == ClassBundled
|
||||
}
|
||||
|
||||
func (p *Plugin) IsExternalPlugin() bool {
|
||||
return !p.IsCorePlugin() && !p.IsBundledPlugin()
|
||||
return !p.IsCorePlugin()
|
||||
}
|
||||
|
||||
type Class string
|
||||
|
||||
const (
|
||||
ClassCore Class = "core"
|
||||
ClassBundled Class = "bundled"
|
||||
ClassExternal Class = "external"
|
||||
ClassCDN Class = "cdn"
|
||||
)
|
||||
|
Reference in New Issue
Block a user