Documentation ¶
Index ¶
Constants ¶
View Source
const ( CurrentSchemaVersion string = "1" ProviderVersion string = "v1.0.1" // TODO(SNOW-1814934): Currently hardcoded, make it computed MetadataPrefix string = "terraform_provider_usage_tracking" )
Variables ¶
This section is empty.
Functions ¶
func TrimMetadata ¶
Types ¶
type Metadata ¶
type Metadata struct { SchemaVersion string `json:"json_schema_version,omitempty"` Version string `json:"version,omitempty"` Resource string `json:"resource,omitempty"` Datasource string `json:"datasource,omitempty"` Operation Operation `json:"operation,omitempty"` }
func NewVersionedDatasourceMetadata ¶
func NewVersionedDatasourceMetadata(datasource datasources.Datasource) Metadata
func ParseMetadata ¶
Click to show internal directories.
Click to hide internal directories.