[v3.2] Add grafana dashboard importing API (#11)
* Add API to import grafana templates to kubesphere dashboard * Merge and fix the latest codes from kubesphere #2501 Signed-off-by: zhu733756 <talonzhu@yunify.com>
This commit is contained in:
7
vendor/github.com/grafana-tools/sdk/snapshot.go
generated
vendored
Normal file
7
vendor/github.com/grafana-tools/sdk/snapshot.go
generated
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
package sdk
|
||||
|
||||
// CreateSnapshotRequest is representation of a snapshot request.
|
||||
type CreateSnapshotRequest struct {
|
||||
Expires uint `json:"expires"`
|
||||
Dashboard Board `json:"dashboard"`
|
||||
}
|
||||
Reference in New Issue
Block a user