234 lines
6.6 KiB
Go
234 lines
6.6 KiB
Go
//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 foundationdb
|
|
|
|
import (
|
|
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 *Backup) DeepCopyInto(out *Backup) {
|
|
*out = *in
|
|
out.S3 = in.S3
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Backup.
|
|
func (in *Backup) DeepCopy() *Backup {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(Backup)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *BackupS3) DeepCopyInto(out *BackupS3) {
|
|
*out = *in
|
|
out.Credentials = in.Credentials
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupS3.
|
|
func (in *BackupS3) DeepCopy() *BackupS3 {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(BackupS3)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *BackupS3Credentials) DeepCopyInto(out *BackupS3Credentials) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupS3Credentials.
|
|
func (in *BackupS3Credentials) DeepCopy() *BackupS3Credentials {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(BackupS3Credentials)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *Cluster) DeepCopyInto(out *Cluster) {
|
|
*out = *in
|
|
out.FaultDomain = in.FaultDomain
|
|
out.ProcessCounts = in.ProcessCounts
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Cluster.
|
|
func (in *Cluster) DeepCopy() *Cluster {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(Cluster)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ClusterFaultDomain) DeepCopyInto(out *ClusterFaultDomain) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterFaultDomain.
|
|
func (in *ClusterFaultDomain) DeepCopy() *ClusterFaultDomain {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ClusterFaultDomain)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ClusterProcessCounts) DeepCopyInto(out *ClusterProcessCounts) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterProcessCounts.
|
|
func (in *ClusterProcessCounts) DeepCopy() *ClusterProcessCounts {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ClusterProcessCounts)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *Config) DeepCopyInto(out *Config) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
|
in.Spec.DeepCopyInto(&out.Spec)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Config.
|
|
func (in *Config) DeepCopy() *Config {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(Config)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *Config) 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 *ConfigSpec) DeepCopyInto(out *ConfigSpec) {
|
|
*out = *in
|
|
out.Cluster = in.Cluster
|
|
in.Storage.DeepCopyInto(&out.Storage)
|
|
in.Resources.DeepCopyInto(&out.Resources)
|
|
out.Backup = in.Backup
|
|
out.Monitoring = in.Monitoring
|
|
if in.CustomParameters != nil {
|
|
in, out := &in.CustomParameters, &out.CustomParameters
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
out.SecurityContext = in.SecurityContext
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigSpec.
|
|
func (in *ConfigSpec) DeepCopy() *ConfigSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ConfigSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *Monitoring) DeepCopyInto(out *Monitoring) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Monitoring.
|
|
func (in *Monitoring) DeepCopy() *Monitoring {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(Monitoring)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *Resources) DeepCopyInto(out *Resources) {
|
|
*out = *in
|
|
out.Cpu = in.Cpu.DeepCopy()
|
|
out.Memory = in.Memory.DeepCopy()
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Resources.
|
|
func (in *Resources) DeepCopy() *Resources {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(Resources)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *SecurityContext) DeepCopyInto(out *SecurityContext) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityContext.
|
|
func (in *SecurityContext) DeepCopy() *SecurityContext {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(SecurityContext)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *Storage) DeepCopyInto(out *Storage) {
|
|
*out = *in
|
|
out.Size = in.Size.DeepCopy()
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Storage.
|
|
func (in *Storage) DeepCopy() *Storage {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(Storage)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|