186 lines
5.2 KiB
Go
186 lines
5.2 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 harbor
|
|
|
|
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 *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
|
|
in.Core.DeepCopyInto(&out.Core)
|
|
in.Registry.DeepCopyInto(&out.Registry)
|
|
in.Jobservice.DeepCopyInto(&out.Jobservice)
|
|
in.Trivy.DeepCopyInto(&out.Trivy)
|
|
in.Database.DeepCopyInto(&out.Database)
|
|
in.Redis.DeepCopyInto(&out.Redis)
|
|
}
|
|
|
|
// 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 *Core) DeepCopyInto(out *Core) {
|
|
*out = *in
|
|
in.Resources.DeepCopyInto(&out.Resources)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Core.
|
|
func (in *Core) DeepCopy() *Core {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(Core)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *Database) DeepCopyInto(out *Database) {
|
|
*out = *in
|
|
out.Size = in.Size.DeepCopy()
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Database.
|
|
func (in *Database) DeepCopy() *Database {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(Database)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *Jobservice) DeepCopyInto(out *Jobservice) {
|
|
*out = *in
|
|
in.Resources.DeepCopyInto(&out.Resources)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Jobservice.
|
|
func (in *Jobservice) DeepCopy() *Jobservice {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(Jobservice)
|
|
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.Size = in.Size.DeepCopy()
|
|
}
|
|
|
|
// 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
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *Registry) DeepCopyInto(out *Registry) {
|
|
*out = *in
|
|
in.Resources.DeepCopyInto(&out.Resources)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Registry.
|
|
func (in *Registry) DeepCopy() *Registry {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(Registry)
|
|
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 *Trivy) DeepCopyInto(out *Trivy) {
|
|
*out = *in
|
|
in.Resources.DeepCopyInto(&out.Resources)
|
|
out.Size = in.Size.DeepCopy()
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Trivy.
|
|
func (in *Trivy) DeepCopy() *Trivy {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(Trivy)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|