Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement multi-tenancy support for relevant resources #895

Merged
merged 1 commit into from
Jun 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
8 changes: 8 additions & 0 deletions GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -71,3 +71,11 @@ website-list-category:

.PHONY: build test testacc vet fmt fmtcheck errcheck test-compile website-lint website-lint-fix tools

api-wrapper:
@echo "==> Generating API wrappers..."
/usr/bin/python3 $(CURDIR)/tools/api-wrapper-generator.py \
--api_list $(CURDIR)/api/api_list.yaml \
--api_template $(CURDIR)/api/api_templates.yaml \
--api_file_template $(CURDIR)/api/api_file_template.yaml \
--utl_file_template $(CURDIR)/api/utl_file_template.yaml \
--out_dir $(CURDIR)/api
16 changes: 16 additions & 0 deletions api/api_file_template.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
|2+
//nolint:revive
package $pkg_name

// The following file has been autogenerated. Please avoid any changes!
import (
"errors"

vapiProtocolClient_ "github.com/vmware/vsphere-automation-sdk-go/runtime/protocol/client"
$imports

$utl_pkg_import
)

type $context_type

Loading