mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-10-18 21:29:50 +00:00
5ea99fdd5b
This initial version of yamlgen generates deploy/scc.yaml based on the deployment artifact that is provided by the new api/deploy/ocp package. Signed-off-by: Niels de Vos <ndevos@redhat.com>
533 lines
16 KiB
Go
533 lines
16 KiB
Go
// +build !ignore_autogenerated
|
|
|
|
// Code generated by deepcopy-gen. DO NOT EDIT.
|
|
|
|
package v1
|
|
|
|
import (
|
|
corev1 "k8s.io/api/core/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 *AllowedFlexVolume) DeepCopyInto(out *AllowedFlexVolume) {
|
|
*out = *in
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AllowedFlexVolume.
|
|
func (in *AllowedFlexVolume) DeepCopy() *AllowedFlexVolume {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(AllowedFlexVolume)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *FSGroupStrategyOptions) DeepCopyInto(out *FSGroupStrategyOptions) {
|
|
*out = *in
|
|
if in.Ranges != nil {
|
|
in, out := &in.Ranges, &out.Ranges
|
|
*out = make([]IDRange, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FSGroupStrategyOptions.
|
|
func (in *FSGroupStrategyOptions) DeepCopy() *FSGroupStrategyOptions {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(FSGroupStrategyOptions)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *IDRange) DeepCopyInto(out *IDRange) {
|
|
*out = *in
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IDRange.
|
|
func (in *IDRange) DeepCopy() *IDRange {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(IDRange)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *PodSecurityPolicyReview) DeepCopyInto(out *PodSecurityPolicyReview) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.Spec.DeepCopyInto(&out.Spec)
|
|
in.Status.DeepCopyInto(&out.Status)
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodSecurityPolicyReview.
|
|
func (in *PodSecurityPolicyReview) DeepCopy() *PodSecurityPolicyReview {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(PodSecurityPolicyReview)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *PodSecurityPolicyReview) 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 *PodSecurityPolicyReviewSpec) DeepCopyInto(out *PodSecurityPolicyReviewSpec) {
|
|
*out = *in
|
|
in.Template.DeepCopyInto(&out.Template)
|
|
if in.ServiceAccountNames != nil {
|
|
in, out := &in.ServiceAccountNames, &out.ServiceAccountNames
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodSecurityPolicyReviewSpec.
|
|
func (in *PodSecurityPolicyReviewSpec) DeepCopy() *PodSecurityPolicyReviewSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(PodSecurityPolicyReviewSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *PodSecurityPolicyReviewStatus) DeepCopyInto(out *PodSecurityPolicyReviewStatus) {
|
|
*out = *in
|
|
if in.AllowedServiceAccounts != nil {
|
|
in, out := &in.AllowedServiceAccounts, &out.AllowedServiceAccounts
|
|
*out = make([]ServiceAccountPodSecurityPolicyReviewStatus, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodSecurityPolicyReviewStatus.
|
|
func (in *PodSecurityPolicyReviewStatus) DeepCopy() *PodSecurityPolicyReviewStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(PodSecurityPolicyReviewStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *PodSecurityPolicySelfSubjectReview) DeepCopyInto(out *PodSecurityPolicySelfSubjectReview) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.Spec.DeepCopyInto(&out.Spec)
|
|
in.Status.DeepCopyInto(&out.Status)
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodSecurityPolicySelfSubjectReview.
|
|
func (in *PodSecurityPolicySelfSubjectReview) DeepCopy() *PodSecurityPolicySelfSubjectReview {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(PodSecurityPolicySelfSubjectReview)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *PodSecurityPolicySelfSubjectReview) 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 *PodSecurityPolicySelfSubjectReviewSpec) DeepCopyInto(out *PodSecurityPolicySelfSubjectReviewSpec) {
|
|
*out = *in
|
|
in.Template.DeepCopyInto(&out.Template)
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodSecurityPolicySelfSubjectReviewSpec.
|
|
func (in *PodSecurityPolicySelfSubjectReviewSpec) DeepCopy() *PodSecurityPolicySelfSubjectReviewSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(PodSecurityPolicySelfSubjectReviewSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *PodSecurityPolicySubjectReview) DeepCopyInto(out *PodSecurityPolicySubjectReview) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.Spec.DeepCopyInto(&out.Spec)
|
|
in.Status.DeepCopyInto(&out.Status)
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodSecurityPolicySubjectReview.
|
|
func (in *PodSecurityPolicySubjectReview) DeepCopy() *PodSecurityPolicySubjectReview {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(PodSecurityPolicySubjectReview)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *PodSecurityPolicySubjectReview) 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 *PodSecurityPolicySubjectReviewSpec) DeepCopyInto(out *PodSecurityPolicySubjectReviewSpec) {
|
|
*out = *in
|
|
in.Template.DeepCopyInto(&out.Template)
|
|
if in.Groups != nil {
|
|
in, out := &in.Groups, &out.Groups
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodSecurityPolicySubjectReviewSpec.
|
|
func (in *PodSecurityPolicySubjectReviewSpec) DeepCopy() *PodSecurityPolicySubjectReviewSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(PodSecurityPolicySubjectReviewSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *PodSecurityPolicySubjectReviewStatus) DeepCopyInto(out *PodSecurityPolicySubjectReviewStatus) {
|
|
*out = *in
|
|
if in.AllowedBy != nil {
|
|
in, out := &in.AllowedBy, &out.AllowedBy
|
|
*out = new(corev1.ObjectReference)
|
|
**out = **in
|
|
}
|
|
in.Template.DeepCopyInto(&out.Template)
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodSecurityPolicySubjectReviewStatus.
|
|
func (in *PodSecurityPolicySubjectReviewStatus) DeepCopy() *PodSecurityPolicySubjectReviewStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(PodSecurityPolicySubjectReviewStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *RangeAllocation) DeepCopyInto(out *RangeAllocation) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
|
if in.Data != nil {
|
|
in, out := &in.Data, &out.Data
|
|
*out = make([]byte, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RangeAllocation.
|
|
func (in *RangeAllocation) DeepCopy() *RangeAllocation {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(RangeAllocation)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *RangeAllocation) 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 *RangeAllocationList) DeepCopyInto(out *RangeAllocationList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]RangeAllocation, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RangeAllocationList.
|
|
func (in *RangeAllocationList) DeepCopy() *RangeAllocationList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(RangeAllocationList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *RangeAllocationList) 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 *RunAsUserStrategyOptions) DeepCopyInto(out *RunAsUserStrategyOptions) {
|
|
*out = *in
|
|
if in.UID != nil {
|
|
in, out := &in.UID, &out.UID
|
|
*out = new(int64)
|
|
**out = **in
|
|
}
|
|
if in.UIDRangeMin != nil {
|
|
in, out := &in.UIDRangeMin, &out.UIDRangeMin
|
|
*out = new(int64)
|
|
**out = **in
|
|
}
|
|
if in.UIDRangeMax != nil {
|
|
in, out := &in.UIDRangeMax, &out.UIDRangeMax
|
|
*out = new(int64)
|
|
**out = **in
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RunAsUserStrategyOptions.
|
|
func (in *RunAsUserStrategyOptions) DeepCopy() *RunAsUserStrategyOptions {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(RunAsUserStrategyOptions)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *SELinuxContextStrategyOptions) DeepCopyInto(out *SELinuxContextStrategyOptions) {
|
|
*out = *in
|
|
if in.SELinuxOptions != nil {
|
|
in, out := &in.SELinuxOptions, &out.SELinuxOptions
|
|
*out = new(corev1.SELinuxOptions)
|
|
**out = **in
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SELinuxContextStrategyOptions.
|
|
func (in *SELinuxContextStrategyOptions) DeepCopy() *SELinuxContextStrategyOptions {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(SELinuxContextStrategyOptions)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *SecurityContextConstraints) DeepCopyInto(out *SecurityContextConstraints) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
|
if in.Priority != nil {
|
|
in, out := &in.Priority, &out.Priority
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
if in.DefaultAddCapabilities != nil {
|
|
in, out := &in.DefaultAddCapabilities, &out.DefaultAddCapabilities
|
|
*out = make([]corev1.Capability, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.RequiredDropCapabilities != nil {
|
|
in, out := &in.RequiredDropCapabilities, &out.RequiredDropCapabilities
|
|
*out = make([]corev1.Capability, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.AllowedCapabilities != nil {
|
|
in, out := &in.AllowedCapabilities, &out.AllowedCapabilities
|
|
*out = make([]corev1.Capability, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.Volumes != nil {
|
|
in, out := &in.Volumes, &out.Volumes
|
|
*out = make([]FSType, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.AllowedFlexVolumes != nil {
|
|
in, out := &in.AllowedFlexVolumes, &out.AllowedFlexVolumes
|
|
*out = make([]AllowedFlexVolume, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.DefaultAllowPrivilegeEscalation != nil {
|
|
in, out := &in.DefaultAllowPrivilegeEscalation, &out.DefaultAllowPrivilegeEscalation
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.AllowPrivilegeEscalation != nil {
|
|
in, out := &in.AllowPrivilegeEscalation, &out.AllowPrivilegeEscalation
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
in.SELinuxContext.DeepCopyInto(&out.SELinuxContext)
|
|
in.RunAsUser.DeepCopyInto(&out.RunAsUser)
|
|
in.SupplementalGroups.DeepCopyInto(&out.SupplementalGroups)
|
|
in.FSGroup.DeepCopyInto(&out.FSGroup)
|
|
if in.Users != nil {
|
|
in, out := &in.Users, &out.Users
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.Groups != nil {
|
|
in, out := &in.Groups, &out.Groups
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.SeccompProfiles != nil {
|
|
in, out := &in.SeccompProfiles, &out.SeccompProfiles
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.AllowedUnsafeSysctls != nil {
|
|
in, out := &in.AllowedUnsafeSysctls, &out.AllowedUnsafeSysctls
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.ForbiddenSysctls != nil {
|
|
in, out := &in.ForbiddenSysctls, &out.ForbiddenSysctls
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityContextConstraints.
|
|
func (in *SecurityContextConstraints) DeepCopy() *SecurityContextConstraints {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(SecurityContextConstraints)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *SecurityContextConstraints) 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 *SecurityContextConstraintsList) DeepCopyInto(out *SecurityContextConstraintsList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]SecurityContextConstraints, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityContextConstraintsList.
|
|
func (in *SecurityContextConstraintsList) DeepCopy() *SecurityContextConstraintsList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(SecurityContextConstraintsList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *SecurityContextConstraintsList) 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 *ServiceAccountPodSecurityPolicyReviewStatus) DeepCopyInto(out *ServiceAccountPodSecurityPolicyReviewStatus) {
|
|
*out = *in
|
|
in.PodSecurityPolicySubjectReviewStatus.DeepCopyInto(&out.PodSecurityPolicySubjectReviewStatus)
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceAccountPodSecurityPolicyReviewStatus.
|
|
func (in *ServiceAccountPodSecurityPolicyReviewStatus) DeepCopy() *ServiceAccountPodSecurityPolicyReviewStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ServiceAccountPodSecurityPolicyReviewStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *SupplementalGroupsStrategyOptions) DeepCopyInto(out *SupplementalGroupsStrategyOptions) {
|
|
*out = *in
|
|
if in.Ranges != nil {
|
|
in, out := &in.Ranges, &out.Ranges
|
|
*out = make([]IDRange, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SupplementalGroupsStrategyOptions.
|
|
func (in *SupplementalGroupsStrategyOptions) DeepCopy() *SupplementalGroupsStrategyOptions {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(SupplementalGroupsStrategyOptions)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|