2021-09-23 23:13:27 +00:00
|
|
|
//go:build !ignore_autogenerated
|
2020-11-09 19:26:12 +00:00
|
|
|
// +build !ignore_autogenerated
|
|
|
|
|
2020-11-14 00:25:51 +00:00
|
|
|
/*
|
2022-09-01 06:14:56 +00:00
|
|
|
Copyright The Kubernetes Authors.
|
|
|
|
|
2020-11-14 00:25:51 +00:00
|
|
|
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.
|
|
|
|
*/
|
|
|
|
|
2023-07-06 12:56:17 +00:00
|
|
|
// Code generated by deepcopy-gen. DO NOT EDIT.
|
2020-11-09 19:26:12 +00:00
|
|
|
|
2021-08-21 17:35:17 +00:00
|
|
|
package v1alpha2
|
2020-11-09 19:26:12 +00:00
|
|
|
|
|
|
|
import (
|
2022-08-24 13:38:49 +00:00
|
|
|
v1 "k8s.io/api/core/v1"
|
2020-11-09 19:26:12 +00:00
|
|
|
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
2023-07-06 12:56:17 +00:00
|
|
|
runtime "k8s.io/apimachinery/pkg/runtime"
|
2020-11-09 19:26:12 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
|
|
func (in *ClusterPolicyReport) DeepCopyInto(out *ClusterPolicyReport) {
|
|
|
|
*out = *in
|
|
|
|
out.TypeMeta = in.TypeMeta
|
|
|
|
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
|
|
|
if in.Scope != nil {
|
|
|
|
in, out := &in.Scope, &out.Scope
|
|
|
|
*out = new(v1.ObjectReference)
|
|
|
|
**out = **in
|
|
|
|
}
|
|
|
|
if in.ScopeSelector != nil {
|
|
|
|
in, out := &in.ScopeSelector, &out.ScopeSelector
|
|
|
|
*out = new(metav1.LabelSelector)
|
|
|
|
(*in).DeepCopyInto(*out)
|
|
|
|
}
|
|
|
|
out.Summary = in.Summary
|
|
|
|
if in.Results != nil {
|
|
|
|
in, out := &in.Results, &out.Results
|
2022-04-28 09:11:14 +00:00
|
|
|
*out = make([]PolicyReportResult, len(*in))
|
2020-11-09 19:26:12 +00:00
|
|
|
for i := range *in {
|
2022-04-28 09:11:14 +00:00
|
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
2020-11-09 19:26:12 +00:00
|
|
|
}
|
|
|
|
}
|
2023-07-06 12:56:17 +00:00
|
|
|
return
|
2020-11-09 19:26:12 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterPolicyReport.
|
|
|
|
func (in *ClusterPolicyReport) DeepCopy() *ClusterPolicyReport {
|
|
|
|
if in == nil {
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
out := new(ClusterPolicyReport)
|
|
|
|
in.DeepCopyInto(out)
|
|
|
|
return out
|
|
|
|
}
|
|
|
|
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
|
|
func (in *ClusterPolicyReport) 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 *ClusterPolicyReportList) DeepCopyInto(out *ClusterPolicyReportList) {
|
|
|
|
*out = *in
|
|
|
|
out.TypeMeta = in.TypeMeta
|
|
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
|
|
if in.Items != nil {
|
|
|
|
in, out := &in.Items, &out.Items
|
|
|
|
*out = make([]ClusterPolicyReport, len(*in))
|
|
|
|
for i := range *in {
|
|
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
|
|
}
|
|
|
|
}
|
2023-07-06 12:56:17 +00:00
|
|
|
return
|
2020-11-09 19:26:12 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterPolicyReportList.
|
|
|
|
func (in *ClusterPolicyReportList) DeepCopy() *ClusterPolicyReportList {
|
|
|
|
if in == nil {
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
out := new(ClusterPolicyReportList)
|
|
|
|
in.DeepCopyInto(out)
|
|
|
|
return out
|
|
|
|
}
|
|
|
|
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
|
|
func (in *ClusterPolicyReportList) 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 *PolicyReport) DeepCopyInto(out *PolicyReport) {
|
|
|
|
*out = *in
|
|
|
|
out.TypeMeta = in.TypeMeta
|
|
|
|
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
|
|
|
if in.Scope != nil {
|
|
|
|
in, out := &in.Scope, &out.Scope
|
|
|
|
*out = new(v1.ObjectReference)
|
|
|
|
**out = **in
|
|
|
|
}
|
|
|
|
if in.ScopeSelector != nil {
|
|
|
|
in, out := &in.ScopeSelector, &out.ScopeSelector
|
|
|
|
*out = new(metav1.LabelSelector)
|
|
|
|
(*in).DeepCopyInto(*out)
|
|
|
|
}
|
|
|
|
out.Summary = in.Summary
|
|
|
|
if in.Results != nil {
|
|
|
|
in, out := &in.Results, &out.Results
|
2022-04-28 09:11:14 +00:00
|
|
|
*out = make([]PolicyReportResult, len(*in))
|
2020-11-09 19:26:12 +00:00
|
|
|
for i := range *in {
|
2022-04-28 09:11:14 +00:00
|
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
2020-11-09 19:26:12 +00:00
|
|
|
}
|
|
|
|
}
|
2023-07-06 12:56:17 +00:00
|
|
|
return
|
2020-11-09 19:26:12 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyReport.
|
|
|
|
func (in *PolicyReport) DeepCopy() *PolicyReport {
|
|
|
|
if in == nil {
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
out := new(PolicyReport)
|
|
|
|
in.DeepCopyInto(out)
|
|
|
|
return out
|
|
|
|
}
|
|
|
|
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
|
|
func (in *PolicyReport) 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 *PolicyReportList) DeepCopyInto(out *PolicyReportList) {
|
|
|
|
*out = *in
|
|
|
|
out.TypeMeta = in.TypeMeta
|
|
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
|
|
if in.Items != nil {
|
|
|
|
in, out := &in.Items, &out.Items
|
|
|
|
*out = make([]PolicyReport, len(*in))
|
|
|
|
for i := range *in {
|
|
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
|
|
}
|
|
|
|
}
|
2023-07-06 12:56:17 +00:00
|
|
|
return
|
2020-11-09 19:26:12 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyReportList.
|
|
|
|
func (in *PolicyReportList) DeepCopy() *PolicyReportList {
|
|
|
|
if in == nil {
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
out := new(PolicyReportList)
|
|
|
|
in.DeepCopyInto(out)
|
|
|
|
return out
|
|
|
|
}
|
|
|
|
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
|
|
func (in *PolicyReportList) 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 *PolicyReportResult) DeepCopyInto(out *PolicyReportResult) {
|
|
|
|
*out = *in
|
|
|
|
if in.Resources != nil {
|
|
|
|
in, out := &in.Resources, &out.Resources
|
2022-04-28 09:11:14 +00:00
|
|
|
*out = make([]v1.ObjectReference, len(*in))
|
|
|
|
copy(*out, *in)
|
2020-11-09 19:26:12 +00:00
|
|
|
}
|
|
|
|
if in.ResourceSelector != nil {
|
|
|
|
in, out := &in.ResourceSelector, &out.ResourceSelector
|
|
|
|
*out = new(metav1.LabelSelector)
|
|
|
|
(*in).DeepCopyInto(*out)
|
|
|
|
}
|
2021-08-21 17:35:17 +00:00
|
|
|
if in.Properties != nil {
|
|
|
|
in, out := &in.Properties, &out.Properties
|
2020-11-09 19:26:12 +00:00
|
|
|
*out = make(map[string]string, len(*in))
|
|
|
|
for key, val := range *in {
|
|
|
|
(*out)[key] = val
|
|
|
|
}
|
|
|
|
}
|
2021-08-21 17:35:17 +00:00
|
|
|
out.Timestamp = in.Timestamp
|
2023-07-06 12:56:17 +00:00
|
|
|
return
|
2020-11-09 19:26:12 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyReportResult.
|
|
|
|
func (in *PolicyReportResult) DeepCopy() *PolicyReportResult {
|
|
|
|
if in == nil {
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
out := new(PolicyReportResult)
|
|
|
|
in.DeepCopyInto(out)
|
|
|
|
return out
|
|
|
|
}
|
|
|
|
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
|
|
func (in *PolicyReportSummary) DeepCopyInto(out *PolicyReportSummary) {
|
|
|
|
*out = *in
|
2023-07-06 12:56:17 +00:00
|
|
|
return
|
2020-11-09 19:26:12 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyReportSummary.
|
|
|
|
func (in *PolicyReportSummary) DeepCopy() *PolicyReportSummary {
|
|
|
|
if in == nil {
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
out := new(PolicyReportSummary)
|
|
|
|
in.DeepCopyInto(out)
|
|
|
|
return out
|
|
|
|
}
|