mirror of https://github.com/pulumi/pulumi.git
22 lines
605 B
Go
22 lines
605 B
Go
// 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"
|
|
"output-funcs/mypkg/internal"
|
|
)
|
|
|
|
// Codegen demo with const inputs
|
|
func FuncWithConstInput(ctx *pulumi.Context, args *FuncWithConstInputArgs, opts ...pulumi.InvokeOption) error {
|
|
opts = internal.PkgInvokeDefaultOpts(opts)
|
|
var rv struct{}
|
|
err := ctx.Invoke("mypkg::funcWithConstInput", args, &rv, opts...)
|
|
return err
|
|
}
|
|
|
|
type FuncWithConstInputArgs struct {
|
|
PlainInput *string `pulumi:"plainInput"`
|
|
}
|