123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225 |
- // +build !ignore_autogenerated
- /*
- Copyright The Kubernetes Authors.
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
- http://www.apache.org/licenses/LICENSE-2.0
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
- */
- // Code generated by deepcopy-gen. DO NOT EDIT.
- package auditregistration
- import (
- runtime "k8s.io/apimachinery/pkg/runtime"
- )
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *AuditSink) DeepCopyInto(out *AuditSink) {
- *out = *in
- out.TypeMeta = in.TypeMeta
- in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
- in.Spec.DeepCopyInto(&out.Spec)
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuditSink.
- func (in *AuditSink) DeepCopy() *AuditSink {
- if in == nil {
- return nil
- }
- out := new(AuditSink)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
- func (in *AuditSink) DeepCopyObject() runtime.Object {
- if c := in.DeepCopy(); c != nil {
- return c
- }
- return nil
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *AuditSinkList) DeepCopyInto(out *AuditSinkList) {
- *out = *in
- out.TypeMeta = in.TypeMeta
- in.ListMeta.DeepCopyInto(&out.ListMeta)
- if in.Items != nil {
- in, out := &in.Items, &out.Items
- *out = make([]AuditSink, len(*in))
- for i := range *in {
- (*in)[i].DeepCopyInto(&(*out)[i])
- }
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuditSinkList.
- func (in *AuditSinkList) DeepCopy() *AuditSinkList {
- if in == nil {
- return nil
- }
- out := new(AuditSinkList)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
- func (in *AuditSinkList) DeepCopyObject() runtime.Object {
- if c := in.DeepCopy(); c != nil {
- return c
- }
- return nil
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *AuditSinkSpec) DeepCopyInto(out *AuditSinkSpec) {
- *out = *in
- in.Policy.DeepCopyInto(&out.Policy)
- in.Webhook.DeepCopyInto(&out.Webhook)
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuditSinkSpec.
- func (in *AuditSinkSpec) DeepCopy() *AuditSinkSpec {
- if in == nil {
- return nil
- }
- out := new(AuditSinkSpec)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *Policy) DeepCopyInto(out *Policy) {
- *out = *in
- if in.Stages != nil {
- in, out := &in.Stages, &out.Stages
- *out = make([]Stage, len(*in))
- copy(*out, *in)
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Policy.
- func (in *Policy) DeepCopy() *Policy {
- if in == nil {
- return nil
- }
- out := new(Policy)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *ServiceReference) DeepCopyInto(out *ServiceReference) {
- *out = *in
- if in.Path != nil {
- in, out := &in.Path, &out.Path
- *out = new(string)
- **out = **in
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceReference.
- func (in *ServiceReference) DeepCopy() *ServiceReference {
- if in == nil {
- return nil
- }
- out := new(ServiceReference)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *Webhook) DeepCopyInto(out *Webhook) {
- *out = *in
- if in.Throttle != nil {
- in, out := &in.Throttle, &out.Throttle
- *out = new(WebhookThrottleConfig)
- (*in).DeepCopyInto(*out)
- }
- in.ClientConfig.DeepCopyInto(&out.ClientConfig)
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Webhook.
- func (in *Webhook) DeepCopy() *Webhook {
- if in == nil {
- return nil
- }
- out := new(Webhook)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *WebhookClientConfig) DeepCopyInto(out *WebhookClientConfig) {
- *out = *in
- if in.URL != nil {
- in, out := &in.URL, &out.URL
- *out = new(string)
- **out = **in
- }
- if in.Service != nil {
- in, out := &in.Service, &out.Service
- *out = new(ServiceReference)
- (*in).DeepCopyInto(*out)
- }
- if in.CABundle != nil {
- in, out := &in.CABundle, &out.CABundle
- *out = make([]byte, len(*in))
- copy(*out, *in)
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebhookClientConfig.
- func (in *WebhookClientConfig) DeepCopy() *WebhookClientConfig {
- if in == nil {
- return nil
- }
- out := new(WebhookClientConfig)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *WebhookThrottleConfig) DeepCopyInto(out *WebhookThrottleConfig) {
- *out = *in
- if in.QPS != nil {
- in, out := &in.QPS, &out.QPS
- *out = new(int64)
- **out = **in
- }
- if in.Burst != nil {
- in, out := &in.Burst, &out.Burst
- *out = new(int64)
- **out = **in
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebhookThrottleConfig.
- func (in *WebhookThrottleConfig) DeepCopy() *WebhookThrottleConfig {
- if in == nil {
- return nil
- }
- out := new(WebhookThrottleConfig)
- in.DeepCopyInto(out)
- return out
- }
|