mirror of
https://github.com/projectcapsule/capsule.git
synced 2026-04-09 12:17:31 +00:00
58 lines
1.6 KiB
Go
58 lines
1.6 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 selectors
|
|
|
|
import (
|
|
"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 *NamespaceSelector) DeepCopyInto(out *NamespaceSelector) {
|
|
*out = *in
|
|
if in.LabelSelector != nil {
|
|
in, out := &in.LabelSelector, &out.LabelSelector
|
|
*out = new(v1.LabelSelector)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceSelector.
|
|
func (in *NamespaceSelector) DeepCopy() *NamespaceSelector {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(NamespaceSelector)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *SelectorWithNamespaceSelector) DeepCopyInto(out *SelectorWithNamespaceSelector) {
|
|
*out = *in
|
|
if in.LabelSelector != nil {
|
|
in, out := &in.LabelSelector, &out.LabelSelector
|
|
*out = new(v1.LabelSelector)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.NamespaceSelector != nil {
|
|
in, out := &in.NamespaceSelector, &out.NamespaceSelector
|
|
*out = new(NamespaceSelector)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SelectorWithNamespaceSelector.
|
|
func (in *SelectorWithNamespaceSelector) DeepCopy() *SelectorWithNamespaceSelector {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(SelectorWithNamespaceSelector)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|