...

Source file src/edge-infra.dev/pkg/f8n/warehouse/k8s/apis/v1alpha2/zz_generated.deepcopy.go

Documentation: edge-infra.dev/pkg/f8n/warehouse/k8s/apis/v1alpha2

     1  //go:build !ignore_autogenerated
     2  
     3  // Code generated by controller-gen. DO NOT EDIT.
     4  
     5  package v1alpha2
     6  
     7  import (
     8  	"edge-infra.dev/pkg/k8s/meta"
     9  	"edge-infra.dev/pkg/k8s/runtime/inventory"
    10  	"k8s.io/apimachinery/pkg/apis/meta/v1"
    11  	runtime "k8s.io/apimachinery/pkg/runtime"
    12  )
    13  
    14  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    15  func (in *ApplyOptions) DeepCopyInto(out *ApplyOptions) {
    16  	*out = *in
    17  	if in.Timeout != nil {
    18  		in, out := &in.Timeout, &out.Timeout
    19  		*out = new(v1.Duration)
    20  		**out = **in
    21  	}
    22  	if in.Interval != nil {
    23  		in, out := &in.Interval, &out.Interval
    24  		*out = new(v1.Duration)
    25  		**out = **in
    26  	}
    27  	if in.RetryInterval != nil {
    28  		in, out := &in.RetryInterval, &out.RetryInterval
    29  		*out = new(v1.Duration)
    30  		**out = **in
    31  	}
    32  }
    33  
    34  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplyOptions.
    35  func (in *ApplyOptions) DeepCopy() *ApplyOptions {
    36  	if in == nil {
    37  		return nil
    38  	}
    39  	out := new(ApplyOptions)
    40  	in.DeepCopyInto(out)
    41  	return out
    42  }
    43  
    44  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    45  func (in *Artifact) DeepCopyInto(out *Artifact) {
    46  	*out = *in
    47  	out.BaseArtifact = in.BaseArtifact
    48  }
    49  
    50  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Artifact.
    51  func (in *Artifact) DeepCopy() *Artifact {
    52  	if in == nil {
    53  		return nil
    54  	}
    55  	out := new(Artifact)
    56  	in.DeepCopyInto(out)
    57  	return out
    58  }
    59  
    60  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    61  func (in *BaseArtifact) DeepCopyInto(out *BaseArtifact) {
    62  	*out = *in
    63  }
    64  
    65  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BaseArtifact.
    66  func (in *BaseArtifact) DeepCopy() *BaseArtifact {
    67  	if in == nil {
    68  		return nil
    69  	}
    70  	out := new(BaseArtifact)
    71  	in.DeepCopyInto(out)
    72  	return out
    73  }
    74  
    75  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    76  func (in *PackagePullOptions) DeepCopyInto(out *PackagePullOptions) {
    77  	*out = *in
    78  }
    79  
    80  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackagePullOptions.
    81  func (in *PackagePullOptions) DeepCopy() *PackagePullOptions {
    82  	if in == nil {
    83  		return nil
    84  	}
    85  	out := new(PackagePullOptions)
    86  	in.DeepCopyInto(out)
    87  	return out
    88  }
    89  
    90  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    91  func (in *Parameters) DeepCopyInto(out *Parameters) {
    92  	*out = *in
    93  	if in.Variables != nil {
    94  		in, out := &in.Variables, &out.Variables
    95  		*out = make(map[string]string, len(*in))
    96  		for key, val := range *in {
    97  			(*out)[key] = val
    98  		}
    99  	}
   100  	if in.ConfigMapRef != nil {
   101  		in, out := &in.ConfigMapRef, &out.ConfigMapRef
   102  		*out = new(meta.NamespacedObjectReference)
   103  		**out = **in
   104  	}
   105  	if in.Mapping != nil {
   106  		in, out := &in.Mapping, &out.Mapping
   107  		*out = make(map[string]string, len(*in))
   108  		for key, val := range *in {
   109  			(*out)[key] = val
   110  		}
   111  	}
   112  }
   113  
   114  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Parameters.
   115  func (in *Parameters) DeepCopy() *Parameters {
   116  	if in == nil {
   117  		return nil
   118  	}
   119  	out := new(Parameters)
   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 *Pin) DeepCopyInto(out *Pin) {
   126  	*out = *in
   127  }
   128  
   129  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Pin.
   130  func (in *Pin) DeepCopy() *Pin {
   131  	if in == nil {
   132  		return nil
   133  	}
   134  	out := new(Pin)
   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 *Resolution) DeepCopyInto(out *Resolution) {
   141  	*out = *in
   142  	if in.Pins != nil {
   143  		in, out := &in.Pins, &out.Pins
   144  		*out = make([]Pin, len(*in))
   145  		copy(*out, *in)
   146  	}
   147  }
   148  
   149  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Resolution.
   150  func (in *Resolution) DeepCopy() *Resolution {
   151  	if in == nil {
   152  		return nil
   153  	}
   154  	out := new(Resolution)
   155  	in.DeepCopyInto(out)
   156  	return out
   157  }
   158  
   159  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   160  func (in *ResolvedArtifact) DeepCopyInto(out *ResolvedArtifact) {
   161  	*out = *in
   162  }
   163  
   164  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResolvedArtifact.
   165  func (in *ResolvedArtifact) DeepCopy() *ResolvedArtifact {
   166  	if in == nil {
   167  		return nil
   168  	}
   169  	out := new(ResolvedArtifact)
   170  	in.DeepCopyInto(out)
   171  	return out
   172  }
   173  
   174  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   175  func (in *Shipment) DeepCopyInto(out *Shipment) {
   176  	*out = *in
   177  	out.TypeMeta = in.TypeMeta
   178  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
   179  	in.Spec.DeepCopyInto(&out.Spec)
   180  	in.Status.DeepCopyInto(&out.Status)
   181  }
   182  
   183  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Shipment.
   184  func (in *Shipment) DeepCopy() *Shipment {
   185  	if in == nil {
   186  		return nil
   187  	}
   188  	out := new(Shipment)
   189  	in.DeepCopyInto(out)
   190  	return out
   191  }
   192  
   193  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   194  func (in *Shipment) DeepCopyObject() runtime.Object {
   195  	if c := in.DeepCopy(); c != nil {
   196  		return c
   197  	}
   198  	return nil
   199  }
   200  
   201  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   202  func (in *ShipmentList) DeepCopyInto(out *ShipmentList) {
   203  	*out = *in
   204  	out.TypeMeta = in.TypeMeta
   205  	in.ListMeta.DeepCopyInto(&out.ListMeta)
   206  	if in.Items != nil {
   207  		in, out := &in.Items, &out.Items
   208  		*out = make([]Shipment, len(*in))
   209  		for i := range *in {
   210  			(*in)[i].DeepCopyInto(&(*out)[i])
   211  		}
   212  	}
   213  }
   214  
   215  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShipmentList.
   216  func (in *ShipmentList) DeepCopy() *ShipmentList {
   217  	if in == nil {
   218  		return nil
   219  	}
   220  	out := new(ShipmentList)
   221  	in.DeepCopyInto(out)
   222  	return out
   223  }
   224  
   225  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   226  func (in *ShipmentList) DeepCopyObject() runtime.Object {
   227  	if c := in.DeepCopy(); c != nil {
   228  		return c
   229  	}
   230  	return nil
   231  }
   232  
   233  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   234  func (in *ShipmentSpec) DeepCopyInto(out *ShipmentSpec) {
   235  	*out = *in
   236  	in.ApplyOptions.DeepCopyInto(&out.ApplyOptions)
   237  	in.UnpackOptions.DeepCopyInto(&out.UnpackOptions)
   238  	out.PackagePullOptions = in.PackagePullOptions
   239  	if in.Pallets != nil {
   240  		in, out := &in.Pallets, &out.Pallets
   241  		*out = make([]BaseArtifact, len(*in))
   242  		copy(*out, *in)
   243  	}
   244  	in.Resolution.DeepCopyInto(&out.Resolution)
   245  	if in.Rendering != nil {
   246  		in, out := &in.Rendering, &out.Rendering
   247  		*out = make([]Parameters, len(*in))
   248  		for i := range *in {
   249  			(*in)[i].DeepCopyInto(&(*out)[i])
   250  		}
   251  	}
   252  	out.Credentials = in.Credentials
   253  }
   254  
   255  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShipmentSpec.
   256  func (in *ShipmentSpec) DeepCopy() *ShipmentSpec {
   257  	if in == nil {
   258  		return nil
   259  	}
   260  	out := new(ShipmentSpec)
   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 *ShipmentStatus) DeepCopyInto(out *ShipmentStatus) {
   267  	*out = *in
   268  	if in.Conditions != nil {
   269  		in, out := &in.Conditions, &out.Conditions
   270  		*out = make([]v1.Condition, len(*in))
   271  		for i := range *in {
   272  			(*in)[i].DeepCopyInto(&(*out)[i])
   273  		}
   274  	}
   275  	if in.Inventory != nil {
   276  		in, out := &in.Inventory, &out.Inventory
   277  		*out = new(inventory.ResourceInventory)
   278  		(*in).DeepCopyInto(*out)
   279  	}
   280  	if in.LastApplied != nil {
   281  		in, out := &in.LastApplied, &out.LastApplied
   282  		*out = make([]ResolvedArtifact, len(*in))
   283  		copy(*out, *in)
   284  	}
   285  	if in.LastAttempted != nil {
   286  		in, out := &in.LastAttempted, &out.LastAttempted
   287  		*out = make([]ResolvedArtifact, len(*in))
   288  		copy(*out, *in)
   289  	}
   290  	out.RequestStatus = in.RequestStatus
   291  }
   292  
   293  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShipmentStatus.
   294  func (in *ShipmentStatus) DeepCopy() *ShipmentStatus {
   295  	if in == nil {
   296  		return nil
   297  	}
   298  	out := new(ShipmentStatus)
   299  	in.DeepCopyInto(out)
   300  	return out
   301  }
   302  
   303  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   304  func (in *UnpackOptions) DeepCopyInto(out *UnpackOptions) {
   305  	*out = *in
   306  	if in.Capabilities != nil {
   307  		in, out := &in.Capabilities, &out.Capabilities
   308  		*out = make([]string, len(*in))
   309  		copy(*out, *in)
   310  	}
   311  }
   312  
   313  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UnpackOptions.
   314  func (in *UnpackOptions) DeepCopy() *UnpackOptions {
   315  	if in == nil {
   316  		return nil
   317  	}
   318  	out := new(UnpackOptions)
   319  	in.DeepCopyInto(out)
   320  	return out
   321  }
   322  
   323  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   324  func (in *UnpackedPallet) DeepCopyInto(out *UnpackedPallet) {
   325  	*out = *in
   326  	out.TypeMeta = in.TypeMeta
   327  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
   328  	in.Spec.DeepCopyInto(&out.Spec)
   329  	in.Status.DeepCopyInto(&out.Status)
   330  }
   331  
   332  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UnpackedPallet.
   333  func (in *UnpackedPallet) DeepCopy() *UnpackedPallet {
   334  	if in == nil {
   335  		return nil
   336  	}
   337  	out := new(UnpackedPallet)
   338  	in.DeepCopyInto(out)
   339  	return out
   340  }
   341  
   342  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   343  func (in *UnpackedPallet) DeepCopyObject() runtime.Object {
   344  	if c := in.DeepCopy(); c != nil {
   345  		return c
   346  	}
   347  	return nil
   348  }
   349  
   350  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   351  func (in *UnpackedPalletList) DeepCopyInto(out *UnpackedPalletList) {
   352  	*out = *in
   353  	out.TypeMeta = in.TypeMeta
   354  	in.ListMeta.DeepCopyInto(&out.ListMeta)
   355  	if in.Items != nil {
   356  		in, out := &in.Items, &out.Items
   357  		*out = make([]UnpackedPallet, len(*in))
   358  		for i := range *in {
   359  			(*in)[i].DeepCopyInto(&(*out)[i])
   360  		}
   361  	}
   362  }
   363  
   364  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UnpackedPalletList.
   365  func (in *UnpackedPalletList) DeepCopy() *UnpackedPalletList {
   366  	if in == nil {
   367  		return nil
   368  	}
   369  	out := new(UnpackedPalletList)
   370  	in.DeepCopyInto(out)
   371  	return out
   372  }
   373  
   374  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   375  func (in *UnpackedPalletList) DeepCopyObject() runtime.Object {
   376  	if c := in.DeepCopy(); c != nil {
   377  		return c
   378  	}
   379  	return nil
   380  }
   381  
   382  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   383  func (in *UnpackedPalletSpec) DeepCopyInto(out *UnpackedPalletSpec) {
   384  	*out = *in
   385  	out.Artifact = in.Artifact
   386  	in.ApplyOptions.DeepCopyInto(&out.ApplyOptions)
   387  	in.UnpackOptions.DeepCopyInto(&out.UnpackOptions)
   388  	out.PackagePullOptions = in.PackagePullOptions
   389  	if in.Parameters != nil {
   390  		in, out := &in.Parameters, &out.Parameters
   391  		*out = make(map[string]string, len(*in))
   392  		for key, val := range *in {
   393  			(*out)[key] = val
   394  		}
   395  	}
   396  	if in.DependsOn != nil {
   397  		in, out := &in.DependsOn, &out.DependsOn
   398  		*out = make([]meta.LocalObjectReference, len(*in))
   399  		copy(*out, *in)
   400  	}
   401  	out.Credentials = in.Credentials
   402  }
   403  
   404  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UnpackedPalletSpec.
   405  func (in *UnpackedPalletSpec) DeepCopy() *UnpackedPalletSpec {
   406  	if in == nil {
   407  		return nil
   408  	}
   409  	out := new(UnpackedPalletSpec)
   410  	in.DeepCopyInto(out)
   411  	return out
   412  }
   413  
   414  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   415  func (in *UnpackedPalletStatus) DeepCopyInto(out *UnpackedPalletStatus) {
   416  	*out = *in
   417  	if in.Conditions != nil {
   418  		in, out := &in.Conditions, &out.Conditions
   419  		*out = make([]v1.Condition, len(*in))
   420  		for i := range *in {
   421  			(*in)[i].DeepCopyInto(&(*out)[i])
   422  		}
   423  	}
   424  	if in.Inventory != nil {
   425  		in, out := &in.Inventory, &out.Inventory
   426  		*out = new(inventory.ResourceInventory)
   427  		(*in).DeepCopyInto(*out)
   428  	}
   429  	in.StatusAge.DeepCopyInto(&out.StatusAge)
   430  	out.RequestStatus = in.RequestStatus
   431  }
   432  
   433  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UnpackedPalletStatus.
   434  func (in *UnpackedPalletStatus) DeepCopy() *UnpackedPalletStatus {
   435  	if in == nil {
   436  		return nil
   437  	}
   438  	out := new(UnpackedPalletStatus)
   439  	in.DeepCopyInto(out)
   440  	return out
   441  }
   442  

View as plain text