volcano.sh/apis@v1.8.2/pkg/apis/bus/v1alpha1/zz_generated.deepcopy.go (about) 1 //go:build !ignore_autogenerated 2 // +build !ignore_autogenerated 3 4 /* 5 Copyright 2021 The Volcano 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 // Code generated by deepcopy-gen. DO NOT EDIT. 20 21 package v1alpha1 22 23 import ( 24 v1 "k8s.io/apimachinery/pkg/apis/meta/v1" 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 *Command) DeepCopyInto(out *Command) { 30 *out = *in 31 out.TypeMeta = in.TypeMeta 32 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 33 if in.TargetObject != nil { 34 in, out := &in.TargetObject, &out.TargetObject 35 *out = new(v1.OwnerReference) 36 (*in).DeepCopyInto(*out) 37 } 38 return 39 } 40 41 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Command. 42 func (in *Command) DeepCopy() *Command { 43 if in == nil { 44 return nil 45 } 46 out := new(Command) 47 in.DeepCopyInto(out) 48 return out 49 } 50 51 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 52 func (in *Command) DeepCopyObject() runtime.Object { 53 if c := in.DeepCopy(); c != nil { 54 return c 55 } 56 return nil 57 } 58 59 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 60 func (in *CommandList) DeepCopyInto(out *CommandList) { 61 *out = *in 62 out.TypeMeta = in.TypeMeta 63 in.ListMeta.DeepCopyInto(&out.ListMeta) 64 if in.Items != nil { 65 in, out := &in.Items, &out.Items 66 *out = make([]Command, len(*in)) 67 for i := range *in { 68 (*in)[i].DeepCopyInto(&(*out)[i]) 69 } 70 } 71 return 72 } 73 74 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CommandList. 75 func (in *CommandList) DeepCopy() *CommandList { 76 if in == nil { 77 return nil 78 } 79 out := new(CommandList) 80 in.DeepCopyInto(out) 81 return out 82 } 83 84 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 85 func (in *CommandList) DeepCopyObject() runtime.Object { 86 if c := in.DeepCopy(); c != nil { 87 return c 88 } 89 return nil 90 }