Documentation ¶
Index ¶
- Variables
- func GetEnvOrDefault(def interface{}, parser envParser, vars ...string) interface{}
- func IsZero(v interface{}) bool
- func ParseEnvBool(v string) interface{}
- func ParseEnvFloat(v string) interface{}
- func ParseEnvInt(v string) interface{}
- func ParseEnvStringArray(v string) interface{}
- func PkgInvokeDefaultOpts(opts []pulumi.InvokeOption) []pulumi.InvokeOption
- func PkgResourceDefaultOpts(opts []pulumi.ResourceOption) []pulumi.ResourceOption
- func PkgVersion() (semver.Version, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var SdkVersion semver.Version = semver.Version{}
Functions ¶
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 ¶
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.
Click to show internal directories.
Click to hide internal directories.