Documentation ¶
Index ¶
- func DiffOldsAndNews(req *pulumirpc.DiffRequest) ([]string, error)
- func FromProperties(props *structpb.Struct, structTagName string, out interface{}) error
- func FromPropertyMap(properties resource.PropertyMap, structTagName string, out interface{}) error
- func ToProperties(obj interface{}, structTagName string) (*structpb.Struct, error)
- func ToPropertyMap(obj interface{}, structTagName string) resource.PropertyMap
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DiffOldsAndNews ¶
func DiffOldsAndNews(req *pulumirpc.DiffRequest) ([]string, error)
DiffOldsAndNews unmarshals a DiffRequest and runs a diff on them. It returns any keys changed
func FromProperties ¶
func FromPropertyMap ¶
func FromPropertyMap(properties resource.PropertyMap, structTagName string, out interface{}) error
FromPropertyMap unmarshals properties into out.
func ToProperties ¶
func ToPropertyMap ¶
func ToPropertyMap(obj interface{}, structTagName string) resource.PropertyMap
ToPropertyMap marshals a struct into a resource.PropertyMap. It obtains the resource.PropertyKey() values for each struct field by grabbing value of the structTagKey
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.