kubesphere.io/api@v0.0.0-20231107125330-c9a03957060c/storage/v1alpha1/zz_generated.deepcopy.go (about)

     1  //go:build !ignore_autogenerated
     2  // +build !ignore_autogenerated
     3  
     4  /*
     5  Copyright 2020 The KubeSphere Authors.
     6  
     7  Licensed under the Apache License, Version 2.0 (the "License");
     8  you may not use this file except in compliance with the License.
     9  You may obtain a copy of the License at
    10  
    11      http://www.apache.org/licenses/LICENSE-2.0
    12  
    13  Unless required by applicable law or agreed to in writing, software
    14  distributed under the License is distributed on an "AS IS" BASIS,
    15  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    16  See the License for the specific language governing permissions and
    17  limitations under the License.
    18  */
    19  
    20  // Code generated by controller-gen. DO NOT EDIT.
    21  
    22  package v1alpha1
    23  
    24  import (
    25  	runtime "k8s.io/apimachinery/pkg/runtime"
    26  )
    27  
    28  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    29  func (in *CapabilityFeatures) DeepCopyInto(out *CapabilityFeatures) {
    30  	*out = *in
    31  	out.Volume = in.Volume
    32  	out.Snapshot = in.Snapshot
    33  }
    34  
    35  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CapabilityFeatures.
    36  func (in *CapabilityFeatures) DeepCopy() *CapabilityFeatures {
    37  	if in == nil {
    38  		return nil
    39  	}
    40  	out := new(CapabilityFeatures)
    41  	in.DeepCopyInto(out)
    42  	return out
    43  }
    44  
    45  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    46  func (in *PluginInfo) DeepCopyInto(out *PluginInfo) {
    47  	*out = *in
    48  }
    49  
    50  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PluginInfo.
    51  func (in *PluginInfo) DeepCopy() *PluginInfo {
    52  	if in == nil {
    53  		return nil
    54  	}
    55  	out := new(PluginInfo)
    56  	in.DeepCopyInto(out)
    57  	return out
    58  }
    59  
    60  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    61  func (in *ProvisionerCapability) DeepCopyInto(out *ProvisionerCapability) {
    62  	*out = *in
    63  	out.TypeMeta = in.TypeMeta
    64  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
    65  	out.Spec = in.Spec
    66  }
    67  
    68  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProvisionerCapability.
    69  func (in *ProvisionerCapability) DeepCopy() *ProvisionerCapability {
    70  	if in == nil {
    71  		return nil
    72  	}
    73  	out := new(ProvisionerCapability)
    74  	in.DeepCopyInto(out)
    75  	return out
    76  }
    77  
    78  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    79  func (in *ProvisionerCapability) DeepCopyObject() runtime.Object {
    80  	if c := in.DeepCopy(); c != nil {
    81  		return c
    82  	}
    83  	return nil
    84  }
    85  
    86  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    87  func (in *ProvisionerCapabilityList) DeepCopyInto(out *ProvisionerCapabilityList) {
    88  	*out = *in
    89  	out.TypeMeta = in.TypeMeta
    90  	in.ListMeta.DeepCopyInto(&out.ListMeta)
    91  	if in.Items != nil {
    92  		in, out := &in.Items, &out.Items
    93  		*out = make([]ProvisionerCapability, len(*in))
    94  		for i := range *in {
    95  			(*in)[i].DeepCopyInto(&(*out)[i])
    96  		}
    97  	}
    98  }
    99  
   100  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProvisionerCapabilityList.
   101  func (in *ProvisionerCapabilityList) DeepCopy() *ProvisionerCapabilityList {
   102  	if in == nil {
   103  		return nil
   104  	}
   105  	out := new(ProvisionerCapabilityList)
   106  	in.DeepCopyInto(out)
   107  	return out
   108  }
   109  
   110  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   111  func (in *ProvisionerCapabilityList) DeepCopyObject() runtime.Object {
   112  	if c := in.DeepCopy(); c != nil {
   113  		return c
   114  	}
   115  	return nil
   116  }
   117  
   118  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   119  func (in *ProvisionerCapabilitySpec) DeepCopyInto(out *ProvisionerCapabilitySpec) {
   120  	*out = *in
   121  	out.PluginInfo = in.PluginInfo
   122  	out.Features = in.Features
   123  }
   124  
   125  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProvisionerCapabilitySpec.
   126  func (in *ProvisionerCapabilitySpec) DeepCopy() *ProvisionerCapabilitySpec {
   127  	if in == nil {
   128  		return nil
   129  	}
   130  	out := new(ProvisionerCapabilitySpec)
   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 *SnapshotFeature) DeepCopyInto(out *SnapshotFeature) {
   137  	*out = *in
   138  }
   139  
   140  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SnapshotFeature.
   141  func (in *SnapshotFeature) DeepCopy() *SnapshotFeature {
   142  	if in == nil {
   143  		return nil
   144  	}
   145  	out := new(SnapshotFeature)
   146  	in.DeepCopyInto(out)
   147  	return out
   148  }
   149  
   150  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   151  func (in *StorageClassCapability) DeepCopyInto(out *StorageClassCapability) {
   152  	*out = *in
   153  	out.TypeMeta = in.TypeMeta
   154  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
   155  	out.Spec = in.Spec
   156  }
   157  
   158  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageClassCapability.
   159  func (in *StorageClassCapability) DeepCopy() *StorageClassCapability {
   160  	if in == nil {
   161  		return nil
   162  	}
   163  	out := new(StorageClassCapability)
   164  	in.DeepCopyInto(out)
   165  	return out
   166  }
   167  
   168  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   169  func (in *StorageClassCapability) DeepCopyObject() runtime.Object {
   170  	if c := in.DeepCopy(); c != nil {
   171  		return c
   172  	}
   173  	return nil
   174  }
   175  
   176  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   177  func (in *StorageClassCapabilityList) DeepCopyInto(out *StorageClassCapabilityList) {
   178  	*out = *in
   179  	out.TypeMeta = in.TypeMeta
   180  	in.ListMeta.DeepCopyInto(&out.ListMeta)
   181  	if in.Items != nil {
   182  		in, out := &in.Items, &out.Items
   183  		*out = make([]StorageClassCapability, len(*in))
   184  		for i := range *in {
   185  			(*in)[i].DeepCopyInto(&(*out)[i])
   186  		}
   187  	}
   188  }
   189  
   190  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageClassCapabilityList.
   191  func (in *StorageClassCapabilityList) DeepCopy() *StorageClassCapabilityList {
   192  	if in == nil {
   193  		return nil
   194  	}
   195  	out := new(StorageClassCapabilityList)
   196  	in.DeepCopyInto(out)
   197  	return out
   198  }
   199  
   200  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   201  func (in *StorageClassCapabilityList) DeepCopyObject() runtime.Object {
   202  	if c := in.DeepCopy(); c != nil {
   203  		return c
   204  	}
   205  	return nil
   206  }
   207  
   208  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   209  func (in *StorageClassCapabilitySpec) DeepCopyInto(out *StorageClassCapabilitySpec) {
   210  	*out = *in
   211  	out.Features = in.Features
   212  }
   213  
   214  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageClassCapabilitySpec.
   215  func (in *StorageClassCapabilitySpec) DeepCopy() *StorageClassCapabilitySpec {
   216  	if in == nil {
   217  		return nil
   218  	}
   219  	out := new(StorageClassCapabilitySpec)
   220  	in.DeepCopyInto(out)
   221  	return out
   222  }
   223  
   224  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   225  func (in *VolumeFeature) DeepCopyInto(out *VolumeFeature) {
   226  	*out = *in
   227  }
   228  
   229  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeFeature.
   230  func (in *VolumeFeature) DeepCopy() *VolumeFeature {
   231  	if in == nil {
   232  		return nil
   233  	}
   234  	out := new(VolumeFeature)
   235  	in.DeepCopyInto(out)
   236  	return out
   237  }