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" // ProvenanceConvertedPrometheus is used for objects converted from Prometheus definitions. ProvenanceConvertedPrometheus Provenance = "converted_prometheus" ) var ( KnownProvenances = []Provenance{ProvenanceNone, ProvenanceAPI, ProvenanceFile, ProvenanceConvertedPrometheus} ) // 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 }