-
Notifications
You must be signed in to change notification settings - Fork 113
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Split up nodejs SDK into multiple files
- Loading branch information
1 parent
4511a47
commit 0249eb1
Showing
262 changed files
with
32,255 additions
and
31,890 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
// *** WARNING: this file was generated by the Pulumi Kubernetes codegen tool. *** | ||
// *** Do not edit by hand unless you're certain you know what you are doing! *** | ||
|
||
import * as pulumi from "@pulumi/pulumi"; | ||
import * as inputApi from "../../types/input"; | ||
import * as outputApi from "../../types/output"; | ||
|
||
{{Comment}} | ||
export class {{Kind}} extends pulumi.CustomResource { | ||
{{#Properties}} | ||
{{Comment}} | ||
public readonly {{Name}}: pulumi.Output<{{{PropType}}}>; | ||
|
||
{{/Properties}} | ||
/** | ||
* Get the state of an existing `{{Kind}}` resource, as identified by `id`. | ||
* Typically this ID is of the form <namespace>/<name>; if <namespace> is omitted, then (per | ||
* Kubernetes convention) the ID becomes default/<name>. | ||
* | ||
* Pulumi will keep track of this resource using `name` as the Pulumi ID. | ||
* | ||
* @param name _Unique_ name used to register this resource with Pulumi. | ||
* @param id An ID for the Kubernetes resource to retrieve. Takes the form | ||
* <namespace>/<name> or <name>. | ||
* @param opts Uniquely specifies a CustomResource to select. | ||
*/ | ||
public static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): {{Kind}} { | ||
return new {{Kind}}(name, undefined, { ...opts, id: id }); | ||
} | ||
|
||
public getInputs(): inputApi.{{Group}}.{{Version}}.{{Kind}} { return this.__inputs; } | ||
private readonly __inputs: inputApi.{{Group}}.{{Version}}.{{Kind}}; | ||
|
||
/** | ||
* Create a {{Group}}.{{Version}}.{{Kind}} resource with the given unique name, arguments, and options. | ||
* | ||
* @param name The _unique_ name of the resource. | ||
* @param args The arguments to use to populate this resource's properties. | ||
* @param opts A bag of options that control this resource's behavior. | ||
*/ | ||
constructor(name: string, args?: inputApi.{{Group}}.{{Version}}.{{Kind}}, opts?: pulumi.CustomResourceOptions) { | ||
let inputs: pulumi.Inputs = {}; | ||
{{#Properties}} | ||
inputs["{{Name}}"] = {{{DefaultValue}}}; | ||
{{/Properties}} | ||
super("kubernetes:{{URNAPIVersion}}:{{Kind}}", name, inputs, opts); | ||
this.__inputs = <any>args; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
// *** WARNING: this file was generated by the Pulumi Kubernetes codegen tool. *** | ||
// *** Do not edit by hand unless you're certain you know what you are doing! *** | ||
|
||
// Export members: | ||
{{#Kinds}} | ||
export * from "./{{Kind}}"; | ||
{{/Kinds}} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
// *** WARNING: this file was generated by the Pulumi Kubernetes codegen tool. *** | ||
// *** Do not edit by hand unless you're certain you know what you are doing! *** | ||
|
||
export * from "./provider"; | ||
import * as helm from "./helm"; | ||
export { helm }; | ||
|
||
// Import groups | ||
{{#Groups}} | ||
import * as {{Group}} from "./{{Group}}/index"; | ||
{{/Groups}} | ||
|
||
// Export sub-modules | ||
export { {{#Groups}}{{Group}}, {{/Groups}} }; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
// *** WARNING: this file was generated by the Pulumi Kubernetes codegen tool. *** | ||
// *** Do not edit by hand unless you're certain you know what you are doing! *** | ||
|
||
// Import versions: | ||
{{#Versions}} | ||
import * as {{Version}} from "./{{Version}}/index"; | ||
{{/Versions}} | ||
|
||
// Export sub-modules | ||
export { {{#Versions}}{{Version}}, {{/Versions}} }; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.