1
0
mirror of https://github.com/rancher/types.git synced 2025-09-01 21:32:10 +00:00

Generated changes

This commit is contained in:
Alena Prokharchyk
2018-07-11 16:48:03 -07:00
parent b840a3a9e6
commit 15d6dfa2d0
154 changed files with 875 additions and 2048 deletions

View File

@@ -97,7 +97,7 @@ func (l *daemonSetLister) Get(namespace, name string) (*v1beta2.DaemonSet, error
return nil, errors.NewNotFound(schema.GroupResource{
Group: DaemonSetGroupVersionKind.Group,
Resource: "daemonSet",
}, name)
}, key)
}
return obj.(*v1beta2.DaemonSet), nil
}

View File

@@ -1,42 +1,10 @@
package v1beta2
import (
reflect "reflect"
apps_v1beta2 "k8s.io/api/apps/v1beta2"
conversion "k8s.io/apimachinery/pkg/conversion"
runtime "k8s.io/apimachinery/pkg/runtime"
)
func init() {
SchemeBuilder.Register(RegisterDeepCopies)
}
// RegisterDeepCopies adds deep-copy functions to the given scheme. Public
// to allow building arbitrary schemes.
//
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func RegisterDeepCopies(scheme *runtime.Scheme) error {
return scheme.AddGeneratedDeepCopyFuncs(
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
in.(*DaemonSetList).DeepCopyInto(out.(*DaemonSetList))
return nil
}, InType: reflect.TypeOf(&DaemonSetList{})},
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
in.(*DeploymentList).DeepCopyInto(out.(*DeploymentList))
return nil
}, InType: reflect.TypeOf(&DeploymentList{})},
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
in.(*ReplicaSetList).DeepCopyInto(out.(*ReplicaSetList))
return nil
}, InType: reflect.TypeOf(&ReplicaSetList{})},
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
in.(*StatefulSetList).DeepCopyInto(out.(*StatefulSetList))
return nil
}, InType: reflect.TypeOf(&StatefulSetList{})},
)
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *DaemonSetList) DeepCopyInto(out *DaemonSetList) {
*out = *in
@@ -66,9 +34,8 @@ func (in *DaemonSetList) DeepCopy() *DaemonSetList {
func (in *DaemonSetList) DeepCopyObject() runtime.Object {
if c := in.DeepCopy(); c != nil {
return c
} else {
return nil
}
return nil
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
@@ -100,9 +67,8 @@ func (in *DeploymentList) DeepCopy() *DeploymentList {
func (in *DeploymentList) DeepCopyObject() runtime.Object {
if c := in.DeepCopy(); c != nil {
return c
} else {
return nil
}
return nil
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
@@ -134,9 +100,8 @@ func (in *ReplicaSetList) DeepCopy() *ReplicaSetList {
func (in *ReplicaSetList) DeepCopyObject() runtime.Object {
if c := in.DeepCopy(); c != nil {
return c
} else {
return nil
}
return nil
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
@@ -168,7 +133,6 @@ func (in *StatefulSetList) DeepCopy() *StatefulSetList {
func (in *StatefulSetList) DeepCopyObject() runtime.Object {
if c := in.DeepCopy(); c != nil {
return c
} else {
return nil
}
return nil
}

View File

@@ -97,7 +97,7 @@ func (l *deploymentLister) Get(namespace, name string) (*v1beta2.Deployment, err
return nil, errors.NewNotFound(schema.GroupResource{
Group: DeploymentGroupVersionKind.Group,
Resource: "deployment",
}, name)
}, key)
}
return obj.(*v1beta2.Deployment), nil
}

View File

@@ -97,7 +97,7 @@ func (l *replicaSetLister) Get(namespace, name string) (*v1beta2.ReplicaSet, err
return nil, errors.NewNotFound(schema.GroupResource{
Group: ReplicaSetGroupVersionKind.Group,
Resource: "replicaSet",
}, name)
}, key)
}
return obj.(*v1beta2.ReplicaSet), nil
}

View File

@@ -97,7 +97,7 @@ func (l *statefulSetLister) Get(namespace, name string) (*v1beta2.StatefulSet, e
return nil, errors.NewNotFound(schema.GroupResource{
Group: StatefulSetGroupVersionKind.Group,
Resource: "statefulSet",
}, name)
}, key)
}
return obj.(*v1beta2.StatefulSet), nil
}