| // +build !ignore_autogenerated |
| |
| /* |
| Copyright The Kubernetes 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 deepcopy-gen. DO NOT EDIT. |
| |
| package v1alpha1 |
| |
| 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 *CSIDriver) DeepCopyInto(out *CSIDriver) { |
| *out = *in |
| out.TypeMeta = in.TypeMeta |
| in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) |
| in.Spec.DeepCopyInto(&out.Spec) |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CSIDriver. |
| func (in *CSIDriver) DeepCopy() *CSIDriver { |
| if in == nil { |
| return nil |
| } |
| out := new(CSIDriver) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| func (in *CSIDriver) 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 *CSIDriverInfoSpec) DeepCopyInto(out *CSIDriverInfoSpec) { |
| *out = *in |
| if in.TopologyKeys != nil { |
| in, out := &in.TopologyKeys, &out.TopologyKeys |
| *out = make([]string, len(*in)) |
| copy(*out, *in) |
| } |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CSIDriverInfoSpec. |
| func (in *CSIDriverInfoSpec) DeepCopy() *CSIDriverInfoSpec { |
| if in == nil { |
| return nil |
| } |
| out := new(CSIDriverInfoSpec) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *CSIDriverInfoStatus) DeepCopyInto(out *CSIDriverInfoStatus) { |
| *out = *in |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CSIDriverInfoStatus. |
| func (in *CSIDriverInfoStatus) DeepCopy() *CSIDriverInfoStatus { |
| if in == nil { |
| return nil |
| } |
| out := new(CSIDriverInfoStatus) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *CSIDriverList) DeepCopyInto(out *CSIDriverList) { |
| *out = *in |
| out.TypeMeta = in.TypeMeta |
| out.ListMeta = in.ListMeta |
| if in.Items != nil { |
| in, out := &in.Items, &out.Items |
| *out = make([]CSIDriver, len(*in)) |
| for i := range *in { |
| (*in)[i].DeepCopyInto(&(*out)[i]) |
| } |
| } |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CSIDriverList. |
| func (in *CSIDriverList) DeepCopy() *CSIDriverList { |
| if in == nil { |
| return nil |
| } |
| out := new(CSIDriverList) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| func (in *CSIDriverList) 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 *CSIDriverSpec) DeepCopyInto(out *CSIDriverSpec) { |
| *out = *in |
| if in.AttachRequired != nil { |
| in, out := &in.AttachRequired, &out.AttachRequired |
| *out = new(bool) |
| **out = **in |
| } |
| if in.PodInfoOnMountVersion != nil { |
| in, out := &in.PodInfoOnMountVersion, &out.PodInfoOnMountVersion |
| *out = new(string) |
| **out = **in |
| } |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CSIDriverSpec. |
| func (in *CSIDriverSpec) DeepCopy() *CSIDriverSpec { |
| if in == nil { |
| return nil |
| } |
| out := new(CSIDriverSpec) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *CSINodeInfo) DeepCopyInto(out *CSINodeInfo) { |
| *out = *in |
| out.TypeMeta = in.TypeMeta |
| in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) |
| in.Spec.DeepCopyInto(&out.Spec) |
| in.Status.DeepCopyInto(&out.Status) |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CSINodeInfo. |
| func (in *CSINodeInfo) DeepCopy() *CSINodeInfo { |
| if in == nil { |
| return nil |
| } |
| out := new(CSINodeInfo) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| func (in *CSINodeInfo) 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 *CSINodeInfoList) DeepCopyInto(out *CSINodeInfoList) { |
| *out = *in |
| out.TypeMeta = in.TypeMeta |
| out.ListMeta = in.ListMeta |
| if in.Items != nil { |
| in, out := &in.Items, &out.Items |
| *out = make([]CSINodeInfo, len(*in)) |
| for i := range *in { |
| (*in)[i].DeepCopyInto(&(*out)[i]) |
| } |
| } |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CSINodeInfoList. |
| func (in *CSINodeInfoList) DeepCopy() *CSINodeInfoList { |
| if in == nil { |
| return nil |
| } |
| out := new(CSINodeInfoList) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| func (in *CSINodeInfoList) 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 *CSINodeInfoSpec) DeepCopyInto(out *CSINodeInfoSpec) { |
| *out = *in |
| if in.Drivers != nil { |
| in, out := &in.Drivers, &out.Drivers |
| *out = make([]CSIDriverInfoSpec, len(*in)) |
| for i := range *in { |
| (*in)[i].DeepCopyInto(&(*out)[i]) |
| } |
| } |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CSINodeInfoSpec. |
| func (in *CSINodeInfoSpec) DeepCopy() *CSINodeInfoSpec { |
| if in == nil { |
| return nil |
| } |
| out := new(CSINodeInfoSpec) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *CSINodeInfoStatus) DeepCopyInto(out *CSINodeInfoStatus) { |
| *out = *in |
| if in.Drivers != nil { |
| in, out := &in.Drivers, &out.Drivers |
| *out = make([]CSIDriverInfoStatus, len(*in)) |
| copy(*out, *in) |
| } |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CSINodeInfoStatus. |
| func (in *CSINodeInfoStatus) DeepCopy() *CSINodeInfoStatus { |
| if in == nil { |
| return nil |
| } |
| out := new(CSINodeInfoStatus) |
| in.DeepCopyInto(out) |
| return out |
| } |