diff --git a/sdk/go/pulumi/types_builtins.go b/sdk/go/pulumi/types_builtins.go index f276ce12e3e3..2af367ced322 100644 --- a/sdk/go/pulumi/types_builtins.go +++ b/sdk/go/pulumi/types_builtins.go @@ -1379,6 +1379,10 @@ func BoolPtr(v bool) BoolPtrInput { return (*boolPtr)(&v) } +func BoolPtrFromPtr(v *bool) BoolPtrInput { + return (*boolPtr)(v) +} + // ElementType returns the element type of this Input (*bool). func (*boolPtr) ElementType() reflect.Type { return boolPtrType @@ -1910,6 +1914,10 @@ func Float64Ptr(v float64) Float64PtrInput { return (*float64Ptr)(&v) } +func Float64PtrFromPtr(v *float64) Float64PtrInput { + return (*float64Ptr)(v) +} + // ElementType returns the element type of this Input (*float64). func (*float64Ptr) ElementType() reflect.Type { return float64PtrType @@ -2456,6 +2464,10 @@ func IDPtr(v ID) IDPtrInput { return (*idPtr)(&v) } +func IDPtrFromPtr(v *ID) IDPtrInput { + return (*idPtr)(v) +} + // ElementType returns the element type of this Input (*ID). func (*idPtr) ElementType() reflect.Type { return iDPtrType @@ -3463,6 +3475,10 @@ func IntPtr(v int) IntPtrInput { return (*intPtr)(&v) } +func IntPtrFromPtr(v *int) IntPtrInput { + return (*intPtr)(v) +} + // ElementType returns the element type of this Input (*int). func (*intPtr) ElementType() reflect.Type { return intPtrType @@ -3994,6 +4010,10 @@ func StringPtr(v string) StringPtrInput { return (*stringPtr)(&v) } +func StringPtrFromPtr(v *string) StringPtrInput { + return (*stringPtr)(v) +} + // ElementType returns the element type of this Input (*string). func (*stringPtr) ElementType() reflect.Type { return stringPtrType @@ -4540,6 +4560,10 @@ func URNPtr(v URN) URNPtrInput { return (*urnPtr)(&v) } +func URNPtrFromPtr(v *URN) URNPtrInput { + return (*urnPtr)(v) +} + // ElementType returns the element type of this Input (*URN). func (*urnPtr) ElementType() reflect.Type { return uRNPtrType