...

Source file src/github.com/fluxcd/pkg/apis/acl/zz_generated.deepcopy.go

Documentation: github.com/fluxcd/pkg/apis/acl

     1  //go:build !ignore_autogenerated
     2  
     3  /*
     4  Copyright 2021 The Flux authors
     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  
    19  // Code generated by controller-gen. DO NOT EDIT.
    20  
    21  package acl
    22  
    23  import ()
    24  
    25  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    26  func (in *AccessFrom) DeepCopyInto(out *AccessFrom) {
    27  	*out = *in
    28  	if in.NamespaceSelectors != nil {
    29  		in, out := &in.NamespaceSelectors, &out.NamespaceSelectors
    30  		*out = make([]NamespaceSelector, len(*in))
    31  		for i := range *in {
    32  			(*in)[i].DeepCopyInto(&(*out)[i])
    33  		}
    34  	}
    35  }
    36  
    37  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccessFrom.
    38  func (in *AccessFrom) DeepCopy() *AccessFrom {
    39  	if in == nil {
    40  		return nil
    41  	}
    42  	out := new(AccessFrom)
    43  	in.DeepCopyInto(out)
    44  	return out
    45  }
    46  
    47  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    48  func (in *NamespaceSelector) DeepCopyInto(out *NamespaceSelector) {
    49  	*out = *in
    50  	if in.MatchLabels != nil {
    51  		in, out := &in.MatchLabels, &out.MatchLabels
    52  		*out = make(map[string]string, len(*in))
    53  		for key, val := range *in {
    54  			(*out)[key] = val
    55  		}
    56  	}
    57  }
    58  
    59  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceSelector.
    60  func (in *NamespaceSelector) DeepCopy() *NamespaceSelector {
    61  	if in == nil {
    62  		return nil
    63  	}
    64  	out := new(NamespaceSelector)
    65  	in.DeepCopyInto(out)
    66  	return out
    67  }
    68  

View as plain text