84c9110a24
Bumps [github.com/hashicorp/terraform-plugin-sdk/v2](https://github.com/hashicorp/terraform-plugin-sdk) from 2.24.1 to 2.26.0. - [Release notes](https://github.com/hashicorp/terraform-plugin-sdk/releases) - [Changelog](https://github.com/hashicorp/terraform-plugin-sdk/blob/main/CHANGELOG.md) - [Commits](https://github.com/hashicorp/terraform-plugin-sdk/compare/v2.24.1...v2.26.0) --- updated-dependencies: - dependency-name: github.com/hashicorp/terraform-plugin-sdk/v2 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
21 lines
769 B
Go
21 lines
769 B
Go
package schema
|
|
|
|
// This code was previously generated with a go:generate directive calling:
|
|
// go run golang.org/x/tools/cmd/stringer -type=getSource resource_data_get_source.go
|
|
// However, it is now considered frozen and the tooling dependency has been
|
|
// removed. The String method can be manually updated if necessary.
|
|
|
|
// getSource represents the level we want to get for a value (internally).
|
|
// Any source less than or equal to the level will be loaded (whichever
|
|
// has a value first).
|
|
type getSource byte
|
|
|
|
const (
|
|
getSourceState getSource = 1 << iota
|
|
getSourceConfig
|
|
getSourceDiff
|
|
getSourceSet
|
|
getSourceExact // Only get from the _exact_ level
|
|
getSourceLevelMask getSource = getSourceState | getSourceConfig | getSourceDiff | getSourceSet
|
|
)
|