Documentation ¶
Index ¶
- Constants
- type Client
- func (client *Client) DeleteAlertNotification(id string) error
- func (client *Client) DeleteDashboard(id string) error
- func (client *Client) DeleteDataSource(id string) error
- func (client *Client) DeleteFolder(id string) error
- func (client *Client) GetAllAlertNotificationIds() ([]string, error)
- func (client *Client) GetAllDashboardIds() ([]string, error)
- func (client *Client) GetAllDataSourceIds() ([]string, error)
- func (client *Client) GetAllFolderIds() ([]string, error)
- func (client *Client) PostAlertNotification(alertNotificationJson string, id string) (string, error)
- func (client *Client) PostDashboard(dashboardJSON string, uid string) (string, error)
- func (client *Client) PostDashboardWithFolder(dashboardJSON string, folderId string, uid string) (string, error)
- func (client *Client) PostDataSource(dataSourceJson string, id string) (string, error)
- func (client *Client) PostFolder(folderJson string, id string) (string, string, error)
- type Interface
Constants ¶
View Source
const NO_ID = ""
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) DeleteAlertNotification ¶
func (*Client) DeleteDashboard ¶
func (*Client) DeleteDataSource ¶
func (*Client) DeleteFolder ¶
func (*Client) GetAllAlertNotificationIds ¶
func (*Client) GetAllDashboardIds ¶
func (*Client) GetAllDataSourceIds ¶
func (*Client) GetAllFolderIds ¶
func (*Client) PostAlertNotification ¶
func (*Client) PostDashboard ¶
func (*Client) PostDashboardWithFolder ¶
func (*Client) PostDataSource ¶
type Interface ¶
type Interface interface { PostDashboard(string, string) (string, error) PostDashboardWithFolder(string, string, string) (string, error) DeleteDashboard(string) error GetAllDashboardIds() ([]string, error) PostAlertNotification(string, string) (string, error) DeleteAlertNotification(string) error GetAllAlertNotificationIds() ([]string, error) PostDataSource(string, string) (string, error) DeleteDataSource(string) error GetAllDataSourceIds() ([]string, error) PostFolder(string, string) (string, string, error) DeleteFolder(string) error GetAllFolderIds() ([]string, error) }
Click to show internal directories.
Click to hide internal directories.