internal

package
v6.45.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SdkVersion semver.Version = semver.Version{}

Functions

func CallPlain added in v6.13.1

func CallPlain(
	ctx *pulumi.Context,
	tok string,
	args pulumi.Input,
	output pulumi.Output,
	self pulumi.Resource,
	property string,
	resultPtr reflect.Value,
	errorPtr *error,
	opts ...pulumi.InvokeOption,
)

func GetEnvOrDefault

func GetEnvOrDefault(def interface{}, parser envParser, vars ...string) interface{}

func IsZero

func IsZero(v interface{}) bool

isZero is a null safe check for if a value is it's types zero value.

func ParseEnvBool

func ParseEnvBool(v string) interface{}

func ParseEnvFloat

func ParseEnvFloat(v string) interface{}

func ParseEnvInt

func ParseEnvInt(v string) interface{}

func ParseEnvStringArray

func ParseEnvStringArray(v string) interface{}

func PkgInvokeDefaultOpts

func PkgInvokeDefaultOpts(opts []pulumi.InvokeOption) []pulumi.InvokeOption

PkgInvokeDefaultOpts provides package level defaults to pulumi.OptionInvoke.

func PkgResourceDefaultOpts

func PkgResourceDefaultOpts(opts []pulumi.ResourceOption) []pulumi.ResourceOption

PkgResourceDefaultOpts provides package level defaults to pulumi.OptionResource.

func PkgVersion

func PkgVersion() (semver.Version, error)

PkgVersion uses reflection to determine the version of the current package. If a version cannot be determined, v1 will be assumed. The second return value is always nil.

Types

This section is empty.

Jump to

Keyboard shortcuts

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