Merge pull request #14716 from BlaineEXE/update-codegen

object: add missing codegen from pool placements
This commit is contained in:
Santosh Pillai authored and GitHub committed 2024-09-12 12:50:39 +05:30
commit f32ed6292f
1 file changed
+46 -2
@@ -3632,6 +3632,13 @@ func (in *ObjectRealmSpec) DeepCopy() *ObjectRealmSpec {
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ObjectSharedPoolsSpec) DeepCopyInto(out *ObjectSharedPoolsSpec) {
*out = *in
if in.PoolPlacements != nil {
in, out := &in.PoolPlacements, &out.PoolPlacements
*out = make([]PoolPlacementSpec, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
return
}
@@ -3694,7 +3701,7 @@ func (in *ObjectStoreSpec) DeepCopyInto(out *ObjectStoreSpec) {
*out = *in
in.MetadataPool.DeepCopyInto(&out.MetadataPool)
in.DataPool.DeepCopyInto(&out.DataPool)
out.SharedPools = in.SharedPools
in.SharedPools.DeepCopyInto(&out.SharedPools)
in.Gateway.DeepCopyInto(&out.Gateway)
in.Protocols.DeepCopyInto(&out.Protocols)
in.Auth.DeepCopyInto(&out.Auth)
@@ -3876,7 +3883,7 @@ func (in *ObjectZoneSpec) DeepCopyInto(out *ObjectZoneSpec) {
*out = *in
in.MetadataPool.DeepCopyInto(&out.MetadataPool)
in.DataPool.DeepCopyInto(&out.DataPool)
out.SharedPools = in.SharedPools
in.SharedPools.DeepCopyInto(&out.SharedPools)
if in.CustomEndpoints != nil {
in, out := &in.CustomEndpoints, &out.CustomEndpoints
*out = make([]string, len(*in))
@@ -4010,6 +4017,22 @@ func (in PlacementSpec) DeepCopy() PlacementSpec {
return *out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *PlacementStorageClassSpec) DeepCopyInto(out *PlacementStorageClassSpec) {
*out = *in
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlacementStorageClassSpec.
func (in *PlacementStorageClassSpec) DeepCopy() *PlacementStorageClassSpec {
if in == nil {
return nil
}
out := new(PlacementStorageClassSpec)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *PoolMirroringInfo) DeepCopyInto(out *PoolMirroringInfo) {
*out = *in
@@ -4069,6 +4092,27 @@ func (in *PoolMirroringStatusSummarySpec) DeepCopy() *PoolMirroringStatusSummary
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *PoolPlacementSpec) DeepCopyInto(out *PoolPlacementSpec) {
*out = *in
if in.StorageClasses != nil {
in, out := &in.StorageClasses, &out.StorageClasses
*out = make([]PlacementStorageClassSpec, len(*in))
copy(*out, *in)
}
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PoolPlacementSpec.
func (in *PoolPlacementSpec) DeepCopy() *PoolPlacementSpec {
if in == nil {
return nil
}
out := new(PoolPlacementSpec)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *PoolSpec) DeepCopyInto(out *PoolSpec) {
*out = *in