Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
ebd86776
Commit
ebd86776
authored
Jan 10, 2018
by
bergquist
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
moves plugin proxy to plugin package
parent
acb7d802
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
7 deletions
+6
-7
pkg/plugins/datasource/tsdb/datasource_plugin_wrapper.go
+1
-1
pkg/plugins/datasource/tsdb/grpc.go
+1
-1
pkg/plugins/datasource/tsdb/interface.go
+1
-1
pkg/plugins/datasource_plugin.go
+2
-3
pkg/plugins/hclog-wrapper.go
+1
-1
No files found.
pkg/
tsdb/models/proxy
/datasource_plugin_wrapper.go
→
pkg/
plugins/datasource/tsdb
/datasource_plugin_wrapper.go
View file @
ebd86776
package
proxy
package
tsdb
import
(
"github.com/golang/protobuf/ptypes"
...
...
pkg/
tsdb/models/proxy
/grpc.go
→
pkg/
plugins/datasource/tsdb
/grpc.go
View file @
ebd86776
package
proxy
package
tsdb
import
(
proto
"github.com/grafana/grafana/pkg/tsdb/models"
...
...
pkg/
tsdb/models/proxy
/interface.go
→
pkg/
plugins/datasource/tsdb
/interface.go
View file @
ebd86776
package
proxy
package
tsdb
import
(
"golang.org/x/net/context"
...
...
pkg/plugins/datasource_plugin.go
View file @
ebd86776
...
...
@@ -14,9 +14,8 @@ import (
"github.com/grafana/grafana/pkg/log"
"github.com/grafana/grafana/pkg/models"
"github.com/grafana/grafana/pkg/plugins/backend
"
shared
"github.com/grafana/grafana/pkg/plugins/datasource/tsdb
"
"github.com/grafana/grafana/pkg/tsdb"
shared
"github.com/grafana/grafana/pkg/tsdb/models/proxy"
plugin
"github.com/hashicorp/go-plugin"
)
...
...
@@ -89,7 +88,7 @@ func (p *DataSourcePlugin) spawnSubProcess() error {
Plugins
:
map
[
string
]
plugin
.
Plugin
{
p
.
Id
:
&
shared
.
TsdbPluginImpl
{}},
Cmd
:
exec
.
Command
(
cmd
),
AllowedProtocols
:
[]
plugin
.
Protocol
{
plugin
.
ProtocolGRPC
},
Logger
:
backend
.
LogWrapper
{
Logger
:
p
.
log
},
Logger
:
LogWrapper
{
Logger
:
p
.
log
},
})
rpcClient
,
err
:=
p
.
client
.
Client
()
...
...
pkg/plugins/hclog-wrapper.go
View file @
ebd86776
package
backend
package
plugins
import
(
"log"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment