sslobodr | d046be8 | 2019-01-16 10:02:22 -0500 | [diff] [blame] | 1 | // +build !ignore_autogenerated |
| 2 | |
| 3 | /* |
| 4 | Copyright The Kubernetes 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 | |
| 19 | // Code generated by deepcopy-gen. DO NOT EDIT. |
| 20 | |
| 21 | package v1alpha1 |
| 22 | |
| 23 | import ( |
| 24 | runtime "k8s.io/apimachinery/pkg/runtime" |
| 25 | ) |
| 26 | |
| 27 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 28 | func (in *Initializer) DeepCopyInto(out *Initializer) { |
| 29 | *out = *in |
| 30 | if in.Rules != nil { |
| 31 | in, out := &in.Rules, &out.Rules |
| 32 | *out = make([]Rule, len(*in)) |
| 33 | for i := range *in { |
| 34 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 35 | } |
| 36 | } |
| 37 | return |
| 38 | } |
| 39 | |
| 40 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Initializer. |
| 41 | func (in *Initializer) DeepCopy() *Initializer { |
| 42 | if in == nil { |
| 43 | return nil |
| 44 | } |
| 45 | out := new(Initializer) |
| 46 | in.DeepCopyInto(out) |
| 47 | return out |
| 48 | } |
| 49 | |
| 50 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 51 | func (in *InitializerConfiguration) DeepCopyInto(out *InitializerConfiguration) { |
| 52 | *out = *in |
| 53 | out.TypeMeta = in.TypeMeta |
| 54 | in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) |
| 55 | if in.Initializers != nil { |
| 56 | in, out := &in.Initializers, &out.Initializers |
| 57 | *out = make([]Initializer, len(*in)) |
| 58 | for i := range *in { |
| 59 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 60 | } |
| 61 | } |
| 62 | return |
| 63 | } |
| 64 | |
| 65 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InitializerConfiguration. |
| 66 | func (in *InitializerConfiguration) DeepCopy() *InitializerConfiguration { |
| 67 | if in == nil { |
| 68 | return nil |
| 69 | } |
| 70 | out := new(InitializerConfiguration) |
| 71 | in.DeepCopyInto(out) |
| 72 | return out |
| 73 | } |
| 74 | |
| 75 | // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| 76 | func (in *InitializerConfiguration) DeepCopyObject() runtime.Object { |
| 77 | if c := in.DeepCopy(); c != nil { |
| 78 | return c |
| 79 | } |
| 80 | return nil |
| 81 | } |
| 82 | |
| 83 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 84 | func (in *InitializerConfigurationList) DeepCopyInto(out *InitializerConfigurationList) { |
| 85 | *out = *in |
| 86 | out.TypeMeta = in.TypeMeta |
| 87 | out.ListMeta = in.ListMeta |
| 88 | if in.Items != nil { |
| 89 | in, out := &in.Items, &out.Items |
| 90 | *out = make([]InitializerConfiguration, len(*in)) |
| 91 | for i := range *in { |
| 92 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 93 | } |
| 94 | } |
| 95 | return |
| 96 | } |
| 97 | |
| 98 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InitializerConfigurationList. |
| 99 | func (in *InitializerConfigurationList) DeepCopy() *InitializerConfigurationList { |
| 100 | if in == nil { |
| 101 | return nil |
| 102 | } |
| 103 | out := new(InitializerConfigurationList) |
| 104 | in.DeepCopyInto(out) |
| 105 | return out |
| 106 | } |
| 107 | |
| 108 | // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| 109 | func (in *InitializerConfigurationList) DeepCopyObject() runtime.Object { |
| 110 | if c := in.DeepCopy(); c != nil { |
| 111 | return c |
| 112 | } |
| 113 | return nil |
| 114 | } |
| 115 | |
| 116 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 117 | func (in *Rule) DeepCopyInto(out *Rule) { |
| 118 | *out = *in |
| 119 | if in.APIGroups != nil { |
| 120 | in, out := &in.APIGroups, &out.APIGroups |
| 121 | *out = make([]string, len(*in)) |
| 122 | copy(*out, *in) |
| 123 | } |
| 124 | if in.APIVersions != nil { |
| 125 | in, out := &in.APIVersions, &out.APIVersions |
| 126 | *out = make([]string, len(*in)) |
| 127 | copy(*out, *in) |
| 128 | } |
| 129 | if in.Resources != nil { |
| 130 | in, out := &in.Resources, &out.Resources |
| 131 | *out = make([]string, len(*in)) |
| 132 | copy(*out, *in) |
| 133 | } |
| 134 | return |
| 135 | } |
| 136 | |
| 137 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Rule. |
| 138 | func (in *Rule) DeepCopy() *Rule { |
| 139 | if in == nil { |
| 140 | return nil |
| 141 | } |
| 142 | out := new(Rule) |
| 143 | in.DeepCopyInto(out) |
| 144 | return out |
| 145 | } |