mirror of https://github.com/k3s-io/k3s
295 lines
8.2 KiB
Go
295 lines
8.2 KiB
Go
// +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.
|
|
*/
|
|
|
|
// Code generated by deepcopy-gen. DO NOT EDIT.
|
|
|
|
package apps
|
|
|
|
import (
|
|
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
|
runtime "k8s.io/apimachinery/pkg/runtime"
|
|
core "k8s.io/kubernetes/pkg/apis/core"
|
|
)
|
|
|
|
// 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
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControllerRevision.
|
|
func (in *ControllerRevision) DeepCopy() *ControllerRevision {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ControllerRevision)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *ControllerRevision) DeepCopyObject() runtime.Object {
|
|
if c := in.DeepCopy(); c != nil {
|
|
return c
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// 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])
|
|
}
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControllerRevisionList.
|
|
func (in *ControllerRevisionList) DeepCopy() *ControllerRevisionList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ControllerRevisionList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *ControllerRevisionList) DeepCopyObject() runtime.Object {
|
|
if c := in.DeepCopy(); c != nil {
|
|
return c
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// 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
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RollingUpdateStatefulSetStrategy.
|
|
func (in *RollingUpdateStatefulSetStrategy) DeepCopy() *RollingUpdateStatefulSetStrategy {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(RollingUpdateStatefulSetStrategy)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// 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
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSet.
|
|
func (in *StatefulSet) DeepCopy() *StatefulSet {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(StatefulSet)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *StatefulSet) DeepCopyObject() runtime.Object {
|
|
if c := in.DeepCopy(); c != nil {
|
|
return c
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// 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
|
|
}
|
|
|
|
// 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])
|
|
}
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetList.
|
|
func (in *StatefulSetList) DeepCopy() *StatefulSetList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(StatefulSetList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *StatefulSetList) DeepCopyObject() runtime.Object {
|
|
if c := in.DeepCopy(); c != nil {
|
|
return c
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// 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
|
|
if *in == nil {
|
|
*out = nil
|
|
} else {
|
|
*out = new(v1.LabelSelector)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
}
|
|
in.Template.DeepCopyInto(&out.Template)
|
|
if in.VolumeClaimTemplates != nil {
|
|
in, out := &in.VolumeClaimTemplates, &out.VolumeClaimTemplates
|
|
*out = make([]core.PersistentVolumeClaim, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
in.UpdateStrategy.DeepCopyInto(&out.UpdateStrategy)
|
|
if in.RevisionHistoryLimit != nil {
|
|
in, out := &in.RevisionHistoryLimit, &out.RevisionHistoryLimit
|
|
if *in == nil {
|
|
*out = nil
|
|
} else {
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetSpec.
|
|
func (in *StatefulSetSpec) DeepCopy() *StatefulSetSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(StatefulSetSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// 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
|
|
if *in == nil {
|
|
*out = nil
|
|
} else {
|
|
*out = new(int64)
|
|
**out = **in
|
|
}
|
|
}
|
|
if in.CollisionCount != nil {
|
|
in, out := &in.CollisionCount, &out.CollisionCount
|
|
if *in == nil {
|
|
*out = nil
|
|
} else {
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
}
|
|
if in.Conditions != nil {
|
|
in, out := &in.Conditions, &out.Conditions
|
|
*out = make([]StatefulSetCondition, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetStatus.
|
|
func (in *StatefulSetStatus) DeepCopy() *StatefulSetStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(StatefulSetStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// 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
|
|
if *in == nil {
|
|
*out = nil
|
|
} else {
|
|
*out = new(RollingUpdateStatefulSetStrategy)
|
|
**out = **in
|
|
}
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetUpdateStrategy.
|
|
func (in *StatefulSetUpdateStrategy) DeepCopy() *StatefulSetUpdateStrategy {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(StatefulSetUpdateStrategy)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|