Skip to content

Commit

Permalink
Release cce-network-v2/2.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
gola committed Feb 9, 2024
1 parent c41c96f commit 278ac7d
Show file tree
Hide file tree
Showing 137 changed files with 7,377 additions and 537 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ HOMEDIR := $(shell pwd)
OUTDIR := $(HOMEDIR)/output

# init command params
export GO := $(GO_1_19_BIN)/go
export GO := $(GO_1_20_BIN)/go
ifeq ($(GO), /go)
GO = go
endif
export GOROOT := $(GO_1_19_HOME)
export GOROOT := $(GO_1_20_HOME)
GOPATH := $(shell $(GO) env GOPATH)
GOPKGS := $$($(GO) list ./...| grep "pkg" |grep -v "vendor" | grep -v "cmd" |grep -v "test" | grep -v 'api' |grep -v "generated" | grep -v 'pkg/bce' | grep -v config | grep -v metric | grep -v rpc | grep -v version | grep -v wrapper | grep -v util)
GOGCFLAGS := -gcflags=all="-trimpath=$(GOPATH)" -asmflags=all="-trimpath=$(GOPATH)"
Expand Down
2 changes: 1 addition & 1 deletion cce-network-v2/GO_VERSION
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
6 changes: 4 additions & 2 deletions cce-network-v2/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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)"

Expand All @@ -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
Expand Down Expand Up @@ -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)/
Expand Down
2 changes: 1 addition & 1 deletion cce-network-v2/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
| |-- datapath
| |-- debug
| |-- defaults
| |-- endpoint
| |-- endpoint # cep 核心对象处理包
| |-- eventqueue
| |-- flowdebug
| |-- health
Expand Down
2 changes: 1 addition & 1 deletion cce-network-v2/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.8.8
2.9.0
36 changes: 36 additions & 0 deletions cce-network-v2/api/v1/client/endpoint/endpoint_client.go

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

284 changes: 284 additions & 0 deletions 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.

Loading

0 comments on commit 278ac7d

Please sign in to comment.