clean up genclient tags for hub types

This commit is contained in:
yue9944882
2019-04-24 15:27:02 +08:00
parent 970e5929fe
commit 71a58de48b
17 changed files with 0 additions and 80 deletions

View File

@@ -88,7 +88,6 @@ type RoleRef struct {
Name string
}
// +genclient
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding.
@@ -101,7 +100,6 @@ type Role struct {
Rules []PolicyRule
}
// +genclient
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// RoleBinding references a role, but does not contain it. It can reference a Role in the same namespace or a ClusterRole in the global namespace.
@@ -143,8 +141,6 @@ type RoleList struct {
Items []Role
}
// +genclient
// +genclient:nonNamespaced
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding.
@@ -169,8 +165,6 @@ type AggregationRule struct {
ClusterRoleSelectors []metav1.LabelSelector
}
// +genclient
// +genclient:nonNamespaced
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace,