sigs.k8s.io/cluster-api-provider-azure@v1.14.3/exp/api/v1beta1/zz_generated.deepcopy.go (about)

     1  //go:build !ignore_autogenerated
     2  
     3  /*
     4  Copyright The Kubernetes Authors.
     5  
     6  Licensed under the Apache License, Version 2.0 (the "License");
     7  you may not use this file except in compliance with the License.
     8  You may obtain a copy of the License at
     9  
    10      http://www.apache.org/licenses/LICENSE-2.0
    11  
    12  Unless required by applicable law or agreed to in writing, software
    13  distributed under the License is distributed on an "AS IS" BASIS,
    14  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    15  See the License for the specific language governing permissions and
    16  limitations under the License.
    17  */
    18  
    19  // Code generated by controller-gen. DO NOT EDIT.
    20  
    21  package v1beta1
    22  
    23  import (
    24  	"k8s.io/api/core/v1"
    25  	"k8s.io/apimachinery/pkg/runtime"
    26  	"k8s.io/apimachinery/pkg/util/intstr"
    27  	apiv1beta1 "sigs.k8s.io/cluster-api-provider-azure/api/v1beta1"
    28  	cluster_apiapiv1beta1 "sigs.k8s.io/cluster-api/api/v1beta1"
    29  	"sigs.k8s.io/cluster-api/errors"
    30  )
    31  
    32  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    33  func (in *AzureMachinePool) DeepCopyInto(out *AzureMachinePool) {
    34  	*out = *in
    35  	out.TypeMeta = in.TypeMeta
    36  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
    37  	in.Spec.DeepCopyInto(&out.Spec)
    38  	in.Status.DeepCopyInto(&out.Status)
    39  }
    40  
    41  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureMachinePool.
    42  func (in *AzureMachinePool) DeepCopy() *AzureMachinePool {
    43  	if in == nil {
    44  		return nil
    45  	}
    46  	out := new(AzureMachinePool)
    47  	in.DeepCopyInto(out)
    48  	return out
    49  }
    50  
    51  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    52  func (in *AzureMachinePool) DeepCopyObject() runtime.Object {
    53  	if c := in.DeepCopy(); c != nil {
    54  		return c
    55  	}
    56  	return nil
    57  }
    58  
    59  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    60  func (in *AzureMachinePoolDeploymentStrategy) DeepCopyInto(out *AzureMachinePoolDeploymentStrategy) {
    61  	*out = *in
    62  	if in.RollingUpdate != nil {
    63  		in, out := &in.RollingUpdate, &out.RollingUpdate
    64  		*out = new(MachineRollingUpdateDeployment)
    65  		(*in).DeepCopyInto(*out)
    66  	}
    67  }
    68  
    69  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureMachinePoolDeploymentStrategy.
    70  func (in *AzureMachinePoolDeploymentStrategy) DeepCopy() *AzureMachinePoolDeploymentStrategy {
    71  	if in == nil {
    72  		return nil
    73  	}
    74  	out := new(AzureMachinePoolDeploymentStrategy)
    75  	in.DeepCopyInto(out)
    76  	return out
    77  }
    78  
    79  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    80  func (in *AzureMachinePoolInstanceStatus) DeepCopyInto(out *AzureMachinePoolInstanceStatus) {
    81  	*out = *in
    82  	if in.ProvisioningState != nil {
    83  		in, out := &in.ProvisioningState, &out.ProvisioningState
    84  		*out = new(apiv1beta1.ProvisioningState)
    85  		**out = **in
    86  	}
    87  }
    88  
    89  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureMachinePoolInstanceStatus.
    90  func (in *AzureMachinePoolInstanceStatus) DeepCopy() *AzureMachinePoolInstanceStatus {
    91  	if in == nil {
    92  		return nil
    93  	}
    94  	out := new(AzureMachinePoolInstanceStatus)
    95  	in.DeepCopyInto(out)
    96  	return out
    97  }
    98  
    99  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   100  func (in *AzureMachinePoolList) DeepCopyInto(out *AzureMachinePoolList) {
   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([]AzureMachinePool, 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 AzureMachinePoolList.
   114  func (in *AzureMachinePoolList) DeepCopy() *AzureMachinePoolList {
   115  	if in == nil {
   116  		return nil
   117  	}
   118  	out := new(AzureMachinePoolList)
   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 *AzureMachinePoolList) 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 *AzureMachinePoolMachine) DeepCopyInto(out *AzureMachinePoolMachine) {
   133  	*out = *in
   134  	out.TypeMeta = in.TypeMeta
   135  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
   136  	out.Spec = in.Spec
   137  	in.Status.DeepCopyInto(&out.Status)
   138  }
   139  
   140  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureMachinePoolMachine.
   141  func (in *AzureMachinePoolMachine) DeepCopy() *AzureMachinePoolMachine {
   142  	if in == nil {
   143  		return nil
   144  	}
   145  	out := new(AzureMachinePoolMachine)
   146  	in.DeepCopyInto(out)
   147  	return out
   148  }
   149  
   150  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   151  func (in *AzureMachinePoolMachine) DeepCopyObject() runtime.Object {
   152  	if c := in.DeepCopy(); c != nil {
   153  		return c
   154  	}
   155  	return nil
   156  }
   157  
   158  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   159  func (in *AzureMachinePoolMachineList) DeepCopyInto(out *AzureMachinePoolMachineList) {
   160  	*out = *in
   161  	out.TypeMeta = in.TypeMeta
   162  	in.ListMeta.DeepCopyInto(&out.ListMeta)
   163  	if in.Items != nil {
   164  		in, out := &in.Items, &out.Items
   165  		*out = make([]AzureMachinePoolMachine, len(*in))
   166  		for i := range *in {
   167  			(*in)[i].DeepCopyInto(&(*out)[i])
   168  		}
   169  	}
   170  }
   171  
   172  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureMachinePoolMachineList.
   173  func (in *AzureMachinePoolMachineList) DeepCopy() *AzureMachinePoolMachineList {
   174  	if in == nil {
   175  		return nil
   176  	}
   177  	out := new(AzureMachinePoolMachineList)
   178  	in.DeepCopyInto(out)
   179  	return out
   180  }
   181  
   182  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   183  func (in *AzureMachinePoolMachineList) DeepCopyObject() runtime.Object {
   184  	if c := in.DeepCopy(); c != nil {
   185  		return c
   186  	}
   187  	return nil
   188  }
   189  
   190  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   191  func (in *AzureMachinePoolMachineSpec) DeepCopyInto(out *AzureMachinePoolMachineSpec) {
   192  	*out = *in
   193  }
   194  
   195  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureMachinePoolMachineSpec.
   196  func (in *AzureMachinePoolMachineSpec) DeepCopy() *AzureMachinePoolMachineSpec {
   197  	if in == nil {
   198  		return nil
   199  	}
   200  	out := new(AzureMachinePoolMachineSpec)
   201  	in.DeepCopyInto(out)
   202  	return out
   203  }
   204  
   205  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   206  func (in *AzureMachinePoolMachineStatus) DeepCopyInto(out *AzureMachinePoolMachineStatus) {
   207  	*out = *in
   208  	if in.NodeRef != nil {
   209  		in, out := &in.NodeRef, &out.NodeRef
   210  		*out = new(v1.ObjectReference)
   211  		**out = **in
   212  	}
   213  	if in.ProvisioningState != nil {
   214  		in, out := &in.ProvisioningState, &out.ProvisioningState
   215  		*out = new(apiv1beta1.ProvisioningState)
   216  		**out = **in
   217  	}
   218  	if in.FailureReason != nil {
   219  		in, out := &in.FailureReason, &out.FailureReason
   220  		*out = new(errors.MachineStatusError)
   221  		**out = **in
   222  	}
   223  	if in.FailureMessage != nil {
   224  		in, out := &in.FailureMessage, &out.FailureMessage
   225  		*out = new(string)
   226  		**out = **in
   227  	}
   228  	if in.Conditions != nil {
   229  		in, out := &in.Conditions, &out.Conditions
   230  		*out = make(cluster_apiapiv1beta1.Conditions, len(*in))
   231  		for i := range *in {
   232  			(*in)[i].DeepCopyInto(&(*out)[i])
   233  		}
   234  	}
   235  	if in.LongRunningOperationStates != nil {
   236  		in, out := &in.LongRunningOperationStates, &out.LongRunningOperationStates
   237  		*out = make(apiv1beta1.Futures, len(*in))
   238  		copy(*out, *in)
   239  	}
   240  }
   241  
   242  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureMachinePoolMachineStatus.
   243  func (in *AzureMachinePoolMachineStatus) DeepCopy() *AzureMachinePoolMachineStatus {
   244  	if in == nil {
   245  		return nil
   246  	}
   247  	out := new(AzureMachinePoolMachineStatus)
   248  	in.DeepCopyInto(out)
   249  	return out
   250  }
   251  
   252  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   253  func (in *AzureMachinePoolMachineTemplate) DeepCopyInto(out *AzureMachinePoolMachineTemplate) {
   254  	*out = *in
   255  	if in.Image != nil {
   256  		in, out := &in.Image, &out.Image
   257  		*out = new(apiv1beta1.Image)
   258  		(*in).DeepCopyInto(*out)
   259  	}
   260  	in.OSDisk.DeepCopyInto(&out.OSDisk)
   261  	if in.DataDisks != nil {
   262  		in, out := &in.DataDisks, &out.DataDisks
   263  		*out = make([]apiv1beta1.DataDisk, len(*in))
   264  		for i := range *in {
   265  			(*in)[i].DeepCopyInto(&(*out)[i])
   266  		}
   267  	}
   268  	if in.AcceleratedNetworking != nil {
   269  		in, out := &in.AcceleratedNetworking, &out.AcceleratedNetworking
   270  		*out = new(bool)
   271  		**out = **in
   272  	}
   273  	if in.Diagnostics != nil {
   274  		in, out := &in.Diagnostics, &out.Diagnostics
   275  		*out = new(apiv1beta1.Diagnostics)
   276  		(*in).DeepCopyInto(*out)
   277  	}
   278  	if in.TerminateNotificationTimeout != nil {
   279  		in, out := &in.TerminateNotificationTimeout, &out.TerminateNotificationTimeout
   280  		*out = new(int)
   281  		**out = **in
   282  	}
   283  	if in.SecurityProfile != nil {
   284  		in, out := &in.SecurityProfile, &out.SecurityProfile
   285  		*out = new(apiv1beta1.SecurityProfile)
   286  		(*in).DeepCopyInto(*out)
   287  	}
   288  	if in.SpotVMOptions != nil {
   289  		in, out := &in.SpotVMOptions, &out.SpotVMOptions
   290  		*out = new(apiv1beta1.SpotVMOptions)
   291  		(*in).DeepCopyInto(*out)
   292  	}
   293  	if in.VMExtensions != nil {
   294  		in, out := &in.VMExtensions, &out.VMExtensions
   295  		*out = make([]apiv1beta1.VMExtension, len(*in))
   296  		for i := range *in {
   297  			(*in)[i].DeepCopyInto(&(*out)[i])
   298  		}
   299  	}
   300  	if in.NetworkInterfaces != nil {
   301  		in, out := &in.NetworkInterfaces, &out.NetworkInterfaces
   302  		*out = make([]apiv1beta1.NetworkInterface, len(*in))
   303  		for i := range *in {
   304  			(*in)[i].DeepCopyInto(&(*out)[i])
   305  		}
   306  	}
   307  }
   308  
   309  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureMachinePoolMachineTemplate.
   310  func (in *AzureMachinePoolMachineTemplate) DeepCopy() *AzureMachinePoolMachineTemplate {
   311  	if in == nil {
   312  		return nil
   313  	}
   314  	out := new(AzureMachinePoolMachineTemplate)
   315  	in.DeepCopyInto(out)
   316  	return out
   317  }
   318  
   319  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   320  func (in *AzureMachinePoolSpec) DeepCopyInto(out *AzureMachinePoolSpec) {
   321  	*out = *in
   322  	in.Template.DeepCopyInto(&out.Template)
   323  	if in.AdditionalTags != nil {
   324  		in, out := &in.AdditionalTags, &out.AdditionalTags
   325  		*out = make(apiv1beta1.Tags, len(*in))
   326  		for key, val := range *in {
   327  			(*out)[key] = val
   328  		}
   329  	}
   330  	if in.ProviderIDList != nil {
   331  		in, out := &in.ProviderIDList, &out.ProviderIDList
   332  		*out = make([]string, len(*in))
   333  		copy(*out, *in)
   334  	}
   335  	if in.SystemAssignedIdentityRole != nil {
   336  		in, out := &in.SystemAssignedIdentityRole, &out.SystemAssignedIdentityRole
   337  		*out = new(apiv1beta1.SystemAssignedIdentityRole)
   338  		**out = **in
   339  	}
   340  	if in.UserAssignedIdentities != nil {
   341  		in, out := &in.UserAssignedIdentities, &out.UserAssignedIdentities
   342  		*out = make([]apiv1beta1.UserAssignedIdentity, len(*in))
   343  		copy(*out, *in)
   344  	}
   345  	in.Strategy.DeepCopyInto(&out.Strategy)
   346  	if in.PlatformFaultDomainCount != nil {
   347  		in, out := &in.PlatformFaultDomainCount, &out.PlatformFaultDomainCount
   348  		*out = new(int32)
   349  		**out = **in
   350  	}
   351  	if in.ZoneBalance != nil {
   352  		in, out := &in.ZoneBalance, &out.ZoneBalance
   353  		*out = new(bool)
   354  		**out = **in
   355  	}
   356  }
   357  
   358  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureMachinePoolSpec.
   359  func (in *AzureMachinePoolSpec) DeepCopy() *AzureMachinePoolSpec {
   360  	if in == nil {
   361  		return nil
   362  	}
   363  	out := new(AzureMachinePoolSpec)
   364  	in.DeepCopyInto(out)
   365  	return out
   366  }
   367  
   368  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   369  func (in *AzureMachinePoolStatus) DeepCopyInto(out *AzureMachinePoolStatus) {
   370  	*out = *in
   371  	if in.Instances != nil {
   372  		in, out := &in.Instances, &out.Instances
   373  		*out = make([]*AzureMachinePoolInstanceStatus, len(*in))
   374  		for i := range *in {
   375  			if (*in)[i] != nil {
   376  				in, out := &(*in)[i], &(*out)[i]
   377  				*out = new(AzureMachinePoolInstanceStatus)
   378  				(*in).DeepCopyInto(*out)
   379  			}
   380  		}
   381  	}
   382  	if in.Image != nil {
   383  		in, out := &in.Image, &out.Image
   384  		*out = new(apiv1beta1.Image)
   385  		(*in).DeepCopyInto(*out)
   386  	}
   387  	if in.ProvisioningState != nil {
   388  		in, out := &in.ProvisioningState, &out.ProvisioningState
   389  		*out = new(apiv1beta1.ProvisioningState)
   390  		**out = **in
   391  	}
   392  	if in.FailureReason != nil {
   393  		in, out := &in.FailureReason, &out.FailureReason
   394  		*out = new(errors.MachineStatusError)
   395  		**out = **in
   396  	}
   397  	if in.FailureMessage != nil {
   398  		in, out := &in.FailureMessage, &out.FailureMessage
   399  		*out = new(string)
   400  		**out = **in
   401  	}
   402  	if in.Conditions != nil {
   403  		in, out := &in.Conditions, &out.Conditions
   404  		*out = make(cluster_apiapiv1beta1.Conditions, len(*in))
   405  		for i := range *in {
   406  			(*in)[i].DeepCopyInto(&(*out)[i])
   407  		}
   408  	}
   409  	if in.LongRunningOperationStates != nil {
   410  		in, out := &in.LongRunningOperationStates, &out.LongRunningOperationStates
   411  		*out = make(apiv1beta1.Futures, len(*in))
   412  		copy(*out, *in)
   413  	}
   414  }
   415  
   416  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureMachinePoolStatus.
   417  func (in *AzureMachinePoolStatus) DeepCopy() *AzureMachinePoolStatus {
   418  	if in == nil {
   419  		return nil
   420  	}
   421  	out := new(AzureMachinePoolStatus)
   422  	in.DeepCopyInto(out)
   423  	return out
   424  }
   425  
   426  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   427  func (in *MachineRollingUpdateDeployment) DeepCopyInto(out *MachineRollingUpdateDeployment) {
   428  	*out = *in
   429  	if in.MaxUnavailable != nil {
   430  		in, out := &in.MaxUnavailable, &out.MaxUnavailable
   431  		*out = new(intstr.IntOrString)
   432  		**out = **in
   433  	}
   434  	if in.MaxSurge != nil {
   435  		in, out := &in.MaxSurge, &out.MaxSurge
   436  		*out = new(intstr.IntOrString)
   437  		**out = **in
   438  	}
   439  }
   440  
   441  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineRollingUpdateDeployment.
   442  func (in *MachineRollingUpdateDeployment) DeepCopy() *MachineRollingUpdateDeployment {
   443  	if in == nil {
   444  		return nil
   445  	}
   446  	out := new(MachineRollingUpdateDeployment)
   447  	in.DeepCopyInto(out)
   448  	return out
   449  }