github.com/1aal/kubeblocks@v0.0.0-20231107070852-e1c03e598921/apis/storage/v1alpha1/zz_generated.deepcopy.go (about) 1 //go:build !ignore_autogenerated 2 // +build !ignore_autogenerated 3 4 /* 5 Copyright (C) 2022-2023 ApeCloud Co., Ltd 6 7 This file is part of KubeBlocks project 8 9 This program is free software: you can redistribute it and/or modify 10 it under the terms of the GNU Affero General Public License as published by 11 the Free Software Foundation, either version 3 of the License, or 12 (at your option) any later version. 13 14 This program is distributed in the hope that it will be useful 15 but WITHOUT ANY WARRANTY; without even the implied warranty of 16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17 GNU Affero General Public License for more details. 18 19 You should have received a copy of the GNU Affero General Public License 20 along with this program. If not, see <http://www.gnu.org/licenses/>. 21 */ 22 23 // Code generated by controller-gen. DO NOT EDIT. 24 25 package v1alpha1 26 27 import ( 28 "k8s.io/apimachinery/pkg/apis/meta/v1" 29 runtime "k8s.io/apimachinery/pkg/runtime" 30 ) 31 32 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 33 func (in *ParametersSchema) DeepCopyInto(out *ParametersSchema) { 34 *out = *in 35 if in.OpenAPIV3Schema != nil { 36 in, out := &in.OpenAPIV3Schema, &out.OpenAPIV3Schema 37 *out = (*in).DeepCopy() 38 } 39 if in.CredentialFields != nil { 40 in, out := &in.CredentialFields, &out.CredentialFields 41 *out = make([]string, len(*in)) 42 copy(*out, *in) 43 } 44 } 45 46 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ParametersSchema. 47 func (in *ParametersSchema) DeepCopy() *ParametersSchema { 48 if in == nil { 49 return nil 50 } 51 out := new(ParametersSchema) 52 in.DeepCopyInto(out) 53 return out 54 } 55 56 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 57 func (in *StorageProvider) DeepCopyInto(out *StorageProvider) { 58 *out = *in 59 out.TypeMeta = in.TypeMeta 60 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 61 in.Spec.DeepCopyInto(&out.Spec) 62 in.Status.DeepCopyInto(&out.Status) 63 } 64 65 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageProvider. 66 func (in *StorageProvider) DeepCopy() *StorageProvider { 67 if in == nil { 68 return nil 69 } 70 out := new(StorageProvider) 71 in.DeepCopyInto(out) 72 return out 73 } 74 75 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 76 func (in *StorageProvider) DeepCopyObject() runtime.Object { 77 if c := in.DeepCopy(); c != nil { 78 return c 79 } 80 return nil 81 } 82 83 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 84 func (in *StorageProviderList) DeepCopyInto(out *StorageProviderList) { 85 *out = *in 86 out.TypeMeta = in.TypeMeta 87 in.ListMeta.DeepCopyInto(&out.ListMeta) 88 if in.Items != nil { 89 in, out := &in.Items, &out.Items 90 *out = make([]StorageProvider, len(*in)) 91 for i := range *in { 92 (*in)[i].DeepCopyInto(&(*out)[i]) 93 } 94 } 95 } 96 97 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageProviderList. 98 func (in *StorageProviderList) DeepCopy() *StorageProviderList { 99 if in == nil { 100 return nil 101 } 102 out := new(StorageProviderList) 103 in.DeepCopyInto(out) 104 return out 105 } 106 107 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 108 func (in *StorageProviderList) DeepCopyObject() runtime.Object { 109 if c := in.DeepCopy(); c != nil { 110 return c 111 } 112 return nil 113 } 114 115 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 116 func (in *StorageProviderSpec) DeepCopyInto(out *StorageProviderSpec) { 117 *out = *in 118 if in.ParametersSchema != nil { 119 in, out := &in.ParametersSchema, &out.ParametersSchema 120 *out = new(ParametersSchema) 121 (*in).DeepCopyInto(*out) 122 } 123 } 124 125 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageProviderSpec. 126 func (in *StorageProviderSpec) DeepCopy() *StorageProviderSpec { 127 if in == nil { 128 return nil 129 } 130 out := new(StorageProviderSpec) 131 in.DeepCopyInto(out) 132 return out 133 } 134 135 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 136 func (in *StorageProviderStatus) DeepCopyInto(out *StorageProviderStatus) { 137 *out = *in 138 if in.Conditions != nil { 139 in, out := &in.Conditions, &out.Conditions 140 *out = make([]v1.Condition, len(*in)) 141 for i := range *in { 142 (*in)[i].DeepCopyInto(&(*out)[i]) 143 } 144 } 145 } 146 147 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageProviderStatus. 148 func (in *StorageProviderStatus) DeepCopy() *StorageProviderStatus { 149 if in == nil { 150 return nil 151 } 152 out := new(StorageProviderStatus) 153 in.DeepCopyInto(out) 154 return out 155 }