Documentation ¶
Index ¶
- Constants
- Variables
- func ConfigAsCodeDescription(descripton string) string
- func ExpandDelegateSelectors(ds []interface{}) []string
- func ExpandTags(tags []interface{}) map[string]string
- func FlattenDelgateSelectors(ds []string) []interface{}
- func FlattenTags(tags map[string]string) []string
- func GetConflictsWithSlice(source []string, self string) []string
- func GetNextgenDescription(description string) string
- func InterfaceSliceToStringSlice(slice []interface{}) []string
- func StringHashcode(s string) int
Constants ¶
View Source
const CDClientAPIKeyError = "Please provide the value for FirstGen API Key in the provider configuration's api_key field."
View Source
const CacDescription string = "" /* 180-byte string literal not displayed */
View Source
const NextgenDescription string = "This resource is part of the Harness nextgen platform."
Variables ¶
View Source
var AwsRegions = []string{
"us-east-2",
"us-east-1",
"us-west-1",
"us-west-2",
"af-south-1",
"ap-east-1",
"ap-south-1",
"ap-northeast-3",
"ap-northeast-2",
"ap-southeast-1",
"ap-southeast-2",
"ap-northeast-1",
"ca-central-1",
"eu-central-1",
"eu-west-1",
"eu-west-2",
"eu-south-1",
"eu-west-3",
"eu-north-1",
"me-south-1",
"us-gov-east-1",
"us-gov-west-1",
}
Functions ¶
func ConfigAsCodeDescription ¶
func ExpandDelegateSelectors ¶
func ExpandDelegateSelectors(ds []interface{}) []string
func ExpandTags ¶
func FlattenDelgateSelectors ¶
func FlattenDelgateSelectors(ds []string) []interface{}
func FlattenTags ¶
func GetConflictsWithSlice ¶
func GetNextgenDescription ¶
func InterfaceSliceToStringSlice ¶
func InterfaceSliceToStringSlice(slice []interface{}) []string
func StringHashcode ¶
Borrowed from https://github.com/hashicorp/terraform-provider-aws/blob/main/internal/create/hashcode.go StringHashcode hashes a string to a unique hashcode.
crc32 returns a uint32, but for our use we need and non negative integer. Here we cast to an integer and invert it if the result is negative.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.