mirror of
https://github.com/projectcapsule/capsule.git
synced 2026-03-04 02:30:23 +00:00
* fix(controller): decode old object for delete requests Signed-off-by: Oliver Bähler <oliverbaehler@hotmail.com> * chore: modernize golang Signed-off-by: Oliver Bähler <oliverbaehler@hotmail.com> * chore: modernize golang Signed-off-by: Oliver Bähler <oliverbaehler@hotmail.com> * chore: modernize golang Signed-off-by: Oliver Bähler <oliverbaehler@hotmail.com> * fix(config): remove usergroups default Signed-off-by: Oliver Bähler <oliverbaehler@hotmail.com> * fix(config): remove usergroups default Signed-off-by: Oliver Bähler <oliverbaehler@hotmail.com> * sec(ghsa-2ww6-hf35-mfjm): intercept namespace subresource Signed-off-by: Oliver Bähler <oliverbaehler@hotmail.com> * feat(api): add rulestatus api Signed-off-by: Oliver Bähler <oliverbaehler@hotmail.com> * chore: conflicts Signed-off-by: Oliver Bähler <oliverbaehler@hotmail.com> * chore: conflicts Signed-off-by: Oliver Bähler <oliverbaehler@hotmail.com> * chore: conflicts Signed-off-by: Oliver Bähler <oliverbaehler@hotmail.com> * chore: conflicts Signed-off-by: Oliver Bähler <oliverbaehler@hotmail.com> * chore: conflicts Signed-off-by: Oliver Bähler <oliverbaehler@hotmail.com> * chore: conflicts Signed-off-by: Oliver Bähler <oliverbaehler@hotmail.com> * chore: conflicts Signed-off-by: Oliver Bähler <oliverbaehler@hotmail.com> * chore: conflicts Signed-off-by: Oliver Bähler <oliverbaehler@hotmail.com> * chore: conflicts Signed-off-by: Oliver Bähler <oliverbaehler@hotmail.com> * chore: conflicts Signed-off-by: Oliver Bähler <oliverbaehler@hotmail.com> * chore: conflicts Signed-off-by: Oliver Bähler <oliverbaehler@hotmail.com> * feat(api): add rulestatus api Signed-off-by: Oliver Bähler <oliverbaehler@hotmail.com> * feat(api): add rulestatus api Signed-off-by: Oliver Bähler <oliverbaehler@hotmail.com> * feat(api): add rulestatus api Signed-off-by: Oliver Bähler <oliverbaehler@hotmail.com> * feat(api): add rulestatus api Signed-off-by: Oliver Bähler <oliverbaehler@hotmail.com> * feat(api): add rulestatus api Signed-off-by: Oliver Bähler <oliverbaehler@hotmail.com> * feat(api): add rulestatus api Signed-off-by: Oliver Bähler <oliverbaehler@hotmail.com> --------- Signed-off-by: Oliver Bähler <oliverbaehler@hotmail.com>
582 lines
17 KiB
Go
582 lines
17 KiB
Go
//go:build !ignore_autogenerated
|
|
|
|
// Copyright 2020-2023 Project Capsule Authors.
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
// Code generated by controller-gen. DO NOT EDIT.
|
|
|
|
package api
|
|
|
|
import (
|
|
corev1 "k8s.io/api/core/v1"
|
|
networkingv1 "k8s.io/api/networking/v1"
|
|
rbacv1 "k8s.io/api/rbac/v1"
|
|
"k8s.io/apimachinery/pkg/apis/meta/v1"
|
|
)
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *AdditionalMetadataSelectorSpec) DeepCopyInto(out *AdditionalMetadataSelectorSpec) {
|
|
*out = *in
|
|
if in.NamespaceSelector != nil {
|
|
in, out := &in.NamespaceSelector, &out.NamespaceSelector
|
|
*out = new(v1.LabelSelector)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.Labels != nil {
|
|
in, out := &in.Labels, &out.Labels
|
|
*out = make(map[string]string, len(*in))
|
|
for key, val := range *in {
|
|
(*out)[key] = val
|
|
}
|
|
}
|
|
if in.Annotations != nil {
|
|
in, out := &in.Annotations, &out.Annotations
|
|
*out = make(map[string]string, len(*in))
|
|
for key, val := range *in {
|
|
(*out)[key] = val
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdditionalMetadataSelectorSpec.
|
|
func (in *AdditionalMetadataSelectorSpec) DeepCopy() *AdditionalMetadataSelectorSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(AdditionalMetadataSelectorSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *AdditionalMetadataSpec) DeepCopyInto(out *AdditionalMetadataSpec) {
|
|
*out = *in
|
|
if in.Labels != nil {
|
|
in, out := &in.Labels, &out.Labels
|
|
*out = make(map[string]string, len(*in))
|
|
for key, val := range *in {
|
|
(*out)[key] = val
|
|
}
|
|
}
|
|
if in.Annotations != nil {
|
|
in, out := &in.Annotations, &out.Annotations
|
|
*out = make(map[string]string, len(*in))
|
|
for key, val := range *in {
|
|
(*out)[key] = val
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdditionalMetadataSpec.
|
|
func (in *AdditionalMetadataSpec) DeepCopy() *AdditionalMetadataSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(AdditionalMetadataSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *AdditionalRoleBindingsSpec) DeepCopyInto(out *AdditionalRoleBindingsSpec) {
|
|
*out = *in
|
|
if in.Subjects != nil {
|
|
in, out := &in.Subjects, &out.Subjects
|
|
*out = make([]rbacv1.Subject, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.Labels != nil {
|
|
in, out := &in.Labels, &out.Labels
|
|
*out = make(map[string]string, len(*in))
|
|
for key, val := range *in {
|
|
(*out)[key] = val
|
|
}
|
|
}
|
|
if in.Annotations != nil {
|
|
in, out := &in.Annotations, &out.Annotations
|
|
*out = make(map[string]string, len(*in))
|
|
for key, val := range *in {
|
|
(*out)[key] = val
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdditionalRoleBindingsSpec.
|
|
func (in *AdditionalRoleBindingsSpec) DeepCopy() *AdditionalRoleBindingsSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(AdditionalRoleBindingsSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *AllowedListSpec) DeepCopyInto(out *AllowedListSpec) {
|
|
*out = *in
|
|
if in.Exact != nil {
|
|
in, out := &in.Exact, &out.Exact
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AllowedListSpec.
|
|
func (in *AllowedListSpec) DeepCopy() *AllowedListSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(AllowedListSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *AllowedServices) DeepCopyInto(out *AllowedServices) {
|
|
*out = *in
|
|
if in.NodePort != nil {
|
|
in, out := &in.NodePort, &out.NodePort
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.ExternalName != nil {
|
|
in, out := &in.ExternalName, &out.ExternalName
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.LoadBalancer != nil {
|
|
in, out := &in.LoadBalancer, &out.LoadBalancer
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AllowedServices.
|
|
func (in *AllowedServices) DeepCopy() *AllowedServices {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(AllowedServices)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *CoreOwnerSpec) DeepCopyInto(out *CoreOwnerSpec) {
|
|
*out = *in
|
|
out.UserSpec = in.UserSpec
|
|
if in.ClusterRoles != nil {
|
|
in, out := &in.ClusterRoles, &out.ClusterRoles
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CoreOwnerSpec.
|
|
func (in *CoreOwnerSpec) DeepCopy() *CoreOwnerSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(CoreOwnerSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *DefaultAllowedListSpec) DeepCopyInto(out *DefaultAllowedListSpec) {
|
|
*out = *in
|
|
in.SelectorAllowedListSpec.DeepCopyInto(&out.SelectorAllowedListSpec)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DefaultAllowedListSpec.
|
|
func (in *DefaultAllowedListSpec) DeepCopy() *DefaultAllowedListSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(DefaultAllowedListSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ExternalServiceIPsSpec) DeepCopyInto(out *ExternalServiceIPsSpec) {
|
|
*out = *in
|
|
if in.Allowed != nil {
|
|
in, out := &in.Allowed, &out.Allowed
|
|
*out = make([]AllowedIP, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalServiceIPsSpec.
|
|
func (in *ExternalServiceIPsSpec) DeepCopy() *ExternalServiceIPsSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ExternalServiceIPsSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ForbiddenListSpec) DeepCopyInto(out *ForbiddenListSpec) {
|
|
*out = *in
|
|
if in.Exact != nil {
|
|
in, out := &in.Exact, &out.Exact
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ForbiddenListSpec.
|
|
func (in *ForbiddenListSpec) DeepCopy() *ForbiddenListSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ForbiddenListSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *LimitRangesSpec) DeepCopyInto(out *LimitRangesSpec) {
|
|
*out = *in
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]corev1.LimitRangeSpec, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LimitRangesSpec.
|
|
func (in *LimitRangesSpec) DeepCopy() *LimitRangesSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(LimitRangesSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *NetworkPolicySpec) DeepCopyInto(out *NetworkPolicySpec) {
|
|
*out = *in
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]networkingv1.NetworkPolicySpec, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicySpec.
|
|
func (in *NetworkPolicySpec) DeepCopy() *NetworkPolicySpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(NetworkPolicySpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *OCIRegistry) DeepCopyInto(out *OCIRegistry) {
|
|
*out = *in
|
|
if in.Policy != nil {
|
|
in, out := &in.Policy, &out.Policy
|
|
*out = make([]corev1.PullPolicy, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.Validation != nil {
|
|
in, out := &in.Validation, &out.Validation
|
|
*out = make([]RegistryValidationTarget, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OCIRegistry.
|
|
func (in *OCIRegistry) DeepCopy() *OCIRegistry {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(OCIRegistry)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in OwnerListSpec) DeepCopyInto(out *OwnerListSpec) {
|
|
{
|
|
in := &in
|
|
*out = make(OwnerListSpec, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OwnerListSpec.
|
|
func (in OwnerListSpec) DeepCopy() OwnerListSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(OwnerListSpec)
|
|
in.DeepCopyInto(out)
|
|
return *out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *OwnerSpec) DeepCopyInto(out *OwnerSpec) {
|
|
*out = *in
|
|
in.CoreOwnerSpec.DeepCopyInto(&out.CoreOwnerSpec)
|
|
if in.ProxyOperations != nil {
|
|
in, out := &in.ProxyOperations, &out.ProxyOperations
|
|
*out = make([]ProxySettings, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
if in.Labels != nil {
|
|
in, out := &in.Labels, &out.Labels
|
|
*out = make(map[string]string, len(*in))
|
|
for key, val := range *in {
|
|
(*out)[key] = val
|
|
}
|
|
}
|
|
if in.Annotations != nil {
|
|
in, out := &in.Annotations, &out.Annotations
|
|
*out = make(map[string]string, len(*in))
|
|
for key, val := range *in {
|
|
(*out)[key] = val
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OwnerSpec.
|
|
func (in *OwnerSpec) DeepCopy() *OwnerSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(OwnerSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in OwnerStatusListSpec) DeepCopyInto(out *OwnerStatusListSpec) {
|
|
{
|
|
in := &in
|
|
*out = make(OwnerStatusListSpec, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OwnerStatusListSpec.
|
|
func (in OwnerStatusListSpec) DeepCopy() OwnerStatusListSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(OwnerStatusListSpec)
|
|
in.DeepCopyInto(out)
|
|
return *out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *PodOptions) DeepCopyInto(out *PodOptions) {
|
|
*out = *in
|
|
if in.AdditionalMetadata != nil {
|
|
in, out := &in.AdditionalMetadata, &out.AdditionalMetadata
|
|
*out = new(AdditionalMetadataSpec)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodOptions.
|
|
func (in *PodOptions) DeepCopy() *PodOptions {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(PodOptions)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *PoolExhaustionResource) DeepCopyInto(out *PoolExhaustionResource) {
|
|
*out = *in
|
|
out.Available = in.Available.DeepCopy()
|
|
out.Requesting = in.Requesting.DeepCopy()
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PoolExhaustionResource.
|
|
func (in *PoolExhaustionResource) DeepCopy() *PoolExhaustionResource {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(PoolExhaustionResource)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ProxySettings) DeepCopyInto(out *ProxySettings) {
|
|
*out = *in
|
|
if in.Operations != nil {
|
|
in, out := &in.Operations, &out.Operations
|
|
*out = make([]ProxyOperation, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProxySettings.
|
|
func (in *ProxySettings) DeepCopy() *ProxySettings {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ProxySettings)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ResourceQuotaSpec) DeepCopyInto(out *ResourceQuotaSpec) {
|
|
*out = *in
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]corev1.ResourceQuotaSpec, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceQuotaSpec.
|
|
func (in *ResourceQuotaSpec) DeepCopy() *ResourceQuotaSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ResourceQuotaSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *SelectionListWithDefaultSpec) DeepCopyInto(out *SelectionListWithDefaultSpec) {
|
|
*out = *in
|
|
in.SelectionListWithSpec.DeepCopyInto(&out.SelectionListWithSpec)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SelectionListWithDefaultSpec.
|
|
func (in *SelectionListWithDefaultSpec) DeepCopy() *SelectionListWithDefaultSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(SelectionListWithDefaultSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *SelectionListWithSpec) DeepCopyInto(out *SelectionListWithSpec) {
|
|
*out = *in
|
|
in.LabelSelector.DeepCopyInto(&out.LabelSelector)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SelectionListWithSpec.
|
|
func (in *SelectionListWithSpec) DeepCopy() *SelectionListWithSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(SelectionListWithSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *SelectorAllowedListSpec) DeepCopyInto(out *SelectorAllowedListSpec) {
|
|
*out = *in
|
|
in.AllowedListSpec.DeepCopyInto(&out.AllowedListSpec)
|
|
in.LabelSelector.DeepCopyInto(&out.LabelSelector)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SelectorAllowedListSpec.
|
|
func (in *SelectorAllowedListSpec) DeepCopy() *SelectorAllowedListSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(SelectorAllowedListSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ServiceOptions) DeepCopyInto(out *ServiceOptions) {
|
|
*out = *in
|
|
if in.AdditionalMetadata != nil {
|
|
in, out := &in.AdditionalMetadata, &out.AdditionalMetadata
|
|
*out = new(AdditionalMetadataSpec)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.AllowedServices != nil {
|
|
in, out := &in.AllowedServices, &out.AllowedServices
|
|
*out = new(AllowedServices)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.ExternalServiceIPs != nil {
|
|
in, out := &in.ExternalServiceIPs, &out.ExternalServiceIPs
|
|
*out = new(ExternalServiceIPsSpec)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
in.ForbiddenLabels.DeepCopyInto(&out.ForbiddenLabels)
|
|
in.ForbiddenAnnotations.DeepCopyInto(&out.ForbiddenAnnotations)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceOptions.
|
|
func (in *ServiceOptions) DeepCopy() *ServiceOptions {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ServiceOptions)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in UserListSpec) DeepCopyInto(out *UserListSpec) {
|
|
{
|
|
in := &in
|
|
*out = make(UserListSpec, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserListSpec.
|
|
func (in UserListSpec) DeepCopy() UserListSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(UserListSpec)
|
|
in.DeepCopyInto(out)
|
|
return *out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *UserSpec) DeepCopyInto(out *UserSpec) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserSpec.
|
|
func (in *UserSpec) DeepCopy() *UserSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(UserSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|