pulumi/tests/testdata/codegen/output-funcs/go/mypkg/funcWithConstInput.go

22 lines
605 B
Go
Raw Permalink Normal View History

// Code generated by test DO NOT EDIT.
// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! ***
package mypkg
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
2023-06-14 16:34:49 +00:00
"output-funcs/mypkg/internal"
)
// 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)
var rv struct{}
err := ctx.Invoke("mypkg::funcWithConstInput", args, &rv, opts...)
return err
}
type FuncWithConstInputArgs struct {
PlainInput *string `pulumi:"plainInput"`
}