Skip to content

Commit

Permalink
Expose all Kubernetes types through SDK
Browse files Browse the repository at this point in the history
Fixes #336.
  • Loading branch information
hausdorff committed Jul 16, 2019
1 parent 8d019c4 commit 34735be
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
`kubernetes:config:kubeconfig` (https://github.com/pulumi/pulumi-kubernetes/pull/636).
- Provide useful contexts in provider errors, particularly those that originate from the API
server (https://github.com/pulumi/pulumi-kubernetes/pull/636).
- Expose all Kubernetes types through the SDK
(https://github.com/pulumi/pulumi-kubernetes/pull/637).


## 0.25.2 (July 11, 2019)
Expand Down
3 changes: 3 additions & 0 deletions pkg/gen/nodejs-templates/providerIndex.ts.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,6 @@ import * as {{Group}} from "./{{Group}}/index";
// Export sub-modules
export { {{#Groups}}{{Group}}, {{/Groups}} };

// Import and export sub-modules for all Kubernetes types.
import * as types from "./types";
export { types };
3 changes: 3 additions & 0 deletions sdk/nodejs/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,6 @@ import * as storage from "./storage/index";
// Export sub-modules
export { admissionregistration, apiextensions, apiregistration, apps, auditregistration, authentication, authorization, autoscaling, batch, certificates, coordination, core, events, extensions, meta, networking, node, policy, rbac, scheduling, settings, storage, };

// Import and export sub-modules for all Kubernetes types.
import * as types from "./types";
export { types };
6 changes: 6 additions & 0 deletions sdk/nodejs/types/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
// Import versions:
import * as input from "./input";
import * as output from "./output";

// Export sub-modules
export { input, output };

0 comments on commit 34735be

Please sign in to comment.