Skip to content

Commit

Permalink
Rename Utilities Module (#2591)
Browse files Browse the repository at this point in the history
- Set Go's internalModuleName to utilities instead of internal
- Regenerate Go SDK

### Proposed changes

Rename `internal` to `utilities` to make package accessible for
dependent libraries

### Related issues (optional)

Fixes #2580
  • Loading branch information
guineveresaenger authored Oct 3, 2023
1 parent 98306fc commit 2227bcc
Show file tree
Hide file tree
Showing 489 changed files with 997 additions and 995 deletions.
1 change: 1 addition & 0 deletions provider/cmd/pulumi-resource-kubernetes/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@
"generateExtraInputTypes": true,
"generateResourceContainerTypes": true,
"importBasePath": "github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes",
"internalModuleName": "utilities",
"moduleToPackage": {
"admissionregistration.k8s.io/v1": "admissionregistration/v1",
"admissionregistration.k8s.io/v1alpha1": "admissionregistration/v1alpha1",
Expand Down
1 change: 1 addition & 0 deletions provider/pkg/gen/schema.go
Original file line number Diff line number Diff line change
Expand Up @@ -481,6 +481,7 @@ additional information about using Server-Side Apply to manage Kubernetes resour
"packageImportAliases": pkgImportAliases,
"generateResourceContainerTypes": true,
"generateExtraInputTypes": true,
"internalModuleName": "utilities",
})
pkg.Language["nodejs"] = rawMessage(map[string]any{
"compatibility": kubernetes20,
Expand Down
4 changes: 2 additions & 2 deletions sdk/go/kubernetes/admissionregistration/v1/init.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions sdk/go/kubernetes/admissionregistration/v1/pulumiTypes.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions sdk/go/kubernetes/admissionregistration/v1alpha1/init.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions sdk/go/kubernetes/admissionregistration/v1beta1/init.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 2227bcc

Please sign in to comment.