Feature: Allow to install plugins through configuration (#91790)
This commit is contained in:
@@ -198,6 +198,7 @@ type Cfg struct {
|
||||
HideAngularDeprecation []string
|
||||
PluginInstallToken string
|
||||
ForwardHostEnvVars []string
|
||||
InstallPlugins []InstallPlugin
|
||||
|
||||
PluginsCDNURLTemplate string
|
||||
PluginLogBackendRequests bool
|
||||
@@ -526,6 +527,11 @@ type Cfg struct {
|
||||
UnifiedStorage map[string]grafanarest.DualWriterMode
|
||||
}
|
||||
|
||||
type InstallPlugin struct {
|
||||
ID string
|
||||
Version string
|
||||
}
|
||||
|
||||
// AddChangePasswordLink returns if login form is disabled or not since
|
||||
// the same intention can be used to hide both features.
|
||||
func (cfg *Cfg) AddChangePasswordLink() bool {
|
||||
|
||||
Reference in New Issue
Block a user