-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
137 changed files
with
7,377 additions
and
537 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 |
---|---|---|
@@ -1 +1 @@ | ||
go version go1.21.5 linux/amd64 | ||
go version go1.21.4 linux/amd64 |
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 |
---|---|---|
|
@@ -239,6 +239,8 @@ manifests: ## Generate K8s manifests e.g. CRD, RBAC etc. | |
$(call go-get-tool,$(CONTROLLER_GEN),sigs.k8s.io/controller-tools/cmd/[email protected]) | ||
$(CONTROLLER_GEN) rbac:roleName=cce-eni crd:crdVersions=v1 webhook paths="$(PWD)/pkg/k8s/apis/cce.baidubce.com/v2;" \ | ||
output:dir="$(TMPDIR)" | ||
$(CONTROLLER_GEN) rbac:roleName=cce-eni crd:crdVersions=v1 webhook paths="$(PWD)/pkg/k8s/apis/cce.baidubce.com/v2alpha1;" \ | ||
output:dir="$(TMPDIR)" | ||
$(CONTROLLER_GEN) rbac:roleName=cce-eni crd:crdVersions=v1 webhook paths="$(PWD)/pkg/k8s/apis/cce.baidubce.com/v1;" \ | ||
output:dir="$(TMPDIR)" | ||
|
||
|
@@ -264,7 +266,7 @@ generate-api: api/v1/openapi.yaml ## Generate cce-agent client, model and server | |
-$(QUIET) find api/v1/server/ -type f -name "*.go" -print | PATH="$(PWD)/tools:$(PATH)" xargs goimports -w | ||
|
||
## custom external logic | ||
mv api/v1/models/e_n_i.go api/v1/models/enigo | ||
mv api/v1/models/e_n_i.go api/v1/models/eni.go | ||
|
||
generate-health-api: api/v1/health/openapi.yaml ## Generate cce-health client, model and server code from openapi spec. | ||
@$(ECHO_GEN)api/v1/health/openapi.yaml | ||
|
@@ -310,7 +312,7 @@ generate-k8s-api: ## Generate CCE k8s API client, deepcopy and deepequal Go sour | |
$(call generate_k8s_api_deepcopy_deepequal,$(base_package)/api,"$\ | ||
v1:models") | ||
|
||
$(call generate_k8s_api_all,$(base_package)/pkg/k8s/apis,"cce.baidubce.com:v2 cce.baidubce.com:v1") | ||
$(call generate_k8s_api_all,$(base_package)/pkg/k8s/apis,"cce.baidubce.com:v2 cce.baidubce.com:v2alpha1 cce.baidubce.com:v1") | ||
$(call generate_k8s_api_deepcopy_deepequal,$(base_package),"$\ | ||
pkg:k8s") | ||
cp -rf $(PWD)/output/deepequal/$(base_package)/* $(PWD)/ | ||
|
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 |
---|---|---|
@@ -1 +1 @@ | ||
2.8.8 | ||
2.9.0 |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
284 changes: 284 additions & 0 deletions
284
cce-network-v2/api/v1/client/endpoint/put_endpoint_probe_parameters.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.