add missing oauth client tags
@@ -4,6 +4,9 @@ import (
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
)
+// +genclient
+// +genclient:nonNamespaced
+
// OAuthAccessToken describes an OAuth access token
type OAuthAccessToken struct {
metav1.TypeMeta `json:",inline"`
@@ -35,6 +38,9 @@ type OAuthAccessToken struct {
RefreshToken string `json:"refreshToken,omitempty" protobuf:"bytes,9,opt,name=refreshToken"`
}
+// +genclient
+// +genclient:nonNamespaced
+
// OAuthAuthorizeToken describes an OAuth authorization token
type OAuthAuthorizeToken struct {
metav1.TypeMeta `json:",inline"`
@@ -71,6 +77,7 @@ type OAuthAuthorizeToken struct {
}
// +genclient
+// +genclient:nonNamespaced
// OAuthClient describes an OAuth client
type OAuthClient struct {
@@ -135,6 +142,9 @@ type ClusterRoleScopeRestriction struct {
AllowEscalation bool `json:"allowEscalation" protobuf:"varint,3,opt,name=allowEscalation"`
}
+// +genclient
+// +genclient:nonNamespaced
+
// OAuthClientAuthorization describes an authorization created by an OAuth client
type OAuthClientAuthorization struct {
metav1.TypeMeta `json:",inline"`
