...

Source file src/edge-infra.dev/pkg/sds/devices/k8s/apis/v1/zz_generated.deepcopy.go

Documentation: edge-infra.dev/pkg/sds/devices/k8s/apis/v1

     1  //go:build !ignore_autogenerated
     2  
     3  // Code generated by controller-gen. DO NOT EDIT.
     4  
     5  package v1
     6  
     7  import (
     8  	runtime "k8s.io/apimachinery/pkg/runtime"
     9  )
    10  
    11  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    12  func (in *Blocking) DeepCopyInto(out *Blocking) {
    13  	*out = *in
    14  }
    15  
    16  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Blocking.
    17  func (in *Blocking) DeepCopy() *Blocking {
    18  	if in == nil {
    19  		return nil
    20  	}
    21  	out := new(Blocking)
    22  	in.DeepCopyInto(out)
    23  	return out
    24  }
    25  
    26  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    27  func (in *DeviceClass) DeepCopyInto(out *DeviceClass) {
    28  	*out = *in
    29  	out.TypeMeta = in.TypeMeta
    30  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
    31  	in.Spec.DeepCopyInto(&out.Spec)
    32  	in.DeviceStatus.DeepCopyInto(&out.DeviceStatus)
    33  	if in.DeviceList != nil {
    34  		in, out := &in.DeviceList, &out.DeviceList
    35  		*out = make([]*DeviceSet, len(*in))
    36  		for i := range *in {
    37  			if (*in)[i] != nil {
    38  				in, out := &(*in)[i], &(*out)[i]
    39  				*out = new(DeviceSet)
    40  				(*in).DeepCopyInto(*out)
    41  			}
    42  		}
    43  	}
    44  }
    45  
    46  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceClass.
    47  func (in *DeviceClass) DeepCopy() *DeviceClass {
    48  	if in == nil {
    49  		return nil
    50  	}
    51  	out := new(DeviceClass)
    52  	in.DeepCopyInto(out)
    53  	return out
    54  }
    55  
    56  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    57  func (in *DeviceClass) DeepCopyObject() runtime.Object {
    58  	if c := in.DeepCopy(); c != nil {
    59  		return c
    60  	}
    61  	return nil
    62  }
    63  
    64  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    65  func (in *DeviceClassList) DeepCopyInto(out *DeviceClassList) {
    66  	*out = *in
    67  	out.TypeMeta = in.TypeMeta
    68  	in.ListMeta.DeepCopyInto(&out.ListMeta)
    69  	if in.Items != nil {
    70  		in, out := &in.Items, &out.Items
    71  		*out = make([]DeviceClass, len(*in))
    72  		for i := range *in {
    73  			(*in)[i].DeepCopyInto(&(*out)[i])
    74  		}
    75  	}
    76  }
    77  
    78  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceClassList.
    79  func (in *DeviceClassList) DeepCopy() *DeviceClassList {
    80  	if in == nil {
    81  		return nil
    82  	}
    83  	out := new(DeviceClassList)
    84  	in.DeepCopyInto(out)
    85  	return out
    86  }
    87  
    88  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    89  func (in *DeviceClassList) DeepCopyObject() runtime.Object {
    90  	if c := in.DeepCopy(); c != nil {
    91  		return c
    92  	}
    93  	return nil
    94  }
    95  
    96  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    97  func (in *DeviceClassSpec) DeepCopyInto(out *DeviceClassSpec) {
    98  	*out = *in
    99  	out.Logging = in.Logging
   100  	if in.DeviceSets != nil {
   101  		in, out := &in.DeviceSets, &out.DeviceSets
   102  		*out = make([]DeviceSetReference, len(*in))
   103  		for i := range *in {
   104  			(*in)[i].DeepCopyInto(&(*out)[i])
   105  		}
   106  	}
   107  	if in.Devices != nil {
   108  		in, out := &in.Devices, &out.Devices
   109  		*out = make([]DeviceRef, len(*in))
   110  		copy(*out, *in)
   111  	}
   112  }
   113  
   114  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceClassSpec.
   115  func (in *DeviceClassSpec) DeepCopy() *DeviceClassSpec {
   116  	if in == nil {
   117  		return nil
   118  	}
   119  	out := new(DeviceClassSpec)
   120  	in.DeepCopyInto(out)
   121  	return out
   122  }
   123  
   124  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   125  func (in *DeviceRef) DeepCopyInto(out *DeviceRef) {
   126  	*out = *in
   127  }
   128  
   129  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceRef.
   130  func (in *DeviceRef) DeepCopy() *DeviceRef {
   131  	if in == nil {
   132  		return nil
   133  	}
   134  	out := new(DeviceRef)
   135  	in.DeepCopyInto(out)
   136  	return out
   137  }
   138  
   139  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   140  func (in *DeviceSet) DeepCopyInto(out *DeviceSet) {
   141  	*out = *in
   142  	out.TypeMeta = in.TypeMeta
   143  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
   144  	in.Spec.DeepCopyInto(&out.Spec)
   145  	in.DeviceStatus.DeepCopyInto(&out.DeviceStatus)
   146  }
   147  
   148  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceSet.
   149  func (in *DeviceSet) DeepCopy() *DeviceSet {
   150  	if in == nil {
   151  		return nil
   152  	}
   153  	out := new(DeviceSet)
   154  	in.DeepCopyInto(out)
   155  	return out
   156  }
   157  
   158  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   159  func (in *DeviceSet) DeepCopyObject() runtime.Object {
   160  	if c := in.DeepCopy(); c != nil {
   161  		return c
   162  	}
   163  	return nil
   164  }
   165  
   166  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   167  func (in *DeviceSetList) DeepCopyInto(out *DeviceSetList) {
   168  	*out = *in
   169  	out.TypeMeta = in.TypeMeta
   170  	in.ListMeta.DeepCopyInto(&out.ListMeta)
   171  	if in.Items != nil {
   172  		in, out := &in.Items, &out.Items
   173  		*out = make([]DeviceSet, len(*in))
   174  		for i := range *in {
   175  			(*in)[i].DeepCopyInto(&(*out)[i])
   176  		}
   177  	}
   178  }
   179  
   180  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceSetList.
   181  func (in *DeviceSetList) DeepCopy() *DeviceSetList {
   182  	if in == nil {
   183  		return nil
   184  	}
   185  	out := new(DeviceSetList)
   186  	in.DeepCopyInto(out)
   187  	return out
   188  }
   189  
   190  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   191  func (in *DeviceSetList) DeepCopyObject() runtime.Object {
   192  	if c := in.DeepCopy(); c != nil {
   193  		return c
   194  	}
   195  	return nil
   196  }
   197  
   198  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   199  func (in *DeviceSetReference) DeepCopyInto(out *DeviceSetReference) {
   200  	*out = *in
   201  	if in.Blocking != nil {
   202  		in, out := &in.Blocking, &out.Blocking
   203  		*out = new(Blocking)
   204  		**out = **in
   205  	}
   206  	if in.Attributes != nil {
   207  		in, out := &in.Attributes, &out.Attributes
   208  		*out = make([]Rule, len(*in))
   209  		copy(*out, *in)
   210  	}
   211  	if in.Properties != nil {
   212  		in, out := &in.Properties, &out.Properties
   213  		*out = make([]Rule, len(*in))
   214  		copy(*out, *in)
   215  	}
   216  }
   217  
   218  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceSetReference.
   219  func (in *DeviceSetReference) DeepCopy() *DeviceSetReference {
   220  	if in == nil {
   221  		return nil
   222  	}
   223  	out := new(DeviceSetReference)
   224  	in.DeepCopyInto(out)
   225  	return out
   226  }
   227  
   228  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   229  func (in *DeviceSpec) DeepCopyInto(out *DeviceSpec) {
   230  	*out = *in
   231  	if in.DeviceSets != nil {
   232  		in, out := &in.DeviceSets, &out.DeviceSets
   233  		*out = make([]DeviceSetReference, len(*in))
   234  		for i := range *in {
   235  			(*in)[i].DeepCopyInto(&(*out)[i])
   236  		}
   237  	}
   238  }
   239  
   240  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceSpec.
   241  func (in *DeviceSpec) DeepCopy() *DeviceSpec {
   242  	if in == nil {
   243  		return nil
   244  	}
   245  	out := new(DeviceSpec)
   246  	in.DeepCopyInto(out)
   247  	return out
   248  }
   249  
   250  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   251  func (in *DeviceState) DeepCopyInto(out *DeviceState) {
   252  	*out = *in
   253  }
   254  
   255  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceState.
   256  func (in *DeviceState) DeepCopy() *DeviceState {
   257  	if in == nil {
   258  		return nil
   259  	}
   260  	out := new(DeviceState)
   261  	in.DeepCopyInto(out)
   262  	return out
   263  }
   264  
   265  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   266  func (in *DeviceStatuses) DeepCopyInto(out *DeviceStatuses) {
   267  	*out = *in
   268  	out.TypeMeta = in.TypeMeta
   269  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
   270  	in.Spec.DeepCopyInto(&out.Spec)
   271  }
   272  
   273  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceStatuses.
   274  func (in *DeviceStatuses) DeepCopy() *DeviceStatuses {
   275  	if in == nil {
   276  		return nil
   277  	}
   278  	out := new(DeviceStatuses)
   279  	in.DeepCopyInto(out)
   280  	return out
   281  }
   282  
   283  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   284  func (in *DeviceStatuses) DeepCopyObject() runtime.Object {
   285  	if c := in.DeepCopy(); c != nil {
   286  		return c
   287  	}
   288  	return nil
   289  }
   290  
   291  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   292  func (in *DeviceStatusesList) DeepCopyInto(out *DeviceStatusesList) {
   293  	*out = *in
   294  	out.TypeMeta = in.TypeMeta
   295  	in.ListMeta.DeepCopyInto(&out.ListMeta)
   296  	if in.Items != nil {
   297  		in, out := &in.Items, &out.Items
   298  		*out = make([]DeviceStatuses, len(*in))
   299  		for i := range *in {
   300  			(*in)[i].DeepCopyInto(&(*out)[i])
   301  		}
   302  	}
   303  }
   304  
   305  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceStatusesList.
   306  func (in *DeviceStatusesList) DeepCopy() *DeviceStatusesList {
   307  	if in == nil {
   308  		return nil
   309  	}
   310  	out := new(DeviceStatusesList)
   311  	in.DeepCopyInto(out)
   312  	return out
   313  }
   314  
   315  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   316  func (in *DeviceStatusesList) DeepCopyObject() runtime.Object {
   317  	if c := in.DeepCopy(); c != nil {
   318  		return c
   319  	}
   320  	return nil
   321  }
   322  
   323  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   324  func (in *DeviceStatusesSpec) DeepCopyInto(out *DeviceStatusesSpec) {
   325  	*out = *in
   326  	if in.Devices != nil {
   327  		in, out := &in.Devices, &out.Devices
   328  		*out = make(map[string][]DeviceState, len(*in))
   329  		for key, val := range *in {
   330  			var outVal []DeviceState
   331  			if val == nil {
   332  				(*out)[key] = nil
   333  			} else {
   334  				inVal := (*in)[key]
   335  				in, out := &inVal, &outVal
   336  				*out = make([]DeviceState, len(*in))
   337  				copy(*out, *in)
   338  			}
   339  			(*out)[key] = outVal
   340  		}
   341  	}
   342  	if in.DeviceGroups != nil {
   343  		in, out := &in.DeviceGroups, &out.DeviceGroups
   344  		*out = make(map[string][]int64, len(*in))
   345  		for key, val := range *in {
   346  			var outVal []int64
   347  			if val == nil {
   348  				(*out)[key] = nil
   349  			} else {
   350  				inVal := (*in)[key]
   351  				in, out := &inVal, &outVal
   352  				*out = make([]int64, len(*in))
   353  				copy(*out, *in)
   354  			}
   355  			(*out)[key] = outVal
   356  		}
   357  	}
   358  }
   359  
   360  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceStatusesSpec.
   361  func (in *DeviceStatusesSpec) DeepCopy() *DeviceStatusesSpec {
   362  	if in == nil {
   363  		return nil
   364  	}
   365  	out := new(DeviceStatusesSpec)
   366  	in.DeepCopyInto(out)
   367  	return out
   368  }
   369  
   370  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   371  func (in *ListOption) DeepCopyInto(out *ListOption) {
   372  }
   373  
   374  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ListOption.
   375  func (in *ListOption) DeepCopy() *ListOption {
   376  	if in == nil {
   377  		return nil
   378  	}
   379  	out := new(ListOption)
   380  	in.DeepCopyInto(out)
   381  	return out
   382  }
   383  
   384  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   385  func (in *Logging) DeepCopyInto(out *Logging) {
   386  	*out = *in
   387  }
   388  
   389  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Logging.
   390  func (in *Logging) DeepCopy() *Logging {
   391  	if in == nil {
   392  		return nil
   393  	}
   394  	out := new(Logging)
   395  	in.DeepCopyInto(out)
   396  	return out
   397  }
   398  
   399  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   400  func (in *Rule) DeepCopyInto(out *Rule) {
   401  	*out = *in
   402  }
   403  
   404  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Rule.
   405  func (in *Rule) DeepCopy() *Rule {
   406  	if in == nil {
   407  		return nil
   408  	}
   409  	out := new(Rule)
   410  	in.DeepCopyInto(out)
   411  	return out
   412  }
   413  

View as plain text