Commit 58eb5ae
committed
refactor: flatten controlplane/ into gateway/ root
Move all controlplane/ contents (cmd, internal, config, vendor, conformance)
directly into gateway/ root. Update all import paths, Makefile, Dockerfile,
CI workflows, and README to reflect the new flat structure.
- go.mod: module path -> github.com/nantian-gw/gateway
- 188 Go files: import paths updated
- Makefile: remove cd controlplane && prefixes
- Dockerfile: simplify COPY paths
- CI workflows: update go-version-file and cache-dependency-path
- .gitignore/.dockerignore: remove controlplane/ prefix
- README: update badge link and directory tree1 parent bdece36 commit 58eb5ae
5,758 files changed
Lines changed: 390 additions & 1503572 deletions
File tree
- .github/workflows
- cmd
- gateway-api-support
- grpc-smoke-client
- manager
- proto-compat-check
- config/crd/bases
- conformance
- controlplane
- vendor
- github.com
- beorn7/perks
- quantile
- cespare/xxhash/v2
- davecgh/go-spew
- spew
- emicklei/go-restful/v3
- log
- evanphx/json-patch/v5
- internal/json
- fsnotify/fsnotify
- internal
- fxamacker/cbor/v2
- go-logr
- logr
- slogr
- zapr
- go-openapi
- jsonpointer
- jsonreference
- internal
- swag
- jsonname
- google
- gnostic-models
- compiler
- extensions
- jsonschema
- openapiv2
- openapiv3
- uuid
- gorilla/websocket
- josharian/intern
- json-iterator/go
- kylelemons/godebug
- diff
- mailru/easyjson
- buffer
- jlexer
- jwriter
- miekg/dns
- moby/spdystream
- spdy
- modern-go
- concurrent
- reflect2
- munnerz/goautoneg
- nantian-gw/proto
- gateway/control/v1
- pmezard/go-difflib
- difflib
- prometheus
- client_golang
- internal/github.com/golang/gddo
- httputil
- header
- prometheus
- collectors
- internal
- promhttp
- internal
- testutil
- promlint
- validations
- client_model
- go
- common
- expfmt
- model
- procfs
- internal
- fs
- util
- spf13/pflag
- stretchr/testify
- assert
- yaml
- require
- x448/float16
- go.uber.org
- goleak
- internal/stack
- multierr
- zap
- buffer
- internal
- bufferpool
- color
- exit
- pool
- stacktrace
- zapcore
- go.yaml.in/yaml
- v2
- v3
- golang.org/x
- mod
- semver
- net
- bpf
- http2
- hpack
- http/httpguts
- idna
- internal
- httpcommon
- httpsfv
- iana
- socket
- socks
- timeseries
- ipv4
- ipv6
- proxy
- trace
- websocket
- oauth2
- internal
- sync
- errgroup
- sys
- plan9
- unix
- windows
- term
- text
- secure/bidirule
- transform
- unicode
- bidi
- norm
- time
- rate
- tools
- go
- ast
- edge
- inspector
- gcexportdata
- packages
- types
- objectpath
- typeutil
- internal
- aliases
- event
- core
- keys
- label
- gcimporter
- gocommand
- packagesinternal
- pkgbits
- stdlib
- typeparams
- typesinternal
- versions
- gomodules.xyz/jsonpatch/v2
- google.golang.org
- genproto/googleapis/rpc
- status
- grpc
- attributes
- backoff
- balancer
- base
- endpointsharding
- grpclb/state
- pickfirst
- internal
- roundrobin
- binarylog/grpc_binarylog_v1
- channelz
- codes
- connectivity
- credentials
- insecure
- encoding
- internal
- proto
- experimental/stats
- grpclog
- internal
- internal
- backoff
- balancerload
- balancer
- gracefulswitch
- weight
- binarylog
- buffer
- channelz
- credentials
- envconfig
- grpclog
- grpcsync
- grpcutil
- idle
- mem
- metadata
- pretty
- proxyattributes
- resolver
- delegatingresolver
- dns
- internal
- passthrough
- unix
- serviceconfig
- stats
- status
- syscall
- transport
- networktype
- keepalive
- mem
- metadata
- peer
- resolver
- dns
- serviceconfig
- stats
- status
- tap
- protobuf
- encoding
- protodelim
- protojson
- prototext
- protowire
- internal
- descfmt
- descopts
- detrand
- editiondefaults
- encoding
- defval
- json
- messageset
- tag
- text
- errors
- filedesc
- filetype
- flags
- genid
- impl
- order
- pragma
- protolazy
- set
- strs
- version
- protoadapt
- proto
- reflect
- protoreflect
- protoregistry
- runtime
- protoiface
- protoimpl
- types
- descriptorpb
- known
- anypb
- durationpb
- emptypb
- structpb
- timestamppb
- gopkg.in
- evanphx/json-patch.v4
- inf.v0
- yaml.v3
- k8s.io
- apiextensions-apiserver
- pkg/apis/apiextensions
- v1
- apimachinery
- pkg
- apis/meta
- internalversion
- scheme
- validation
- v1beta1
- v1
- unstructured
- validation
- api
- equality
- errors
- meta
- testrestmapper
- operation
- resource
- safe
- validate
- constraints
- content
- validation
- conversion
- queryparams
- fields
- labels
- runtime
- schema
- serializer
- cbor
- direct
- internal/modes
- json
- protobuf
- recognizer
- streaming
- versioning
- selection
- types
- util
- cache
- diff
- errors
- framer
- httpstream
- spdy
- intstr
- json
- managedfields
- internal
- mergepatch
- naming
- net
- rand
- remotecommand
- runtime
- sets
- strategicpatch
- uuid
- validation
- field
- version
- wait
- yaml
- version
- watch
- third_party/forked/golang
- json
- reflect
- api
- admissionregistration
- v1alpha1
- v1beta1
- v1
- admission
- v1beta1
- v1
- apidiscovery
- v2beta1
- v2
- apiserverinternal/v1alpha1
- apps
- v1beta1
- v1beta2
- v1
- authentication
- v1alpha1
- v1beta1
- v1
- authorization
- v1beta1
- v1
- autoscaling
- v1
- v2
- batch
- v1beta1
- v1
- certificates
- v1alpha1
- v1beta1
- v1
- coordination
- v1alpha2
- v1beta1
- v1
- core/v1
- discovery
- v1beta1
- v1
- events
- v1beta1
- v1
- extensions/v1beta1
- flowcontrol
- v1beta1
- v1beta2
- v1beta3
- v1
- imagepolicy/v1alpha1
- networking
- v1beta1
- v1
- node
- v1alpha1
- v1beta1
- v1
- policy
- v1beta1
- v1
- rbac
- v1alpha1
- v1beta1
- v1
- resource
- v1alpha3
- v1beta1
- v1beta2
- v1
- scheduling
- v1alpha2
- v1beta1
- v1
- storagemigration/v1beta1
- storage
- v1alpha1
- v1beta1
- v1
- client-go
- applyconfigurations
- admissionregistration
- v1alpha1
- v1beta1
- v1
- apiserverinternal/v1alpha1
- apps
- v1beta1
- v1beta2
- v1
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | | - | |
| 19 | + | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
31 | | - | |
| 30 | + | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
42 | | - | |
| 41 | + | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
65 | | - | |
| 64 | + | |
| 65 | + | |
66 | 66 | | |
67 | 67 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
50 | 50 | | |
51 | | - | |
| 51 | + | |
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
80 | | - | |
| 79 | + | |
| 80 | + | |
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
103 | | - | |
104 | | - | |
| 103 | + | |
| 104 | + | |
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
| |||
198 | 198 | | |
199 | 199 | | |
200 | 200 | | |
201 | | - | |
202 | | - | |
| 201 | + | |
| 202 | + | |
203 | 203 | | |
204 | 204 | | |
205 | 205 | | |
| |||
216 | 216 | | |
217 | 217 | | |
218 | 218 | | |
219 | | - | |
| 219 | + | |
220 | 220 | | |
221 | 221 | | |
222 | 222 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | | - | |
| 28 | + | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
15 | 14 | | |
16 | 15 | | |
17 | 16 | | |
| |||
File renamed without changes.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | | - | |
12 | | - | |
| 10 | + | |
| 11 | + | |
13 | 12 | | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
| 13 | + | |
| 14 | + | |
18 | 15 | | |
19 | 16 | | |
20 | 17 | | |
| |||
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
| |||
0 commit comments