kubesphere.io/api@v0.0.0-20231107125330-c9a03957060c/tenant/v1alpha1/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 v1alpha1 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 *Workspace) DeepCopyInto(out *Workspace) { 30 *out = *in 31 out.TypeMeta = in.TypeMeta 32 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 33 in.Spec.DeepCopyInto(&out.Spec) 34 out.Status = in.Status 35 } 36 37 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Workspace. 38 func (in *Workspace) DeepCopy() *Workspace { 39 if in == nil { 40 return nil 41 } 42 out := new(Workspace) 43 in.DeepCopyInto(out) 44 return out 45 } 46 47 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 48 func (in *Workspace) DeepCopyObject() runtime.Object { 49 if c := in.DeepCopy(); c != nil { 50 return c 51 } 52 return nil 53 } 54 55 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 56 func (in *WorkspaceList) DeepCopyInto(out *WorkspaceList) { 57 *out = *in 58 out.TypeMeta = in.TypeMeta 59 in.ListMeta.DeepCopyInto(&out.ListMeta) 60 if in.Items != nil { 61 in, out := &in.Items, &out.Items 62 *out = make([]Workspace, len(*in)) 63 for i := range *in { 64 (*in)[i].DeepCopyInto(&(*out)[i]) 65 } 66 } 67 } 68 69 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceList. 70 func (in *WorkspaceList) DeepCopy() *WorkspaceList { 71 if in == nil { 72 return nil 73 } 74 out := new(WorkspaceList) 75 in.DeepCopyInto(out) 76 return out 77 } 78 79 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 80 func (in *WorkspaceList) DeepCopyObject() runtime.Object { 81 if c := in.DeepCopy(); c != nil { 82 return c 83 } 84 return nil 85 } 86 87 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 88 func (in *WorkspaceSpec) DeepCopyInto(out *WorkspaceSpec) { 89 *out = *in 90 if in.NetworkIsolation != nil { 91 in, out := &in.NetworkIsolation, &out.NetworkIsolation 92 *out = new(bool) 93 **out = **in 94 } 95 } 96 97 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceSpec. 98 func (in *WorkspaceSpec) DeepCopy() *WorkspaceSpec { 99 if in == nil { 100 return nil 101 } 102 out := new(WorkspaceSpec) 103 in.DeepCopyInto(out) 104 return out 105 } 106 107 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 108 func (in *WorkspaceStatus) DeepCopyInto(out *WorkspaceStatus) { 109 *out = *in 110 } 111 112 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceStatus. 113 func (in *WorkspaceStatus) DeepCopy() *WorkspaceStatus { 114 if in == nil { 115 return nil 116 } 117 out := new(WorkspaceStatus) 118 in.DeepCopyInto(out) 119 return out 120 }