mirror of
https://github.com/cozystack/cozystack.git
synced 2026-11-22 04:33:36 +09:00
MongoDB was the only cozy-default app with no useSystemBucket flow: its backup storage was always static on the app CR (bucket/endpoint/creds from backup.* values + a chart-emitted <release>-s3-creds Secret), so a tenant could not back up to the platform system bucket out of the box the way postgres/clickhouse/etc. do. PBM takes bucket/endpointUrl/region/prefix as static CR fields (not secret refs) and the platform bucket name/endpoint are only known at BackupJob time, so - unlike ClickHouse's runtime env secretKeyRef - the chart cannot render them. The fix mirrors the CNPG driver: the chart adds a useSystemBucket flag that keeps spec.backup.enabled (so the pbm agents run) but omits the static storages/tasks/pitr and the creds Secret; the cozy-default MongoDB strategy carries the coordinates (endpointUrl already scheme'd by the endpoint helper, credentialsSecret cozy-backups-creds); and the psmdb driver SSA-injects spec.backup.storages[s3-storage] onto the live PerconaServerMongoDB at BackupJob time under its own field manager with ForceOwnership, so a Flux re-render never reverts it. Injection is gated on the storage being absent, so a legacy app that ships its own static storage is left untouched. The backup snapshot falls back to the strategy coordinates when the operator status echo is empty, so the restore path rebuilds backupSource (credentialsSecret cozy-backups-creds is projected into the restore namespace before dispatch). RBAC grows patch/update on perconaservermongodbs for the injection. A bootstrap.enabled + useSystemBucket render guard mirrors postgres. Signed-off-by: Andrey Kolkov <androndo@gmail.com> Assisted-By: LLM
1526 lines
43 KiB
Go
Generated
1526 lines
43 KiB
Go
Generated
//go:build !ignore_autogenerated
|
|
|
|
/*
|
|
Copyright 2025 The Cozystack Authors.
|
|
|
|
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.
|
|
*/
|
|
|
|
// Code generated by controller-gen. DO NOT EDIT.
|
|
|
|
package v1alpha1
|
|
|
|
import (
|
|
velerov1 "github.com/vmware-tanzu/velero/pkg/apis/velero/v1"
|
|
corev1 "k8s.io/api/core/v1"
|
|
"k8s.io/apimachinery/pkg/apis/meta/v1"
|
|
"k8s.io/apimachinery/pkg/runtime"
|
|
)
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *Altinity) DeepCopyInto(out *Altinity) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
|
in.Spec.DeepCopyInto(&out.Spec)
|
|
in.Status.DeepCopyInto(&out.Status)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Altinity.
|
|
func (in *Altinity) DeepCopy() *Altinity {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(Altinity)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *Altinity) 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 *AltinityList) DeepCopyInto(out *AltinityList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]Altinity, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AltinityList.
|
|
func (in *AltinityList) DeepCopy() *AltinityList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(AltinityList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *AltinityList) 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 *AltinitySpec) DeepCopyInto(out *AltinitySpec) {
|
|
*out = *in
|
|
in.Template.DeepCopyInto(&out.Template)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AltinitySpec.
|
|
func (in *AltinitySpec) DeepCopy() *AltinitySpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(AltinitySpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *AltinityStatus) DeepCopyInto(out *AltinityStatus) {
|
|
*out = *in
|
|
if in.Conditions != nil {
|
|
in, out := &in.Conditions, &out.Conditions
|
|
*out = make([]v1.Condition, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AltinityStatus.
|
|
func (in *AltinityStatus) DeepCopy() *AltinityStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(AltinityStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *BarmanDataTemplate) DeepCopyInto(out *BarmanDataTemplate) {
|
|
*out = *in
|
|
if in.Jobs != nil {
|
|
in, out := &in.Jobs, &out.Jobs
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BarmanDataTemplate.
|
|
func (in *BarmanDataTemplate) DeepCopy() *BarmanDataTemplate {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(BarmanDataTemplate)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *BarmanObjectStoreTemplate) DeepCopyInto(out *BarmanObjectStoreTemplate) {
|
|
*out = *in
|
|
if in.EndpointCA != nil {
|
|
in, out := &in.EndpointCA, &out.EndpointCA
|
|
*out = new(EndpointCARef)
|
|
**out = **in
|
|
}
|
|
if in.S3Credentials != nil {
|
|
in, out := &in.S3Credentials, &out.S3Credentials
|
|
*out = new(S3CredentialsTemplate)
|
|
**out = **in
|
|
}
|
|
if in.Wal != nil {
|
|
in, out := &in.Wal, &out.Wal
|
|
*out = new(BarmanWalTemplate)
|
|
**out = **in
|
|
}
|
|
if in.Data != nil {
|
|
in, out := &in.Data, &out.Data
|
|
*out = new(BarmanDataTemplate)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BarmanObjectStoreTemplate.
|
|
func (in *BarmanObjectStoreTemplate) DeepCopy() *BarmanObjectStoreTemplate {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(BarmanObjectStoreTemplate)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *BarmanWalTemplate) DeepCopyInto(out *BarmanWalTemplate) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BarmanWalTemplate.
|
|
func (in *BarmanWalTemplate) DeepCopy() *BarmanWalTemplate {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(BarmanWalTemplate)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *CNPG) DeepCopyInto(out *CNPG) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
|
in.Spec.DeepCopyInto(&out.Spec)
|
|
in.Status.DeepCopyInto(&out.Status)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CNPG.
|
|
func (in *CNPG) DeepCopy() *CNPG {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(CNPG)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *CNPG) 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 *CNPGList) DeepCopyInto(out *CNPGList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]CNPG, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CNPGList.
|
|
func (in *CNPGList) DeepCopy() *CNPGList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(CNPGList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *CNPGList) 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 *CNPGSpec) DeepCopyInto(out *CNPGSpec) {
|
|
*out = *in
|
|
in.Template.DeepCopyInto(&out.Template)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CNPGSpec.
|
|
func (in *CNPGSpec) DeepCopy() *CNPGSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(CNPGSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *CNPGStatus) DeepCopyInto(out *CNPGStatus) {
|
|
*out = *in
|
|
if in.Conditions != nil {
|
|
in, out := &in.Conditions, &out.Conditions
|
|
*out = make([]v1.Condition, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CNPGStatus.
|
|
func (in *CNPGStatus) DeepCopy() *CNPGStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(CNPGStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *CNPGTemplate) DeepCopyInto(out *CNPGTemplate) {
|
|
*out = *in
|
|
in.BarmanObjectStore.DeepCopyInto(&out.BarmanObjectStore)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CNPGTemplate.
|
|
func (in *CNPGTemplate) DeepCopy() *CNPGTemplate {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(CNPGTemplate)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *EndpointCARef) DeepCopyInto(out *EndpointCARef) {
|
|
*out = *in
|
|
out.SecretRef = in.SecretRef
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointCARef.
|
|
func (in *EndpointCARef) DeepCopy() *EndpointCARef {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(EndpointCARef)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *Etcd) DeepCopyInto(out *Etcd) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
|
in.Spec.DeepCopyInto(&out.Spec)
|
|
in.Status.DeepCopyInto(&out.Status)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Etcd.
|
|
func (in *Etcd) DeepCopy() *Etcd {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(Etcd)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *Etcd) 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 *EtcdDestinationTemplate) DeepCopyInto(out *EtcdDestinationTemplate) {
|
|
*out = *in
|
|
if in.S3 != nil {
|
|
in, out := &in.S3, &out.S3
|
|
*out = new(EtcdS3Template)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EtcdDestinationTemplate.
|
|
func (in *EtcdDestinationTemplate) DeepCopy() *EtcdDestinationTemplate {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(EtcdDestinationTemplate)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *EtcdList) DeepCopyInto(out *EtcdList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]Etcd, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EtcdList.
|
|
func (in *EtcdList) DeepCopy() *EtcdList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(EtcdList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *EtcdList) 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 *EtcdLocalObjectReference) DeepCopyInto(out *EtcdLocalObjectReference) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EtcdLocalObjectReference.
|
|
func (in *EtcdLocalObjectReference) DeepCopy() *EtcdLocalObjectReference {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(EtcdLocalObjectReference)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *EtcdS3Template) DeepCopyInto(out *EtcdS3Template) {
|
|
*out = *in
|
|
if in.ForcePathStyle != nil {
|
|
in, out := &in.ForcePathStyle, &out.ForcePathStyle
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
out.CredentialsSecretRef = in.CredentialsSecretRef
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EtcdS3Template.
|
|
func (in *EtcdS3Template) DeepCopy() *EtcdS3Template {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(EtcdS3Template)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *EtcdSpec) DeepCopyInto(out *EtcdSpec) {
|
|
*out = *in
|
|
in.Template.DeepCopyInto(&out.Template)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EtcdSpec.
|
|
func (in *EtcdSpec) DeepCopy() *EtcdSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(EtcdSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *EtcdStatus) DeepCopyInto(out *EtcdStatus) {
|
|
*out = *in
|
|
if in.Conditions != nil {
|
|
in, out := &in.Conditions, &out.Conditions
|
|
*out = make([]v1.Condition, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EtcdStatus.
|
|
func (in *EtcdStatus) DeepCopy() *EtcdStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(EtcdStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *EtcdTemplate) DeepCopyInto(out *EtcdTemplate) {
|
|
*out = *in
|
|
in.Destination.DeepCopyInto(&out.Destination)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EtcdTemplate.
|
|
func (in *EtcdTemplate) DeepCopy() *EtcdTemplate {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(EtcdTemplate)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *FoundationDB) DeepCopyInto(out *FoundationDB) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
|
in.Spec.DeepCopyInto(&out.Spec)
|
|
in.Status.DeepCopyInto(&out.Status)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FoundationDB.
|
|
func (in *FoundationDB) DeepCopy() *FoundationDB {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(FoundationDB)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *FoundationDB) 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 *FoundationDBBlobStoreTemplate) DeepCopyInto(out *FoundationDBBlobStoreTemplate) {
|
|
*out = *in
|
|
if in.URLParameters != nil {
|
|
in, out := &in.URLParameters, &out.URLParameters
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FoundationDBBlobStoreTemplate.
|
|
func (in *FoundationDBBlobStoreTemplate) DeepCopy() *FoundationDBBlobStoreTemplate {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(FoundationDBBlobStoreTemplate)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *FoundationDBList) DeepCopyInto(out *FoundationDBList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]FoundationDB, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FoundationDBList.
|
|
func (in *FoundationDBList) DeepCopy() *FoundationDBList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(FoundationDBList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *FoundationDBList) 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 *FoundationDBSpec) DeepCopyInto(out *FoundationDBSpec) {
|
|
*out = *in
|
|
in.Template.DeepCopyInto(&out.Template)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FoundationDBSpec.
|
|
func (in *FoundationDBSpec) DeepCopy() *FoundationDBSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(FoundationDBSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *FoundationDBStatus) DeepCopyInto(out *FoundationDBStatus) {
|
|
*out = *in
|
|
if in.Conditions != nil {
|
|
in, out := &in.Conditions, &out.Conditions
|
|
*out = make([]v1.Condition, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FoundationDBStatus.
|
|
func (in *FoundationDBStatus) DeepCopy() *FoundationDBStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(FoundationDBStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *FoundationDBTemplate) DeepCopyInto(out *FoundationDBTemplate) {
|
|
*out = *in
|
|
in.BlobStoreConfiguration.DeepCopyInto(&out.BlobStoreConfiguration)
|
|
if in.AgentCount != nil {
|
|
in, out := &in.AgentCount, &out.AgentCount
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
if in.SnapshotPeriodSeconds != nil {
|
|
in, out := &in.SnapshotPeriodSeconds, &out.SnapshotPeriodSeconds
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
if in.CustomParameters != nil {
|
|
in, out := &in.CustomParameters, &out.CustomParameters
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.BackupDeploymentPodTemplateSpec != nil {
|
|
in, out := &in.BackupDeploymentPodTemplateSpec, &out.BackupDeploymentPodTemplateSpec
|
|
*out = new(corev1.PodTemplateSpec)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FoundationDBTemplate.
|
|
func (in *FoundationDBTemplate) DeepCopy() *FoundationDBTemplate {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(FoundationDBTemplate)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *Job) DeepCopyInto(out *Job) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
|
in.Spec.DeepCopyInto(&out.Spec)
|
|
in.Status.DeepCopyInto(&out.Status)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Job.
|
|
func (in *Job) DeepCopy() *Job {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(Job)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *Job) 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 *JobList) DeepCopyInto(out *JobList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]Job, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobList.
|
|
func (in *JobList) DeepCopy() *JobList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(JobList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *JobList) 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 *JobSpec) DeepCopyInto(out *JobSpec) {
|
|
*out = *in
|
|
in.Template.DeepCopyInto(&out.Template)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobSpec.
|
|
func (in *JobSpec) DeepCopy() *JobSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(JobSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *JobStatus) DeepCopyInto(out *JobStatus) {
|
|
*out = *in
|
|
if in.Conditions != nil {
|
|
in, out := &in.Conditions, &out.Conditions
|
|
*out = make([]v1.Condition, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobStatus.
|
|
func (in *JobStatus) DeepCopy() *JobStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(JobStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *Kafka) DeepCopyInto(out *Kafka) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
|
in.Spec.DeepCopyInto(&out.Spec)
|
|
in.Status.DeepCopyInto(&out.Status)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Kafka.
|
|
func (in *Kafka) DeepCopy() *Kafka {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(Kafka)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *Kafka) 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 *KafkaList) DeepCopyInto(out *KafkaList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]Kafka, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KafkaList.
|
|
func (in *KafkaList) DeepCopy() *KafkaList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(KafkaList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *KafkaList) 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 *KafkaSpec) DeepCopyInto(out *KafkaSpec) {
|
|
*out = *in
|
|
in.Template.DeepCopyInto(&out.Template)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KafkaSpec.
|
|
func (in *KafkaSpec) DeepCopy() *KafkaSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(KafkaSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *KafkaStatus) DeepCopyInto(out *KafkaStatus) {
|
|
*out = *in
|
|
if in.Conditions != nil {
|
|
in, out := &in.Conditions, &out.Conditions
|
|
*out = make([]v1.Condition, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KafkaStatus.
|
|
func (in *KafkaStatus) DeepCopy() *KafkaStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(KafkaStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *MariaDB) DeepCopyInto(out *MariaDB) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
|
in.Spec.DeepCopyInto(&out.Spec)
|
|
in.Status.DeepCopyInto(&out.Status)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MariaDB.
|
|
func (in *MariaDB) DeepCopy() *MariaDB {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(MariaDB)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *MariaDB) 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 *MariaDBList) DeepCopyInto(out *MariaDBList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]MariaDB, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MariaDBList.
|
|
func (in *MariaDBList) DeepCopy() *MariaDBList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(MariaDBList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *MariaDBList) 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 *MariaDBS3TLS) DeepCopyInto(out *MariaDBS3TLS) {
|
|
*out = *in
|
|
if in.CASecretKeyRef != nil {
|
|
in, out := &in.CASecretKeyRef, &out.CASecretKeyRef
|
|
*out = new(MariaDBSecretKeySelector)
|
|
**out = **in
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MariaDBS3TLS.
|
|
func (in *MariaDBS3TLS) DeepCopy() *MariaDBS3TLS {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(MariaDBS3TLS)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *MariaDBS3Template) DeepCopyInto(out *MariaDBS3Template) {
|
|
*out = *in
|
|
out.AccessKeyIDSecretKeyRef = in.AccessKeyIDSecretKeyRef
|
|
out.SecretAccessKeySecretKeyRef = in.SecretAccessKeySecretKeyRef
|
|
if in.SessionTokenSecretKeyRef != nil {
|
|
in, out := &in.SessionTokenSecretKeyRef, &out.SessionTokenSecretKeyRef
|
|
*out = new(MariaDBSecretKeySelector)
|
|
**out = **in
|
|
}
|
|
if in.TLS != nil {
|
|
in, out := &in.TLS, &out.TLS
|
|
*out = new(MariaDBS3TLS)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MariaDBS3Template.
|
|
func (in *MariaDBS3Template) DeepCopy() *MariaDBS3Template {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(MariaDBS3Template)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *MariaDBSecretKeySelector) DeepCopyInto(out *MariaDBSecretKeySelector) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MariaDBSecretKeySelector.
|
|
func (in *MariaDBSecretKeySelector) DeepCopy() *MariaDBSecretKeySelector {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(MariaDBSecretKeySelector)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *MariaDBSpec) DeepCopyInto(out *MariaDBSpec) {
|
|
*out = *in
|
|
in.Template.DeepCopyInto(&out.Template)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MariaDBSpec.
|
|
func (in *MariaDBSpec) DeepCopy() *MariaDBSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(MariaDBSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *MariaDBStatus) DeepCopyInto(out *MariaDBStatus) {
|
|
*out = *in
|
|
if in.Conditions != nil {
|
|
in, out := &in.Conditions, &out.Conditions
|
|
*out = make([]v1.Condition, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MariaDBStatus.
|
|
func (in *MariaDBStatus) DeepCopy() *MariaDBStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(MariaDBStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *MariaDBStorageTemplate) DeepCopyInto(out *MariaDBStorageTemplate) {
|
|
*out = *in
|
|
if in.S3 != nil {
|
|
in, out := &in.S3, &out.S3
|
|
*out = new(MariaDBS3Template)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.PersistentVolumeClaim != nil {
|
|
in, out := &in.PersistentVolumeClaim, &out.PersistentVolumeClaim
|
|
*out = new(corev1.PersistentVolumeClaimSpec)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.Volume != nil {
|
|
in, out := &in.Volume, &out.Volume
|
|
*out = new(corev1.VolumeSource)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MariaDBStorageTemplate.
|
|
func (in *MariaDBStorageTemplate) DeepCopy() *MariaDBStorageTemplate {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(MariaDBStorageTemplate)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *MariaDBTemplate) DeepCopyInto(out *MariaDBTemplate) {
|
|
*out = *in
|
|
in.Storage.DeepCopyInto(&out.Storage)
|
|
if in.Databases != nil {
|
|
in, out := &in.Databases, &out.Databases
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.MaxRetention != nil {
|
|
in, out := &in.MaxRetention, &out.MaxRetention
|
|
*out = new(v1.Duration)
|
|
**out = **in
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MariaDBTemplate.
|
|
func (in *MariaDBTemplate) DeepCopy() *MariaDBTemplate {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(MariaDBTemplate)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *MongoDB) DeepCopyInto(out *MongoDB) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
|
in.Spec.DeepCopyInto(&out.Spec)
|
|
in.Status.DeepCopyInto(&out.Status)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MongoDB.
|
|
func (in *MongoDB) DeepCopy() *MongoDB {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(MongoDB)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *MongoDB) 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 *MongoDBList) DeepCopyInto(out *MongoDBList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]MongoDB, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MongoDBList.
|
|
func (in *MongoDBList) DeepCopy() *MongoDBList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(MongoDBList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *MongoDBList) 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 *MongoDBSpec) DeepCopyInto(out *MongoDBSpec) {
|
|
*out = *in
|
|
in.Template.DeepCopyInto(&out.Template)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MongoDBSpec.
|
|
func (in *MongoDBSpec) DeepCopy() *MongoDBSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(MongoDBSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *MongoDBStatus) DeepCopyInto(out *MongoDBStatus) {
|
|
*out = *in
|
|
if in.Conditions != nil {
|
|
in, out := &in.Conditions, &out.Conditions
|
|
*out = make([]v1.Condition, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MongoDBStatus.
|
|
func (in *MongoDBStatus) DeepCopy() *MongoDBStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(MongoDBStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *MongoDBStorageS3) DeepCopyInto(out *MongoDBStorageS3) {
|
|
*out = *in
|
|
if in.ForcePathStyle != nil {
|
|
in, out := &in.ForcePathStyle, &out.ForcePathStyle
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MongoDBStorageS3.
|
|
func (in *MongoDBStorageS3) DeepCopy() *MongoDBStorageS3 {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(MongoDBStorageS3)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *MongoDBTemplate) DeepCopyInto(out *MongoDBTemplate) {
|
|
*out = *in
|
|
if in.CompressionLevel != nil {
|
|
in, out := &in.CompressionLevel, &out.CompressionLevel
|
|
*out = new(int)
|
|
**out = **in
|
|
}
|
|
if in.S3 != nil {
|
|
in, out := &in.S3, &out.S3
|
|
*out = new(MongoDBStorageS3)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MongoDBTemplate.
|
|
func (in *MongoDBTemplate) DeepCopy() *MongoDBTemplate {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(MongoDBTemplate)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *Rabbitmq) DeepCopyInto(out *Rabbitmq) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
|
in.Spec.DeepCopyInto(&out.Spec)
|
|
in.Status.DeepCopyInto(&out.Status)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Rabbitmq.
|
|
func (in *Rabbitmq) DeepCopy() *Rabbitmq {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(Rabbitmq)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *Rabbitmq) 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 *RabbitmqList) DeepCopyInto(out *RabbitmqList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]Rabbitmq, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RabbitmqList.
|
|
func (in *RabbitmqList) DeepCopy() *RabbitmqList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(RabbitmqList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *RabbitmqList) 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 *RabbitmqSpec) DeepCopyInto(out *RabbitmqSpec) {
|
|
*out = *in
|
|
in.Template.DeepCopyInto(&out.Template)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RabbitmqSpec.
|
|
func (in *RabbitmqSpec) DeepCopy() *RabbitmqSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(RabbitmqSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *RabbitmqStatus) DeepCopyInto(out *RabbitmqStatus) {
|
|
*out = *in
|
|
if in.Conditions != nil {
|
|
in, out := &in.Conditions, &out.Conditions
|
|
*out = make([]v1.Condition, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RabbitmqStatus.
|
|
func (in *RabbitmqStatus) DeepCopy() *RabbitmqStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(RabbitmqStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *Redis) DeepCopyInto(out *Redis) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
|
in.Spec.DeepCopyInto(&out.Spec)
|
|
in.Status.DeepCopyInto(&out.Status)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Redis.
|
|
func (in *Redis) DeepCopy() *Redis {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(Redis)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *Redis) 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 *RedisList) DeepCopyInto(out *RedisList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]Redis, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedisList.
|
|
func (in *RedisList) DeepCopy() *RedisList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(RedisList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *RedisList) 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 *RedisSpec) DeepCopyInto(out *RedisSpec) {
|
|
*out = *in
|
|
in.Template.DeepCopyInto(&out.Template)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedisSpec.
|
|
func (in *RedisSpec) DeepCopy() *RedisSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(RedisSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *RedisStatus) DeepCopyInto(out *RedisStatus) {
|
|
*out = *in
|
|
if in.Conditions != nil {
|
|
in, out := &in.Conditions, &out.Conditions
|
|
*out = make([]v1.Condition, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedisStatus.
|
|
func (in *RedisStatus) DeepCopy() *RedisStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(RedisStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *S3CredentialsTemplate) DeepCopyInto(out *S3CredentialsTemplate) {
|
|
*out = *in
|
|
out.SecretRef = in.SecretRef
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new S3CredentialsTemplate.
|
|
func (in *S3CredentialsTemplate) DeepCopy() *S3CredentialsTemplate {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(S3CredentialsTemplate)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *Velero) DeepCopyInto(out *Velero) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
|
in.Spec.DeepCopyInto(&out.Spec)
|
|
in.Status.DeepCopyInto(&out.Status)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Velero.
|
|
func (in *Velero) DeepCopy() *Velero {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(Velero)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *Velero) 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 *VeleroList) DeepCopyInto(out *VeleroList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]Velero, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VeleroList.
|
|
func (in *VeleroList) DeepCopy() *VeleroList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(VeleroList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *VeleroList) 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 *VeleroSpec) DeepCopyInto(out *VeleroSpec) {
|
|
*out = *in
|
|
in.Template.DeepCopyInto(&out.Template)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VeleroSpec.
|
|
func (in *VeleroSpec) DeepCopy() *VeleroSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(VeleroSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *VeleroStatus) DeepCopyInto(out *VeleroStatus) {
|
|
*out = *in
|
|
if in.Conditions != nil {
|
|
in, out := &in.Conditions, &out.Conditions
|
|
*out = make([]v1.Condition, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VeleroStatus.
|
|
func (in *VeleroStatus) DeepCopy() *VeleroStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(VeleroStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *VeleroTemplate) DeepCopyInto(out *VeleroTemplate) {
|
|
*out = *in
|
|
in.Spec.DeepCopyInto(&out.Spec)
|
|
if in.RestoreSpec != nil {
|
|
in, out := &in.RestoreSpec, &out.RestoreSpec
|
|
*out = new(velerov1.RestoreSpec)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VeleroTemplate.
|
|
func (in *VeleroTemplate) DeepCopy() *VeleroTemplate {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(VeleroTemplate)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|