Versions in this module Expand all Collapse all v0 v0.1.0 Jun 6, 2015 Changes in this version + type Annotation struct + Enable bool + List []interface{} + type Dashboard struct + Annotations Annotation + Editable bool + GTime GTime + HideControls bool + ID int + OriginalTitle string + Refresh bool + Rows []Row + SchemaVersion int + SharedCrosshair bool + Style string + Tags []interface{} + Templating Template + Timezone string + Title string + Version int + type DashboardResult struct + Meta Meta + Model Dashboard + type DashboardUploader struct + Dashboard Dashboard + Overwrite bool + type DataSource struct + Access string + BasicAuth bool + BasicAuthPassword string + BasicAuthUser string + Database string + ID int + IsDefault bool + Name string + OrgID int + Password string + Type string + URL string + User string + type GTime struct + From string + Now bool + To string + type GrafanaError struct + Code int + Description string + func (h GrafanaError) Error() string + type GrafanaMessage struct + Message string + type Login struct + Email string + Password string + User string + type Meta struct + Created string + Expires string + IsHome bool + IsSnapshot bool + IsStarred bool + Slug string + type Panel struct + Content string + Editable bool + Error bool + ID int + Mode string + Span int + Style struct{} + Targets []Target + Title string + Type string + type Row struct + Collapse bool + Editable bool + Height string + Panels []Panel + Title string + type Session struct + Password string + User string + func NewSession(user string, password string, url string) *Session + func (s *Session) CreateDataSource(ds DataSource) (err error) + func (s *Session) DeleteDashboard(name string) (err error) + func (s *Session) DeleteDataSource(ds DataSource) (err error) + func (s *Session) DoLogon() (err error) + func (s *Session) GetDashboard(name string) (dashboard DashboardResult, err error) + func (s *Session) GetDataSource(name string) (ds DataSource, err error) + func (s *Session) GetDataSourceList() (ds []DataSource, err error) + func (s *Session) UploadDashboard(dashboard Dashboard, overwrite bool) (err error) + func (s *Session) UploadDashboardString(dashboard string, overwrite bool) (err error) + type Target struct + Alias string + Column string + Function string + Hide bool + Query string + RawQuery bool + Series string + type Template struct + List []interface{}