mirror of
https://github.com/projectcapsule/capsule.git
synced 2026-08-19 20:46:42 +00:00
feat: upstream enterprise preview --------- Signed-off-by: Oliver Baehler <oliver@sudo-i.net> Co-authored-by: CorentinPtrl <pitrel.corentin@gmail.com>
76 lines
2.1 KiB
Go
76 lines
2.1 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 template
|
|
|
|
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 *ResourceReference) DeepCopyInto(out *ResourceReference) {
|
|
*out = *in
|
|
out.VersionKind = in.VersionKind
|
|
if in.Selector != nil {
|
|
in, out := &in.Selector, &out.Selector
|
|
*out = new(v1.LabelSelector)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceReference.
|
|
func (in *ResourceReference) DeepCopy() *ResourceReference {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ResourceReference)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *TemplateContext) DeepCopyInto(out *TemplateContext) {
|
|
*out = *in
|
|
if in.Resources != nil {
|
|
in, out := &in.Resources, &out.Resources
|
|
*out = make([]*TemplateResourceReference, len(*in))
|
|
for i := range *in {
|
|
if (*in)[i] != nil {
|
|
in, out := &(*in)[i], &(*out)[i]
|
|
*out = new(TemplateResourceReference)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TemplateContext.
|
|
func (in *TemplateContext) DeepCopy() *TemplateContext {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(TemplateContext)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *TemplateResourceReference) DeepCopyInto(out *TemplateResourceReference) {
|
|
*out = *in
|
|
in.ResourceReference.DeepCopyInto(&out.ResourceReference)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TemplateResourceReference.
|
|
func (in *TemplateResourceReference) DeepCopy() *TemplateResourceReference {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(TemplateResourceReference)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|