k8s.io/kubernetes@v1.29.3/pkg/kubelet/apis/config/zz_generated.deepcopy.go (about)

     1  //go:build !ignore_autogenerated
     2  // +build !ignore_autogenerated
     3  
     4  /*
     5  Copyright The Kubernetes Authors.
     6  
     7  Licensed under the Apache License, Version 2.0 (the "License");
     8  you may not use this file except in compliance with the License.
     9  You may obtain a copy of the License at
    10  
    11      http://www.apache.org/licenses/LICENSE-2.0
    12  
    13  Unless required by applicable law or agreed to in writing, software
    14  distributed under the License is distributed on an "AS IS" BASIS,
    15  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    16  See the License for the specific language governing permissions and
    17  limitations under the License.
    18  */
    19  
    20  // Code generated by deepcopy-gen. DO NOT EDIT.
    21  
    22  package config
    23  
    24  import (
    25  	corev1 "k8s.io/api/core/v1"
    26  	v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    27  	runtime "k8s.io/apimachinery/pkg/runtime"
    28  	apiv1 "k8s.io/component-base/tracing/api/v1"
    29  )
    30  
    31  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    32  func (in *CredentialProvider) DeepCopyInto(out *CredentialProvider) {
    33  	*out = *in
    34  	if in.MatchImages != nil {
    35  		in, out := &in.MatchImages, &out.MatchImages
    36  		*out = make([]string, len(*in))
    37  		copy(*out, *in)
    38  	}
    39  	if in.DefaultCacheDuration != nil {
    40  		in, out := &in.DefaultCacheDuration, &out.DefaultCacheDuration
    41  		*out = new(v1.Duration)
    42  		**out = **in
    43  	}
    44  	if in.Args != nil {
    45  		in, out := &in.Args, &out.Args
    46  		*out = make([]string, len(*in))
    47  		copy(*out, *in)
    48  	}
    49  	if in.Env != nil {
    50  		in, out := &in.Env, &out.Env
    51  		*out = make([]ExecEnvVar, len(*in))
    52  		copy(*out, *in)
    53  	}
    54  	return
    55  }
    56  
    57  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CredentialProvider.
    58  func (in *CredentialProvider) DeepCopy() *CredentialProvider {
    59  	if in == nil {
    60  		return nil
    61  	}
    62  	out := new(CredentialProvider)
    63  	in.DeepCopyInto(out)
    64  	return out
    65  }
    66  
    67  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    68  func (in *CredentialProviderConfig) DeepCopyInto(out *CredentialProviderConfig) {
    69  	*out = *in
    70  	out.TypeMeta = in.TypeMeta
    71  	if in.Providers != nil {
    72  		in, out := &in.Providers, &out.Providers
    73  		*out = make([]CredentialProvider, len(*in))
    74  		for i := range *in {
    75  			(*in)[i].DeepCopyInto(&(*out)[i])
    76  		}
    77  	}
    78  	return
    79  }
    80  
    81  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CredentialProviderConfig.
    82  func (in *CredentialProviderConfig) DeepCopy() *CredentialProviderConfig {
    83  	if in == nil {
    84  		return nil
    85  	}
    86  	out := new(CredentialProviderConfig)
    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 *CredentialProviderConfig) 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 *ExecEnvVar) DeepCopyInto(out *ExecEnvVar) {
   101  	*out = *in
   102  	return
   103  }
   104  
   105  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExecEnvVar.
   106  func (in *ExecEnvVar) DeepCopy() *ExecEnvVar {
   107  	if in == nil {
   108  		return nil
   109  	}
   110  	out := new(ExecEnvVar)
   111  	in.DeepCopyInto(out)
   112  	return out
   113  }
   114  
   115  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   116  func (in *KubeletAnonymousAuthentication) DeepCopyInto(out *KubeletAnonymousAuthentication) {
   117  	*out = *in
   118  	return
   119  }
   120  
   121  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeletAnonymousAuthentication.
   122  func (in *KubeletAnonymousAuthentication) DeepCopy() *KubeletAnonymousAuthentication {
   123  	if in == nil {
   124  		return nil
   125  	}
   126  	out := new(KubeletAnonymousAuthentication)
   127  	in.DeepCopyInto(out)
   128  	return out
   129  }
   130  
   131  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   132  func (in *KubeletAuthentication) DeepCopyInto(out *KubeletAuthentication) {
   133  	*out = *in
   134  	out.X509 = in.X509
   135  	out.Webhook = in.Webhook
   136  	out.Anonymous = in.Anonymous
   137  	return
   138  }
   139  
   140  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeletAuthentication.
   141  func (in *KubeletAuthentication) DeepCopy() *KubeletAuthentication {
   142  	if in == nil {
   143  		return nil
   144  	}
   145  	out := new(KubeletAuthentication)
   146  	in.DeepCopyInto(out)
   147  	return out
   148  }
   149  
   150  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   151  func (in *KubeletAuthorization) DeepCopyInto(out *KubeletAuthorization) {
   152  	*out = *in
   153  	out.Webhook = in.Webhook
   154  	return
   155  }
   156  
   157  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeletAuthorization.
   158  func (in *KubeletAuthorization) DeepCopy() *KubeletAuthorization {
   159  	if in == nil {
   160  		return nil
   161  	}
   162  	out := new(KubeletAuthorization)
   163  	in.DeepCopyInto(out)
   164  	return out
   165  }
   166  
   167  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   168  func (in *KubeletConfiguration) DeepCopyInto(out *KubeletConfiguration) {
   169  	*out = *in
   170  	out.TypeMeta = in.TypeMeta
   171  	out.SyncFrequency = in.SyncFrequency
   172  	out.FileCheckFrequency = in.FileCheckFrequency
   173  	out.HTTPCheckFrequency = in.HTTPCheckFrequency
   174  	if in.StaticPodURLHeader != nil {
   175  		in, out := &in.StaticPodURLHeader, &out.StaticPodURLHeader
   176  		*out = make(map[string][]string, len(*in))
   177  		for key, val := range *in {
   178  			var outVal []string
   179  			if val == nil {
   180  				(*out)[key] = nil
   181  			} else {
   182  				in, out := &val, &outVal
   183  				*out = make([]string, len(*in))
   184  				copy(*out, *in)
   185  			}
   186  			(*out)[key] = outVal
   187  		}
   188  	}
   189  	if in.TLSCipherSuites != nil {
   190  		in, out := &in.TLSCipherSuites, &out.TLSCipherSuites
   191  		*out = make([]string, len(*in))
   192  		copy(*out, *in)
   193  	}
   194  	out.Authentication = in.Authentication
   195  	out.Authorization = in.Authorization
   196  	if in.ClusterDNS != nil {
   197  		in, out := &in.ClusterDNS, &out.ClusterDNS
   198  		*out = make([]string, len(*in))
   199  		copy(*out, *in)
   200  	}
   201  	out.StreamingConnectionIdleTimeout = in.StreamingConnectionIdleTimeout
   202  	out.NodeStatusUpdateFrequency = in.NodeStatusUpdateFrequency
   203  	out.NodeStatusReportFrequency = in.NodeStatusReportFrequency
   204  	out.ImageMinimumGCAge = in.ImageMinimumGCAge
   205  	out.ImageMaximumGCAge = in.ImageMaximumGCAge
   206  	out.VolumeStatsAggPeriod = in.VolumeStatsAggPeriod
   207  	if in.CPUManagerPolicyOptions != nil {
   208  		in, out := &in.CPUManagerPolicyOptions, &out.CPUManagerPolicyOptions
   209  		*out = make(map[string]string, len(*in))
   210  		for key, val := range *in {
   211  			(*out)[key] = val
   212  		}
   213  	}
   214  	out.CPUManagerReconcilePeriod = in.CPUManagerReconcilePeriod
   215  	if in.TopologyManagerPolicyOptions != nil {
   216  		in, out := &in.TopologyManagerPolicyOptions, &out.TopologyManagerPolicyOptions
   217  		*out = make(map[string]string, len(*in))
   218  		for key, val := range *in {
   219  			(*out)[key] = val
   220  		}
   221  	}
   222  	if in.QOSReserved != nil {
   223  		in, out := &in.QOSReserved, &out.QOSReserved
   224  		*out = make(map[string]string, len(*in))
   225  		for key, val := range *in {
   226  			(*out)[key] = val
   227  		}
   228  	}
   229  	out.RuntimeRequestTimeout = in.RuntimeRequestTimeout
   230  	out.CPUCFSQuotaPeriod = in.CPUCFSQuotaPeriod
   231  	if in.MaxParallelImagePulls != nil {
   232  		in, out := &in.MaxParallelImagePulls, &out.MaxParallelImagePulls
   233  		*out = new(int32)
   234  		**out = **in
   235  	}
   236  	if in.EvictionHard != nil {
   237  		in, out := &in.EvictionHard, &out.EvictionHard
   238  		*out = make(map[string]string, len(*in))
   239  		for key, val := range *in {
   240  			(*out)[key] = val
   241  		}
   242  	}
   243  	if in.EvictionSoft != nil {
   244  		in, out := &in.EvictionSoft, &out.EvictionSoft
   245  		*out = make(map[string]string, len(*in))
   246  		for key, val := range *in {
   247  			(*out)[key] = val
   248  		}
   249  	}
   250  	if in.EvictionSoftGracePeriod != nil {
   251  		in, out := &in.EvictionSoftGracePeriod, &out.EvictionSoftGracePeriod
   252  		*out = make(map[string]string, len(*in))
   253  		for key, val := range *in {
   254  			(*out)[key] = val
   255  		}
   256  	}
   257  	out.EvictionPressureTransitionPeriod = in.EvictionPressureTransitionPeriod
   258  	if in.EvictionMinimumReclaim != nil {
   259  		in, out := &in.EvictionMinimumReclaim, &out.EvictionMinimumReclaim
   260  		*out = make(map[string]string, len(*in))
   261  		for key, val := range *in {
   262  			(*out)[key] = val
   263  		}
   264  	}
   265  	if in.FeatureGates != nil {
   266  		in, out := &in.FeatureGates, &out.FeatureGates
   267  		*out = make(map[string]bool, len(*in))
   268  		for key, val := range *in {
   269  			(*out)[key] = val
   270  		}
   271  	}
   272  	out.MemorySwap = in.MemorySwap
   273  	if in.AllowedUnsafeSysctls != nil {
   274  		in, out := &in.AllowedUnsafeSysctls, &out.AllowedUnsafeSysctls
   275  		*out = make([]string, len(*in))
   276  		copy(*out, *in)
   277  	}
   278  	if in.SystemReserved != nil {
   279  		in, out := &in.SystemReserved, &out.SystemReserved
   280  		*out = make(map[string]string, len(*in))
   281  		for key, val := range *in {
   282  			(*out)[key] = val
   283  		}
   284  	}
   285  	if in.KubeReserved != nil {
   286  		in, out := &in.KubeReserved, &out.KubeReserved
   287  		*out = make(map[string]string, len(*in))
   288  		for key, val := range *in {
   289  			(*out)[key] = val
   290  		}
   291  	}
   292  	if in.EnforceNodeAllocatable != nil {
   293  		in, out := &in.EnforceNodeAllocatable, &out.EnforceNodeAllocatable
   294  		*out = make([]string, len(*in))
   295  		copy(*out, *in)
   296  	}
   297  	in.Logging.DeepCopyInto(&out.Logging)
   298  	out.ShutdownGracePeriod = in.ShutdownGracePeriod
   299  	out.ShutdownGracePeriodCriticalPods = in.ShutdownGracePeriodCriticalPods
   300  	if in.ShutdownGracePeriodByPodPriority != nil {
   301  		in, out := &in.ShutdownGracePeriodByPodPriority, &out.ShutdownGracePeriodByPodPriority
   302  		*out = make([]ShutdownGracePeriodByPodPriority, len(*in))
   303  		copy(*out, *in)
   304  	}
   305  	if in.ReservedMemory != nil {
   306  		in, out := &in.ReservedMemory, &out.ReservedMemory
   307  		*out = make([]MemoryReservation, len(*in))
   308  		for i := range *in {
   309  			(*in)[i].DeepCopyInto(&(*out)[i])
   310  		}
   311  	}
   312  	if in.MemoryThrottlingFactor != nil {
   313  		in, out := &in.MemoryThrottlingFactor, &out.MemoryThrottlingFactor
   314  		*out = new(float64)
   315  		**out = **in
   316  	}
   317  	if in.RegisterWithTaints != nil {
   318  		in, out := &in.RegisterWithTaints, &out.RegisterWithTaints
   319  		*out = make([]corev1.Taint, len(*in))
   320  		for i := range *in {
   321  			(*in)[i].DeepCopyInto(&(*out)[i])
   322  		}
   323  	}
   324  	if in.Tracing != nil {
   325  		in, out := &in.Tracing, &out.Tracing
   326  		*out = new(apiv1.TracingConfiguration)
   327  		(*in).DeepCopyInto(*out)
   328  	}
   329  	return
   330  }
   331  
   332  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeletConfiguration.
   333  func (in *KubeletConfiguration) DeepCopy() *KubeletConfiguration {
   334  	if in == nil {
   335  		return nil
   336  	}
   337  	out := new(KubeletConfiguration)
   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 *KubeletConfiguration) 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 *KubeletWebhookAuthentication) DeepCopyInto(out *KubeletWebhookAuthentication) {
   352  	*out = *in
   353  	out.CacheTTL = in.CacheTTL
   354  	return
   355  }
   356  
   357  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeletWebhookAuthentication.
   358  func (in *KubeletWebhookAuthentication) DeepCopy() *KubeletWebhookAuthentication {
   359  	if in == nil {
   360  		return nil
   361  	}
   362  	out := new(KubeletWebhookAuthentication)
   363  	in.DeepCopyInto(out)
   364  	return out
   365  }
   366  
   367  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   368  func (in *KubeletWebhookAuthorization) DeepCopyInto(out *KubeletWebhookAuthorization) {
   369  	*out = *in
   370  	out.CacheAuthorizedTTL = in.CacheAuthorizedTTL
   371  	out.CacheUnauthorizedTTL = in.CacheUnauthorizedTTL
   372  	return
   373  }
   374  
   375  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeletWebhookAuthorization.
   376  func (in *KubeletWebhookAuthorization) DeepCopy() *KubeletWebhookAuthorization {
   377  	if in == nil {
   378  		return nil
   379  	}
   380  	out := new(KubeletWebhookAuthorization)
   381  	in.DeepCopyInto(out)
   382  	return out
   383  }
   384  
   385  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   386  func (in *KubeletX509Authentication) DeepCopyInto(out *KubeletX509Authentication) {
   387  	*out = *in
   388  	return
   389  }
   390  
   391  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeletX509Authentication.
   392  func (in *KubeletX509Authentication) DeepCopy() *KubeletX509Authentication {
   393  	if in == nil {
   394  		return nil
   395  	}
   396  	out := new(KubeletX509Authentication)
   397  	in.DeepCopyInto(out)
   398  	return out
   399  }
   400  
   401  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   402  func (in *MemoryReservation) DeepCopyInto(out *MemoryReservation) {
   403  	*out = *in
   404  	if in.Limits != nil {
   405  		in, out := &in.Limits, &out.Limits
   406  		*out = make(corev1.ResourceList, len(*in))
   407  		for key, val := range *in {
   408  			(*out)[key] = val.DeepCopy()
   409  		}
   410  	}
   411  	return
   412  }
   413  
   414  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemoryReservation.
   415  func (in *MemoryReservation) DeepCopy() *MemoryReservation {
   416  	if in == nil {
   417  		return nil
   418  	}
   419  	out := new(MemoryReservation)
   420  	in.DeepCopyInto(out)
   421  	return out
   422  }
   423  
   424  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   425  func (in *MemorySwapConfiguration) DeepCopyInto(out *MemorySwapConfiguration) {
   426  	*out = *in
   427  	return
   428  }
   429  
   430  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemorySwapConfiguration.
   431  func (in *MemorySwapConfiguration) DeepCopy() *MemorySwapConfiguration {
   432  	if in == nil {
   433  		return nil
   434  	}
   435  	out := new(MemorySwapConfiguration)
   436  	in.DeepCopyInto(out)
   437  	return out
   438  }
   439  
   440  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   441  func (in *SerializedNodeConfigSource) DeepCopyInto(out *SerializedNodeConfigSource) {
   442  	*out = *in
   443  	out.TypeMeta = in.TypeMeta
   444  	in.Source.DeepCopyInto(&out.Source)
   445  	return
   446  }
   447  
   448  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SerializedNodeConfigSource.
   449  func (in *SerializedNodeConfigSource) DeepCopy() *SerializedNodeConfigSource {
   450  	if in == nil {
   451  		return nil
   452  	}
   453  	out := new(SerializedNodeConfigSource)
   454  	in.DeepCopyInto(out)
   455  	return out
   456  }
   457  
   458  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   459  func (in *SerializedNodeConfigSource) DeepCopyObject() runtime.Object {
   460  	if c := in.DeepCopy(); c != nil {
   461  		return c
   462  	}
   463  	return nil
   464  }
   465  
   466  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   467  func (in *ShutdownGracePeriodByPodPriority) DeepCopyInto(out *ShutdownGracePeriodByPodPriority) {
   468  	*out = *in
   469  	return
   470  }
   471  
   472  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShutdownGracePeriodByPodPriority.
   473  func (in *ShutdownGracePeriodByPodPriority) DeepCopy() *ShutdownGracePeriodByPodPriority {
   474  	if in == nil {
   475  		return nil
   476  	}
   477  	out := new(ShutdownGracePeriodByPodPriority)
   478  	in.DeepCopyInto(out)
   479  	return out
   480  }