1 // +build !ignore_autogenerated
4 Copyright The Kubernetes Authors.
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
10 http://www.apache.org/licenses/LICENSE-2.0
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.
19 // Code generated by deepcopy-gen. DO NOT EDIT.
24 runtime "k8s.io/apimachinery/pkg/runtime"
27 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
28 func (in *AuditSink) DeepCopyInto(out *AuditSink) {
30 out.TypeMeta = in.TypeMeta
31 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
32 in.Spec.DeepCopyInto(&out.Spec)
36 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuditSink.
37 func (in *AuditSink) DeepCopy() *AuditSink {
46 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
47 func (in *AuditSink) DeepCopyObject() runtime.Object {
48 if c := in.DeepCopy(); c != nil {
54 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
55 func (in *AuditSinkList) DeepCopyInto(out *AuditSinkList) {
57 out.TypeMeta = in.TypeMeta
58 out.ListMeta = in.ListMeta
60 in, out := &in.Items, &out.Items
61 *out = make([]AuditSink, len(*in))
63 (*in)[i].DeepCopyInto(&(*out)[i])
69 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuditSinkList.
70 func (in *AuditSinkList) DeepCopy() *AuditSinkList {
74 out := new(AuditSinkList)
79 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
80 func (in *AuditSinkList) DeepCopyObject() runtime.Object {
81 if c := in.DeepCopy(); c != nil {
87 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
88 func (in *AuditSinkSpec) DeepCopyInto(out *AuditSinkSpec) {
90 in.Policy.DeepCopyInto(&out.Policy)
91 in.Webhook.DeepCopyInto(&out.Webhook)
95 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuditSinkSpec.
96 func (in *AuditSinkSpec) DeepCopy() *AuditSinkSpec {
100 out := new(AuditSinkSpec)
105 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
106 func (in *Policy) DeepCopyInto(out *Policy) {
108 if in.Stages != nil {
109 in, out := &in.Stages, &out.Stages
110 *out = make([]Stage, len(*in))
116 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Policy.
117 func (in *Policy) DeepCopy() *Policy {
126 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
127 func (in *ServiceReference) DeepCopyInto(out *ServiceReference) {
130 in, out := &in.Path, &out.Path
137 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceReference.
138 func (in *ServiceReference) DeepCopy() *ServiceReference {
142 out := new(ServiceReference)
147 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
148 func (in *Webhook) DeepCopyInto(out *Webhook) {
150 if in.Throttle != nil {
151 in, out := &in.Throttle, &out.Throttle
152 *out = new(WebhookThrottleConfig)
153 (*in).DeepCopyInto(*out)
155 in.ClientConfig.DeepCopyInto(&out.ClientConfig)
159 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Webhook.
160 func (in *Webhook) DeepCopy() *Webhook {
169 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
170 func (in *WebhookClientConfig) DeepCopyInto(out *WebhookClientConfig) {
173 in, out := &in.URL, &out.URL
177 if in.Service != nil {
178 in, out := &in.Service, &out.Service
179 *out = new(ServiceReference)
180 (*in).DeepCopyInto(*out)
182 if in.CABundle != nil {
183 in, out := &in.CABundle, &out.CABundle
184 *out = make([]byte, len(*in))
190 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebhookClientConfig.
191 func (in *WebhookClientConfig) DeepCopy() *WebhookClientConfig {
195 out := new(WebhookClientConfig)
200 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
201 func (in *WebhookThrottleConfig) DeepCopyInto(out *WebhookThrottleConfig) {
204 in, out := &in.QPS, &out.QPS
209 in, out := &in.Burst, &out.Burst
216 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebhookThrottleConfig.
217 func (in *WebhookThrottleConfig) DeepCopy() *WebhookThrottleConfig {
221 out := new(WebhookThrottleConfig)