//go:build !ignore_autogenerated
// +build !ignore_autogenerated

/*
This file is part of the KubeVirt project

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.

Copyright The KubeVirt Authors.
*/

// Code generated by deepcopy-gen. DO NOT EDIT.

package v1alpha1

import (
	corev1 "k8s.io/api/core/v1"
	v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
	runtime "k8s.io/apimachinery/pkg/runtime"
	intstr "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 *VirtualMachineOpportunisticUpdateStrategy) DeepCopyInto(out *VirtualMachineOpportunisticUpdateStrategy) {
	*out = *in
	return
}

// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineOpportunisticUpdateStrategy.
func (in *VirtualMachineOpportunisticUpdateStrategy) DeepCopy() *VirtualMachineOpportunisticUpdateStrategy {
	if in == nil {
		return nil
	}
	out := new(VirtualMachineOpportunisticUpdateStrategy)
	in.DeepCopyInto(out)
	return out
}

// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *VirtualMachinePool) DeepCopyInto(out *VirtualMachinePool) {
	*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 VirtualMachinePool.
func (in *VirtualMachinePool) DeepCopy() *VirtualMachinePool {
	if in == nil {
		return nil
	}
	out := new(VirtualMachinePool)
	in.DeepCopyInto(out)
	return out
}

// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (in *VirtualMachinePool) 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 *VirtualMachinePoolAutohealingStrategy) DeepCopyInto(out *VirtualMachinePoolAutohealingStrategy) {
	*out = *in
	if in.StartUpFailureThreshold != nil {
		in, out := &in.StartUpFailureThreshold, &out.StartUpFailureThreshold
		*out = new(uint32)
		**out = **in
	}
	if in.MinFailingToStartDuration != nil {
		in, out := &in.MinFailingToStartDuration, &out.MinFailingToStartDuration
		*out = new(v1.Duration)
		**out = **in
	}
	return
}

// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachinePoolAutohealingStrategy.
func (in *VirtualMachinePoolAutohealingStrategy) DeepCopy() *VirtualMachinePoolAutohealingStrategy {
	if in == nil {
		return nil
	}
	out := new(VirtualMachinePoolAutohealingStrategy)
	in.DeepCopyInto(out)
	return out
}

// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *VirtualMachinePoolCondition) DeepCopyInto(out *VirtualMachinePoolCondition) {
	*out = *in
	in.LastProbeTime.DeepCopyInto(&out.LastProbeTime)
	in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime)
	return
}

// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachinePoolCondition.
func (in *VirtualMachinePoolCondition) DeepCopy() *VirtualMachinePoolCondition {
	if in == nil {
		return nil
	}
	out := new(VirtualMachinePoolCondition)
	in.DeepCopyInto(out)
	return out
}

// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *VirtualMachinePoolList) DeepCopyInto(out *VirtualMachinePoolList) {
	*out = *in
	out.TypeMeta = in.TypeMeta
	in.ListMeta.DeepCopyInto(&out.ListMeta)
	if in.Items != nil {
		in, out := &in.Items, &out.Items
		*out = make([]VirtualMachinePool, len(*in))
		for i := range *in {
			(*in)[i].DeepCopyInto(&(*out)[i])
		}
	}
	return
}

// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachinePoolList.
func (in *VirtualMachinePoolList) DeepCopy() *VirtualMachinePoolList {
	if in == nil {
		return nil
	}
	out := new(VirtualMachinePoolList)
	in.DeepCopyInto(out)
	return out
}

// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (in *VirtualMachinePoolList) 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 *VirtualMachinePoolNameGeneration) DeepCopyInto(out *VirtualMachinePoolNameGeneration) {
	*out = *in
	if in.AppendIndexToConfigMapRefs != nil {
		in, out := &in.AppendIndexToConfigMapRefs, &out.AppendIndexToConfigMapRefs
		*out = new(bool)
		**out = **in
	}
	if in.AppendIndexToSecretRefs != nil {
		in, out := &in.AppendIndexToSecretRefs, &out.AppendIndexToSecretRefs
		*out = new(bool)
		**out = **in
	}
	return
}

// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachinePoolNameGeneration.
func (in *VirtualMachinePoolNameGeneration) DeepCopy() *VirtualMachinePoolNameGeneration {
	if in == nil {
		return nil
	}
	out := new(VirtualMachinePoolNameGeneration)
	in.DeepCopyInto(out)
	return out
}

// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *VirtualMachinePoolOpportunisticScaleInStrategy) DeepCopyInto(out *VirtualMachinePoolOpportunisticScaleInStrategy) {
	*out = *in
	if in.StatePreservation != nil {
		in, out := &in.StatePreservation, &out.StatePreservation
		*out = new(StatePreservation)
		**out = **in
	}
	return
}

// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachinePoolOpportunisticScaleInStrategy.
func (in *VirtualMachinePoolOpportunisticScaleInStrategy) DeepCopy() *VirtualMachinePoolOpportunisticScaleInStrategy {
	if in == nil {
		return nil
	}
	out := new(VirtualMachinePoolOpportunisticScaleInStrategy)
	in.DeepCopyInto(out)
	return out
}

// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *VirtualMachinePoolProactiveScaleInStrategy) DeepCopyInto(out *VirtualMachinePoolProactiveScaleInStrategy) {
	*out = *in
	if in.SelectionPolicy != nil {
		in, out := &in.SelectionPolicy, &out.SelectionPolicy
		*out = new(VirtualMachinePoolSelectionPolicy)
		(*in).DeepCopyInto(*out)
	}
	if in.StatePreservation != nil {
		in, out := &in.StatePreservation, &out.StatePreservation
		*out = new(StatePreservation)
		**out = **in
	}
	return
}

// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachinePoolProactiveScaleInStrategy.
func (in *VirtualMachinePoolProactiveScaleInStrategy) DeepCopy() *VirtualMachinePoolProactiveScaleInStrategy {
	if in == nil {
		return nil
	}
	out := new(VirtualMachinePoolProactiveScaleInStrategy)
	in.DeepCopyInto(out)
	return out
}

// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *VirtualMachinePoolProactiveUpdateStrategy) DeepCopyInto(out *VirtualMachinePoolProactiveUpdateStrategy) {
	*out = *in
	if in.SelectionPolicy != nil {
		in, out := &in.SelectionPolicy, &out.SelectionPolicy
		*out = new(VirtualMachinePoolSelectionPolicy)
		(*in).DeepCopyInto(*out)
	}
	return
}

// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachinePoolProactiveUpdateStrategy.
func (in *VirtualMachinePoolProactiveUpdateStrategy) DeepCopy() *VirtualMachinePoolProactiveUpdateStrategy {
	if in == nil {
		return nil
	}
	out := new(VirtualMachinePoolProactiveUpdateStrategy)
	in.DeepCopyInto(out)
	return out
}

// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *VirtualMachinePoolScaleInStrategy) DeepCopyInto(out *VirtualMachinePoolScaleInStrategy) {
	*out = *in
	if in.Unmanaged != nil {
		in, out := &in.Unmanaged, &out.Unmanaged
		*out = new(VirtualMachinePoolUnmanagedStrategy)
		**out = **in
	}
	if in.Opportunistic != nil {
		in, out := &in.Opportunistic, &out.Opportunistic
		*out = new(VirtualMachinePoolOpportunisticScaleInStrategy)
		(*in).DeepCopyInto(*out)
	}
	if in.Proactive != nil {
		in, out := &in.Proactive, &out.Proactive
		*out = new(VirtualMachinePoolProactiveScaleInStrategy)
		(*in).DeepCopyInto(*out)
	}
	return
}

// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachinePoolScaleInStrategy.
func (in *VirtualMachinePoolScaleInStrategy) DeepCopy() *VirtualMachinePoolScaleInStrategy {
	if in == nil {
		return nil
	}
	out := new(VirtualMachinePoolScaleInStrategy)
	in.DeepCopyInto(out)
	return out
}

// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *VirtualMachinePoolSelectionPolicy) DeepCopyInto(out *VirtualMachinePoolSelectionPolicy) {
	*out = *in
	if in.SortPolicy != nil {
		in, out := &in.SortPolicy, &out.SortPolicy
		*out = new(VirtualMachinePoolSortPolicy)
		**out = **in
	}
	if in.Selectors != nil {
		in, out := &in.Selectors, &out.Selectors
		*out = new(VirtualMachinePoolSelectors)
		(*in).DeepCopyInto(*out)
	}
	return
}

// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachinePoolSelectionPolicy.
func (in *VirtualMachinePoolSelectionPolicy) DeepCopy() *VirtualMachinePoolSelectionPolicy {
	if in == nil {
		return nil
	}
	out := new(VirtualMachinePoolSelectionPolicy)
	in.DeepCopyInto(out)
	return out
}

// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *VirtualMachinePoolSelectors) DeepCopyInto(out *VirtualMachinePoolSelectors) {
	*out = *in
	if in.LabelSelector != nil {
		in, out := &in.LabelSelector, &out.LabelSelector
		*out = new(v1.LabelSelector)
		(*in).DeepCopyInto(*out)
	}
	if in.NodeSelectorRequirementMatcher != nil {
		in, out := &in.NodeSelectorRequirementMatcher, &out.NodeSelectorRequirementMatcher
		*out = new([]corev1.NodeSelectorRequirement)
		if **in != nil {
			in, out := *in, *out
			*out = make([]corev1.NodeSelectorRequirement, len(*in))
			for i := range *in {
				(*in)[i].DeepCopyInto(&(*out)[i])
			}
		}
	}
	return
}

// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachinePoolSelectors.
func (in *VirtualMachinePoolSelectors) DeepCopy() *VirtualMachinePoolSelectors {
	if in == nil {
		return nil
	}
	out := new(VirtualMachinePoolSelectors)
	in.DeepCopyInto(out)
	return out
}

// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *VirtualMachinePoolSpec) DeepCopyInto(out *VirtualMachinePoolSpec) {
	*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(v1.LabelSelector)
		(*in).DeepCopyInto(*out)
	}
	if in.VirtualMachineTemplate != nil {
		in, out := &in.VirtualMachineTemplate, &out.VirtualMachineTemplate
		*out = new(VirtualMachineTemplateSpec)
		(*in).DeepCopyInto(*out)
	}
	if in.NameGeneration != nil {
		in, out := &in.NameGeneration, &out.NameGeneration
		*out = new(VirtualMachinePoolNameGeneration)
		(*in).DeepCopyInto(*out)
	}
	if in.MaxUnavailable != nil {
		in, out := &in.MaxUnavailable, &out.MaxUnavailable
		*out = new(intstr.IntOrString)
		**out = **in
	}
	if in.ScaleInStrategy != nil {
		in, out := &in.ScaleInStrategy, &out.ScaleInStrategy
		*out = new(VirtualMachinePoolScaleInStrategy)
		(*in).DeepCopyInto(*out)
	}
	if in.UpdateStrategy != nil {
		in, out := &in.UpdateStrategy, &out.UpdateStrategy
		*out = new(VirtualMachinePoolUpdateStrategy)
		(*in).DeepCopyInto(*out)
	}
	if in.Autohealing != nil {
		in, out := &in.Autohealing, &out.Autohealing
		*out = new(VirtualMachinePoolAutohealingStrategy)
		(*in).DeepCopyInto(*out)
	}
	return
}

// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachinePoolSpec.
func (in *VirtualMachinePoolSpec) DeepCopy() *VirtualMachinePoolSpec {
	if in == nil {
		return nil
	}
	out := new(VirtualMachinePoolSpec)
	in.DeepCopyInto(out)
	return out
}

// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *VirtualMachinePoolStatus) DeepCopyInto(out *VirtualMachinePoolStatus) {
	*out = *in
	if in.Conditions != nil {
		in, out := &in.Conditions, &out.Conditions
		*out = make([]VirtualMachinePoolCondition, len(*in))
		for i := range *in {
			(*in)[i].DeepCopyInto(&(*out)[i])
		}
	}
	return
}

// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachinePoolStatus.
func (in *VirtualMachinePoolStatus) DeepCopy() *VirtualMachinePoolStatus {
	if in == nil {
		return nil
	}
	out := new(VirtualMachinePoolStatus)
	in.DeepCopyInto(out)
	return out
}

// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *VirtualMachinePoolUnmanagedStrategy) DeepCopyInto(out *VirtualMachinePoolUnmanagedStrategy) {
	*out = *in
	return
}

// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachinePoolUnmanagedStrategy.
func (in *VirtualMachinePoolUnmanagedStrategy) DeepCopy() *VirtualMachinePoolUnmanagedStrategy {
	if in == nil {
		return nil
	}
	out := new(VirtualMachinePoolUnmanagedStrategy)
	in.DeepCopyInto(out)
	return out
}

// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *VirtualMachinePoolUpdateStrategy) DeepCopyInto(out *VirtualMachinePoolUpdateStrategy) {
	*out = *in
	if in.Unmanaged != nil {
		in, out := &in.Unmanaged, &out.Unmanaged
		*out = new(VirtualMachinePoolUnmanagedStrategy)
		**out = **in
	}
	if in.Opportunistic != nil {
		in, out := &in.Opportunistic, &out.Opportunistic
		*out = new(VirtualMachineOpportunisticUpdateStrategy)
		**out = **in
	}
	if in.Proactive != nil {
		in, out := &in.Proactive, &out.Proactive
		*out = new(VirtualMachinePoolProactiveUpdateStrategy)
		(*in).DeepCopyInto(*out)
	}
	return
}

// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachinePoolUpdateStrategy.
func (in *VirtualMachinePoolUpdateStrategy) DeepCopy() *VirtualMachinePoolUpdateStrategy {
	if in == nil {
		return nil
	}
	out := new(VirtualMachinePoolUpdateStrategy)
	in.DeepCopyInto(out)
	return out
}

// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *VirtualMachineTemplateSpec) DeepCopyInto(out *VirtualMachineTemplateSpec) {
	*out = *in
	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
	in.Spec.DeepCopyInto(&out.Spec)
	return
}

// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineTemplateSpec.
func (in *VirtualMachineTemplateSpec) DeepCopy() *VirtualMachineTemplateSpec {
	if in == nil {
		return nil
	}
	out := new(VirtualMachineTemplateSpec)
	in.DeepCopyInto(out)
	return out
}
