grafana

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 19, 2019 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

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 (client *ClientFake) PostDashboardWithFolder(json string, folderId string, uid string) (string, error)

func (*ClientFake) PostDataSource

func (client *ClientFake) PostDataSource(json string, id string) (string, error)

func (*ClientFake) PostFolder

func (client *ClientFake) PostFolder(json string, id string) (string, string, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL