2022-04-19 16:39:23 +00:00
|
|
|
// Code generated by test DO NOT EDIT.
|
|
|
|
// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! ***
|
2021-08-23 20:46:09 +00:00
|
|
|
|
2021-09-23 17:42:20 +00:00
|
|
|
package mypkg
|
2021-08-23 20:46:09 +00:00
|
|
|
|
|
|
|
import (
|
|
|
|
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
|
2023-06-14 16:34:49 +00:00
|
|
|
"output-funcs/mypkg/internal"
|
2021-08-23 20:46:09 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
// Codegen demo with const inputs
|
|
|
|
func FuncWithConstInput(ctx *pulumi.Context, args *FuncWithConstInputArgs, opts ...pulumi.InvokeOption) error {
|
2023-06-14 16:34:49 +00:00
|
|
|
opts = internal.PkgInvokeDefaultOpts(opts)
|
2021-08-23 20:46:09 +00:00
|
|
|
var rv struct{}
|
2021-09-23 17:42:20 +00:00
|
|
|
err := ctx.Invoke("mypkg::funcWithConstInput", args, &rv, opts...)
|
2021-08-23 20:46:09 +00:00
|
|
|
return err
|
|
|
|
}
|
|
|
|
|
|
|
|
type FuncWithConstInputArgs struct {
|
|
|
|
PlainInput *string `pulumi:"plainInput"`
|
|
|
|
}
|