common

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ConfigPath is the golang path for this package.
	ConfigPath = "github.com/tagesjump/provider-upjet-yc/config/common"
	// ExtractPublicKeyFuncPath resource ID extractor access key
	ExtractPublicKeyFuncPath = ConfigPath + ".ExtractAccessKey()"
	// ExtractSpecNameFuncPath  resource ID extractor func name
	ExtractSpecNameFuncPath = ConfigPath + ".ExtractSpecName()"
)

Variables

This section is empty.

Functions

func ExtractAccessKey

func ExtractAccessKey() xpref.ExtractValueFn

ExtractAccessKey extracts the value of `spec.atProvider.accessKey` from a Terraformed resource. If mr is not a Terraformed resource, returns an empty string.

func ExtractSpecName

func ExtractSpecName() xpref.ExtractValueFn

ExtractSpecName extracts the value of `spec.forProvider.name` from a Terraformed resource. If mr is not a Terraformed resource, returns an empty string.

Types

This section is empty.

Jump to

Keyboard shortcuts

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