Documentation ¶
Index ¶
- func CreateAlertNotification(d *schema.ResourceData, meta interface{}) error
- func CreateDashboard(d *schema.ResourceData, meta interface{}) error
- func CreateDataSource(d *schema.ResourceData, meta interface{}) error
- func CreateFolder(d *schema.ResourceData, meta interface{}) error
- func CreateOrganization(d *schema.ResourceData, meta interface{}) error
- func DeleteAlertNotification(d *schema.ResourceData, meta interface{}) error
- func DeleteDashboard(d *schema.ResourceData, meta interface{}) error
- func DeleteDataSource(d *schema.ResourceData, meta interface{}) error
- func DeleteFolder(d *schema.ResourceData, meta interface{}) error
- func DeleteOrganization(d *schema.ResourceData, meta interface{}) error
- func ExistsOrganization(d *schema.ResourceData, meta interface{}) (bool, error)
- func ImportOrganization(d *schema.ResourceData, meta interface{}) ([]*schema.ResourceData, error)
- func NormalizeDashboardConfigJSON(configI interface{}) string
- func NormalizeFolderConfigJSON(configI interface{}) string
- func Provider() terraform.ResourceProvider
- func ReadAlertNotification(d *schema.ResourceData, meta interface{}) error
- func ReadDashboard(d *schema.ResourceData, meta interface{}) error
- func ReadDataSource(d *schema.ResourceData, meta interface{}) error
- func ReadFolder(d *schema.ResourceData, meta interface{}) error
- func ReadOrganization(d *schema.ResourceData, meta interface{}) error
- func ReadUsers(d *schema.ResourceData, meta interface{}) error
- func ResourceAlertNotification() *schema.Resource
- func ResourceDashboard() *schema.Resource
- func ResourceDataSource() *schema.Resource
- func ResourceFolder() *schema.Resource
- func ResourceOrganization() *schema.Resource
- func UpdateAlertNotification(d *schema.ResourceData, meta interface{}) error
- func UpdateDataSource(d *schema.ResourceData, meta interface{}) error
- func UpdateOrganization(d *schema.ResourceData, meta interface{}) error
- func UpdateUsers(d *schema.ResourceData, meta interface{}) error
- func ValidateDashboardConfigJSON(configI interface{}, k string) ([]string, []error)
- func ValidateFolderConfigJSON(configI interface{}, k string) ([]string, []error)
- type ChangeType
- type OrgUser
- type UserChange
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 ResourceDashboard ¶
func ResourceDataSource ¶
func ResourceFolder ¶ added in v1.3.0
func ResourceOrganization ¶ added in v1.2.0
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 ValidateFolderConfigJSON ¶ added in v1.3.0
Types ¶
type ChangeType ¶ added in v1.2.0
type ChangeType int8
const ( Add ChangeType = iota Update Remove )
type UserChange ¶ added in v1.2.0
type UserChange struct { Type ChangeType User OrgUser }
Click to show internal directories.
Click to hide internal directories.