github.com/openebs/node-disk-manager@v1.9.1-0.20230225014141-4531f06ffa1e/api/v1alpha1/zz_generated.deepcopy.go (about)

     1  // +build !ignore_autogenerated
     2  
     3  // Code generated by controller-gen. DO NOT EDIT.
     4  
     5  package v1alpha1
     6  
     7  import (
     8  	"k8s.io/api/core/v1"
     9  	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    10  	runtime "k8s.io/apimachinery/pkg/runtime"
    11  )
    12  
    13  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    14  func (in *BlockDevice) DeepCopyInto(out *BlockDevice) {
    15  	*out = *in
    16  	out.TypeMeta = in.TypeMeta
    17  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
    18  	in.Spec.DeepCopyInto(&out.Spec)
    19  	out.Status = in.Status
    20  }
    21  
    22  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BlockDevice.
    23  func (in *BlockDevice) DeepCopy() *BlockDevice {
    24  	if in == nil {
    25  		return nil
    26  	}
    27  	out := new(BlockDevice)
    28  	in.DeepCopyInto(out)
    29  	return out
    30  }
    31  
    32  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    33  func (in *BlockDevice) DeepCopyObject() runtime.Object {
    34  	if c := in.DeepCopy(); c != nil {
    35  		return c
    36  	}
    37  	return nil
    38  }
    39  
    40  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    41  func (in *BlockDeviceClaim) DeepCopyInto(out *BlockDeviceClaim) {
    42  	*out = *in
    43  	out.TypeMeta = in.TypeMeta
    44  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
    45  	in.Spec.DeepCopyInto(&out.Spec)
    46  	out.Status = in.Status
    47  }
    48  
    49  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BlockDeviceClaim.
    50  func (in *BlockDeviceClaim) DeepCopy() *BlockDeviceClaim {
    51  	if in == nil {
    52  		return nil
    53  	}
    54  	out := new(BlockDeviceClaim)
    55  	in.DeepCopyInto(out)
    56  	return out
    57  }
    58  
    59  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    60  func (in *BlockDeviceClaim) DeepCopyObject() runtime.Object {
    61  	if c := in.DeepCopy(); c != nil {
    62  		return c
    63  	}
    64  	return nil
    65  }
    66  
    67  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    68  func (in *BlockDeviceClaimList) DeepCopyInto(out *BlockDeviceClaimList) {
    69  	*out = *in
    70  	out.TypeMeta = in.TypeMeta
    71  	in.ListMeta.DeepCopyInto(&out.ListMeta)
    72  	if in.Items != nil {
    73  		in, out := &in.Items, &out.Items
    74  		*out = make([]BlockDeviceClaim, len(*in))
    75  		for i := range *in {
    76  			(*in)[i].DeepCopyInto(&(*out)[i])
    77  		}
    78  	}
    79  }
    80  
    81  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BlockDeviceClaimList.
    82  func (in *BlockDeviceClaimList) DeepCopy() *BlockDeviceClaimList {
    83  	if in == nil {
    84  		return nil
    85  	}
    86  	out := new(BlockDeviceClaimList)
    87  	in.DeepCopyInto(out)
    88  	return out
    89  }
    90  
    91  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    92  func (in *BlockDeviceClaimList) DeepCopyObject() runtime.Object {
    93  	if c := in.DeepCopy(); c != nil {
    94  		return c
    95  	}
    96  	return nil
    97  }
    98  
    99  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   100  func (in *BlockDeviceList) DeepCopyInto(out *BlockDeviceList) {
   101  	*out = *in
   102  	out.TypeMeta = in.TypeMeta
   103  	in.ListMeta.DeepCopyInto(&out.ListMeta)
   104  	if in.Items != nil {
   105  		in, out := &in.Items, &out.Items
   106  		*out = make([]BlockDevice, len(*in))
   107  		for i := range *in {
   108  			(*in)[i].DeepCopyInto(&(*out)[i])
   109  		}
   110  	}
   111  }
   112  
   113  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BlockDeviceList.
   114  func (in *BlockDeviceList) DeepCopy() *BlockDeviceList {
   115  	if in == nil {
   116  		return nil
   117  	}
   118  	out := new(BlockDeviceList)
   119  	in.DeepCopyInto(out)
   120  	return out
   121  }
   122  
   123  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   124  func (in *BlockDeviceList) DeepCopyObject() runtime.Object {
   125  	if c := in.DeepCopy(); c != nil {
   126  		return c
   127  	}
   128  	return nil
   129  }
   130  
   131  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   132  func (in *BlockDeviceNodeAttributes) DeepCopyInto(out *BlockDeviceNodeAttributes) {
   133  	*out = *in
   134  }
   135  
   136  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BlockDeviceNodeAttributes.
   137  func (in *BlockDeviceNodeAttributes) DeepCopy() *BlockDeviceNodeAttributes {
   138  	if in == nil {
   139  		return nil
   140  	}
   141  	out := new(BlockDeviceNodeAttributes)
   142  	in.DeepCopyInto(out)
   143  	return out
   144  }
   145  
   146  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   147  func (in *DeviceCapacity) DeepCopyInto(out *DeviceCapacity) {
   148  	*out = *in
   149  }
   150  
   151  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceCapacity.
   152  func (in *DeviceCapacity) DeepCopy() *DeviceCapacity {
   153  	if in == nil {
   154  		return nil
   155  	}
   156  	out := new(DeviceCapacity)
   157  	in.DeepCopyInto(out)
   158  	return out
   159  }
   160  
   161  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   162  func (in *DeviceClaimDetails) DeepCopyInto(out *DeviceClaimDetails) {
   163  	*out = *in
   164  }
   165  
   166  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceClaimDetails.
   167  func (in *DeviceClaimDetails) DeepCopy() *DeviceClaimDetails {
   168  	if in == nil {
   169  		return nil
   170  	}
   171  	out := new(DeviceClaimDetails)
   172  	in.DeepCopyInto(out)
   173  	return out
   174  }
   175  
   176  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   177  func (in *DeviceClaimResources) DeepCopyInto(out *DeviceClaimResources) {
   178  	*out = *in
   179  	if in.Requests != nil {
   180  		in, out := &in.Requests, &out.Requests
   181  		*out = make(v1.ResourceList, len(*in))
   182  		for key, val := range *in {
   183  			(*out)[key] = val.DeepCopy()
   184  		}
   185  	}
   186  }
   187  
   188  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceClaimResources.
   189  func (in *DeviceClaimResources) DeepCopy() *DeviceClaimResources {
   190  	if in == nil {
   191  		return nil
   192  	}
   193  	out := new(DeviceClaimResources)
   194  	in.DeepCopyInto(out)
   195  	return out
   196  }
   197  
   198  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   199  func (in *DeviceClaimSpec) DeepCopyInto(out *DeviceClaimSpec) {
   200  	*out = *in
   201  	if in.Selector != nil {
   202  		in, out := &in.Selector, &out.Selector
   203  		*out = new(metav1.LabelSelector)
   204  		(*in).DeepCopyInto(*out)
   205  	}
   206  	in.Resources.DeepCopyInto(&out.Resources)
   207  	out.Details = in.Details
   208  	out.BlockDeviceNodeAttributes = in.BlockDeviceNodeAttributes
   209  }
   210  
   211  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceClaimSpec.
   212  func (in *DeviceClaimSpec) DeepCopy() *DeviceClaimSpec {
   213  	if in == nil {
   214  		return nil
   215  	}
   216  	out := new(DeviceClaimSpec)
   217  	in.DeepCopyInto(out)
   218  	return out
   219  }
   220  
   221  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   222  func (in *DeviceClaimStatus) DeepCopyInto(out *DeviceClaimStatus) {
   223  	*out = *in
   224  }
   225  
   226  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceClaimStatus.
   227  func (in *DeviceClaimStatus) DeepCopy() *DeviceClaimStatus {
   228  	if in == nil {
   229  		return nil
   230  	}
   231  	out := new(DeviceClaimStatus)
   232  	in.DeepCopyInto(out)
   233  	return out
   234  }
   235  
   236  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   237  func (in *DeviceDetails) DeepCopyInto(out *DeviceDetails) {
   238  	*out = *in
   239  }
   240  
   241  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceDetails.
   242  func (in *DeviceDetails) DeepCopy() *DeviceDetails {
   243  	if in == nil {
   244  		return nil
   245  	}
   246  	out := new(DeviceDetails)
   247  	in.DeepCopyInto(out)
   248  	return out
   249  }
   250  
   251  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   252  func (in *DeviceDevLink) DeepCopyInto(out *DeviceDevLink) {
   253  	*out = *in
   254  	if in.Links != nil {
   255  		in, out := &in.Links, &out.Links
   256  		*out = make([]string, len(*in))
   257  		copy(*out, *in)
   258  	}
   259  }
   260  
   261  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceDevLink.
   262  func (in *DeviceDevLink) DeepCopy() *DeviceDevLink {
   263  	if in == nil {
   264  		return nil
   265  	}
   266  	out := new(DeviceDevLink)
   267  	in.DeepCopyInto(out)
   268  	return out
   269  }
   270  
   271  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   272  func (in *DeviceSpec) DeepCopyInto(out *DeviceSpec) {
   273  	*out = *in
   274  	out.Capacity = in.Capacity
   275  	if in.ClaimRef != nil {
   276  		in, out := &in.ClaimRef, &out.ClaimRef
   277  		*out = new(v1.ObjectReference)
   278  		**out = **in
   279  	}
   280  	out.Details = in.Details
   281  	if in.DevLinks != nil {
   282  		in, out := &in.DevLinks, &out.DevLinks
   283  		*out = make([]DeviceDevLink, len(*in))
   284  		for i := range *in {
   285  			(*in)[i].DeepCopyInto(&(*out)[i])
   286  		}
   287  	}
   288  	out.FileSystem = in.FileSystem
   289  	out.NodeAttributes = in.NodeAttributes
   290  }
   291  
   292  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceSpec.
   293  func (in *DeviceSpec) DeepCopy() *DeviceSpec {
   294  	if in == nil {
   295  		return nil
   296  	}
   297  	out := new(DeviceSpec)
   298  	in.DeepCopyInto(out)
   299  	return out
   300  }
   301  
   302  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   303  func (in *DeviceStatus) DeepCopyInto(out *DeviceStatus) {
   304  	*out = *in
   305  }
   306  
   307  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceStatus.
   308  func (in *DeviceStatus) DeepCopy() *DeviceStatus {
   309  	if in == nil {
   310  		return nil
   311  	}
   312  	out := new(DeviceStatus)
   313  	in.DeepCopyInto(out)
   314  	return out
   315  }
   316  
   317  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   318  func (in *FileSystemInfo) DeepCopyInto(out *FileSystemInfo) {
   319  	*out = *in
   320  }
   321  
   322  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FileSystemInfo.
   323  func (in *FileSystemInfo) DeepCopy() *FileSystemInfo {
   324  	if in == nil {
   325  		return nil
   326  	}
   327  	out := new(FileSystemInfo)
   328  	in.DeepCopyInto(out)
   329  	return out
   330  }
   331  
   332  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   333  func (in *NodeAttribute) DeepCopyInto(out *NodeAttribute) {
   334  	*out = *in
   335  }
   336  
   337  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeAttribute.
   338  func (in *NodeAttribute) DeepCopy() *NodeAttribute {
   339  	if in == nil {
   340  		return nil
   341  	}
   342  	out := new(NodeAttribute)
   343  	in.DeepCopyInto(out)
   344  	return out
   345  }