k3s/pkg/apis/apps/zz_generated.deepcopy.go

275 lines
7.9 KiB
Go
Raw Normal View History

// +build !ignore_autogenerated
/*
Copyright The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
2018-02-27 01:16:14 +00:00
// Code generated by deepcopy-gen. DO NOT EDIT.
package apps
import (
2017-01-11 14:09:48 +00:00
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
runtime "k8s.io/apimachinery/pkg/runtime"
2017-11-09 08:36:32 +00:00
core "k8s.io/kubernetes/pkg/apis/core"
)
2017-07-06 08:07:09 +00:00
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ControllerRevision) DeepCopyInto(out *ControllerRevision) {
*out = *in
out.TypeMeta = in.TypeMeta
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
if in.Data == nil {
out.Data = nil
} else {
out.Data = in.Data.DeepCopyObject()
}
return
}
2017-07-31 14:33:00 +00:00
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControllerRevision.
func (in *ControllerRevision) DeepCopy() *ControllerRevision {
if in == nil {
2017-07-06 08:07:09 +00:00
return nil
}
out := new(ControllerRevision)
2017-07-31 14:33:00 +00:00
in.DeepCopyInto(out)
2017-07-06 08:07:09 +00:00
return out
}
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
2017-07-31 14:33:00 +00:00
func (in *ControllerRevision) DeepCopyObject() runtime.Object {
if c := in.DeepCopy(); c != nil {
2017-07-06 08:07:09 +00:00
return c
}
2018-02-27 01:16:14 +00:00
return nil
}
2017-07-06 08:07:09 +00:00
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ControllerRevisionList) DeepCopyInto(out *ControllerRevisionList) {
*out = *in
out.TypeMeta = in.TypeMeta
out.ListMeta = in.ListMeta
if in.Items != nil {
in, out := &in.Items, &out.Items
*out = make([]ControllerRevision, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
2017-07-06 08:07:09 +00:00
}
return
}
2017-07-31 14:33:00 +00:00
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControllerRevisionList.
func (in *ControllerRevisionList) DeepCopy() *ControllerRevisionList {
if in == nil {
return nil
}
2017-07-06 08:07:09 +00:00
out := new(ControllerRevisionList)
2017-07-31 14:33:00 +00:00
in.DeepCopyInto(out)
2017-07-06 08:07:09 +00:00
return out
}
2017-07-06 08:07:09 +00:00
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
2017-07-31 14:33:00 +00:00
func (in *ControllerRevisionList) DeepCopyObject() runtime.Object {
if c := in.DeepCopy(); c != nil {
2017-07-06 08:07:09 +00:00
return c
}
2018-02-27 01:16:14 +00:00
return nil
}
2017-07-06 08:07:09 +00:00
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *RollingUpdateStatefulSetStrategy) DeepCopyInto(out *RollingUpdateStatefulSetStrategy) {
*out = *in
return
}
2017-07-31 14:33:00 +00:00
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RollingUpdateStatefulSetStrategy.
func (in *RollingUpdateStatefulSetStrategy) DeepCopy() *RollingUpdateStatefulSetStrategy {
if in == nil {
return nil
}
2017-07-06 08:07:09 +00:00
out := new(RollingUpdateStatefulSetStrategy)
2017-07-31 14:33:00 +00:00
in.DeepCopyInto(out)
2017-07-06 08:07:09 +00:00
return out
}
2017-07-06 08:07:09 +00:00
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *StatefulSet) DeepCopyInto(out *StatefulSet) {
*out = *in
out.TypeMeta = in.TypeMeta
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
in.Spec.DeepCopyInto(&out.Spec)
in.Status.DeepCopyInto(&out.Status)
return
}
2017-07-31 14:33:00 +00:00
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSet.
func (in *StatefulSet) DeepCopy() *StatefulSet {
if in == nil {
return nil
}
2017-07-06 08:07:09 +00:00
out := new(StatefulSet)
2017-07-31 14:33:00 +00:00
in.DeepCopyInto(out)
2017-07-06 08:07:09 +00:00
return out
}
2017-07-06 08:07:09 +00:00
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
2017-07-31 14:33:00 +00:00
func (in *StatefulSet) DeepCopyObject() runtime.Object {
if c := in.DeepCopy(); c != nil {
2017-07-06 08:07:09 +00:00
return c
}
2018-02-27 01:16:14 +00:00
return nil
2017-07-06 08:07:09 +00:00
}
2017-11-09 20:48:23 +00:00
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *StatefulSetCondition) DeepCopyInto(out *StatefulSetCondition) {
*out = *in
in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime)
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetCondition.
func (in *StatefulSetCondition) DeepCopy() *StatefulSetCondition {
if in == nil {
return nil
}
out := new(StatefulSetCondition)
in.DeepCopyInto(out)
return out
}
2017-07-06 08:07:09 +00:00
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *StatefulSetList) DeepCopyInto(out *StatefulSetList) {
*out = *in
out.TypeMeta = in.TypeMeta
out.ListMeta = in.ListMeta
if in.Items != nil {
in, out := &in.Items, &out.Items
*out = make([]StatefulSet, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
2017-07-06 08:07:09 +00:00
}
return
}
2017-07-31 14:33:00 +00:00
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetList.
func (in *StatefulSetList) DeepCopy() *StatefulSetList {
if in == nil {
2017-07-06 08:07:09 +00:00
return nil
}
out := new(StatefulSetList)
2017-07-31 14:33:00 +00:00
in.DeepCopyInto(out)
2017-07-06 08:07:09 +00:00
return out
}
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
2017-07-31 14:33:00 +00:00
func (in *StatefulSetList) DeepCopyObject() runtime.Object {
if c := in.DeepCopy(); c != nil {
2017-07-06 08:07:09 +00:00
return c
}
2018-02-27 01:16:14 +00:00
return nil
2017-07-06 08:07:09 +00:00
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *StatefulSetSpec) DeepCopyInto(out *StatefulSetSpec) {
*out = *in
if in.Selector != nil {
in, out := &in.Selector, &out.Selector
2018-06-13 07:53:47 +00:00
*out = new(v1.LabelSelector)
(*in).DeepCopyInto(*out)
2017-07-06 08:07:09 +00:00
}
in.Template.DeepCopyInto(&out.Template)
if in.VolumeClaimTemplates != nil {
in, out := &in.VolumeClaimTemplates, &out.VolumeClaimTemplates
2017-11-09 08:36:32 +00:00
*out = make([]core.PersistentVolumeClaim, len(*in))
2017-07-06 08:07:09 +00:00
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
2017-07-06 08:07:09 +00:00
}
in.UpdateStrategy.DeepCopyInto(&out.UpdateStrategy)
if in.RevisionHistoryLimit != nil {
in, out := &in.RevisionHistoryLimit, &out.RevisionHistoryLimit
2018-06-13 07:53:47 +00:00
*out = new(int32)
**out = **in
2017-07-06 08:07:09 +00:00
}
return
}
2017-07-31 14:33:00 +00:00
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetSpec.
func (in *StatefulSetSpec) DeepCopy() *StatefulSetSpec {
if in == nil {
return nil
}
2017-07-06 08:07:09 +00:00
out := new(StatefulSetSpec)
2017-07-31 14:33:00 +00:00
in.DeepCopyInto(out)
2017-07-06 08:07:09 +00:00
return out
}
2017-07-06 08:07:09 +00:00
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *StatefulSetStatus) DeepCopyInto(out *StatefulSetStatus) {
*out = *in
if in.ObservedGeneration != nil {
in, out := &in.ObservedGeneration, &out.ObservedGeneration
2018-06-13 07:53:47 +00:00
*out = new(int64)
**out = **in
}
if in.CollisionCount != nil {
in, out := &in.CollisionCount, &out.CollisionCount
2018-06-13 07:53:47 +00:00
*out = new(int32)
**out = **in
2017-07-06 08:07:09 +00:00
}
2017-11-09 20:48:23 +00:00
if in.Conditions != nil {
in, out := &in.Conditions, &out.Conditions
*out = make([]StatefulSetCondition, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
2017-07-06 08:07:09 +00:00
return
}
2017-07-31 14:33:00 +00:00
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetStatus.
func (in *StatefulSetStatus) DeepCopy() *StatefulSetStatus {
if in == nil {
return nil
}
2017-07-06 08:07:09 +00:00
out := new(StatefulSetStatus)
2017-07-31 14:33:00 +00:00
in.DeepCopyInto(out)
2017-07-06 08:07:09 +00:00
return out
}
2017-07-06 08:07:09 +00:00
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *StatefulSetUpdateStrategy) DeepCopyInto(out *StatefulSetUpdateStrategy) {
*out = *in
if in.RollingUpdate != nil {
in, out := &in.RollingUpdate, &out.RollingUpdate
2018-06-13 07:53:47 +00:00
*out = new(RollingUpdateStatefulSetStrategy)
**out = **in
2017-07-06 08:07:09 +00:00
}
return
}
2017-07-31 14:33:00 +00:00
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetUpdateStrategy.
func (in *StatefulSetUpdateStrategy) DeepCopy() *StatefulSetUpdateStrategy {
if in == nil {
return nil
}
2017-07-06 08:07:09 +00:00
out := new(StatefulSetUpdateStrategy)
2017-07-31 14:33:00 +00:00
in.DeepCopyInto(out)
2017-07-06 08:07:09 +00:00
return out
}