Documentation ¶
Index ¶
Constants ¶
View Source
const ( // ExtractResourceIDFuncPath holds the MongoDBAtlas resource ID extractor func name ExtractResourceIDFuncPath = commonConfigPackagePath + ".ExtractResourceID()" // VersionV1Alpha2 is used as minimum version for all manually configured resources. VersionV1Alpha2 = "v1alpha2" )
View Source
const (
// APISPackagePath is the package path for generated APIs root package
APISPackagePath = "github.com/crossplane-contrib/provider-mongodbatlas/apis"
)
Variables ¶
This section is empty.
Functions ¶
func Base64EncodeTokens ¶
Base64EncodeTokens base64-encode key-value pairs using a colon as a separator between them and concatenate pairs with hyphens
func ExtractResourceID ¶
func ExtractResourceID() xpref.ExtractValueFn
ExtractResourceID extracts the value of `spec.atProvider.id` from a Terraformed resource. If mr is not a Terraformed resource, returns an empty string.
func GetAttributeValue ¶
GetAttributeValue reads a string attribute from the specified map
func SetIdentifierFunc ¶
SetIdentifierFunc sets the identifier attribute `name` from a composite external-name where the identifier resides at index 0 of a colon-delimited string.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.