github.com/inspektor-gadget/inspektor-gadget@v0.28.1/pkg/apis/gadget/v1alpha1/zz_generated.deepcopy.go (about) 1 //go:build !ignore_autogenerated 2 // +build !ignore_autogenerated 3 4 // Copyright 2019-2021 The Inspektor Gadget authors 5 // 6 // Licensed under the Apache License, Version 2.0 (the "License"); 7 // you may not use this file except in compliance with the License. 8 // You may obtain a copy of the License at 9 // 10 // http://www.apache.org/licenses/LICENSE-2.0 11 // 12 // Unless required by applicable law or agreed to in writing, software 13 // distributed under the License is distributed on an "AS IS" BASIS, 14 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 // See the License for the specific language governing permissions and 16 // limitations under the License. 17 18 // Code generated by controller-gen. DO NOT EDIT. 19 20 package v1alpha1 21 22 import ( 23 runtime "k8s.io/apimachinery/pkg/runtime" 24 ) 25 26 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 27 func (in *ContainerFilter) DeepCopyInto(out *ContainerFilter) { 28 *out = *in 29 if in.Labels != nil { 30 in, out := &in.Labels, &out.Labels 31 *out = make(map[string]string, len(*in)) 32 for key, val := range *in { 33 (*out)[key] = val 34 } 35 } 36 } 37 38 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerFilter. 39 func (in *ContainerFilter) DeepCopy() *ContainerFilter { 40 if in == nil { 41 return nil 42 } 43 out := new(ContainerFilter) 44 in.DeepCopyInto(out) 45 return out 46 } 47 48 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 49 func (in *Trace) DeepCopyInto(out *Trace) { 50 *out = *in 51 out.TypeMeta = in.TypeMeta 52 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 53 in.Spec.DeepCopyInto(&out.Spec) 54 out.Status = in.Status 55 } 56 57 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Trace. 58 func (in *Trace) DeepCopy() *Trace { 59 if in == nil { 60 return nil 61 } 62 out := new(Trace) 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 *Trace) 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 *TraceList) DeepCopyInto(out *TraceList) { 77 *out = *in 78 out.TypeMeta = in.TypeMeta 79 in.ListMeta.DeepCopyInto(&out.ListMeta) 80 if in.Items != nil { 81 in, out := &in.Items, &out.Items 82 *out = make([]Trace, len(*in)) 83 for i := range *in { 84 (*in)[i].DeepCopyInto(&(*out)[i]) 85 } 86 } 87 } 88 89 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TraceList. 90 func (in *TraceList) DeepCopy() *TraceList { 91 if in == nil { 92 return nil 93 } 94 out := new(TraceList) 95 in.DeepCopyInto(out) 96 return out 97 } 98 99 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 100 func (in *TraceList) DeepCopyObject() runtime.Object { 101 if c := in.DeepCopy(); c != nil { 102 return c 103 } 104 return nil 105 } 106 107 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 108 func (in *TraceSpec) DeepCopyInto(out *TraceSpec) { 109 *out = *in 110 if in.Filter != nil { 111 in, out := &in.Filter, &out.Filter 112 *out = new(ContainerFilter) 113 (*in).DeepCopyInto(*out) 114 } 115 if in.Parameters != nil { 116 in, out := &in.Parameters, &out.Parameters 117 *out = make(map[string]string, len(*in)) 118 for key, val := range *in { 119 (*out)[key] = val 120 } 121 } 122 } 123 124 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TraceSpec. 125 func (in *TraceSpec) DeepCopy() *TraceSpec { 126 if in == nil { 127 return nil 128 } 129 out := new(TraceSpec) 130 in.DeepCopyInto(out) 131 return out 132 } 133 134 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 135 func (in *TraceStatus) DeepCopyInto(out *TraceStatus) { 136 *out = *in 137 } 138 139 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TraceStatus. 140 func (in *TraceStatus) DeepCopy() *TraceStatus { 141 if in == nil { 142 return nil 143 } 144 out := new(TraceStatus) 145 in.DeepCopyInto(out) 146 return out 147 }