...

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

Documentation: k8s.io/api/apps/v1

     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 v1
    23  
    24  import (
    25  	corev1 "k8s.io/api/core/v1"
    26  	metav1 "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(metav1.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(metav1.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(metav1.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 *StatefulSet) DeepCopyInto(out *StatefulSet) {
   620  	*out = *in
   621  	out.TypeMeta = in.TypeMeta
   622  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
   623  	in.Spec.DeepCopyInto(&out.Spec)
   624  	in.Status.DeepCopyInto(&out.Status)
   625  	return
   626  }
   627  
   628  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSet.
   629  func (in *StatefulSet) DeepCopy() *StatefulSet {
   630  	if in == nil {
   631  		return nil
   632  	}
   633  	out := new(StatefulSet)
   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 *StatefulSet) 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 *StatefulSetCondition) DeepCopyInto(out *StatefulSetCondition) {
   648  	*out = *in
   649  	in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime)
   650  	return
   651  }
   652  
   653  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetCondition.
   654  func (in *StatefulSetCondition) DeepCopy() *StatefulSetCondition {
   655  	if in == nil {
   656  		return nil
   657  	}
   658  	out := new(StatefulSetCondition)
   659  	in.DeepCopyInto(out)
   660  	return out
   661  }
   662  
   663  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   664  func (in *StatefulSetList) DeepCopyInto(out *StatefulSetList) {
   665  	*out = *in
   666  	out.TypeMeta = in.TypeMeta
   667  	in.ListMeta.DeepCopyInto(&out.ListMeta)
   668  	if in.Items != nil {
   669  		in, out := &in.Items, &out.Items
   670  		*out = make([]StatefulSet, len(*in))
   671  		for i := range *in {
   672  			(*in)[i].DeepCopyInto(&(*out)[i])
   673  		}
   674  	}
   675  	return
   676  }
   677  
   678  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetList.
   679  func (in *StatefulSetList) DeepCopy() *StatefulSetList {
   680  	if in == nil {
   681  		return nil
   682  	}
   683  	out := new(StatefulSetList)
   684  	in.DeepCopyInto(out)
   685  	return out
   686  }
   687  
   688  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   689  func (in *StatefulSetList) DeepCopyObject() runtime.Object {
   690  	if c := in.DeepCopy(); c != nil {
   691  		return c
   692  	}
   693  	return nil
   694  }
   695  
   696  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   697  func (in *StatefulSetOrdinals) DeepCopyInto(out *StatefulSetOrdinals) {
   698  	*out = *in
   699  	return
   700  }
   701  
   702  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetOrdinals.
   703  func (in *StatefulSetOrdinals) DeepCopy() *StatefulSetOrdinals {
   704  	if in == nil {
   705  		return nil
   706  	}
   707  	out := new(StatefulSetOrdinals)
   708  	in.DeepCopyInto(out)
   709  	return out
   710  }
   711  
   712  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   713  func (in *StatefulSetPersistentVolumeClaimRetentionPolicy) DeepCopyInto(out *StatefulSetPersistentVolumeClaimRetentionPolicy) {
   714  	*out = *in
   715  	return
   716  }
   717  
   718  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetPersistentVolumeClaimRetentionPolicy.
   719  func (in *StatefulSetPersistentVolumeClaimRetentionPolicy) DeepCopy() *StatefulSetPersistentVolumeClaimRetentionPolicy {
   720  	if in == nil {
   721  		return nil
   722  	}
   723  	out := new(StatefulSetPersistentVolumeClaimRetentionPolicy)
   724  	in.DeepCopyInto(out)
   725  	return out
   726  }
   727  
   728  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   729  func (in *StatefulSetSpec) DeepCopyInto(out *StatefulSetSpec) {
   730  	*out = *in
   731  	if in.Replicas != nil {
   732  		in, out := &in.Replicas, &out.Replicas
   733  		*out = new(int32)
   734  		**out = **in
   735  	}
   736  	if in.Selector != nil {
   737  		in, out := &in.Selector, &out.Selector
   738  		*out = new(metav1.LabelSelector)
   739  		(*in).DeepCopyInto(*out)
   740  	}
   741  	in.Template.DeepCopyInto(&out.Template)
   742  	if in.VolumeClaimTemplates != nil {
   743  		in, out := &in.VolumeClaimTemplates, &out.VolumeClaimTemplates
   744  		*out = make([]corev1.PersistentVolumeClaim, len(*in))
   745  		for i := range *in {
   746  			(*in)[i].DeepCopyInto(&(*out)[i])
   747  		}
   748  	}
   749  	in.UpdateStrategy.DeepCopyInto(&out.UpdateStrategy)
   750  	if in.RevisionHistoryLimit != nil {
   751  		in, out := &in.RevisionHistoryLimit, &out.RevisionHistoryLimit
   752  		*out = new(int32)
   753  		**out = **in
   754  	}
   755  	if in.PersistentVolumeClaimRetentionPolicy != nil {
   756  		in, out := &in.PersistentVolumeClaimRetentionPolicy, &out.PersistentVolumeClaimRetentionPolicy
   757  		*out = new(StatefulSetPersistentVolumeClaimRetentionPolicy)
   758  		**out = **in
   759  	}
   760  	if in.Ordinals != nil {
   761  		in, out := &in.Ordinals, &out.Ordinals
   762  		*out = new(StatefulSetOrdinals)
   763  		**out = **in
   764  	}
   765  	return
   766  }
   767  
   768  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetSpec.
   769  func (in *StatefulSetSpec) DeepCopy() *StatefulSetSpec {
   770  	if in == nil {
   771  		return nil
   772  	}
   773  	out := new(StatefulSetSpec)
   774  	in.DeepCopyInto(out)
   775  	return out
   776  }
   777  
   778  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   779  func (in *StatefulSetStatus) DeepCopyInto(out *StatefulSetStatus) {
   780  	*out = *in
   781  	if in.CollisionCount != nil {
   782  		in, out := &in.CollisionCount, &out.CollisionCount
   783  		*out = new(int32)
   784  		**out = **in
   785  	}
   786  	if in.Conditions != nil {
   787  		in, out := &in.Conditions, &out.Conditions
   788  		*out = make([]StatefulSetCondition, len(*in))
   789  		for i := range *in {
   790  			(*in)[i].DeepCopyInto(&(*out)[i])
   791  		}
   792  	}
   793  	return
   794  }
   795  
   796  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetStatus.
   797  func (in *StatefulSetStatus) DeepCopy() *StatefulSetStatus {
   798  	if in == nil {
   799  		return nil
   800  	}
   801  	out := new(StatefulSetStatus)
   802  	in.DeepCopyInto(out)
   803  	return out
   804  }
   805  
   806  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   807  func (in *StatefulSetUpdateStrategy) DeepCopyInto(out *StatefulSetUpdateStrategy) {
   808  	*out = *in
   809  	if in.RollingUpdate != nil {
   810  		in, out := &in.RollingUpdate, &out.RollingUpdate
   811  		*out = new(RollingUpdateStatefulSetStrategy)
   812  		(*in).DeepCopyInto(*out)
   813  	}
   814  	return
   815  }
   816  
   817  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetUpdateStrategy.
   818  func (in *StatefulSetUpdateStrategy) DeepCopy() *StatefulSetUpdateStrategy {
   819  	if in == nil {
   820  		return nil
   821  	}
   822  	out := new(StatefulSetUpdateStrategy)
   823  	in.DeepCopyInto(out)
   824  	return out
   825  }
   826  

View as plain text