mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-09 01:16:55 +00:00
160 lines
4.7 KiB
Go
160 lines
4.7 KiB
Go
//go:build !ignore_autogenerated
|
|
// +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 v1alpha1
|
|
|
|
import (
|
|
admissionregistrationv1 "k8s.io/api/admissionregistration/v1"
|
|
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
|
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 *PolicyStatus) DeepCopyInto(out *PolicyStatus) {
|
|
*out = *in
|
|
if in.Conditions != nil {
|
|
in, out := &in.Conditions, &out.Conditions
|
|
*out = make([]v1.Condition, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyStatus.
|
|
func (in *PolicyStatus) DeepCopy() *PolicyStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(PolicyStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ValidatingPolicy) DeepCopyInto(out *ValidatingPolicy) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
|
in.Spec.DeepCopyInto(&out.Spec)
|
|
in.Status.DeepCopyInto(&out.Status)
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ValidatingPolicy.
|
|
func (in *ValidatingPolicy) DeepCopy() *ValidatingPolicy {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ValidatingPolicy)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *ValidatingPolicy) 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 *ValidatingPolicyList) DeepCopyInto(out *ValidatingPolicyList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]ValidatingPolicy, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ValidatingPolicyList.
|
|
func (in *ValidatingPolicyList) DeepCopy() *ValidatingPolicyList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ValidatingPolicyList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *ValidatingPolicyList) 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 *ValidatingPolicySpec) DeepCopyInto(out *ValidatingPolicySpec) {
|
|
*out = *in
|
|
in.ValidatingAdmissionPolicySpec.DeepCopyInto(&out.ValidatingAdmissionPolicySpec)
|
|
if in.ValidationAction != nil {
|
|
in, out := &in.ValidationAction, &out.ValidationAction
|
|
*out = make([]admissionregistrationv1.ValidationAction, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.WebhookConfiguration != nil {
|
|
in, out := &in.WebhookConfiguration, &out.WebhookConfiguration
|
|
*out = new(WebhookConfiguration)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ValidatingPolicySpec.
|
|
func (in *ValidatingPolicySpec) DeepCopy() *ValidatingPolicySpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ValidatingPolicySpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *WebhookConfiguration) DeepCopyInto(out *WebhookConfiguration) {
|
|
*out = *in
|
|
if in.TimeoutSeconds != nil {
|
|
in, out := &in.TimeoutSeconds, &out.TimeoutSeconds
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebhookConfiguration.
|
|
func (in *WebhookConfiguration) DeepCopy() *WebhookConfiguration {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(WebhookConfiguration)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|