Documentation
¶
Overview ¶
gen-pux-applyn generates Apply functions for the pulumix package. For each N in 1..8, it generates the following functions (type parameters elided for brevity):
func ApplyN(T1, ..., TN, func(I1, ..., IN) O) Output[O] func ApplyNErr(T1, ..., TN, func(I1, ..., IN) (O, error)) Output[O] func ApplyNContext(context.Context, T1, ..., TN, func(I1, ..., IN) O) Output[O] func ApplyNContextErr(context.Context, T1, ..., TN, func(I1, ..., IN) (O, error)) Output[O] // Where each Ti satisfies Input[Ii].
The output of this program should be placed in the pulumix package. It assumes availability of unexported types and functions from that package.
Click to show internal directories.
Click to hide internal directories.