mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 19:56:01 +00:00
make all works. generated harmless covnersion/deepcoy chagnes
This commit is contained in:
parent
ffe74d1fe7
commit
847b048fa0
@ -21,12 +21,12 @@ limitations under the License.
|
|||||||
package v1alpha1
|
package v1alpha1
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
authentication_v1 "k8s.io/api/authentication/v1"
|
||||||
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||||
conversion "k8s.io/apimachinery/pkg/conversion"
|
conversion "k8s.io/apimachinery/pkg/conversion"
|
||||||
runtime "k8s.io/apimachinery/pkg/runtime"
|
runtime "k8s.io/apimachinery/pkg/runtime"
|
||||||
types "k8s.io/apimachinery/pkg/types"
|
types "k8s.io/apimachinery/pkg/types"
|
||||||
audit "k8s.io/apiserver/pkg/apis/audit"
|
audit "k8s.io/apiserver/pkg/apis/audit"
|
||||||
authentication_v1 "k8s.io/api/authentication/v1"
|
|
||||||
unsafe "unsafe"
|
unsafe "unsafe"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -21,10 +21,10 @@ limitations under the License.
|
|||||||
package v1alpha1
|
package v1alpha1
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
authentication_v1 "k8s.io/api/authentication/v1"
|
||||||
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||||
conversion "k8s.io/apimachinery/pkg/conversion"
|
conversion "k8s.io/apimachinery/pkg/conversion"
|
||||||
runtime "k8s.io/apimachinery/pkg/runtime"
|
runtime "k8s.io/apimachinery/pkg/runtime"
|
||||||
authentication_v1 "k8s.io/api/authentication/v1"
|
|
||||||
reflect "reflect"
|
reflect "reflect"
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -58,17 +58,14 @@ func DeepCopy_v1alpha1_Event(in interface{}, out interface{}, c *conversion.Clon
|
|||||||
out.ObjectMeta = *newVal.(*v1.ObjectMeta)
|
out.ObjectMeta = *newVal.(*v1.ObjectMeta)
|
||||||
}
|
}
|
||||||
out.Timestamp = in.Timestamp.DeepCopy()
|
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
|
return err
|
||||||
} else {
|
|
||||||
out.User = *newVal.(*authentication_v1.UserInfo)
|
|
||||||
}
|
}
|
||||||
if in.ImpersonatedUser != nil {
|
if in.ImpersonatedUser != nil {
|
||||||
in, out := &in.ImpersonatedUser, &out.ImpersonatedUser
|
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
|
return err
|
||||||
} else {
|
|
||||||
*out = newVal.(*authentication_v1.UserInfo)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if in.SourceIPs != nil {
|
if in.SourceIPs != nil {
|
||||||
|
@ -21,9 +21,9 @@ limitations under the License.
|
|||||||
package v1alpha1
|
package v1alpha1
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
v1 "k8s.io/api/core/v1"
|
||||||
conversion "k8s.io/apimachinery/pkg/conversion"
|
conversion "k8s.io/apimachinery/pkg/conversion"
|
||||||
runtime "k8s.io/apimachinery/pkg/runtime"
|
runtime "k8s.io/apimachinery/pkg/runtime"
|
||||||
v1 "k8s.io/api/core/v1"
|
|
||||||
metrics "k8s.io/metrics/pkg/apis/metrics"
|
metrics "k8s.io/metrics/pkg/apis/metrics"
|
||||||
unsafe "unsafe"
|
unsafe "unsafe"
|
||||||
)
|
)
|
||||||
|
@ -21,10 +21,10 @@ limitations under the License.
|
|||||||
package v1alpha1
|
package v1alpha1
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
v1 "k8s.io/api/core/v1"
|
||||||
meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||||
conversion "k8s.io/apimachinery/pkg/conversion"
|
conversion "k8s.io/apimachinery/pkg/conversion"
|
||||||
runtime "k8s.io/apimachinery/pkg/runtime"
|
runtime "k8s.io/apimachinery/pkg/runtime"
|
||||||
v1 "k8s.io/api/core/v1"
|
|
||||||
reflect "reflect"
|
reflect "reflect"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user