github.com/munnerz/test-infra@v0.0.0-20190108210205-ce3d181dc989/prow/apis/prowjobs/v1/zz_generated.deepcopy.go (about)

     1  // +build !ignore_autogenerated
     2  
     3  /*
     4  Copyright The Kubernetes 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 deepcopy-gen. DO NOT EDIT.
    20  
    21  package v1
    22  
    23  import (
    24  	v1alpha1 "github.com/knative/build/pkg/apis/build/v1alpha1"
    25  	corev1 "k8s.io/api/core/v1"
    26  	runtime "k8s.io/apimachinery/pkg/runtime"
    27  )
    28  
    29  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    30  func (in *DecorationConfig) DeepCopyInto(out *DecorationConfig) {
    31  	*out = *in
    32  	if in.UtilityImages != nil {
    33  		in, out := &in.UtilityImages, &out.UtilityImages
    34  		*out = new(UtilityImages)
    35  		**out = **in
    36  	}
    37  	if in.GCSConfiguration != nil {
    38  		in, out := &in.GCSConfiguration, &out.GCSConfiguration
    39  		*out = new(GCSConfiguration)
    40  		**out = **in
    41  	}
    42  	if in.SSHKeySecrets != nil {
    43  		in, out := &in.SSHKeySecrets, &out.SSHKeySecrets
    44  		*out = make([]string, len(*in))
    45  		copy(*out, *in)
    46  	}
    47  	if in.SSHHostFingerprints != nil {
    48  		in, out := &in.SSHHostFingerprints, &out.SSHHostFingerprints
    49  		*out = make([]string, len(*in))
    50  		copy(*out, *in)
    51  	}
    52  	if in.SkipCloning != nil {
    53  		in, out := &in.SkipCloning, &out.SkipCloning
    54  		*out = new(bool)
    55  		**out = **in
    56  	}
    57  	return
    58  }
    59  
    60  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DecorationConfig.
    61  func (in *DecorationConfig) DeepCopy() *DecorationConfig {
    62  	if in == nil {
    63  		return nil
    64  	}
    65  	out := new(DecorationConfig)
    66  	in.DeepCopyInto(out)
    67  	return out
    68  }
    69  
    70  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    71  func (in *GCSConfiguration) DeepCopyInto(out *GCSConfiguration) {
    72  	*out = *in
    73  	return
    74  }
    75  
    76  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GCSConfiguration.
    77  func (in *GCSConfiguration) DeepCopy() *GCSConfiguration {
    78  	if in == nil {
    79  		return nil
    80  	}
    81  	out := new(GCSConfiguration)
    82  	in.DeepCopyInto(out)
    83  	return out
    84  }
    85  
    86  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    87  func (in *ProwJob) DeepCopyInto(out *ProwJob) {
    88  	*out = *in
    89  	out.TypeMeta = in.TypeMeta
    90  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
    91  	in.Spec.DeepCopyInto(&out.Spec)
    92  	in.Status.DeepCopyInto(&out.Status)
    93  	return
    94  }
    95  
    96  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProwJob.
    97  func (in *ProwJob) DeepCopy() *ProwJob {
    98  	if in == nil {
    99  		return nil
   100  	}
   101  	out := new(ProwJob)
   102  	in.DeepCopyInto(out)
   103  	return out
   104  }
   105  
   106  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   107  func (in *ProwJob) DeepCopyObject() runtime.Object {
   108  	if c := in.DeepCopy(); c != nil {
   109  		return c
   110  	}
   111  	return nil
   112  }
   113  
   114  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   115  func (in *ProwJobList) DeepCopyInto(out *ProwJobList) {
   116  	*out = *in
   117  	out.TypeMeta = in.TypeMeta
   118  	out.ListMeta = in.ListMeta
   119  	if in.Items != nil {
   120  		in, out := &in.Items, &out.Items
   121  		*out = make([]ProwJob, len(*in))
   122  		for i := range *in {
   123  			(*in)[i].DeepCopyInto(&(*out)[i])
   124  		}
   125  	}
   126  	return
   127  }
   128  
   129  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProwJobList.
   130  func (in *ProwJobList) DeepCopy() *ProwJobList {
   131  	if in == nil {
   132  		return nil
   133  	}
   134  	out := new(ProwJobList)
   135  	in.DeepCopyInto(out)
   136  	return out
   137  }
   138  
   139  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   140  func (in *ProwJobList) DeepCopyObject() runtime.Object {
   141  	if c := in.DeepCopy(); c != nil {
   142  		return c
   143  	}
   144  	return nil
   145  }
   146  
   147  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   148  func (in *ProwJobSpec) DeepCopyInto(out *ProwJobSpec) {
   149  	*out = *in
   150  	if in.Refs != nil {
   151  		in, out := &in.Refs, &out.Refs
   152  		*out = new(Refs)
   153  		(*in).DeepCopyInto(*out)
   154  	}
   155  	if in.ExtraRefs != nil {
   156  		in, out := &in.ExtraRefs, &out.ExtraRefs
   157  		*out = make([]Refs, len(*in))
   158  		for i := range *in {
   159  			(*in)[i].DeepCopyInto(&(*out)[i])
   160  		}
   161  	}
   162  	if in.PodSpec != nil {
   163  		in, out := &in.PodSpec, &out.PodSpec
   164  		*out = new(corev1.PodSpec)
   165  		(*in).DeepCopyInto(*out)
   166  	}
   167  	if in.BuildSpec != nil {
   168  		in, out := &in.BuildSpec, &out.BuildSpec
   169  		*out = new(v1alpha1.BuildSpec)
   170  		(*in).DeepCopyInto(*out)
   171  	}
   172  	if in.DecorationConfig != nil {
   173  		in, out := &in.DecorationConfig, &out.DecorationConfig
   174  		*out = new(DecorationConfig)
   175  		(*in).DeepCopyInto(*out)
   176  	}
   177  	if in.RunAfterSuccess != nil {
   178  		in, out := &in.RunAfterSuccess, &out.RunAfterSuccess
   179  		*out = make([]ProwJobSpec, len(*in))
   180  		for i := range *in {
   181  			(*in)[i].DeepCopyInto(&(*out)[i])
   182  		}
   183  	}
   184  	return
   185  }
   186  
   187  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProwJobSpec.
   188  func (in *ProwJobSpec) DeepCopy() *ProwJobSpec {
   189  	if in == nil {
   190  		return nil
   191  	}
   192  	out := new(ProwJobSpec)
   193  	in.DeepCopyInto(out)
   194  	return out
   195  }
   196  
   197  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   198  func (in *ProwJobStatus) DeepCopyInto(out *ProwJobStatus) {
   199  	*out = *in
   200  	in.StartTime.DeepCopyInto(&out.StartTime)
   201  	if in.CompletionTime != nil {
   202  		in, out := &in.CompletionTime, &out.CompletionTime
   203  		*out = (*in).DeepCopy()
   204  	}
   205  	if in.PrevReportStates != nil {
   206  		in, out := &in.PrevReportStates, &out.PrevReportStates
   207  		*out = make(map[string]ProwJobState, len(*in))
   208  		for key, val := range *in {
   209  			(*out)[key] = val
   210  		}
   211  	}
   212  	return
   213  }
   214  
   215  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProwJobStatus.
   216  func (in *ProwJobStatus) DeepCopy() *ProwJobStatus {
   217  	if in == nil {
   218  		return nil
   219  	}
   220  	out := new(ProwJobStatus)
   221  	in.DeepCopyInto(out)
   222  	return out
   223  }
   224  
   225  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   226  func (in *Pull) DeepCopyInto(out *Pull) {
   227  	*out = *in
   228  	return
   229  }
   230  
   231  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Pull.
   232  func (in *Pull) DeepCopy() *Pull {
   233  	if in == nil {
   234  		return nil
   235  	}
   236  	out := new(Pull)
   237  	in.DeepCopyInto(out)
   238  	return out
   239  }
   240  
   241  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   242  func (in *Refs) DeepCopyInto(out *Refs) {
   243  	*out = *in
   244  	if in.Pulls != nil {
   245  		in, out := &in.Pulls, &out.Pulls
   246  		*out = make([]Pull, len(*in))
   247  		copy(*out, *in)
   248  	}
   249  	return
   250  }
   251  
   252  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Refs.
   253  func (in *Refs) DeepCopy() *Refs {
   254  	if in == nil {
   255  		return nil
   256  	}
   257  	out := new(Refs)
   258  	in.DeepCopyInto(out)
   259  	return out
   260  }
   261  
   262  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   263  func (in *UtilityImages) DeepCopyInto(out *UtilityImages) {
   264  	*out = *in
   265  	return
   266  }
   267  
   268  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UtilityImages.
   269  func (in *UtilityImages) DeepCopy() *UtilityImages {
   270  	if in == nil {
   271  		return nil
   272  	}
   273  	out := new(UtilityImages)
   274  	in.DeepCopyInto(out)
   275  	return out
   276  }