mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-06 07:57:07 +00:00
317 lines
9.5 KiB
Go
317 lines
9.5 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 v1
|
||
|
|
||
|
import (
|
||
|
v1alpha2 "github.com/kyverno/kyverno/api/policyreport/v1alpha2"
|
||
|
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 *AdmissionReport) DeepCopyInto(out *AdmissionReport) {
|
||
|
*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 AdmissionReport.
|
||
|
func (in *AdmissionReport) DeepCopy() *AdmissionReport {
|
||
|
if in == nil {
|
||
|
return nil
|
||
|
}
|
||
|
out := new(AdmissionReport)
|
||
|
in.DeepCopyInto(out)
|
||
|
return out
|
||
|
}
|
||
|
|
||
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
||
|
func (in *AdmissionReport) 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 *AdmissionReportList) DeepCopyInto(out *AdmissionReportList) {
|
||
|
*out = *in
|
||
|
out.TypeMeta = in.TypeMeta
|
||
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
||
|
if in.Items != nil {
|
||
|
in, out := &in.Items, &out.Items
|
||
|
*out = make([]AdmissionReport, len(*in))
|
||
|
for i := range *in {
|
||
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
||
|
}
|
||
|
}
|
||
|
return
|
||
|
}
|
||
|
|
||
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdmissionReportList.
|
||
|
func (in *AdmissionReportList) DeepCopy() *AdmissionReportList {
|
||
|
if in == nil {
|
||
|
return nil
|
||
|
}
|
||
|
out := new(AdmissionReportList)
|
||
|
in.DeepCopyInto(out)
|
||
|
return out
|
||
|
}
|
||
|
|
||
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
||
|
func (in *AdmissionReportList) 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 *AdmissionReportSpec) DeepCopyInto(out *AdmissionReportSpec) {
|
||
|
*out = *in
|
||
|
in.Owner.DeepCopyInto(&out.Owner)
|
||
|
out.Summary = in.Summary
|
||
|
if in.Results != nil {
|
||
|
in, out := &in.Results, &out.Results
|
||
|
*out = make([]v1alpha2.PolicyReportResult, len(*in))
|
||
|
for i := range *in {
|
||
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
||
|
}
|
||
|
}
|
||
|
return
|
||
|
}
|
||
|
|
||
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdmissionReportSpec.
|
||
|
func (in *AdmissionReportSpec) DeepCopy() *AdmissionReportSpec {
|
||
|
if in == nil {
|
||
|
return nil
|
||
|
}
|
||
|
out := new(AdmissionReportSpec)
|
||
|
in.DeepCopyInto(out)
|
||
|
return out
|
||
|
}
|
||
|
|
||
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||
|
func (in *BackgroundScanReport) DeepCopyInto(out *BackgroundScanReport) {
|
||
|
*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 BackgroundScanReport.
|
||
|
func (in *BackgroundScanReport) DeepCopy() *BackgroundScanReport {
|
||
|
if in == nil {
|
||
|
return nil
|
||
|
}
|
||
|
out := new(BackgroundScanReport)
|
||
|
in.DeepCopyInto(out)
|
||
|
return out
|
||
|
}
|
||
|
|
||
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
||
|
func (in *BackgroundScanReport) 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 *BackgroundScanReportList) DeepCopyInto(out *BackgroundScanReportList) {
|
||
|
*out = *in
|
||
|
out.TypeMeta = in.TypeMeta
|
||
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
||
|
if in.Items != nil {
|
||
|
in, out := &in.Items, &out.Items
|
||
|
*out = make([]BackgroundScanReport, len(*in))
|
||
|
for i := range *in {
|
||
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
||
|
}
|
||
|
}
|
||
|
return
|
||
|
}
|
||
|
|
||
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackgroundScanReportList.
|
||
|
func (in *BackgroundScanReportList) DeepCopy() *BackgroundScanReportList {
|
||
|
if in == nil {
|
||
|
return nil
|
||
|
}
|
||
|
out := new(BackgroundScanReportList)
|
||
|
in.DeepCopyInto(out)
|
||
|
return out
|
||
|
}
|
||
|
|
||
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
||
|
func (in *BackgroundScanReportList) 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 *BackgroundScanReportSpec) DeepCopyInto(out *BackgroundScanReportSpec) {
|
||
|
*out = *in
|
||
|
out.Summary = in.Summary
|
||
|
if in.Results != nil {
|
||
|
in, out := &in.Results, &out.Results
|
||
|
*out = make([]v1alpha2.PolicyReportResult, len(*in))
|
||
|
for i := range *in {
|
||
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
||
|
}
|
||
|
}
|
||
|
return
|
||
|
}
|
||
|
|
||
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackgroundScanReportSpec.
|
||
|
func (in *BackgroundScanReportSpec) DeepCopy() *BackgroundScanReportSpec {
|
||
|
if in == nil {
|
||
|
return nil
|
||
|
}
|
||
|
out := new(BackgroundScanReportSpec)
|
||
|
in.DeepCopyInto(out)
|
||
|
return out
|
||
|
}
|
||
|
|
||
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||
|
func (in *ClusterAdmissionReport) DeepCopyInto(out *ClusterAdmissionReport) {
|
||
|
*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 ClusterAdmissionReport.
|
||
|
func (in *ClusterAdmissionReport) DeepCopy() *ClusterAdmissionReport {
|
||
|
if in == nil {
|
||
|
return nil
|
||
|
}
|
||
|
out := new(ClusterAdmissionReport)
|
||
|
in.DeepCopyInto(out)
|
||
|
return out
|
||
|
}
|
||
|
|
||
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
||
|
func (in *ClusterAdmissionReport) 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 *ClusterAdmissionReportList) DeepCopyInto(out *ClusterAdmissionReportList) {
|
||
|
*out = *in
|
||
|
out.TypeMeta = in.TypeMeta
|
||
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
||
|
if in.Items != nil {
|
||
|
in, out := &in.Items, &out.Items
|
||
|
*out = make([]ClusterAdmissionReport, len(*in))
|
||
|
for i := range *in {
|
||
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
||
|
}
|
||
|
}
|
||
|
return
|
||
|
}
|
||
|
|
||
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterAdmissionReportList.
|
||
|
func (in *ClusterAdmissionReportList) DeepCopy() *ClusterAdmissionReportList {
|
||
|
if in == nil {
|
||
|
return nil
|
||
|
}
|
||
|
out := new(ClusterAdmissionReportList)
|
||
|
in.DeepCopyInto(out)
|
||
|
return out
|
||
|
}
|
||
|
|
||
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
||
|
func (in *ClusterAdmissionReportList) 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 *ClusterBackgroundScanReport) DeepCopyInto(out *ClusterBackgroundScanReport) {
|
||
|
*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 ClusterBackgroundScanReport.
|
||
|
func (in *ClusterBackgroundScanReport) DeepCopy() *ClusterBackgroundScanReport {
|
||
|
if in == nil {
|
||
|
return nil
|
||
|
}
|
||
|
out := new(ClusterBackgroundScanReport)
|
||
|
in.DeepCopyInto(out)
|
||
|
return out
|
||
|
}
|
||
|
|
||
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
||
|
func (in *ClusterBackgroundScanReport) 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 *ClusterBackgroundScanReportList) DeepCopyInto(out *ClusterBackgroundScanReportList) {
|
||
|
*out = *in
|
||
|
out.TypeMeta = in.TypeMeta
|
||
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
||
|
if in.Items != nil {
|
||
|
in, out := &in.Items, &out.Items
|
||
|
*out = make([]ClusterBackgroundScanReport, len(*in))
|
||
|
for i := range *in {
|
||
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
||
|
}
|
||
|
}
|
||
|
return
|
||
|
}
|
||
|
|
||
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterBackgroundScanReportList.
|
||
|
func (in *ClusterBackgroundScanReportList) DeepCopy() *ClusterBackgroundScanReportList {
|
||
|
if in == nil {
|
||
|
return nil
|
||
|
}
|
||
|
out := new(ClusterBackgroundScanReportList)
|
||
|
in.DeepCopyInto(out)
|
||
|
return out
|
||
|
}
|
||
|
|
||
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
||
|
func (in *ClusterBackgroundScanReportList) DeepCopyObject() runtime.Object {
|
||
|
if c := in.DeepCopy(); c != nil {
|
||
|
return c
|
||
|
}
|
||
|
return nil
|
||
|
}
|