kubesphere.io/api@v0.0.0-20231107125330-c9a03957060c/servicemesh/v1alpha2/zz_generated.deepcopy.go (about)

     1  //go:build !ignore_autogenerated
     2  // +build !ignore_autogenerated
     3  
     4  /*
     5  Copyright 2020 The KubeSphere 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 v1alpha2
    23  
    24  import (
    25  	v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    26  	runtime "k8s.io/apimachinery/pkg/runtime"
    27  )
    28  
    29  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    30  func (in *DestinationRuleSpecTemplate) DeepCopyInto(out *DestinationRuleSpecTemplate) {
    31  	*out = *in
    32  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
    33  	in.Spec.DeepCopyInto(&out.Spec)
    34  	return
    35  }
    36  
    37  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DestinationRuleSpecTemplate.
    38  func (in *DestinationRuleSpecTemplate) DeepCopy() *DestinationRuleSpecTemplate {
    39  	if in == nil {
    40  		return nil
    41  	}
    42  	out := new(DestinationRuleSpecTemplate)
    43  	in.DeepCopyInto(out)
    44  	return out
    45  }
    46  
    47  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    48  func (in *ServicePolicy) DeepCopyInto(out *ServicePolicy) {
    49  	*out = *in
    50  	out.TypeMeta = in.TypeMeta
    51  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
    52  	in.Spec.DeepCopyInto(&out.Spec)
    53  	in.Status.DeepCopyInto(&out.Status)
    54  	return
    55  }
    56  
    57  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServicePolicy.
    58  func (in *ServicePolicy) DeepCopy() *ServicePolicy {
    59  	if in == nil {
    60  		return nil
    61  	}
    62  	out := new(ServicePolicy)
    63  	in.DeepCopyInto(out)
    64  	return out
    65  }
    66  
    67  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    68  func (in *ServicePolicy) DeepCopyObject() runtime.Object {
    69  	if c := in.DeepCopy(); c != nil {
    70  		return c
    71  	}
    72  	return nil
    73  }
    74  
    75  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    76  func (in *ServicePolicyCondition) DeepCopyInto(out *ServicePolicyCondition) {
    77  	*out = *in
    78  	in.LastProbeTime.DeepCopyInto(&out.LastProbeTime)
    79  	in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime)
    80  	return
    81  }
    82  
    83  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServicePolicyCondition.
    84  func (in *ServicePolicyCondition) DeepCopy() *ServicePolicyCondition {
    85  	if in == nil {
    86  		return nil
    87  	}
    88  	out := new(ServicePolicyCondition)
    89  	in.DeepCopyInto(out)
    90  	return out
    91  }
    92  
    93  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    94  func (in *ServicePolicyList) DeepCopyInto(out *ServicePolicyList) {
    95  	*out = *in
    96  	out.TypeMeta = in.TypeMeta
    97  	in.ListMeta.DeepCopyInto(&out.ListMeta)
    98  	if in.Items != nil {
    99  		in, out := &in.Items, &out.Items
   100  		*out = make([]ServicePolicy, len(*in))
   101  		for i := range *in {
   102  			(*in)[i].DeepCopyInto(&(*out)[i])
   103  		}
   104  	}
   105  	return
   106  }
   107  
   108  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServicePolicyList.
   109  func (in *ServicePolicyList) DeepCopy() *ServicePolicyList {
   110  	if in == nil {
   111  		return nil
   112  	}
   113  	out := new(ServicePolicyList)
   114  	in.DeepCopyInto(out)
   115  	return out
   116  }
   117  
   118  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   119  func (in *ServicePolicyList) DeepCopyObject() runtime.Object {
   120  	if c := in.DeepCopy(); c != nil {
   121  		return c
   122  	}
   123  	return nil
   124  }
   125  
   126  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   127  func (in *ServicePolicySpec) DeepCopyInto(out *ServicePolicySpec) {
   128  	*out = *in
   129  	if in.Selector != nil {
   130  		in, out := &in.Selector, &out.Selector
   131  		*out = new(v1.LabelSelector)
   132  		(*in).DeepCopyInto(*out)
   133  	}
   134  	in.Template.DeepCopyInto(&out.Template)
   135  	return
   136  }
   137  
   138  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServicePolicySpec.
   139  func (in *ServicePolicySpec) DeepCopy() *ServicePolicySpec {
   140  	if in == nil {
   141  		return nil
   142  	}
   143  	out := new(ServicePolicySpec)
   144  	in.DeepCopyInto(out)
   145  	return out
   146  }
   147  
   148  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   149  func (in *ServicePolicyStatus) DeepCopyInto(out *ServicePolicyStatus) {
   150  	*out = *in
   151  	if in.Conditions != nil {
   152  		in, out := &in.Conditions, &out.Conditions
   153  		*out = make([]ServicePolicyCondition, len(*in))
   154  		for i := range *in {
   155  			(*in)[i].DeepCopyInto(&(*out)[i])
   156  		}
   157  	}
   158  	if in.StartTime != nil {
   159  		in, out := &in.StartTime, &out.StartTime
   160  		*out = (*in).DeepCopy()
   161  	}
   162  	if in.CompletionTime != nil {
   163  		in, out := &in.CompletionTime, &out.CompletionTime
   164  		*out = (*in).DeepCopy()
   165  	}
   166  	return
   167  }
   168  
   169  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServicePolicyStatus.
   170  func (in *ServicePolicyStatus) DeepCopy() *ServicePolicyStatus {
   171  	if in == nil {
   172  		return nil
   173  	}
   174  	out := new(ServicePolicyStatus)
   175  	in.DeepCopyInto(out)
   176  	return out
   177  }
   178  
   179  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   180  func (in *Strategy) DeepCopyInto(out *Strategy) {
   181  	*out = *in
   182  	out.TypeMeta = in.TypeMeta
   183  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
   184  	in.Spec.DeepCopyInto(&out.Spec)
   185  	in.Status.DeepCopyInto(&out.Status)
   186  	return
   187  }
   188  
   189  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Strategy.
   190  func (in *Strategy) DeepCopy() *Strategy {
   191  	if in == nil {
   192  		return nil
   193  	}
   194  	out := new(Strategy)
   195  	in.DeepCopyInto(out)
   196  	return out
   197  }
   198  
   199  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   200  func (in *Strategy) DeepCopyObject() runtime.Object {
   201  	if c := in.DeepCopy(); c != nil {
   202  		return c
   203  	}
   204  	return nil
   205  }
   206  
   207  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   208  func (in *StrategyCondition) DeepCopyInto(out *StrategyCondition) {
   209  	*out = *in
   210  	in.LastProbeTime.DeepCopyInto(&out.LastProbeTime)
   211  	in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime)
   212  	return
   213  }
   214  
   215  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StrategyCondition.
   216  func (in *StrategyCondition) DeepCopy() *StrategyCondition {
   217  	if in == nil {
   218  		return nil
   219  	}
   220  	out := new(StrategyCondition)
   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 *StrategyList) DeepCopyInto(out *StrategyList) {
   227  	*out = *in
   228  	out.TypeMeta = in.TypeMeta
   229  	in.ListMeta.DeepCopyInto(&out.ListMeta)
   230  	if in.Items != nil {
   231  		in, out := &in.Items, &out.Items
   232  		*out = make([]Strategy, len(*in))
   233  		for i := range *in {
   234  			(*in)[i].DeepCopyInto(&(*out)[i])
   235  		}
   236  	}
   237  	return
   238  }
   239  
   240  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StrategyList.
   241  func (in *StrategyList) DeepCopy() *StrategyList {
   242  	if in == nil {
   243  		return nil
   244  	}
   245  	out := new(StrategyList)
   246  	in.DeepCopyInto(out)
   247  	return out
   248  }
   249  
   250  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   251  func (in *StrategyList) DeepCopyObject() runtime.Object {
   252  	if c := in.DeepCopy(); c != nil {
   253  		return c
   254  	}
   255  	return nil
   256  }
   257  
   258  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   259  func (in *StrategySpec) DeepCopyInto(out *StrategySpec) {
   260  	*out = *in
   261  	if in.Selector != nil {
   262  		in, out := &in.Selector, &out.Selector
   263  		*out = new(v1.LabelSelector)
   264  		(*in).DeepCopyInto(*out)
   265  	}
   266  	in.Template.DeepCopyInto(&out.Template)
   267  	return
   268  }
   269  
   270  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StrategySpec.
   271  func (in *StrategySpec) DeepCopy() *StrategySpec {
   272  	if in == nil {
   273  		return nil
   274  	}
   275  	out := new(StrategySpec)
   276  	in.DeepCopyInto(out)
   277  	return out
   278  }
   279  
   280  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   281  func (in *StrategyStatus) DeepCopyInto(out *StrategyStatus) {
   282  	*out = *in
   283  	if in.Conditions != nil {
   284  		in, out := &in.Conditions, &out.Conditions
   285  		*out = make([]StrategyCondition, len(*in))
   286  		for i := range *in {
   287  			(*in)[i].DeepCopyInto(&(*out)[i])
   288  		}
   289  	}
   290  	if in.StartTime != nil {
   291  		in, out := &in.StartTime, &out.StartTime
   292  		*out = (*in).DeepCopy()
   293  	}
   294  	if in.CompletionTime != nil {
   295  		in, out := &in.CompletionTime, &out.CompletionTime
   296  		*out = (*in).DeepCopy()
   297  	}
   298  	return
   299  }
   300  
   301  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StrategyStatus.
   302  func (in *StrategyStatus) DeepCopy() *StrategyStatus {
   303  	if in == nil {
   304  		return nil
   305  	}
   306  	out := new(StrategyStatus)
   307  	in.DeepCopyInto(out)
   308  	return out
   309  }
   310  
   311  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   312  func (in *VirtualServiceTemplateSpec) DeepCopyInto(out *VirtualServiceTemplateSpec) {
   313  	*out = *in
   314  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
   315  	in.Spec.DeepCopyInto(&out.Spec)
   316  	return
   317  }
   318  
   319  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualServiceTemplateSpec.
   320  func (in *VirtualServiceTemplateSpec) DeepCopy() *VirtualServiceTemplateSpec {
   321  	if in == nil {
   322  		return nil
   323  	}
   324  	out := new(VirtualServiceTemplateSpec)
   325  	in.DeepCopyInto(out)
   326  	return out
   327  }