switch from godep to glide

This commit is contained in:
Tomas Kral
2016-12-07 19:57:19 +01:00
parent 862419b836
commit fe679fbca6
861 changed files with 16916 additions and 81678 deletions
+2
View File
@@ -37,6 +37,7 @@ func addKnownTypes(scheme *runtime.Scheme) error {
&OAuthClientList{},
&OAuthClientAuthorization{},
&OAuthClientAuthorizationList{},
&OAuthRedirectReference{},
)
return nil
}
@@ -49,3 +50,4 @@ func (obj *OAuthAuthorizeTokenList) GetObjectKind() unversioned.ObjectKind
func (obj *OAuthAuthorizeToken) GetObjectKind() unversioned.ObjectKind { return &obj.TypeMeta }
func (obj *OAuthAccessTokenList) GetObjectKind() unversioned.ObjectKind { return &obj.TypeMeta }
func (obj *OAuthAccessToken) GetObjectKind() unversioned.ObjectKind { return &obj.TypeMeta }
func (obj *OAuthRedirectReference) GetObjectKind() unversioned.ObjectKind { return &obj.TypeMeta }
+18
View File
@@ -59,6 +59,12 @@ type OAuthAuthorizeToken struct {
// UserUID is the unique UID associated with this token. UserUID and UserName must both match
// for this token to be valid.
UserUID string
// CodeChallenge is the optional code_challenge associated with this authorization code, as described in rfc7636
CodeChallenge string
// CodeChallengeMethod is the optional code_challenge_method associated with this authorization code, as described in rfc7636
CodeChallengeMethod string
}
// +genclient=true
@@ -161,3 +167,15 @@ type OAuthClientAuthorizationList struct {
unversioned.ListMeta
Items []OAuthClientAuthorization
}
type OAuthRedirectReference struct {
unversioned.TypeMeta
kapi.ObjectMeta
Reference RedirectReference
}
type RedirectReference struct {
Group string
Kind string
Name string
}
@@ -28,6 +28,8 @@ func RegisterDeepCopies(scheme *runtime.Scheme) error {
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_OAuthClientAuthorization, InType: reflect.TypeOf(&OAuthClientAuthorization{})},
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_OAuthClientAuthorizationList, InType: reflect.TypeOf(&OAuthClientAuthorizationList{})},
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_OAuthClientList, InType: reflect.TypeOf(&OAuthClientList{})},
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_OAuthRedirectReference, InType: reflect.TypeOf(&OAuthRedirectReference{})},
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_RedirectReference, InType: reflect.TypeOf(&RedirectReference{})},
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ScopeRestriction, InType: reflect.TypeOf(&ScopeRestriction{})},
)
}
@@ -123,6 +125,8 @@ func DeepCopy_api_OAuthAuthorizeToken(in interface{}, out interface{}, c *conver
out.State = in.State
out.UserName = in.UserName
out.UserUID = in.UserUID
out.CodeChallenge = in.CodeChallenge
out.CodeChallengeMethod = in.CodeChallengeMethod
return nil
}
}
@@ -252,6 +256,30 @@ func DeepCopy_api_OAuthClientList(in interface{}, out interface{}, c *conversion
}
}
func DeepCopy_api_OAuthRedirectReference(in interface{}, out interface{}, c *conversion.Cloner) error {
{
in := in.(*OAuthRedirectReference)
out := out.(*OAuthRedirectReference)
out.TypeMeta = in.TypeMeta
if err := pkg_api.DeepCopy_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil {
return err
}
out.Reference = in.Reference
return nil
}
}
func DeepCopy_api_RedirectReference(in interface{}, out interface{}, c *conversion.Cloner) error {
{
in := in.(*RedirectReference)
out := out.(*RedirectReference)
out.Group = in.Group
out.Kind = in.Kind
out.Name = in.Name
return nil
}
}
func DeepCopy_api_ScopeRestriction(in interface{}, out interface{}, c *conversion.Cloner) error {
{
in := in.(*ScopeRestriction)