grafana

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2018 License: MPL-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateAlertNotification added in v1.0.0

func CreateAlertNotification(d *schema.ResourceData, meta interface{}) error

func CreateDashboard

func CreateDashboard(d *schema.ResourceData, meta interface{}) error

func CreateDataSource

func CreateDataSource(d *schema.ResourceData, meta interface{}) error

CreateDataSource creates a Grafana datasource

func CreateFolder added in v1.3.0

func CreateFolder(d *schema.ResourceData, meta interface{}) error

func CreateOrganization added in v1.2.0

func CreateOrganization(d *schema.ResourceData, meta interface{}) error

func DeleteAlertNotification added in v1.0.0

func DeleteAlertNotification(d *schema.ResourceData, meta interface{}) error

func DeleteDashboard

func DeleteDashboard(d *schema.ResourceData, meta interface{}) error

func DeleteDataSource

func DeleteDataSource(d *schema.ResourceData, meta interface{}) error

DeleteDataSource deletes a Grafana datasource

func DeleteFolder added in v1.3.0

func DeleteFolder(d *schema.ResourceData, meta interface{}) error

func DeleteOrganization added in v1.2.0

func DeleteOrganization(d *schema.ResourceData, meta interface{}) error

func ExistsOrganization added in v1.2.0

func ExistsOrganization(d *schema.ResourceData, meta interface{}) (bool, error)

func ImportOrganization added in v1.2.0

func ImportOrganization(d *schema.ResourceData, meta interface{}) ([]*schema.ResourceData, error)

func NormalizeDashboardConfigJSON

func NormalizeDashboardConfigJSON(configI interface{}) string

func NormalizeFolderConfigJSON added in v1.3.0

func NormalizeFolderConfigJSON(configI interface{}) string

func Provider

func Provider() terraform.ResourceProvider

func ReadAlertNotification added in v1.0.0

func ReadAlertNotification(d *schema.ResourceData, meta interface{}) error

func ReadDashboard

func ReadDashboard(d *schema.ResourceData, meta interface{}) error

func ReadDataSource

func ReadDataSource(d *schema.ResourceData, meta interface{}) error

ReadDataSource reads a Grafana datasource

func ReadFolder added in v1.3.0

func ReadFolder(d *schema.ResourceData, meta interface{}) error

func ReadOrganization added in v1.2.0

func ReadOrganization(d *schema.ResourceData, meta interface{}) error

func ReadUsers added in v1.2.0

func ReadUsers(d *schema.ResourceData, meta interface{}) error

func ResourceAlertNotification added in v1.0.0

func ResourceAlertNotification() *schema.Resource

func ResourceDashboard

func ResourceDashboard() *schema.Resource

func ResourceDataSource

func ResourceDataSource() *schema.Resource

func ResourceFolder added in v1.3.0

func ResourceFolder() *schema.Resource

func ResourceOrganization added in v1.2.0

func ResourceOrganization() *schema.Resource

func UpdateAlertNotification added in v1.0.0

func UpdateAlertNotification(d *schema.ResourceData, meta interface{}) error

func UpdateDataSource

func UpdateDataSource(d *schema.ResourceData, meta interface{}) error

UpdateDataSource updates a Grafana datasource

func UpdateOrganization added in v1.2.0

func UpdateOrganization(d *schema.ResourceData, meta interface{}) error

func UpdateUsers added in v1.2.0

func UpdateUsers(d *schema.ResourceData, meta interface{}) error

func ValidateDashboardConfigJSON

func ValidateDashboardConfigJSON(configI interface{}, k string) ([]string, []error)

func ValidateFolderConfigJSON added in v1.3.0

func ValidateFolderConfigJSON(configI interface{}, k string) ([]string, []error)

Types

type ChangeType added in v1.2.0

type ChangeType int8
const (
	Add ChangeType = iota
	Update
	Remove
)

type OrgUser added in v1.2.0

type OrgUser struct {
	Id    int64
	Email string
	Role  string
}

type UserChange added in v1.2.0

type UserChange struct {
	Type ChangeType
	User OrgUser
}

Jump to

Keyboard shortcuts

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