github.com/IBM-Blockchain/fabric-operator@v1.0.4/pkg/apis/console/v1/zz_generated.deepcopy.go (about)

     1  //go:build !ignore_autogenerated
     2  // +build !ignore_autogenerated
     3  
     4  /*
     5   * Copyright contributors to the Hyperledger Fabric Operator project
     6   *
     7   * SPDX-License-Identifier: Apache-2.0
     8   *
     9   * Licensed under the Apache License, Version 2.0 (the "License");
    10   * you may not use this file except in compliance with the License.
    11   * You may obtain a copy of the License at:
    12   *
    13   * 	  http://www.apache.org/licenses/LICENSE-2.0
    14   *
    15   * Unless required by applicable law or agreed to in writing, software
    16   * distributed under the License is distributed on an "AS IS" BASIS,
    17   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    18   * See the License for the specific language governing permissions and
    19   * limitations under the License.
    20   */
    21  
    22  // Code generated by controller-gen. DO NOT EDIT.
    23  
    24  package v1
    25  
    26  import ()
    27  
    28  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    29  func (in *FeatureFlags) DeepCopyInto(out *FeatureFlags) {
    30  	*out = *in
    31  	if in.ImportOnlyEnabled != nil {
    32  		in, out := &in.ImportOnlyEnabled, &out.ImportOnlyEnabled
    33  		*out = new(bool)
    34  		**out = **in
    35  	}
    36  	if in.ReadOnlyEnabled != nil {
    37  		in, out := &in.ReadOnlyEnabled, &out.ReadOnlyEnabled
    38  		*out = new(bool)
    39  		**out = **in
    40  	}
    41  	if in.InfraImportOptions != nil {
    42  		in, out := &in.InfraImportOptions, &out.InfraImportOptions
    43  		*out = new(InfraImportOptions)
    44  		(*in).DeepCopyInto(*out)
    45  	}
    46  }
    47  
    48  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FeatureFlags.
    49  func (in *FeatureFlags) DeepCopy() *FeatureFlags {
    50  	if in == nil {
    51  		return nil
    52  	}
    53  	out := new(FeatureFlags)
    54  	in.DeepCopyInto(out)
    55  	return out
    56  }
    57  
    58  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    59  func (in *IBPConsoleClusterData) DeepCopyInto(out *IBPConsoleClusterData) {
    60  	*out = *in
    61  	if in.Zones != nil {
    62  		in, out := &in.Zones, &out.Zones
    63  		*out = make([]string, len(*in))
    64  		copy(*out, *in)
    65  	}
    66  }
    67  
    68  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IBPConsoleClusterData.
    69  func (in *IBPConsoleClusterData) DeepCopy() *IBPConsoleClusterData {
    70  	if in == nil {
    71  		return nil
    72  	}
    73  	out := new(IBPConsoleClusterData)
    74  	in.DeepCopyInto(out)
    75  	return out
    76  }
    77  
    78  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    79  func (in *InfraImportOptions) DeepCopyInto(out *InfraImportOptions) {
    80  	*out = *in
    81  	if in.SupportedCAs != nil {
    82  		in, out := &in.SupportedCAs, &out.SupportedCAs
    83  		*out = make([]string, len(*in))
    84  		copy(*out, *in)
    85  	}
    86  	if in.SupportedOrderers != nil {
    87  		in, out := &in.SupportedOrderers, &out.SupportedOrderers
    88  		*out = make([]string, len(*in))
    89  		copy(*out, *in)
    90  	}
    91  	if in.SupportedPeers != nil {
    92  		in, out := &in.SupportedPeers, &out.SupportedPeers
    93  		*out = make([]string, len(*in))
    94  		copy(*out, *in)
    95  	}
    96  }
    97  
    98  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InfraImportOptions.
    99  func (in *InfraImportOptions) DeepCopy() *InfraImportOptions {
   100  	if in == nil {
   101  		return nil
   102  	}
   103  	out := new(InfraImportOptions)
   104  	in.DeepCopyInto(out)
   105  	return out
   106  }