common

package
v0.3.0-beta.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 27, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// SelfPackagePath is the golang path for this package.
	SelfPackagePath = "kubedb.dev/provider-aws/config/common"

	// PathARNExtractor is the golang path to ARNExtractor function
	// in this package.
	PathARNExtractor = SelfPackagePath + ".ARNExtractor()"

	// PathTerraformIDExtractor is the golang path to TerraformID extractor
	// function in this package.
	PathTerraformIDExtractor = SelfPackagePath + ".TerraformID()"

	// VersionV1Alpha1 is used for resources that meet the v1alpha1 criteria
	// here: https://github.com/upbound/arch/pull/33
	VersionV1Alpha1 = "v1alpha1"
)

Variables

This section is empty.

Functions

func ARNExtractor

func ARNExtractor() reference.ExtractValueFn

ARNExtractor extracts ARN of the resources from "status.atProvider.arn" which is quite common among all AWS resources.

func TerraformID

func TerraformID() reference.ExtractValueFn

TerraformID returns the Terraform ID string of the resource without any manipulation.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL