Bumps [github.com/hashicorp/terraform-plugin-sdk/v2](https://github.com/hashicorp/terraform-plugin-sdk) from 2.26.1 to 2.27.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.26.1...v2.27.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>
29 lines
668 B
Go
29 lines
668 B
Go
// Copyright (c) HashiCorp, Inc.
|
|
// SPDX-License-Identifier: MPL-2.0
|
|
|
|
package tfprotov6
|
|
|
|
const (
|
|
// StringKindPlain indicates a string is plaintext, and should be
|
|
// interpreted as having no formatting information.
|
|
StringKindPlain StringKind = 0
|
|
|
|
// StringKindMarkdown indicates a string is markdown-formatted, and
|
|
// should be rendered using a Markdown renderer to correctly display
|
|
// its formatting.
|
|
StringKindMarkdown StringKind = 1
|
|
)
|
|
|
|
// StringKind indicates a formatting or encoding scheme for a string.
|
|
type StringKind int32
|
|
|
|
func (s StringKind) String() string {
|
|
switch s {
|
|
case 0:
|
|
return "PLAIN"
|
|
case 1:
|
|
return "MARKDOWN"
|
|
}
|
|
return "UNKNOWN"
|
|
}
|