Documentation ¶
Index ¶
- type ClientFake
- func (client *ClientFake) DeleteAlertNotification(id string) error
- func (client *ClientFake) DeleteDashboard(id string) error
- func (client *ClientFake) DeleteDataSource(id string) error
- func (client *ClientFake) DeleteFolder(id string) error
- func (client *ClientFake) GetAllAlertNotificationIds() ([]string, error)
- func (client *ClientFake) GetAllDashboardIds() ([]string, error)
- func (client *ClientFake) GetAllDatasourceIds() ([]string, error)
- func (client *ClientFake) GetAllFolderIds() ([]string, error)
- func (client *ClientFake) PostAlertNotification(json string, id string) (string, error)
- func (client *ClientFake) PostDashboard(json string, uid string) (string, error)
- func (client *ClientFake) PostDashboardWithFolder(json string, folderId string, uid string) (string, error)
- func (client *ClientFake) PostDataSource(json string, id string) (string, error)
- func (client *ClientFake) PostFolder(json string, id string) (string, string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientFake ¶
type ClientFake struct { PostedJson *string // contains filtered or unexported fields }
func NewGrafanaClientFake ¶
func NewGrafanaClientFake(address string, fakeID string) *ClientFake
func (*ClientFake) DeleteAlertNotification ¶
func (client *ClientFake) DeleteAlertNotification(id string) error
func (*ClientFake) DeleteDashboard ¶
func (client *ClientFake) DeleteDashboard(id string) error
func (*ClientFake) DeleteDataSource ¶
func (client *ClientFake) DeleteDataSource(id string) error
func (*ClientFake) DeleteFolder ¶
func (client *ClientFake) DeleteFolder(id string) error
func (*ClientFake) GetAllAlertNotificationIds ¶
func (client *ClientFake) GetAllAlertNotificationIds() ([]string, error)
func (*ClientFake) GetAllDashboardIds ¶
func (client *ClientFake) GetAllDashboardIds() ([]string, error)
func (*ClientFake) GetAllDatasourceIds ¶
func (client *ClientFake) GetAllDatasourceIds() ([]string, error)
func (*ClientFake) GetAllFolderIds ¶
func (client *ClientFake) GetAllFolderIds() ([]string, error)
func (*ClientFake) PostAlertNotification ¶
func (client *ClientFake) PostAlertNotification(json string, id string) (string, error)
func (*ClientFake) PostDashboard ¶
func (client *ClientFake) PostDashboard(json string, uid string) (string, error)
func (*ClientFake) PostDashboardWithFolder ¶
func (*ClientFake) PostDataSource ¶
func (client *ClientFake) PostDataSource(json string, id string) (string, error)
func (*ClientFake) PostFolder ¶
Click to show internal directories.
Click to hide internal directories.