...

Source file src/k8s.io/api/apps/v1beta2/zz_generated.deepcopy.go

Documentation: k8s.io/api/apps/v1beta2

     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 v1beta2
    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  	intstr "k8s.io/apimachinery/pkg/util/intstr"
    29  )
    30  
    31  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    32  func (in *ControllerRevision) DeepCopyInto(out *ControllerRevision) {
    33  	*out = *in
    34  	out.TypeMeta = in.TypeMeta
    35  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
    36  	in.Data.DeepCopyInto(&out.Data)
    37  	return
    38  }
    39  
    40  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControllerRevision.
    41  func (in *ControllerRevision) DeepCopy() *ControllerRevision {
    42  	if in == nil {
    43  		return nil
    44  	}
    45  	out := new(ControllerRevision)
    46  	in.DeepCopyInto(out)
    47  	return out
    48  }
    49  
    50  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    51  func (in *ControllerRevision) DeepCopyObject() runtime.Object {
    52  	if c := in.DeepCopy(); c != nil {
    53  		return c
    54  	}
    55  	return nil
    56  }
    57  
    58  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    59  func (in *ControllerRevisionList) DeepCopyInto(out *ControllerRevisionList) {
    60  	*out = *in
    61  	out.TypeMeta = in.TypeMeta
    62  	in.ListMeta.DeepCopyInto(&out.ListMeta)
    63  	if in.Items != nil {
    64  		in, out := &in.Items, &out.Items
    65  		*out = make([]ControllerRevision, len(*in))
    66  		for i := range *in {
    67  			(*in)[i].DeepCopyInto(&(*out)[i])
    68  		}
    69  	}
    70  	return
    71  }
    72  
    73  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControllerRevisionList.
    74  func (in *ControllerRevisionList) DeepCopy() *ControllerRevisionList {
    75  	if in == nil {
    76  		return nil
    77  	}
    78  	out := new(ControllerRevisionList)
    79  	in.DeepCopyInto(out)
    80  	return out
    81  }
    82  
    83  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    84  func (in *ControllerRevisionList) DeepCopyObject() runtime.Object {
    85  	if c := in.DeepCopy(); c != nil {
    86  		return c
    87  	}
    88  	return nil
    89  }
    90  
    91  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    92  func (in *DaemonSet) DeepCopyInto(out *DaemonSet) {
    93  	*out = *in
    94  	out.TypeMeta = in.TypeMeta
    95  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
    96  	in.Spec.DeepCopyInto(&out.Spec)
    97  	in.Status.DeepCopyInto(&out.Status)
    98  	return
    99  }
   100  
   101  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DaemonSet.
   102  func (in *DaemonSet) DeepCopy() *DaemonSet {
   103  	if in == nil {
   104  		return nil
   105  	}
   106  	out := new(DaemonSet)
   107  	in.DeepCopyInto(out)
   108  	return out
   109  }
   110  
   111  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   112  func (in *DaemonSet) DeepCopyObject() runtime.Object {
   113  	if c := in.DeepCopy(); c != nil {
   114  		return c
   115  	}
   116  	return nil
   117  }
   118  
   119  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   120  func (in *DaemonSetCondition) DeepCopyInto(out *DaemonSetCondition) {
   121  	*out = *in
   122  	in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime)
   123  	return
   124  }
   125  
   126  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DaemonSetCondition.
   127  func (in *DaemonSetCondition) DeepCopy() *DaemonSetCondition {
   128  	if in == nil {
   129  		return nil
   130  	}
   131  	out := new(DaemonSetCondition)
   132  	in.DeepCopyInto(out)
   133  	return out
   134  }
   135  
   136  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   137  func (in *DaemonSetList) DeepCopyInto(out *DaemonSetList) {
   138  	*out = *in
   139  	out.TypeMeta = in.TypeMeta
   140  	in.ListMeta.DeepCopyInto(&out.ListMeta)
   141  	if in.Items != nil {
   142  		in, out := &in.Items, &out.Items
   143  		*out = make([]DaemonSet, len(*in))
   144  		for i := range *in {
   145  			(*in)[i].DeepCopyInto(&(*out)[i])
   146  		}
   147  	}
   148  	return
   149  }
   150  
   151  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DaemonSetList.
   152  func (in *DaemonSetList) DeepCopy() *DaemonSetList {
   153  	if in == nil {
   154  		return nil
   155  	}
   156  	out := new(DaemonSetList)
   157  	in.DeepCopyInto(out)
   158  	return out
   159  }
   160  
   161  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   162  func (in *DaemonSetList) DeepCopyObject() runtime.Object {
   163  	if c := in.DeepCopy(); c != nil {
   164  		return c
   165  	}
   166  	return nil
   167  }
   168  
   169  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   170  func (in *DaemonSetSpec) DeepCopyInto(out *DaemonSetSpec) {
   171  	*out = *in
   172  	if in.Selector != nil {
   173  		in, out := &in.Selector, &out.Selector
   174  		*out = new(v1.LabelSelector)
   175  		(*in).DeepCopyInto(*out)
   176  	}
   177  	in.Template.DeepCopyInto(&out.Template)
   178  	in.UpdateStrategy.DeepCopyInto(&out.UpdateStrategy)
   179  	if in.RevisionHistoryLimit != nil {
   180  		in, out := &in.RevisionHistoryLimit, &out.RevisionHistoryLimit
   181  		*out = new(int32)
   182  		**out = **in
   183  	}
   184  	return
   185  }
   186  
   187  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DaemonSetSpec.
   188  func (in *DaemonSetSpec) DeepCopy() *DaemonSetSpec {
   189  	if in == nil {
   190  		return nil
   191  	}
   192  	out := new(DaemonSetSpec)
   193  	in.DeepCopyInto(out)
   194  	return out
   195  }
   196  
   197  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   198  func (in *DaemonSetStatus) DeepCopyInto(out *DaemonSetStatus) {
   199  	*out = *in
   200  	if in.CollisionCount != nil {
   201  		in, out := &in.CollisionCount, &out.CollisionCount
   202  		*out = new(int32)
   203  		**out = **in
   204  	}
   205  	if in.Conditions != nil {
   206  		in, out := &in.Conditions, &out.Conditions
   207  		*out = make([]DaemonSetCondition, len(*in))
   208  		for i := range *in {
   209  			(*in)[i].DeepCopyInto(&(*out)[i])
   210  		}
   211  	}
   212  	return
   213  }
   214  
   215  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DaemonSetStatus.
   216  func (in *DaemonSetStatus) DeepCopy() *DaemonSetStatus {
   217  	if in == nil {
   218  		return nil
   219  	}
   220  	out := new(DaemonSetStatus)
   221  	in.DeepCopyInto(out)
   222  	return out
   223  }
   224  
   225  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   226  func (in *DaemonSetUpdateStrategy) DeepCopyInto(out *DaemonSetUpdateStrategy) {
   227  	*out = *in
   228  	if in.RollingUpdate != nil {
   229  		in, out := &in.RollingUpdate, &out.RollingUpdate
   230  		*out = new(RollingUpdateDaemonSet)
   231  		(*in).DeepCopyInto(*out)
   232  	}
   233  	return
   234  }
   235  
   236  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DaemonSetUpdateStrategy.
   237  func (in *DaemonSetUpdateStrategy) DeepCopy() *DaemonSetUpdateStrategy {
   238  	if in == nil {
   239  		return nil
   240  	}
   241  	out := new(DaemonSetUpdateStrategy)
   242  	in.DeepCopyInto(out)
   243  	return out
   244  }
   245  
   246  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   247  func (in *Deployment) DeepCopyInto(out *Deployment) {
   248  	*out = *in
   249  	out.TypeMeta = in.TypeMeta
   250  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
   251  	in.Spec.DeepCopyInto(&out.Spec)
   252  	in.Status.DeepCopyInto(&out.Status)
   253  	return
   254  }
   255  
   256  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Deployment.
   257  func (in *Deployment) DeepCopy() *Deployment {
   258  	if in == nil {
   259  		return nil
   260  	}
   261  	out := new(Deployment)
   262  	in.DeepCopyInto(out)
   263  	return out
   264  }
   265  
   266  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   267  func (in *Deployment) DeepCopyObject() runtime.Object {
   268  	if c := in.DeepCopy(); c != nil {
   269  		return c
   270  	}
   271  	return nil
   272  }
   273  
   274  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   275  func (in *DeploymentCondition) DeepCopyInto(out *DeploymentCondition) {
   276  	*out = *in
   277  	in.LastUpdateTime.DeepCopyInto(&out.LastUpdateTime)
   278  	in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime)
   279  	return
   280  }
   281  
   282  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentCondition.
   283  func (in *DeploymentCondition) DeepCopy() *DeploymentCondition {
   284  	if in == nil {
   285  		return nil
   286  	}
   287  	out := new(DeploymentCondition)
   288  	in.DeepCopyInto(out)
   289  	return out
   290  }
   291  
   292  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   293  func (in *DeploymentList) DeepCopyInto(out *DeploymentList) {
   294  	*out = *in
   295  	out.TypeMeta = in.TypeMeta
   296  	in.ListMeta.DeepCopyInto(&out.ListMeta)
   297  	if in.Items != nil {
   298  		in, out := &in.Items, &out.Items
   299  		*out = make([]Deployment, len(*in))
   300  		for i := range *in {
   301  			(*in)[i].DeepCopyInto(&(*out)[i])
   302  		}
   303  	}
   304  	return
   305  }
   306  
   307  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentList.
   308  func (in *DeploymentList) DeepCopy() *DeploymentList {
   309  	if in == nil {
   310  		return nil
   311  	}
   312  	out := new(DeploymentList)
   313  	in.DeepCopyInto(out)
   314  	return out
   315  }
   316  
   317  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   318  func (in *DeploymentList) DeepCopyObject() runtime.Object {
   319  	if c := in.DeepCopy(); c != nil {
   320  		return c
   321  	}
   322  	return nil
   323  }
   324  
   325  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   326  func (in *DeploymentSpec) DeepCopyInto(out *DeploymentSpec) {
   327  	*out = *in
   328  	if in.Replicas != nil {
   329  		in, out := &in.Replicas, &out.Replicas
   330  		*out = new(int32)
   331  		**out = **in
   332  	}
   333  	if in.Selector != nil {
   334  		in, out := &in.Selector, &out.Selector
   335  		*out = new(v1.LabelSelector)
   336  		(*in).DeepCopyInto(*out)
   337  	}
   338  	in.Template.DeepCopyInto(&out.Template)
   339  	in.Strategy.DeepCopyInto(&out.Strategy)
   340  	if in.RevisionHistoryLimit != nil {
   341  		in, out := &in.RevisionHistoryLimit, &out.RevisionHistoryLimit
   342  		*out = new(int32)
   343  		**out = **in
   344  	}
   345  	if in.ProgressDeadlineSeconds != nil {
   346  		in, out := &in.ProgressDeadlineSeconds, &out.ProgressDeadlineSeconds
   347  		*out = new(int32)
   348  		**out = **in
   349  	}
   350  	return
   351  }
   352  
   353  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentSpec.
   354  func (in *DeploymentSpec) DeepCopy() *DeploymentSpec {
   355  	if in == nil {
   356  		return nil
   357  	}
   358  	out := new(DeploymentSpec)
   359  	in.DeepCopyInto(out)
   360  	return out
   361  }
   362  
   363  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   364  func (in *DeploymentStatus) DeepCopyInto(out *DeploymentStatus) {
   365  	*out = *in
   366  	if in.Conditions != nil {
   367  		in, out := &in.Conditions, &out.Conditions
   368  		*out = make([]DeploymentCondition, len(*in))
   369  		for i := range *in {
   370  			(*in)[i].DeepCopyInto(&(*out)[i])
   371  		}
   372  	}
   373  	if in.CollisionCount != nil {
   374  		in, out := &in.CollisionCount, &out.CollisionCount
   375  		*out = new(int32)
   376  		**out = **in
   377  	}
   378  	return
   379  }
   380  
   381  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentStatus.
   382  func (in *DeploymentStatus) DeepCopy() *DeploymentStatus {
   383  	if in == nil {
   384  		return nil
   385  	}
   386  	out := new(DeploymentStatus)
   387  	in.DeepCopyInto(out)
   388  	return out
   389  }
   390  
   391  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   392  func (in *DeploymentStrategy) DeepCopyInto(out *DeploymentStrategy) {
   393  	*out = *in
   394  	if in.RollingUpdate != nil {
   395  		in, out := &in.RollingUpdate, &out.RollingUpdate
   396  		*out = new(RollingUpdateDeployment)
   397  		(*in).DeepCopyInto(*out)
   398  	}
   399  	return
   400  }
   401  
   402  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentStrategy.
   403  func (in *DeploymentStrategy) DeepCopy() *DeploymentStrategy {
   404  	if in == nil {
   405  		return nil
   406  	}
   407  	out := new(DeploymentStrategy)
   408  	in.DeepCopyInto(out)
   409  	return out
   410  }
   411  
   412  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   413  func (in *ReplicaSet) DeepCopyInto(out *ReplicaSet) {
   414  	*out = *in
   415  	out.TypeMeta = in.TypeMeta
   416  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
   417  	in.Spec.DeepCopyInto(&out.Spec)
   418  	in.Status.DeepCopyInto(&out.Status)
   419  	return
   420  }
   421  
   422  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaSet.
   423  func (in *ReplicaSet) DeepCopy() *ReplicaSet {
   424  	if in == nil {
   425  		return nil
   426  	}
   427  	out := new(ReplicaSet)
   428  	in.DeepCopyInto(out)
   429  	return out
   430  }
   431  
   432  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   433  func (in *ReplicaSet) DeepCopyObject() runtime.Object {
   434  	if c := in.DeepCopy(); c != nil {
   435  		return c
   436  	}
   437  	return nil
   438  }
   439  
   440  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   441  func (in *ReplicaSetCondition) DeepCopyInto(out *ReplicaSetCondition) {
   442  	*out = *in
   443  	in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime)
   444  	return
   445  }
   446  
   447  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaSetCondition.
   448  func (in *ReplicaSetCondition) DeepCopy() *ReplicaSetCondition {
   449  	if in == nil {
   450  		return nil
   451  	}
   452  	out := new(ReplicaSetCondition)
   453  	in.DeepCopyInto(out)
   454  	return out
   455  }
   456  
   457  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   458  func (in *ReplicaSetList) DeepCopyInto(out *ReplicaSetList) {
   459  	*out = *in
   460  	out.TypeMeta = in.TypeMeta
   461  	in.ListMeta.DeepCopyInto(&out.ListMeta)
   462  	if in.Items != nil {
   463  		in, out := &in.Items, &out.Items
   464  		*out = make([]ReplicaSet, len(*in))
   465  		for i := range *in {
   466  			(*in)[i].DeepCopyInto(&(*out)[i])
   467  		}
   468  	}
   469  	return
   470  }
   471  
   472  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaSetList.
   473  func (in *ReplicaSetList) DeepCopy() *ReplicaSetList {
   474  	if in == nil {
   475  		return nil
   476  	}
   477  	out := new(ReplicaSetList)
   478  	in.DeepCopyInto(out)
   479  	return out
   480  }
   481  
   482  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   483  func (in *ReplicaSetList) DeepCopyObject() runtime.Object {
   484  	if c := in.DeepCopy(); c != nil {
   485  		return c
   486  	}
   487  	return nil
   488  }
   489  
   490  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   491  func (in *ReplicaSetSpec) DeepCopyInto(out *ReplicaSetSpec) {
   492  	*out = *in
   493  	if in.Replicas != nil {
   494  		in, out := &in.Replicas, &out.Replicas
   495  		*out = new(int32)
   496  		**out = **in
   497  	}
   498  	if in.Selector != nil {
   499  		in, out := &in.Selector, &out.Selector
   500  		*out = new(v1.LabelSelector)
   501  		(*in).DeepCopyInto(*out)
   502  	}
   503  	in.Template.DeepCopyInto(&out.Template)
   504  	return
   505  }
   506  
   507  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaSetSpec.
   508  func (in *ReplicaSetSpec) DeepCopy() *ReplicaSetSpec {
   509  	if in == nil {
   510  		return nil
   511  	}
   512  	out := new(ReplicaSetSpec)
   513  	in.DeepCopyInto(out)
   514  	return out
   515  }
   516  
   517  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   518  func (in *ReplicaSetStatus) DeepCopyInto(out *ReplicaSetStatus) {
   519  	*out = *in
   520  	if in.Conditions != nil {
   521  		in, out := &in.Conditions, &out.Conditions
   522  		*out = make([]ReplicaSetCondition, len(*in))
   523  		for i := range *in {
   524  			(*in)[i].DeepCopyInto(&(*out)[i])
   525  		}
   526  	}
   527  	return
   528  }
   529  
   530  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaSetStatus.
   531  func (in *ReplicaSetStatus) DeepCopy() *ReplicaSetStatus {
   532  	if in == nil {
   533  		return nil
   534  	}
   535  	out := new(ReplicaSetStatus)
   536  	in.DeepCopyInto(out)
   537  	return out
   538  }
   539  
   540  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   541  func (in *RollingUpdateDaemonSet) DeepCopyInto(out *RollingUpdateDaemonSet) {
   542  	*out = *in
   543  	if in.MaxUnavailable != nil {
   544  		in, out := &in.MaxUnavailable, &out.MaxUnavailable
   545  		*out = new(intstr.IntOrString)
   546  		**out = **in
   547  	}
   548  	if in.MaxSurge != nil {
   549  		in, out := &in.MaxSurge, &out.MaxSurge
   550  		*out = new(intstr.IntOrString)
   551  		**out = **in
   552  	}
   553  	return
   554  }
   555  
   556  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RollingUpdateDaemonSet.
   557  func (in *RollingUpdateDaemonSet) DeepCopy() *RollingUpdateDaemonSet {
   558  	if in == nil {
   559  		return nil
   560  	}
   561  	out := new(RollingUpdateDaemonSet)
   562  	in.DeepCopyInto(out)
   563  	return out
   564  }
   565  
   566  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   567  func (in *RollingUpdateDeployment) DeepCopyInto(out *RollingUpdateDeployment) {
   568  	*out = *in
   569  	if in.MaxUnavailable != nil {
   570  		in, out := &in.MaxUnavailable, &out.MaxUnavailable
   571  		*out = new(intstr.IntOrString)
   572  		**out = **in
   573  	}
   574  	if in.MaxSurge != nil {
   575  		in, out := &in.MaxSurge, &out.MaxSurge
   576  		*out = new(intstr.IntOrString)
   577  		**out = **in
   578  	}
   579  	return
   580  }
   581  
   582  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RollingUpdateDeployment.
   583  func (in *RollingUpdateDeployment) DeepCopy() *RollingUpdateDeployment {
   584  	if in == nil {
   585  		return nil
   586  	}
   587  	out := new(RollingUpdateDeployment)
   588  	in.DeepCopyInto(out)
   589  	return out
   590  }
   591  
   592  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   593  func (in *RollingUpdateStatefulSetStrategy) DeepCopyInto(out *RollingUpdateStatefulSetStrategy) {
   594  	*out = *in
   595  	if in.Partition != nil {
   596  		in, out := &in.Partition, &out.Partition
   597  		*out = new(int32)
   598  		**out = **in
   599  	}
   600  	if in.MaxUnavailable != nil {
   601  		in, out := &in.MaxUnavailable, &out.MaxUnavailable
   602  		*out = new(intstr.IntOrString)
   603  		**out = **in
   604  	}
   605  	return
   606  }
   607  
   608  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RollingUpdateStatefulSetStrategy.
   609  func (in *RollingUpdateStatefulSetStrategy) DeepCopy() *RollingUpdateStatefulSetStrategy {
   610  	if in == nil {
   611  		return nil
   612  	}
   613  	out := new(RollingUpdateStatefulSetStrategy)
   614  	in.DeepCopyInto(out)
   615  	return out
   616  }
   617  
   618  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   619  func (in *Scale) DeepCopyInto(out *Scale) {
   620  	*out = *in
   621  	out.TypeMeta = in.TypeMeta
   622  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
   623  	out.Spec = in.Spec
   624  	in.Status.DeepCopyInto(&out.Status)
   625  	return
   626  }
   627  
   628  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Scale.
   629  func (in *Scale) DeepCopy() *Scale {
   630  	if in == nil {
   631  		return nil
   632  	}
   633  	out := new(Scale)
   634  	in.DeepCopyInto(out)
   635  	return out
   636  }
   637  
   638  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   639  func (in *Scale) DeepCopyObject() runtime.Object {
   640  	if c := in.DeepCopy(); c != nil {
   641  		return c
   642  	}
   643  	return nil
   644  }
   645  
   646  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   647  func (in *ScaleSpec) DeepCopyInto(out *ScaleSpec) {
   648  	*out = *in
   649  	return
   650  }
   651  
   652  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScaleSpec.
   653  func (in *ScaleSpec) DeepCopy() *ScaleSpec {
   654  	if in == nil {
   655  		return nil
   656  	}
   657  	out := new(ScaleSpec)
   658  	in.DeepCopyInto(out)
   659  	return out
   660  }
   661  
   662  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   663  func (in *ScaleStatus) DeepCopyInto(out *ScaleStatus) {
   664  	*out = *in
   665  	if in.Selector != nil {
   666  		in, out := &in.Selector, &out.Selector
   667  		*out = make(map[string]string, len(*in))
   668  		for key, val := range *in {
   669  			(*out)[key] = val
   670  		}
   671  	}
   672  	return
   673  }
   674  
   675  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScaleStatus.
   676  func (in *ScaleStatus) DeepCopy() *ScaleStatus {
   677  	if in == nil {
   678  		return nil
   679  	}
   680  	out := new(ScaleStatus)
   681  	in.DeepCopyInto(out)
   682  	return out
   683  }
   684  
   685  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   686  func (in *StatefulSet) DeepCopyInto(out *StatefulSet) {
   687  	*out = *in
   688  	out.TypeMeta = in.TypeMeta
   689  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
   690  	in.Spec.DeepCopyInto(&out.Spec)
   691  	in.Status.DeepCopyInto(&out.Status)
   692  	return
   693  }
   694  
   695  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSet.
   696  func (in *StatefulSet) DeepCopy() *StatefulSet {
   697  	if in == nil {
   698  		return nil
   699  	}
   700  	out := new(StatefulSet)
   701  	in.DeepCopyInto(out)
   702  	return out
   703  }
   704  
   705  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   706  func (in *StatefulSet) DeepCopyObject() runtime.Object {
   707  	if c := in.DeepCopy(); c != nil {
   708  		return c
   709  	}
   710  	return nil
   711  }
   712  
   713  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   714  func (in *StatefulSetCondition) DeepCopyInto(out *StatefulSetCondition) {
   715  	*out = *in
   716  	in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime)
   717  	return
   718  }
   719  
   720  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetCondition.
   721  func (in *StatefulSetCondition) DeepCopy() *StatefulSetCondition {
   722  	if in == nil {
   723  		return nil
   724  	}
   725  	out := new(StatefulSetCondition)
   726  	in.DeepCopyInto(out)
   727  	return out
   728  }
   729  
   730  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   731  func (in *StatefulSetList) DeepCopyInto(out *StatefulSetList) {
   732  	*out = *in
   733  	out.TypeMeta = in.TypeMeta
   734  	in.ListMeta.DeepCopyInto(&out.ListMeta)
   735  	if in.Items != nil {
   736  		in, out := &in.Items, &out.Items
   737  		*out = make([]StatefulSet, len(*in))
   738  		for i := range *in {
   739  			(*in)[i].DeepCopyInto(&(*out)[i])
   740  		}
   741  	}
   742  	return
   743  }
   744  
   745  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetList.
   746  func (in *StatefulSetList) DeepCopy() *StatefulSetList {
   747  	if in == nil {
   748  		return nil
   749  	}
   750  	out := new(StatefulSetList)
   751  	in.DeepCopyInto(out)
   752  	return out
   753  }
   754  
   755  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   756  func (in *StatefulSetList) DeepCopyObject() runtime.Object {
   757  	if c := in.DeepCopy(); c != nil {
   758  		return c
   759  	}
   760  	return nil
   761  }
   762  
   763  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   764  func (in *StatefulSetOrdinals) DeepCopyInto(out *StatefulSetOrdinals) {
   765  	*out = *in
   766  	return
   767  }
   768  
   769  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetOrdinals.
   770  func (in *StatefulSetOrdinals) DeepCopy() *StatefulSetOrdinals {
   771  	if in == nil {
   772  		return nil
   773  	}
   774  	out := new(StatefulSetOrdinals)
   775  	in.DeepCopyInto(out)
   776  	return out
   777  }
   778  
   779  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   780  func (in *StatefulSetPersistentVolumeClaimRetentionPolicy) DeepCopyInto(out *StatefulSetPersistentVolumeClaimRetentionPolicy) {
   781  	*out = *in
   782  	return
   783  }
   784  
   785  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetPersistentVolumeClaimRetentionPolicy.
   786  func (in *StatefulSetPersistentVolumeClaimRetentionPolicy) DeepCopy() *StatefulSetPersistentVolumeClaimRetentionPolicy {
   787  	if in == nil {
   788  		return nil
   789  	}
   790  	out := new(StatefulSetPersistentVolumeClaimRetentionPolicy)
   791  	in.DeepCopyInto(out)
   792  	return out
   793  }
   794  
   795  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   796  func (in *StatefulSetSpec) DeepCopyInto(out *StatefulSetSpec) {
   797  	*out = *in
   798  	if in.Replicas != nil {
   799  		in, out := &in.Replicas, &out.Replicas
   800  		*out = new(int32)
   801  		**out = **in
   802  	}
   803  	if in.Selector != nil {
   804  		in, out := &in.Selector, &out.Selector
   805  		*out = new(v1.LabelSelector)
   806  		(*in).DeepCopyInto(*out)
   807  	}
   808  	in.Template.DeepCopyInto(&out.Template)
   809  	if in.VolumeClaimTemplates != nil {
   810  		in, out := &in.VolumeClaimTemplates, &out.VolumeClaimTemplates
   811  		*out = make([]corev1.PersistentVolumeClaim, len(*in))
   812  		for i := range *in {
   813  			(*in)[i].DeepCopyInto(&(*out)[i])
   814  		}
   815  	}
   816  	in.UpdateStrategy.DeepCopyInto(&out.UpdateStrategy)
   817  	if in.RevisionHistoryLimit != nil {
   818  		in, out := &in.RevisionHistoryLimit, &out.RevisionHistoryLimit
   819  		*out = new(int32)
   820  		**out = **in
   821  	}
   822  	if in.PersistentVolumeClaimRetentionPolicy != nil {
   823  		in, out := &in.PersistentVolumeClaimRetentionPolicy, &out.PersistentVolumeClaimRetentionPolicy
   824  		*out = new(StatefulSetPersistentVolumeClaimRetentionPolicy)
   825  		**out = **in
   826  	}
   827  	if in.Ordinals != nil {
   828  		in, out := &in.Ordinals, &out.Ordinals
   829  		*out = new(StatefulSetOrdinals)
   830  		**out = **in
   831  	}
   832  	return
   833  }
   834  
   835  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetSpec.
   836  func (in *StatefulSetSpec) DeepCopy() *StatefulSetSpec {
   837  	if in == nil {
   838  		return nil
   839  	}
   840  	out := new(StatefulSetSpec)
   841  	in.DeepCopyInto(out)
   842  	return out
   843  }
   844  
   845  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   846  func (in *StatefulSetStatus) DeepCopyInto(out *StatefulSetStatus) {
   847  	*out = *in
   848  	if in.CollisionCount != nil {
   849  		in, out := &in.CollisionCount, &out.CollisionCount
   850  		*out = new(int32)
   851  		**out = **in
   852  	}
   853  	if in.Conditions != nil {
   854  		in, out := &in.Conditions, &out.Conditions
   855  		*out = make([]StatefulSetCondition, len(*in))
   856  		for i := range *in {
   857  			(*in)[i].DeepCopyInto(&(*out)[i])
   858  		}
   859  	}
   860  	return
   861  }
   862  
   863  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetStatus.
   864  func (in *StatefulSetStatus) DeepCopy() *StatefulSetStatus {
   865  	if in == nil {
   866  		return nil
   867  	}
   868  	out := new(StatefulSetStatus)
   869  	in.DeepCopyInto(out)
   870  	return out
   871  }
   872  
   873  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   874  func (in *StatefulSetUpdateStrategy) DeepCopyInto(out *StatefulSetUpdateStrategy) {
   875  	*out = *in
   876  	if in.RollingUpdate != nil {
   877  		in, out := &in.RollingUpdate, &out.RollingUpdate
   878  		*out = new(RollingUpdateStatefulSetStrategy)
   879  		(*in).DeepCopyInto(*out)
   880  	}
   881  	return
   882  }
   883  
   884  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetUpdateStrategy.
   885  func (in *StatefulSetUpdateStrategy) DeepCopy() *StatefulSetUpdateStrategy {
   886  	if in == nil {
   887  		return nil
   888  	}
   889  	out := new(StatefulSetUpdateStrategy)
   890  	in.DeepCopyInto(out)
   891  	return out
   892  }
   893  

View as plain text