kubesphere.io/api@v0.0.0-20231107125330-c9a03957060c/tenant/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 controller-gen. DO NOT EDIT.
    21  
    22  package v1alpha2
    23  
    24  import (
    25  	runtime "k8s.io/apimachinery/pkg/runtime"
    26  )
    27  
    28  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    29  func (in *WorkspaceTemplate) DeepCopyInto(out *WorkspaceTemplate) {
    30  	*out = *in
    31  	out.TypeMeta = in.TypeMeta
    32  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
    33  	in.Spec.DeepCopyInto(&out.Spec)
    34  }
    35  
    36  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceTemplate.
    37  func (in *WorkspaceTemplate) DeepCopy() *WorkspaceTemplate {
    38  	if in == nil {
    39  		return nil
    40  	}
    41  	out := new(WorkspaceTemplate)
    42  	in.DeepCopyInto(out)
    43  	return out
    44  }
    45  
    46  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    47  func (in *WorkspaceTemplate) DeepCopyObject() runtime.Object {
    48  	if c := in.DeepCopy(); c != nil {
    49  		return c
    50  	}
    51  	return nil
    52  }
    53  
    54  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    55  func (in *WorkspaceTemplateList) DeepCopyInto(out *WorkspaceTemplateList) {
    56  	*out = *in
    57  	out.TypeMeta = in.TypeMeta
    58  	in.ListMeta.DeepCopyInto(&out.ListMeta)
    59  	if in.Items != nil {
    60  		in, out := &in.Items, &out.Items
    61  		*out = make([]WorkspaceTemplate, len(*in))
    62  		for i := range *in {
    63  			(*in)[i].DeepCopyInto(&(*out)[i])
    64  		}
    65  	}
    66  }
    67  
    68  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceTemplateList.
    69  func (in *WorkspaceTemplateList) DeepCopy() *WorkspaceTemplateList {
    70  	if in == nil {
    71  		return nil
    72  	}
    73  	out := new(WorkspaceTemplateList)
    74  	in.DeepCopyInto(out)
    75  	return out
    76  }
    77  
    78  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    79  func (in *WorkspaceTemplateList) DeepCopyObject() runtime.Object {
    80  	if c := in.DeepCopy(); c != nil {
    81  		return c
    82  	}
    83  	return nil
    84  }