github.com/myhau/pulumi/pkg/v3@v3.70.2-0.20221116134521-f2775972e587/codegen/testing/test/testdata/functions-secrets/nodejs/index.ts (about)

     1  // *** WARNING: this file was generated by test. ***
     2  // *** Do not edit by hand unless you're certain you know what you are doing! ***
     3  
     4  import * as pulumi from "@pulumi/pulumi";
     5  import * as utilities from "./utilities";
     6  
     7  // Export members:
     8  export { FuncWithSecretsArgs, FuncWithSecretsResult, FuncWithSecretsOutputArgs } from "./funcWithSecrets";
     9  export const funcWithSecrets: typeof import("./funcWithSecrets").funcWithSecrets = null as any;
    10  export const funcWithSecretsOutput: typeof import("./funcWithSecrets").funcWithSecretsOutput = null as any;
    11  utilities.lazyLoad(exports, ["funcWithSecrets","funcWithSecretsOutput"], () => require("./funcWithSecrets"));
    12  
    13  export { ProviderArgs } from "./provider";
    14  export type Provider = import("./provider").Provider;
    15  export const Provider: typeof import("./provider").Provider = null as any;
    16  utilities.lazyLoad(exports, ["Provider"], () => require("./provider"));
    17  
    18  pulumi.runtime.registerResourcePackage("mypkg", {
    19      version: utilities.getVersion(),
    20      constructProvider: (name: string, type: string, urn: string): pulumi.ProviderResource => {
    21          if (type !== "pulumi:providers:mypkg") {
    22              throw new Error(`unknown provider type ${type}`);
    23          }
    24          return new Provider(name, <any>undefined, { urn });
    25      },
    26  });