...

Source file src/sigs.k8s.io/kustomize/kyaml/yaml/internal/k8sgen/pkg/labels/copied.deepcopy.go

Documentation: sigs.k8s.io/kustomize/kyaml/yaml/internal/k8sgen/pkg/labels

     1  // Code generated by k8scopy from k8s.io/apimachinery@v0.19.8; DO NOT EDIT.
     2  // File content copied from k8s.io/apimachinery@v0.19.8/pkg/labels/zz_generated.deepcopy.go
     3  
     4  //go:build !ignore_autogenerated
     5  // +build !ignore_autogenerated
     6  
     7  /*
     8  Copyright The Kubernetes Authors.
     9  
    10  Licensed under the Apache License, Version 2.0 (the "License");
    11  you may not use this file except in compliance with the License.
    12  You may obtain a copy of the License at
    13  
    14      http://www.apache.org/licenses/LICENSE-2.0
    15  
    16  Unless required by applicable law or agreed to in writing, software
    17  distributed under the License is distributed on an "AS IS" BASIS,
    18  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    19  See the License for the specific language governing permissions and
    20  limitations under the License.
    21  */
    22  
    23  package labels
    24  
    25  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    26  func (in *Requirement) DeepCopyInto(out *Requirement) {
    27  	*out = *in
    28  	if in.strValues != nil {
    29  		in, out := &in.strValues, &out.strValues
    30  		*out = make([]string, len(*in))
    31  		copy(*out, *in)
    32  	}
    33  	return
    34  }
    35  
    36  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Requirement.
    37  func (in *Requirement) DeepCopy() *Requirement {
    38  	if in == nil {
    39  		return nil
    40  	}
    41  	out := new(Requirement)
    42  	in.DeepCopyInto(out)
    43  	return out
    44  }
    45  

View as plain text