knative.dev/pkg@v0.0.0-20260602142205-ac97e43f6622/logging/zz_generated.deepcopy.go (about) 1 //go:build !ignore_autogenerated 2 // +build !ignore_autogenerated 3 4 /* 5 Copyright 2022 The Knative 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 logging 23 24 import ( 25 zapcore "go.uber.org/zap/zapcore" 26 ) 27 28 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 29 func (in *Config) DeepCopyInto(out *Config) { 30 *out = *in 31 if in.LoggingLevel != nil { 32 in, out := &in.LoggingLevel, &out.LoggingLevel 33 *out = make(map[string]zapcore.Level, len(*in)) 34 for key, val := range *in { 35 (*out)[key] = val 36 } 37 } 38 return 39 } 40 41 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Config. 42 func (in *Config) DeepCopy() *Config { 43 if in == nil { 44 return nil 45 } 46 out := new(Config) 47 in.DeepCopyInto(out) 48 return out 49 }