make all works. generated harmless covnersion/deepcoy chagnes

Kubernetes-commit: 847b048fa0b2e83d4d4c39ceb37e9e0262d5a968
This commit is contained in:
Chao Xu 2017-06-22 11:16:57 -07:00 committed by Kubernetes Publisher
parent 81b7aaaa7d
commit e5d0493897
2 changed files with 5 additions and 8 deletions

View File

@ -21,12 +21,12 @@ limitations under the License.
package v1alpha1
import (
authentication_v1 "k8s.io/api/authentication/v1"
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
conversion "k8s.io/apimachinery/pkg/conversion"
runtime "k8s.io/apimachinery/pkg/runtime"
types "k8s.io/apimachinery/pkg/types"
audit "k8s.io/apiserver/pkg/apis/audit"
authentication_v1 "k8s.io/api/authentication/v1"
unsafe "unsafe"
)

View File

@ -21,10 +21,10 @@ limitations under the License.
package v1alpha1
import (
authentication_v1 "k8s.io/api/authentication/v1"
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
conversion "k8s.io/apimachinery/pkg/conversion"
runtime "k8s.io/apimachinery/pkg/runtime"
authentication_v1 "k8s.io/api/authentication/v1"
reflect "reflect"
)
@ -58,17 +58,14 @@ func DeepCopy_v1alpha1_Event(in interface{}, out interface{}, c *conversion.Clon
out.ObjectMeta = *newVal.(*v1.ObjectMeta)
}
out.Timestamp = in.Timestamp.DeepCopy()
if newVal, err := c.DeepCopy(&in.User); err != nil {
if err := authentication_v1.DeepCopy_v1_UserInfo(&in.User, &out.User, c); err != nil {
return err
} else {
out.User = *newVal.(*authentication_v1.UserInfo)
}
if in.ImpersonatedUser != nil {
in, out := &in.ImpersonatedUser, &out.ImpersonatedUser
if newVal, err := c.DeepCopy(*in); err != nil {
*out = new(authentication_v1.UserInfo)
if err := authentication_v1.DeepCopy_v1_UserInfo(*in, *out, c); err != nil {
return err
} else {
*out = newVal.(*authentication_v1.UserInfo)
}
}
if in.SourceIPs != nil {