github.com/florinpeter/operator-sdk@v0.8.2/pkg/apis/scorecard/v1alpha1/zz_generated.deepcopy.go (about)

     1  // +build !ignore_autogenerated
     2  
     3  // Copyright 2019 The Operator-SDK Authors
     4  //
     5  // Licensed under the Apache License, Version 2.0 (the "License");
     6  // you may not use this file except in compliance with the License.
     7  // You may obtain a copy of the License at
     8  //
     9  //     http://www.apache.org/licenses/LICENSE-2.0
    10  //
    11  // Unless required by applicable law or agreed to in writing, software
    12  // distributed under the License is distributed on an "AS IS" BASIS,
    13  // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    14  // See the License for the specific language governing permissions and
    15  // limitations under the License.
    16  
    17  // Code generated by deepcopy-gen. DO NOT EDIT.
    18  
    19  package v1alpha1
    20  
    21  import (
    22  	runtime "k8s.io/apimachinery/pkg/runtime"
    23  )
    24  
    25  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    26  func (in *ScorecardOutput) DeepCopyInto(out *ScorecardOutput) {
    27  	*out = *in
    28  	out.TypeMeta = in.TypeMeta
    29  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
    30  	if in.Results != nil {
    31  		in, out := &in.Results, &out.Results
    32  		*out = make([]ScorecardSuiteResult, len(*in))
    33  		for i := range *in {
    34  			(*in)[i].DeepCopyInto(&(*out)[i])
    35  		}
    36  	}
    37  	return
    38  }
    39  
    40  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScorecardOutput.
    41  func (in *ScorecardOutput) DeepCopy() *ScorecardOutput {
    42  	if in == nil {
    43  		return nil
    44  	}
    45  	out := new(ScorecardOutput)
    46  	in.DeepCopyInto(out)
    47  	return out
    48  }
    49  
    50  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    51  func (in *ScorecardOutput) DeepCopyObject() runtime.Object {
    52  	if c := in.DeepCopy(); c != nil {
    53  		return c
    54  	}
    55  	return nil
    56  }
    57  
    58  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    59  func (in *ScorecardOutputList) DeepCopyInto(out *ScorecardOutputList) {
    60  	*out = *in
    61  	out.TypeMeta = in.TypeMeta
    62  	out.ListMeta = in.ListMeta
    63  	if in.Items != nil {
    64  		in, out := &in.Items, &out.Items
    65  		*out = make([]ScorecardOutput, len(*in))
    66  		for i := range *in {
    67  			(*in)[i].DeepCopyInto(&(*out)[i])
    68  		}
    69  	}
    70  	return
    71  }
    72  
    73  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScorecardOutputList.
    74  func (in *ScorecardOutputList) DeepCopy() *ScorecardOutputList {
    75  	if in == nil {
    76  		return nil
    77  	}
    78  	out := new(ScorecardOutputList)
    79  	in.DeepCopyInto(out)
    80  	return out
    81  }
    82  
    83  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    84  func (in *ScorecardOutputList) DeepCopyObject() runtime.Object {
    85  	if c := in.DeepCopy(); c != nil {
    86  		return c
    87  	}
    88  	return nil
    89  }
    90  
    91  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    92  func (in *ScorecardSuiteResult) DeepCopyInto(out *ScorecardSuiteResult) {
    93  	*out = *in
    94  	if in.Tests != nil {
    95  		in, out := &in.Tests, &out.Tests
    96  		*out = make([]ScorecardTestResult, len(*in))
    97  		for i := range *in {
    98  			(*in)[i].DeepCopyInto(&(*out)[i])
    99  		}
   100  	}
   101  	return
   102  }
   103  
   104  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScorecardSuiteResult.
   105  func (in *ScorecardSuiteResult) DeepCopy() *ScorecardSuiteResult {
   106  	if in == nil {
   107  		return nil
   108  	}
   109  	out := new(ScorecardSuiteResult)
   110  	in.DeepCopyInto(out)
   111  	return out
   112  }
   113  
   114  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   115  func (in *ScorecardTestResult) DeepCopyInto(out *ScorecardTestResult) {
   116  	*out = *in
   117  	if in.Suggestions != nil {
   118  		in, out := &in.Suggestions, &out.Suggestions
   119  		*out = make([]string, len(*in))
   120  		copy(*out, *in)
   121  	}
   122  	if in.Errors != nil {
   123  		in, out := &in.Errors, &out.Errors
   124  		*out = make([]string, len(*in))
   125  		copy(*out, *in)
   126  	}
   127  	return
   128  }
   129  
   130  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScorecardTestResult.
   131  func (in *ScorecardTestResult) DeepCopy() *ScorecardTestResult {
   132  	if in == nil {
   133  		return nil
   134  	}
   135  	out := new(ScorecardTestResult)
   136  	in.DeepCopyInto(out)
   137  	return out
   138  }