//go:build !ignore_autogenerated

/*
Copyright (C) 2022-2025 ApeCloud Co., Ltd

This file is part of KubeBlocks project

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.
*/

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

package v1beta2

import (
	troubleshootv1beta2 "github.com/replicatedhq/troubleshoot/pkg/apis/troubleshoot/v1beta2"
	"k8s.io/api/core/v1"
	runtime "k8s.io/apimachinery/pkg/runtime"
)

// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ClusterAccessAnalyze) DeepCopyInto(out *ClusterAccessAnalyze) {
	*out = *in
	in.AnalyzeMeta.DeepCopyInto(&out.AnalyzeMeta)
	if in.Outcomes != nil {
		in, out := &in.Outcomes, &out.Outcomes
		*out = make([]*troubleshootv1beta2.Outcome, len(*in))
		for i := range *in {
			if (*in)[i] != nil {
				in, out := &(*in)[i], &(*out)[i]
				*out = new(troubleshootv1beta2.Outcome)
				(*in).DeepCopyInto(*out)
			}
		}
	}
}

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

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

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

// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ClusterRegionAnalyze) DeepCopyInto(out *ClusterRegionAnalyze) {
	*out = *in
	in.AnalyzeMeta.DeepCopyInto(&out.AnalyzeMeta)
	if in.Outcomes != nil {
		in, out := &in.Outcomes, &out.Outcomes
		*out = make([]*troubleshootv1beta2.Outcome, len(*in))
		for i := range *in {
			if (*in)[i] != nil {
				in, out := &(*in)[i], &(*out)[i]
				*out = new(troubleshootv1beta2.Outcome)
				(*in).DeepCopyInto(*out)
			}
		}
	}
	if in.RegionNames != nil {
		in, out := &in.RegionNames, &out.RegionNames
		*out = make([]string, len(*in))
		copy(*out, *in)
	}
}

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

// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ExtendAnalyze) DeepCopyInto(out *ExtendAnalyze) {
	*out = *in
	if in.ClusterAccess != nil {
		in, out := &in.ClusterAccess, &out.ClusterAccess
		*out = new(ClusterAccessAnalyze)
		(*in).DeepCopyInto(*out)
	}
	if in.StorageClass != nil {
		in, out := &in.StorageClass, &out.StorageClass
		*out = new(KBStorageClassAnalyze)
		(*in).DeepCopyInto(*out)
	}
	if in.Taint != nil {
		in, out := &in.Taint, &out.Taint
		*out = new(KBTaintAnalyze)
		(*in).DeepCopyInto(*out)
	}
}

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

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

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

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

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

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

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

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

// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (in *HostPreflight) 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 *HostPreflightList) DeepCopyInto(out *HostPreflightList) {
	*out = *in
	out.TypeMeta = in.TypeMeta
	in.ListMeta.DeepCopyInto(&out.ListMeta)
	if in.Items != nil {
		in, out := &in.Items, &out.Items
		*out = make([]HostPreflight, len(*in))
		for i := range *in {
			(*in)[i].DeepCopyInto(&(*out)[i])
		}
	}
}

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

// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (in *HostPreflightList) 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 *HostPreflightSpec) DeepCopyInto(out *HostPreflightSpec) {
	*out = *in
	in.HostPreflightSpec.DeepCopyInto(&out.HostPreflightSpec)
	if in.ExtendCollectors != nil {
		in, out := &in.ExtendCollectors, &out.ExtendCollectors
		*out = make([]*ExtendHostCollect, len(*in))
		for i := range *in {
			if (*in)[i] != nil {
				in, out := &(*in)[i], &(*out)[i]
				*out = new(ExtendHostCollect)
				(*in).DeepCopyInto(*out)
			}
		}
	}
	if in.ExtendAnalyzers != nil {
		in, out := &in.ExtendAnalyzers, &out.ExtendAnalyzers
		*out = make([]*ExtendHostAnalyze, len(*in))
		for i := range *in {
			if (*in)[i] != nil {
				in, out := &(*in)[i], &(*out)[i]
				*out = new(ExtendHostAnalyze)
				(*in).DeepCopyInto(*out)
			}
		}
	}
}

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

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

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

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

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

// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *HostUtilityAnalyze) DeepCopyInto(out *HostUtilityAnalyze) {
	*out = *in
	in.AnalyzeMeta.DeepCopyInto(&out.AnalyzeMeta)
	if in.Outcomes != nil {
		in, out := &in.Outcomes, &out.Outcomes
		*out = make([]*troubleshootv1beta2.Outcome, len(*in))
		for i := range *in {
			if (*in)[i] != nil {
				in, out := &(*in)[i], &(*out)[i]
				*out = new(troubleshootv1beta2.Outcome)
				(*in).DeepCopyInto(*out)
			}
		}
	}
}

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

// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *KBStorageClassAnalyze) DeepCopyInto(out *KBStorageClassAnalyze) {
	*out = *in
	in.AnalyzeMeta.DeepCopyInto(&out.AnalyzeMeta)
	if in.Outcomes != nil {
		in, out := &in.Outcomes, &out.Outcomes
		*out = make([]*troubleshootv1beta2.Outcome, len(*in))
		for i := range *in {
			if (*in)[i] != nil {
				in, out := &(*in)[i], &(*out)[i]
				*out = new(troubleshootv1beta2.Outcome)
				(*in).DeepCopyInto(*out)
			}
		}
	}
}

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

// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *KBTaintAnalyze) DeepCopyInto(out *KBTaintAnalyze) {
	*out = *in
	in.AnalyzeMeta.DeepCopyInto(&out.AnalyzeMeta)
	if in.Outcomes != nil {
		in, out := &in.Outcomes, &out.Outcomes
		*out = make([]*troubleshootv1beta2.Outcome, len(*in))
		for i := range *in {
			if (*in)[i] != nil {
				in, out := &(*in)[i], &(*out)[i]
				*out = new(troubleshootv1beta2.Outcome)
				(*in).DeepCopyInto(*out)
			}
		}
	}
	if in.TolerationsMap != nil {
		in, out := &in.TolerationsMap, &out.TolerationsMap
		*out = make(map[string][]v1.Toleration, len(*in))
		for key, val := range *in {
			var outVal []v1.Toleration
			if val == nil {
				(*out)[key] = nil
			} else {
				inVal := (*in)[key]
				in, out := &inVal, &outVal
				*out = make([]v1.Toleration, len(*in))
				for i := range *in {
					(*in)[i].DeepCopyInto(&(*out)[i])
				}
			}
			(*out)[key] = outVal
		}
	}
}

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

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

// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (in *Preflight) 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 *PreflightList) DeepCopyInto(out *PreflightList) {
	*out = *in
	out.TypeMeta = in.TypeMeta
	in.ListMeta.DeepCopyInto(&out.ListMeta)
	if in.Items != nil {
		in, out := &in.Items, &out.Items
		*out = make([]Preflight, len(*in))
		for i := range *in {
			(*in)[i].DeepCopyInto(&(*out)[i])
		}
	}
}

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

// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (in *PreflightList) 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 *PreflightSpec) DeepCopyInto(out *PreflightSpec) {
	*out = *in
	in.PreflightSpec.DeepCopyInto(&out.PreflightSpec)
	if in.ExtendCollectors != nil {
		in, out := &in.ExtendCollectors, &out.ExtendCollectors
		*out = make([]*ExtendCollect, len(*in))
		for i := range *in {
			if (*in)[i] != nil {
				in, out := &(*in)[i], &(*out)[i]
				*out = new(ExtendCollect)
				**out = **in
			}
		}
	}
	if in.ExtendAnalyzers != nil {
		in, out := &in.ExtendAnalyzers, &out.ExtendAnalyzers
		*out = make([]*ExtendAnalyze, len(*in))
		for i := range *in {
			if (*in)[i] != nil {
				in, out := &(*in)[i], &(*out)[i]
				*out = new(ExtendAnalyze)
				(*in).DeepCopyInto(*out)
			}
		}
	}
}

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

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

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