Skip to content

Commit 6d294f5

Browse files
authored
fix: missing generate common types in api reference (#1460)
Signed-off-by: yangw <[email protected]>
1 parent ed95c2c commit 6d294f5

File tree

11 files changed

+747
-365
lines changed

11 files changed

+747
-365
lines changed

api/common/v1beta2/common_types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package api
1+
package v1beta2
22

33
import (
44
appsv1 "k8s.io/api/apps/v1"

api/common/v1beta2/common_types_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package api
1+
package v1beta2
22

33
import (
44
"testing"

api/common/v1beta2/doc.go

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
/*
2+
Copyright 2020 Opstree Solutions.
3+
4+
Licensed under the Apache License, Version 2.0 (the "License");
5+
you may not use this file except in compliance with the License.
6+
You may obtain a copy of the License at
7+
8+
http://www.apache.org/licenses/LICENSE-2.0
9+
10+
Unless required by applicable law or agreed to in writing, software
11+
distributed under the License is distributed on an "AS IS" BASIS,
12+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
See the License for the specific language governing permissions and
14+
limitations under the License.
15+
*/
16+
17+
// Package v1beta2 contains common types used by Redis Operator APIs.
18+
// These types are shared across different Redis resource types.
19+
//
20+
// +groupName=redis.redis.opstreelabs.in
21+
package v1beta2

api/common/v1beta2/zz_generated.deepcopy.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)