135f6571a9
* add RenameTimeIntervalInNotificationSettings to storage * update dependencies when the time interval is renamed --------- Co-authored-by: William Wernert <william.wernert@grafana.com>
22 lines
565 B
Go
22 lines
565 B
Go
package models
|
|
|
|
type Provenance string
|
|
|
|
const (
|
|
// ProvenanceNone reflects the provenance when no provenance is stored
|
|
// for the requested object in the database.
|
|
ProvenanceNone Provenance = ""
|
|
ProvenanceAPI Provenance = "api"
|
|
ProvenanceFile Provenance = "file"
|
|
)
|
|
|
|
var (
|
|
KnownProvenances = []Provenance{ProvenanceNone, ProvenanceAPI, ProvenanceFile}
|
|
)
|
|
|
|
// Provisionable represents a resource that can be created through a provisioning mechanism, such as Terraform or config file.
|
|
type Provisionable interface {
|
|
ResourceType() string
|
|
ResourceID() string
|
|
}
|