gen-pux-applyn

command
v3.114.0 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

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.

Jump to

Keyboard shortcuts

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