rconfig

package
v0.21.0-rc.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	// APISPackagePath is the package path for generated APIs root package
	APISPackagePath = "github.com/upbound/provider-azure/apis"
	// ExtractResourceIDFuncPath holds the Azure resource ID extractor func name
	ExtractResourceIDFuncPath = APISPackagePath + "/rconfig.ExtractResourceID()"

	// VersionV1Alpha2 is used as minimum version for all manually configured resources.
	// Deprecated: Please use VersionV1Beta1 as minimum.
	VersionV1Alpha2 = "v1alpha2"
	// VersionV1Beta1 is used to signify that the resource has been tested and external name configured
	VersionV1Beta1 = "v1beta1"

	// StorageAccountReferencePath is used as import path for StorageAccount
	StorageAccountReferencePath = APISPackagePath + "/storage/" + VersionV1Beta1 + ".Account"

	// VaultKeyReferencePath is used as import path for VaultKey
	VaultKeyReferencePath = APISPackagePath + "/keyvault/" + VersionV1Beta1 + ".Key"

	// ContainerReferencePath is used as import path for Container
	ContainerReferencePath = APISPackagePath + "/storage/" + VersionV1Beta1 + ".Container"
)

Variables

This section is empty.

Functions

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 GetDefaultVersionedPath

func GetDefaultVersionedPath(group, kindName string) string

GetDefaultVersionedPath gets the package path from repo root for the specified group and kind name.

Types

This section is empty.

Jump to

Keyboard shortcuts

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