Skip to content

Commit

Permalink
add code-generate
Browse files Browse the repository at this point in the history
Signed-off-by: wuyan-dushang <[email protected]>
  • Loading branch information
sjmshsh committed Aug 18, 2023
1 parent a182780 commit 6493d55
Show file tree
Hide file tree
Showing 42 changed files with 2,302 additions and 721 deletions.
77 changes: 0 additions & 77 deletions api/resource/v1alpha1/ca_deepcopy.go

This file was deleted.

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

56 changes: 0 additions & 56 deletions api/resource/v1alpha1/servicemapping_deepcopy.go

This file was deleted.

1 change: 1 addition & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ require (
github.com/dubbogo/grpc-go v1.42.10
github.com/dubbogo/triple v1.2.2-rc3
github.com/evanphx/json-patch/v5 v5.6.0
github.com/ghodss/yaml v1.0.0
github.com/gin-gonic/gin v1.9.1
github.com/gogo/protobuf v1.3.2
github.com/golang-jwt/jwt/v4 v4.5.0
Expand Down
1 change: 1 addition & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -661,6 +661,7 @@ github.com/fsnotify/fsnotify v1.6.0/go.mod h1:sl3t1tCWJFWoRz9R8WJCbQihKKwmorjAbS
github.com/gabriel-vasile/mimetype v1.4.2 h1:w5qFW6JKBz9Y393Y4q372O9A7cUSequkh1Q7OhCmWKU=
github.com/gabriel-vasile/mimetype v1.4.2/go.mod h1:zApsH/mKG4w07erKIaJPFiX0Tsq9BFQgN3qGY5GnNgA=
github.com/getsentry/raven-go v0.2.0/go.mod h1:KungGk8q33+aIAZUIVWZDr2OfAEBsO49PX4NzFV5kcQ=
github.com/ghodss/yaml v1.0.0 h1:wQHKEahhL6wmXdzwWG11gIVCkOv05bNOh+Rxn0yngAk=
github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04=
github.com/gin-contrib/sse v0.1.0 h1:Y/yl/+YNO8GZSjAhjMsSuLt29uWRFHdHYUb5lYOV9qE=
github.com/gin-contrib/sse v0.1.0/go.mod h1:RHrZQHXnP2xjPF+u1gW/2HnVO7nvIa9PG3Gm+fLHvGI=
Expand Down
18 changes: 12 additions & 6 deletions pkg/core/gen/apis/dubbo.apache.org/v1alpha1/register.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,18 +44,24 @@ var (
// Adds the list of known types to Scheme.
func addKnownTypes(scheme *runtime.Scheme) error {
scheme.AddKnownTypes(SchemeGroupVersion,

&AuthenticationPolicy{},
&AuthenticationPolicyList{},

&AuthorizationPolicy{},
&ServiceNameMapping{},
&AuthorizationPolicyList{},

&ConditionRoute{},
&ConditionRouteList{},

&DynamicConfig{},
&TagRoute{},
&TagRouteList{},
&DynamicConfigList{},

&ServiceNameMapping{},
&ServiceNameMappingList{},
&ConditionRouteList{},
&AuthorizationPolicyList{},
&AuthenticationPolicyList{},

&TagRoute{},
&TagRouteList{},
)
metav1.AddToGroupVersion(scheme, SchemeGroupVersion)
return nil
Expand Down
Loading

0 comments on commit 6493d55

Please sign in to comment.