Skip to content

Commit

Permalink
Merge pull request #895 from ksamoray/api-wrapper
Browse files Browse the repository at this point in the history
Implement multi-tenancy support for relevant resources
  • Loading branch information
ksamoray authored Jun 21, 2023
2 parents f4b9f33 + e07032c commit bca7b09
Show file tree
Hide file tree
Showing 381 changed files with 53,092 additions and 2,535 deletions.
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

0 comments on commit bca7b09

Please sign in to comment.