github.com/banzaicloud/operator-tools@v0.28.10/pkg/secret/zz_generated.deepcopy.go (about)

     1  //go:build !ignore_autogenerated
     2  // +build !ignore_autogenerated
     3  
     4  // Copyright © 2020 Banzai Cloud
     5  //
     6  // Licensed under the Apache License, Version 2.0 (the "License");
     7  // you may not use this file except in compliance with the License.
     8  // You may obtain a copy of the License at
     9  //
    10  //    http://www.apache.org/licenses/LICENSE-2.0
    11  //
    12  // Unless required by applicable law or agreed to in writing, software
    13  // distributed under the License is distributed on an "AS IS" BASIS,
    14  // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    15  // See the License for the specific language governing permissions and
    16  // limitations under the License.
    17  
    18  // Code generated by controller-gen. DO NOT EDIT.
    19  
    20  package secret
    21  
    22  import (
    23  	"k8s.io/api/core/v1"
    24  )
    25  
    26  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    27  func (in *Secret) DeepCopyInto(out *Secret) {
    28  	*out = *in
    29  	if in.ValueFrom != nil {
    30  		in, out := &in.ValueFrom, &out.ValueFrom
    31  		*out = new(ValueFrom)
    32  		(*in).DeepCopyInto(*out)
    33  	}
    34  	if in.MountFrom != nil {
    35  		in, out := &in.MountFrom, &out.MountFrom
    36  		*out = new(ValueFrom)
    37  		(*in).DeepCopyInto(*out)
    38  	}
    39  }
    40  
    41  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Secret.
    42  func (in *Secret) DeepCopy() *Secret {
    43  	if in == nil {
    44  		return nil
    45  	}
    46  	out := new(Secret)
    47  	in.DeepCopyInto(out)
    48  	return out
    49  }
    50  
    51  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    52  func (in *ValueFrom) DeepCopyInto(out *ValueFrom) {
    53  	*out = *in
    54  	if in.SecretKeyRef != nil {
    55  		in, out := &in.SecretKeyRef, &out.SecretKeyRef
    56  		*out = new(v1.SecretKeySelector)
    57  		(*in).DeepCopyInto(*out)
    58  	}
    59  }
    60  
    61  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ValueFrom.
    62  func (in *ValueFrom) DeepCopy() *ValueFrom {
    63  	if in == nil {
    64  		return nil
    65  	}
    66  	out := new(ValueFrom)
    67  	in.DeepCopyInto(out)
    68  	return out
    69  }