common

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package common contains common resource configurators.

Index

Constants

This section is empty.

Variables

View Source
var (
	// SelfPackagePath is the golang path for this package.
	SelfPackagePath = fmt.Sprintf("%s/config/common", tools.ModulePath)

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

	// PathRegionExtractor is the golang path to RegionExtractor function
	PathRegionExtractor = SelfPackagePath + ".RegionExtractor()" // Not used

	// PathImageNameExtractor is the golang path to ImageNameExtractor function
	PathImageNameExtractor = SelfPackagePath + ".ImageNameExtractor()" // Not used

	// PathDBNameExtractor is the golang path to DBNameExtractor function
	PathDBNameExtractor = SelfPackagePath + ".DBNameExtractor()" // Not used

	// PathNameExtractor is the golang path to NameExtractor function
	PathNameExtractor = SelfPackagePath + ".NameExtractor()"

	// PathBucketNameExtractor is the golang path to BucketNameExtractor function
	PathBucketNameExtractor = SelfPackagePath + ".BucketNameExtractor()" // Not used

	// PathAddressExtractor is the golang path to AddressExtractor function
	PathAddressExtractor = SelfPackagePath + ".AddressExtractor()"

	// PathIDExtractor is the golang path to IDExtractor function
	PathIDExtractor = SelfPackagePath + ".IDExtractor()"

	// PathNetworkPortIDExtractor is the golang path to NetworkPortIDExtractor function
	PathNetworkPortIDExtractor = SelfPackagePath + ".NetworkPortIDExtractor()"
)

Functions

func AddressExtractor

func AddressExtractor() reference.ExtractValueFn

AddressExtractor extracts address from "status.atProvider.address"

func BucketNameExtractor

func BucketNameExtractor() reference.ExtractValueFn

BucketNameExtractor extracts bucket name from "spec.forProvider.bucket"

func DBNameExtractor

func DBNameExtractor() reference.ExtractValueFn

DBNameExtractor extracts database name from "spec.forProvider.db_name"

func IDExtractor

func IDExtractor() reference.ExtractValueFn

IDExtractor extracts ID from "status.atProvider.id"

func ImageNameExtractor

func ImageNameExtractor() reference.ExtractValueFn

ImageNameExtractor extracts image name from "spec.forProvider.image_name"

func NameExtractor

func NameExtractor() reference.ExtractValueFn

NameExtractor extracts name from "spec.forProvider.name"

func NetworkPortIDExtractor

func NetworkPortIDExtractor() reference.ExtractValueFn

NetworkPortIDExtractor extracts network port ID from "status.atProvider.network[0].port"

func RegionExtractor

func RegionExtractor() reference.ExtractValueFn

RegionExtractor extracts region from "spec.forProvider.region" which

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