mirror of https://github.com/openkruise/kruise.git
2034 lines
59 KiB
Go
2034 lines
59 KiB
Go
// +build !ignore_autogenerated
|
|
|
|
/*
|
|
Copyright 2020 The Kruise 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 controller-gen. DO NOT EDIT.
|
|
|
|
package v1alpha1
|
|
|
|
import (
|
|
"github.com/openkruise/kruise/apis/apps/pub"
|
|
appsv1 "k8s.io/api/apps/v1"
|
|
"k8s.io/api/batch/v1beta1"
|
|
"k8s.io/api/core/v1"
|
|
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
|
runtime "k8s.io/apimachinery/pkg/runtime"
|
|
"k8s.io/apimachinery/pkg/util/intstr"
|
|
)
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *AdvancedCronJob) DeepCopyInto(out *AdvancedCronJob) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
|
in.Spec.DeepCopyInto(&out.Spec)
|
|
in.Status.DeepCopyInto(&out.Status)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdvancedCronJob.
|
|
func (in *AdvancedCronJob) DeepCopy() *AdvancedCronJob {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(AdvancedCronJob)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *AdvancedCronJob) 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 *AdvancedCronJobList) DeepCopyInto(out *AdvancedCronJobList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]AdvancedCronJob, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdvancedCronJobList.
|
|
func (in *AdvancedCronJobList) DeepCopy() *AdvancedCronJobList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(AdvancedCronJobList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *AdvancedCronJobList) 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 *AdvancedCronJobSpec) DeepCopyInto(out *AdvancedCronJobSpec) {
|
|
*out = *in
|
|
if in.StartingDeadlineSeconds != nil {
|
|
in, out := &in.StartingDeadlineSeconds, &out.StartingDeadlineSeconds
|
|
*out = new(int64)
|
|
**out = **in
|
|
}
|
|
if in.Paused != nil {
|
|
in, out := &in.Paused, &out.Paused
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.SuccessfulJobsHistoryLimit != nil {
|
|
in, out := &in.SuccessfulJobsHistoryLimit, &out.SuccessfulJobsHistoryLimit
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
if in.FailedJobsHistoryLimit != nil {
|
|
in, out := &in.FailedJobsHistoryLimit, &out.FailedJobsHistoryLimit
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
in.Template.DeepCopyInto(&out.Template)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdvancedCronJobSpec.
|
|
func (in *AdvancedCronJobSpec) DeepCopy() *AdvancedCronJobSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(AdvancedCronJobSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *AdvancedCronJobStatus) DeepCopyInto(out *AdvancedCronJobStatus) {
|
|
*out = *in
|
|
if in.Active != nil {
|
|
in, out := &in.Active, &out.Active
|
|
*out = make([]v1.ObjectReference, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.LastScheduleTime != nil {
|
|
in, out := &in.LastScheduleTime, &out.LastScheduleTime
|
|
*out = (*in).DeepCopy()
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdvancedCronJobStatus.
|
|
func (in *AdvancedCronJobStatus) DeepCopy() *AdvancedCronJobStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(AdvancedCronJobStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *AdvancedStatefulSetTemplateSpec) DeepCopyInto(out *AdvancedStatefulSetTemplateSpec) {
|
|
*out = *in
|
|
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
|
in.Spec.DeepCopyInto(&out.Spec)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdvancedStatefulSetTemplateSpec.
|
|
func (in *AdvancedStatefulSetTemplateSpec) DeepCopy() *AdvancedStatefulSetTemplateSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(AdvancedStatefulSetTemplateSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *BroadcastJob) DeepCopyInto(out *BroadcastJob) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
|
in.Spec.DeepCopyInto(&out.Spec)
|
|
in.Status.DeepCopyInto(&out.Status)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BroadcastJob.
|
|
func (in *BroadcastJob) DeepCopy() *BroadcastJob {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(BroadcastJob)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *BroadcastJob) 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 *BroadcastJobList) DeepCopyInto(out *BroadcastJobList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]BroadcastJob, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BroadcastJobList.
|
|
func (in *BroadcastJobList) DeepCopy() *BroadcastJobList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(BroadcastJobList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *BroadcastJobList) 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 *BroadcastJobSpec) DeepCopyInto(out *BroadcastJobSpec) {
|
|
*out = *in
|
|
if in.Parallelism != nil {
|
|
in, out := &in.Parallelism, &out.Parallelism
|
|
*out = new(intstr.IntOrString)
|
|
**out = **in
|
|
}
|
|
in.Template.DeepCopyInto(&out.Template)
|
|
in.CompletionPolicy.DeepCopyInto(&out.CompletionPolicy)
|
|
out.FailurePolicy = in.FailurePolicy
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BroadcastJobSpec.
|
|
func (in *BroadcastJobSpec) DeepCopy() *BroadcastJobSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(BroadcastJobSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *BroadcastJobStatus) DeepCopyInto(out *BroadcastJobStatus) {
|
|
*out = *in
|
|
if in.Conditions != nil {
|
|
in, out := &in.Conditions, &out.Conditions
|
|
*out = make([]JobCondition, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
if in.StartTime != nil {
|
|
in, out := &in.StartTime, &out.StartTime
|
|
*out = (*in).DeepCopy()
|
|
}
|
|
if in.CompletionTime != nil {
|
|
in, out := &in.CompletionTime, &out.CompletionTime
|
|
*out = (*in).DeepCopy()
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BroadcastJobStatus.
|
|
func (in *BroadcastJobStatus) DeepCopy() *BroadcastJobStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(BroadcastJobStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *BroadcastJobTemplateSpec) DeepCopyInto(out *BroadcastJobTemplateSpec) {
|
|
*out = *in
|
|
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
|
in.Spec.DeepCopyInto(&out.Spec)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BroadcastJobTemplateSpec.
|
|
func (in *BroadcastJobTemplateSpec) DeepCopy() *BroadcastJobTemplateSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(BroadcastJobTemplateSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *CloneSet) DeepCopyInto(out *CloneSet) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
|
in.Spec.DeepCopyInto(&out.Spec)
|
|
in.Status.DeepCopyInto(&out.Status)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloneSet.
|
|
func (in *CloneSet) DeepCopy() *CloneSet {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(CloneSet)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *CloneSet) 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 *CloneSetCondition) DeepCopyInto(out *CloneSetCondition) {
|
|
*out = *in
|
|
in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloneSetCondition.
|
|
func (in *CloneSetCondition) DeepCopy() *CloneSetCondition {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(CloneSetCondition)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *CloneSetList) DeepCopyInto(out *CloneSetList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]CloneSet, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloneSetList.
|
|
func (in *CloneSetList) DeepCopy() *CloneSetList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(CloneSetList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *CloneSetList) 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 *CloneSetScaleStrategy) DeepCopyInto(out *CloneSetScaleStrategy) {
|
|
*out = *in
|
|
if in.PodsToDelete != nil {
|
|
in, out := &in.PodsToDelete, &out.PodsToDelete
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloneSetScaleStrategy.
|
|
func (in *CloneSetScaleStrategy) DeepCopy() *CloneSetScaleStrategy {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(CloneSetScaleStrategy)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *CloneSetSpec) DeepCopyInto(out *CloneSetSpec) {
|
|
*out = *in
|
|
if in.Replicas != nil {
|
|
in, out := &in.Replicas, &out.Replicas
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
if in.Selector != nil {
|
|
in, out := &in.Selector, &out.Selector
|
|
*out = new(metav1.LabelSelector)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
in.Template.DeepCopyInto(&out.Template)
|
|
if in.VolumeClaimTemplates != nil {
|
|
in, out := &in.VolumeClaimTemplates, &out.VolumeClaimTemplates
|
|
*out = make([]v1.PersistentVolumeClaim, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
in.ScaleStrategy.DeepCopyInto(&out.ScaleStrategy)
|
|
in.UpdateStrategy.DeepCopyInto(&out.UpdateStrategy)
|
|
if in.RevisionHistoryLimit != nil {
|
|
in, out := &in.RevisionHistoryLimit, &out.RevisionHistoryLimit
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
if in.Lifecycle != nil {
|
|
in, out := &in.Lifecycle, &out.Lifecycle
|
|
*out = new(pub.Lifecycle)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloneSetSpec.
|
|
func (in *CloneSetSpec) DeepCopy() *CloneSetSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(CloneSetSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *CloneSetStatus) DeepCopyInto(out *CloneSetStatus) {
|
|
*out = *in
|
|
if in.CollisionCount != nil {
|
|
in, out := &in.CollisionCount, &out.CollisionCount
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
if in.Conditions != nil {
|
|
in, out := &in.Conditions, &out.Conditions
|
|
*out = make([]CloneSetCondition, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloneSetStatus.
|
|
func (in *CloneSetStatus) DeepCopy() *CloneSetStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(CloneSetStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *CloneSetTemplateSpec) DeepCopyInto(out *CloneSetTemplateSpec) {
|
|
*out = *in
|
|
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
|
in.Spec.DeepCopyInto(&out.Spec)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloneSetTemplateSpec.
|
|
func (in *CloneSetTemplateSpec) DeepCopy() *CloneSetTemplateSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(CloneSetTemplateSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *CloneSetUpdateStrategy) DeepCopyInto(out *CloneSetUpdateStrategy) {
|
|
*out = *in
|
|
if in.Partition != nil {
|
|
in, out := &in.Partition, &out.Partition
|
|
*out = new(intstr.IntOrString)
|
|
**out = **in
|
|
}
|
|
if in.MaxUnavailable != nil {
|
|
in, out := &in.MaxUnavailable, &out.MaxUnavailable
|
|
*out = new(intstr.IntOrString)
|
|
**out = **in
|
|
}
|
|
if in.MaxSurge != nil {
|
|
in, out := &in.MaxSurge, &out.MaxSurge
|
|
*out = new(intstr.IntOrString)
|
|
**out = **in
|
|
}
|
|
if in.PriorityStrategy != nil {
|
|
in, out := &in.PriorityStrategy, &out.PriorityStrategy
|
|
*out = new(pub.UpdatePriorityStrategy)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.ScatterStrategy != nil {
|
|
in, out := &in.ScatterStrategy, &out.ScatterStrategy
|
|
*out = make(UpdateScatterStrategy, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.InPlaceUpdateStrategy != nil {
|
|
in, out := &in.InPlaceUpdateStrategy, &out.InPlaceUpdateStrategy
|
|
*out = new(pub.InPlaceUpdateStrategy)
|
|
**out = **in
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloneSetUpdateStrategy.
|
|
func (in *CloneSetUpdateStrategy) DeepCopy() *CloneSetUpdateStrategy {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(CloneSetUpdateStrategy)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *CompletionPolicy) DeepCopyInto(out *CompletionPolicy) {
|
|
*out = *in
|
|
if in.ActiveDeadlineSeconds != nil {
|
|
in, out := &in.ActiveDeadlineSeconds, &out.ActiveDeadlineSeconds
|
|
*out = new(int64)
|
|
**out = **in
|
|
}
|
|
if in.TTLSecondsAfterFinished != nil {
|
|
in, out := &in.TTLSecondsAfterFinished, &out.TTLSecondsAfterFinished
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CompletionPolicy.
|
|
func (in *CompletionPolicy) DeepCopy() *CompletionPolicy {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(CompletionPolicy)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *CronJobTemplate) DeepCopyInto(out *CronJobTemplate) {
|
|
*out = *in
|
|
if in.JobTemplate != nil {
|
|
in, out := &in.JobTemplate, &out.JobTemplate
|
|
*out = new(v1beta1.JobTemplateSpec)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.BroadcastJobTemplate != nil {
|
|
in, out := &in.BroadcastJobTemplate, &out.BroadcastJobTemplate
|
|
*out = new(BroadcastJobTemplateSpec)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CronJobTemplate.
|
|
func (in *CronJobTemplate) DeepCopy() *CronJobTemplate {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(CronJobTemplate)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *DaemonSet) DeepCopyInto(out *DaemonSet) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
|
in.Spec.DeepCopyInto(&out.Spec)
|
|
in.Status.DeepCopyInto(&out.Status)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DaemonSet.
|
|
func (in *DaemonSet) DeepCopy() *DaemonSet {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(DaemonSet)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *DaemonSet) 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 *DaemonSetCondition) DeepCopyInto(out *DaemonSetCondition) {
|
|
*out = *in
|
|
in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DaemonSetCondition.
|
|
func (in *DaemonSetCondition) DeepCopy() *DaemonSetCondition {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(DaemonSetCondition)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// 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
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]DaemonSet, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DaemonSetList.
|
|
func (in *DaemonSetList) DeepCopy() *DaemonSetList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(DaemonSetList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *DaemonSetList) 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 *DaemonSetSpec) DeepCopyInto(out *DaemonSetSpec) {
|
|
*out = *in
|
|
if in.Selector != nil {
|
|
in, out := &in.Selector, &out.Selector
|
|
*out = new(metav1.LabelSelector)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
in.Template.DeepCopyInto(&out.Template)
|
|
in.UpdateStrategy.DeepCopyInto(&out.UpdateStrategy)
|
|
if in.BurstReplicas != nil {
|
|
in, out := &in.BurstReplicas, &out.BurstReplicas
|
|
*out = new(intstr.IntOrString)
|
|
**out = **in
|
|
}
|
|
if in.RevisionHistoryLimit != nil {
|
|
in, out := &in.RevisionHistoryLimit, &out.RevisionHistoryLimit
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DaemonSetSpec.
|
|
func (in *DaemonSetSpec) DeepCopy() *DaemonSetSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(DaemonSetSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *DaemonSetStatus) DeepCopyInto(out *DaemonSetStatus) {
|
|
*out = *in
|
|
if in.CollisionCount != nil {
|
|
in, out := &in.CollisionCount, &out.CollisionCount
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
if in.Conditions != nil {
|
|
in, out := &in.Conditions, &out.Conditions
|
|
*out = make([]DaemonSetCondition, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DaemonSetStatus.
|
|
func (in *DaemonSetStatus) DeepCopy() *DaemonSetStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(DaemonSetStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *DaemonSetUpdateStrategy) DeepCopyInto(out *DaemonSetUpdateStrategy) {
|
|
*out = *in
|
|
if in.RollingUpdate != nil {
|
|
in, out := &in.RollingUpdate, &out.RollingUpdate
|
|
*out = new(RollingUpdateDaemonSet)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DaemonSetUpdateStrategy.
|
|
func (in *DaemonSetUpdateStrategy) DeepCopy() *DaemonSetUpdateStrategy {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(DaemonSetUpdateStrategy)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *DeploymentTemplateSpec) DeepCopyInto(out *DeploymentTemplateSpec) {
|
|
*out = *in
|
|
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
|
in.Spec.DeepCopyInto(&out.Spec)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentTemplateSpec.
|
|
func (in *DeploymentTemplateSpec) DeepCopy() *DeploymentTemplateSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(DeploymentTemplateSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *FailurePolicy) DeepCopyInto(out *FailurePolicy) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FailurePolicy.
|
|
func (in *FailurePolicy) DeepCopy() *FailurePolicy {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(FailurePolicy)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ImagePullJob) DeepCopyInto(out *ImagePullJob) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
|
in.Spec.DeepCopyInto(&out.Spec)
|
|
in.Status.DeepCopyInto(&out.Status)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImagePullJob.
|
|
func (in *ImagePullJob) DeepCopy() *ImagePullJob {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ImagePullJob)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *ImagePullJob) 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 *ImagePullJobList) DeepCopyInto(out *ImagePullJobList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]ImagePullJob, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImagePullJobList.
|
|
func (in *ImagePullJobList) DeepCopy() *ImagePullJobList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ImagePullJobList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *ImagePullJobList) 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 *ImagePullJobSpec) DeepCopyInto(out *ImagePullJobSpec) {
|
|
*out = *in
|
|
if in.PullSecrets != nil {
|
|
in, out := &in.PullSecrets, &out.PullSecrets
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.Selector != nil {
|
|
in, out := &in.Selector, &out.Selector
|
|
*out = new(NodeSelector)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.Parallelism != nil {
|
|
in, out := &in.Parallelism, &out.Parallelism
|
|
*out = new(intstr.IntOrString)
|
|
**out = **in
|
|
}
|
|
if in.PullPolicy != nil {
|
|
in, out := &in.PullPolicy, &out.PullPolicy
|
|
*out = new(PullPolicy)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
in.CompletionPolicy.DeepCopyInto(&out.CompletionPolicy)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImagePullJobSpec.
|
|
func (in *ImagePullJobSpec) DeepCopy() *ImagePullJobSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ImagePullJobSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ImagePullJobStatus) DeepCopyInto(out *ImagePullJobStatus) {
|
|
*out = *in
|
|
if in.StartTime != nil {
|
|
in, out := &in.StartTime, &out.StartTime
|
|
*out = (*in).DeepCopy()
|
|
}
|
|
if in.CompletionTime != nil {
|
|
in, out := &in.CompletionTime, &out.CompletionTime
|
|
*out = (*in).DeepCopy()
|
|
}
|
|
if in.FailedNodes != nil {
|
|
in, out := &in.FailedNodes, &out.FailedNodes
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImagePullJobStatus.
|
|
func (in *ImagePullJobStatus) DeepCopy() *ImagePullJobStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ImagePullJobStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ImageSpec) DeepCopyInto(out *ImageSpec) {
|
|
*out = *in
|
|
if in.PullSecrets != nil {
|
|
in, out := &in.PullSecrets, &out.PullSecrets
|
|
*out = make([]ReferenceObject, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.Tags != nil {
|
|
in, out := &in.Tags, &out.Tags
|
|
*out = make([]ImageTagSpec, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageSpec.
|
|
func (in *ImageSpec) DeepCopy() *ImageSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ImageSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ImageStatus) DeepCopyInto(out *ImageStatus) {
|
|
*out = *in
|
|
if in.Tags != nil {
|
|
in, out := &in.Tags, &out.Tags
|
|
*out = make([]ImageTagStatus, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageStatus.
|
|
func (in *ImageStatus) DeepCopy() *ImageStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ImageStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ImageTagPullPolicy) DeepCopyInto(out *ImageTagPullPolicy) {
|
|
*out = *in
|
|
if in.TimeoutSeconds != nil {
|
|
in, out := &in.TimeoutSeconds, &out.TimeoutSeconds
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
if in.BackoffLimit != nil {
|
|
in, out := &in.BackoffLimit, &out.BackoffLimit
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
if in.TTLSecondsAfterFinished != nil {
|
|
in, out := &in.TTLSecondsAfterFinished, &out.TTLSecondsAfterFinished
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
if in.ActiveDeadlineSeconds != nil {
|
|
in, out := &in.ActiveDeadlineSeconds, &out.ActiveDeadlineSeconds
|
|
*out = new(int64)
|
|
**out = **in
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageTagPullPolicy.
|
|
func (in *ImageTagPullPolicy) DeepCopy() *ImageTagPullPolicy {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ImageTagPullPolicy)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ImageTagSpec) DeepCopyInto(out *ImageTagSpec) {
|
|
*out = *in
|
|
if in.CreatedAt != nil {
|
|
in, out := &in.CreatedAt, &out.CreatedAt
|
|
*out = (*in).DeepCopy()
|
|
}
|
|
if in.PullPolicy != nil {
|
|
in, out := &in.PullPolicy, &out.PullPolicy
|
|
*out = new(ImageTagPullPolicy)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.OwnerReferences != nil {
|
|
in, out := &in.OwnerReferences, &out.OwnerReferences
|
|
*out = make([]v1.ObjectReference, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageTagSpec.
|
|
func (in *ImageTagSpec) DeepCopy() *ImageTagSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ImageTagSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ImageTagStatus) DeepCopyInto(out *ImageTagStatus) {
|
|
*out = *in
|
|
if in.StartTime != nil {
|
|
in, out := &in.StartTime, &out.StartTime
|
|
*out = (*in).DeepCopy()
|
|
}
|
|
if in.CompletionTime != nil {
|
|
in, out := &in.CompletionTime, &out.CompletionTime
|
|
*out = (*in).DeepCopy()
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageTagStatus.
|
|
func (in *ImageTagStatus) DeepCopy() *ImageTagStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ImageTagStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *JobCondition) DeepCopyInto(out *JobCondition) {
|
|
*out = *in
|
|
in.LastProbeTime.DeepCopyInto(&out.LastProbeTime)
|
|
in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobCondition.
|
|
func (in *JobCondition) DeepCopy() *JobCondition {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(JobCondition)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ManualUpdate) DeepCopyInto(out *ManualUpdate) {
|
|
*out = *in
|
|
if in.Partitions != nil {
|
|
in, out := &in.Partitions, &out.Partitions
|
|
*out = make(map[string]int32, len(*in))
|
|
for key, val := range *in {
|
|
(*out)[key] = val
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManualUpdate.
|
|
func (in *ManualUpdate) DeepCopy() *ManualUpdate {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ManualUpdate)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *NodeImage) DeepCopyInto(out *NodeImage) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
|
in.Spec.DeepCopyInto(&out.Spec)
|
|
in.Status.DeepCopyInto(&out.Status)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeImage.
|
|
func (in *NodeImage) DeepCopy() *NodeImage {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(NodeImage)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *NodeImage) 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 *NodeImageList) DeepCopyInto(out *NodeImageList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]NodeImage, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeImageList.
|
|
func (in *NodeImageList) DeepCopy() *NodeImageList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(NodeImageList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *NodeImageList) 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 *NodeImageSpec) DeepCopyInto(out *NodeImageSpec) {
|
|
*out = *in
|
|
if in.Images != nil {
|
|
in, out := &in.Images, &out.Images
|
|
*out = make(map[string]ImageSpec, len(*in))
|
|
for key, val := range *in {
|
|
(*out)[key] = *val.DeepCopy()
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeImageSpec.
|
|
func (in *NodeImageSpec) DeepCopy() *NodeImageSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(NodeImageSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *NodeImageStatus) DeepCopyInto(out *NodeImageStatus) {
|
|
*out = *in
|
|
if in.ImageStatuses != nil {
|
|
in, out := &in.ImageStatuses, &out.ImageStatuses
|
|
*out = make(map[string]ImageStatus, len(*in))
|
|
for key, val := range *in {
|
|
(*out)[key] = *val.DeepCopy()
|
|
}
|
|
}
|
|
if in.FirstSyncStatus != nil {
|
|
in, out := &in.FirstSyncStatus, &out.FirstSyncStatus
|
|
*out = new(SyncStatus)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeImageStatus.
|
|
func (in *NodeImageStatus) DeepCopy() *NodeImageStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(NodeImageStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *NodeSelector) DeepCopyInto(out *NodeSelector) {
|
|
*out = *in
|
|
if in.Names != nil {
|
|
in, out := &in.Names, &out.Names
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
in.LabelSelector.DeepCopyInto(&out.LabelSelector)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeSelector.
|
|
func (in *NodeSelector) DeepCopy() *NodeSelector {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(NodeSelector)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *PullPolicy) DeepCopyInto(out *PullPolicy) {
|
|
*out = *in
|
|
if in.TimeoutSeconds != nil {
|
|
in, out := &in.TimeoutSeconds, &out.TimeoutSeconds
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
if in.BackoffLimit != nil {
|
|
in, out := &in.BackoffLimit, &out.BackoffLimit
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PullPolicy.
|
|
func (in *PullPolicy) DeepCopy() *PullPolicy {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(PullPolicy)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ReferenceObject) DeepCopyInto(out *ReferenceObject) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReferenceObject.
|
|
func (in *ReferenceObject) DeepCopy() *ReferenceObject {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ReferenceObject)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *RollingUpdateDaemonSet) DeepCopyInto(out *RollingUpdateDaemonSet) {
|
|
*out = *in
|
|
if in.MaxUnavailable != nil {
|
|
in, out := &in.MaxUnavailable, &out.MaxUnavailable
|
|
*out = new(intstr.IntOrString)
|
|
**out = **in
|
|
}
|
|
if in.Selector != nil {
|
|
in, out := &in.Selector, &out.Selector
|
|
*out = new(metav1.LabelSelector)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.Partition != nil {
|
|
in, out := &in.Partition, &out.Partition
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
if in.Paused != nil {
|
|
in, out := &in.Paused, &out.Paused
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.MaxSurge != nil {
|
|
in, out := &in.MaxSurge, &out.MaxSurge
|
|
*out = new(intstr.IntOrString)
|
|
**out = **in
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RollingUpdateDaemonSet.
|
|
func (in *RollingUpdateDaemonSet) DeepCopy() *RollingUpdateDaemonSet {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(RollingUpdateDaemonSet)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// 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
|
|
if in.Partition != nil {
|
|
in, out := &in.Partition, &out.Partition
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
if in.MaxUnavailable != nil {
|
|
in, out := &in.MaxUnavailable, &out.MaxUnavailable
|
|
*out = new(intstr.IntOrString)
|
|
**out = **in
|
|
}
|
|
if in.UnorderedUpdate != nil {
|
|
in, out := &in.UnorderedUpdate, &out.UnorderedUpdate
|
|
*out = new(UnorderedUpdateStrategy)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.InPlaceUpdateStrategy != nil {
|
|
in, out := &in.InPlaceUpdateStrategy, &out.InPlaceUpdateStrategy
|
|
*out = new(pub.InPlaceUpdateStrategy)
|
|
**out = **in
|
|
}
|
|
if in.MinReadySeconds != nil {
|
|
in, out := &in.MinReadySeconds, &out.MinReadySeconds
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
}
|
|
|
|
// 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 *ShareVolumePolicy) DeepCopyInto(out *ShareVolumePolicy) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShareVolumePolicy.
|
|
func (in *ShareVolumePolicy) DeepCopy() *ShareVolumePolicy {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ShareVolumePolicy)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *SidecarContainer) DeepCopyInto(out *SidecarContainer) {
|
|
*out = *in
|
|
in.Container.DeepCopyInto(&out.Container)
|
|
out.UpgradeStrategy = in.UpgradeStrategy
|
|
out.ShareVolumePolicy = in.ShareVolumePolicy
|
|
if in.TransferEnv != nil {
|
|
in, out := &in.TransferEnv, &out.TransferEnv
|
|
*out = make([]TransferEnvVar, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SidecarContainer.
|
|
func (in *SidecarContainer) DeepCopy() *SidecarContainer {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(SidecarContainer)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *SidecarContainerUpgradeStrategy) DeepCopyInto(out *SidecarContainerUpgradeStrategy) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SidecarContainerUpgradeStrategy.
|
|
func (in *SidecarContainerUpgradeStrategy) DeepCopy() *SidecarContainerUpgradeStrategy {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(SidecarContainerUpgradeStrategy)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *SidecarSet) DeepCopyInto(out *SidecarSet) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
|
in.Spec.DeepCopyInto(&out.Spec)
|
|
out.Status = in.Status
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SidecarSet.
|
|
func (in *SidecarSet) DeepCopy() *SidecarSet {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(SidecarSet)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *SidecarSet) 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 *SidecarSetList) DeepCopyInto(out *SidecarSetList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]SidecarSet, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SidecarSetList.
|
|
func (in *SidecarSetList) DeepCopy() *SidecarSetList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(SidecarSetList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *SidecarSetList) 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 *SidecarSetSpec) DeepCopyInto(out *SidecarSetSpec) {
|
|
*out = *in
|
|
if in.Selector != nil {
|
|
in, out := &in.Selector, &out.Selector
|
|
*out = new(metav1.LabelSelector)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.InitContainers != nil {
|
|
in, out := &in.InitContainers, &out.InitContainers
|
|
*out = make([]SidecarContainer, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
if in.Containers != nil {
|
|
in, out := &in.Containers, &out.Containers
|
|
*out = make([]SidecarContainer, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
if in.Volumes != nil {
|
|
in, out := &in.Volumes, &out.Volumes
|
|
*out = make([]v1.Volume, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
in.Strategy.DeepCopyInto(&out.Strategy)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SidecarSetSpec.
|
|
func (in *SidecarSetSpec) DeepCopy() *SidecarSetSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(SidecarSetSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *SidecarSetStatus) DeepCopyInto(out *SidecarSetStatus) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SidecarSetStatus.
|
|
func (in *SidecarSetStatus) DeepCopy() *SidecarSetStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(SidecarSetStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *SidecarSetUpdateStrategy) DeepCopyInto(out *SidecarSetUpdateStrategy) {
|
|
*out = *in
|
|
if in.Selector != nil {
|
|
in, out := &in.Selector, &out.Selector
|
|
*out = new(metav1.LabelSelector)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.Partition != nil {
|
|
in, out := &in.Partition, &out.Partition
|
|
*out = new(intstr.IntOrString)
|
|
**out = **in
|
|
}
|
|
if in.MaxUnavailable != nil {
|
|
in, out := &in.MaxUnavailable, &out.MaxUnavailable
|
|
*out = new(intstr.IntOrString)
|
|
**out = **in
|
|
}
|
|
if in.ScatterStrategy != nil {
|
|
in, out := &in.ScatterStrategy, &out.ScatterStrategy
|
|
*out = make(UpdateScatterStrategy, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SidecarSetUpdateStrategy.
|
|
func (in *SidecarSetUpdateStrategy) DeepCopy() *SidecarSetUpdateStrategy {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(SidecarSetUpdateStrategy)
|
|
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)
|
|
}
|
|
|
|
// 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 *StatefulSetList) DeepCopyInto(out *StatefulSetList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.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])
|
|
}
|
|
}
|
|
}
|
|
|
|
// 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.Replicas != nil {
|
|
in, out := &in.Replicas, &out.Replicas
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
if in.Selector != nil {
|
|
in, out := &in.Selector, &out.Selector
|
|
*out = new(metav1.LabelSelector)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
in.Template.DeepCopyInto(&out.Template)
|
|
if in.VolumeClaimTemplates != nil {
|
|
in, out := &in.VolumeClaimTemplates, &out.VolumeClaimTemplates
|
|
*out = make([]v1.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
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
}
|
|
|
|
// 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.CollisionCount != nil {
|
|
in, out := &in.CollisionCount, &out.CollisionCount
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
if in.Conditions != nil {
|
|
in, out := &in.Conditions, &out.Conditions
|
|
*out = make([]appsv1.StatefulSetCondition, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// 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 *StatefulSetTemplateSpec) DeepCopyInto(out *StatefulSetTemplateSpec) {
|
|
*out = *in
|
|
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
|
in.Spec.DeepCopyInto(&out.Spec)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetTemplateSpec.
|
|
func (in *StatefulSetTemplateSpec) DeepCopy() *StatefulSetTemplateSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(StatefulSetTemplateSpec)
|
|
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
|
|
*out = new(RollingUpdateStatefulSetStrategy)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
}
|
|
|
|
// 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
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *Subset) DeepCopyInto(out *Subset) {
|
|
*out = *in
|
|
in.NodeSelectorTerm.DeepCopyInto(&out.NodeSelectorTerm)
|
|
if in.Tolerations != nil {
|
|
in, out := &in.Tolerations, &out.Tolerations
|
|
*out = make([]v1.Toleration, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
if in.Replicas != nil {
|
|
in, out := &in.Replicas, &out.Replicas
|
|
*out = new(intstr.IntOrString)
|
|
**out = **in
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Subset.
|
|
func (in *Subset) DeepCopy() *Subset {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(Subset)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *SubsetTemplate) DeepCopyInto(out *SubsetTemplate) {
|
|
*out = *in
|
|
if in.StatefulSetTemplate != nil {
|
|
in, out := &in.StatefulSetTemplate, &out.StatefulSetTemplate
|
|
*out = new(StatefulSetTemplateSpec)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.AdvancedStatefulSetTemplate != nil {
|
|
in, out := &in.AdvancedStatefulSetTemplate, &out.AdvancedStatefulSetTemplate
|
|
*out = new(AdvancedStatefulSetTemplateSpec)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.CloneSetTemplate != nil {
|
|
in, out := &in.CloneSetTemplate, &out.CloneSetTemplate
|
|
*out = new(CloneSetTemplateSpec)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.DeploymentTemplate != nil {
|
|
in, out := &in.DeploymentTemplate, &out.DeploymentTemplate
|
|
*out = new(DeploymentTemplateSpec)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubsetTemplate.
|
|
func (in *SubsetTemplate) DeepCopy() *SubsetTemplate {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(SubsetTemplate)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *SyncStatus) DeepCopyInto(out *SyncStatus) {
|
|
*out = *in
|
|
in.SyncAt.DeepCopyInto(&out.SyncAt)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SyncStatus.
|
|
func (in *SyncStatus) DeepCopy() *SyncStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(SyncStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *Topology) DeepCopyInto(out *Topology) {
|
|
*out = *in
|
|
if in.Subsets != nil {
|
|
in, out := &in.Subsets, &out.Subsets
|
|
*out = make([]Subset, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Topology.
|
|
func (in *Topology) DeepCopy() *Topology {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(Topology)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *TransferEnvVar) DeepCopyInto(out *TransferEnvVar) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TransferEnvVar.
|
|
func (in *TransferEnvVar) DeepCopy() *TransferEnvVar {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(TransferEnvVar)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *UnitedDeployment) DeepCopyInto(out *UnitedDeployment) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
|
in.Spec.DeepCopyInto(&out.Spec)
|
|
in.Status.DeepCopyInto(&out.Status)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UnitedDeployment.
|
|
func (in *UnitedDeployment) DeepCopy() *UnitedDeployment {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(UnitedDeployment)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *UnitedDeployment) 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 *UnitedDeploymentCondition) DeepCopyInto(out *UnitedDeploymentCondition) {
|
|
*out = *in
|
|
in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UnitedDeploymentCondition.
|
|
func (in *UnitedDeploymentCondition) DeepCopy() *UnitedDeploymentCondition {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(UnitedDeploymentCondition)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *UnitedDeploymentList) DeepCopyInto(out *UnitedDeploymentList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]UnitedDeployment, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UnitedDeploymentList.
|
|
func (in *UnitedDeploymentList) DeepCopy() *UnitedDeploymentList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(UnitedDeploymentList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *UnitedDeploymentList) 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 *UnitedDeploymentSpec) DeepCopyInto(out *UnitedDeploymentSpec) {
|
|
*out = *in
|
|
if in.Replicas != nil {
|
|
in, out := &in.Replicas, &out.Replicas
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
if in.Selector != nil {
|
|
in, out := &in.Selector, &out.Selector
|
|
*out = new(metav1.LabelSelector)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
in.Template.DeepCopyInto(&out.Template)
|
|
in.Topology.DeepCopyInto(&out.Topology)
|
|
in.UpdateStrategy.DeepCopyInto(&out.UpdateStrategy)
|
|
if in.RevisionHistoryLimit != nil {
|
|
in, out := &in.RevisionHistoryLimit, &out.RevisionHistoryLimit
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UnitedDeploymentSpec.
|
|
func (in *UnitedDeploymentSpec) DeepCopy() *UnitedDeploymentSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(UnitedDeploymentSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *UnitedDeploymentStatus) DeepCopyInto(out *UnitedDeploymentStatus) {
|
|
*out = *in
|
|
if in.CollisionCount != nil {
|
|
in, out := &in.CollisionCount, &out.CollisionCount
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
if in.SubsetReplicas != nil {
|
|
in, out := &in.SubsetReplicas, &out.SubsetReplicas
|
|
*out = make(map[string]int32, len(*in))
|
|
for key, val := range *in {
|
|
(*out)[key] = val
|
|
}
|
|
}
|
|
if in.Conditions != nil {
|
|
in, out := &in.Conditions, &out.Conditions
|
|
*out = make([]UnitedDeploymentCondition, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
if in.UpdateStatus != nil {
|
|
in, out := &in.UpdateStatus, &out.UpdateStatus
|
|
*out = new(UpdateStatus)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UnitedDeploymentStatus.
|
|
func (in *UnitedDeploymentStatus) DeepCopy() *UnitedDeploymentStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(UnitedDeploymentStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *UnitedDeploymentUpdateStrategy) DeepCopyInto(out *UnitedDeploymentUpdateStrategy) {
|
|
*out = *in
|
|
if in.ManualUpdate != nil {
|
|
in, out := &in.ManualUpdate, &out.ManualUpdate
|
|
*out = new(ManualUpdate)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UnitedDeploymentUpdateStrategy.
|
|
func (in *UnitedDeploymentUpdateStrategy) DeepCopy() *UnitedDeploymentUpdateStrategy {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(UnitedDeploymentUpdateStrategy)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *UnorderedUpdateStrategy) DeepCopyInto(out *UnorderedUpdateStrategy) {
|
|
*out = *in
|
|
if in.PriorityStrategy != nil {
|
|
in, out := &in.PriorityStrategy, &out.PriorityStrategy
|
|
*out = new(pub.UpdatePriorityStrategy)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UnorderedUpdateStrategy.
|
|
func (in *UnorderedUpdateStrategy) DeepCopy() *UnorderedUpdateStrategy {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(UnorderedUpdateStrategy)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in UpdateScatterStrategy) DeepCopyInto(out *UpdateScatterStrategy) {
|
|
{
|
|
in := &in
|
|
*out = make(UpdateScatterStrategy, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpdateScatterStrategy.
|
|
func (in UpdateScatterStrategy) DeepCopy() UpdateScatterStrategy {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(UpdateScatterStrategy)
|
|
in.DeepCopyInto(out)
|
|
return *out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *UpdateScatterTerm) DeepCopyInto(out *UpdateScatterTerm) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpdateScatterTerm.
|
|
func (in *UpdateScatterTerm) DeepCopy() *UpdateScatterTerm {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(UpdateScatterTerm)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *UpdateStatus) DeepCopyInto(out *UpdateStatus) {
|
|
*out = *in
|
|
if in.CurrentPartitions != nil {
|
|
in, out := &in.CurrentPartitions, &out.CurrentPartitions
|
|
*out = make(map[string]int32, len(*in))
|
|
for key, val := range *in {
|
|
(*out)[key] = val
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpdateStatus.
|
|
func (in *UpdateStatus) DeepCopy() *UpdateStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(UpdateStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|