...

Source file src/github.com/openshift/api/samples/v1/zz_generated.deepcopy.go

Documentation: github.com/openshift/api/samples/v1

     1  //go:build !ignore_autogenerated
     2  // +build !ignore_autogenerated
     3  
     4  // Code generated by deepcopy-gen. DO NOT EDIT.
     5  
     6  package v1
     7  
     8  import (
     9  	runtime "k8s.io/apimachinery/pkg/runtime"
    10  )
    11  
    12  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    13  func (in *Config) DeepCopyInto(out *Config) {
    14  	*out = *in
    15  	out.TypeMeta = in.TypeMeta
    16  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
    17  	in.Spec.DeepCopyInto(&out.Spec)
    18  	in.Status.DeepCopyInto(&out.Status)
    19  	return
    20  }
    21  
    22  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Config.
    23  func (in *Config) DeepCopy() *Config {
    24  	if in == nil {
    25  		return nil
    26  	}
    27  	out := new(Config)
    28  	in.DeepCopyInto(out)
    29  	return out
    30  }
    31  
    32  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    33  func (in *Config) DeepCopyObject() runtime.Object {
    34  	if c := in.DeepCopy(); c != nil {
    35  		return c
    36  	}
    37  	return nil
    38  }
    39  
    40  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    41  func (in *ConfigCondition) DeepCopyInto(out *ConfigCondition) {
    42  	*out = *in
    43  	in.LastUpdateTime.DeepCopyInto(&out.LastUpdateTime)
    44  	in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime)
    45  	return
    46  }
    47  
    48  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigCondition.
    49  func (in *ConfigCondition) DeepCopy() *ConfigCondition {
    50  	if in == nil {
    51  		return nil
    52  	}
    53  	out := new(ConfigCondition)
    54  	in.DeepCopyInto(out)
    55  	return out
    56  }
    57  
    58  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    59  func (in *ConfigList) DeepCopyInto(out *ConfigList) {
    60  	*out = *in
    61  	out.TypeMeta = in.TypeMeta
    62  	in.ListMeta.DeepCopyInto(&out.ListMeta)
    63  	if in.Items != nil {
    64  		in, out := &in.Items, &out.Items
    65  		*out = make([]Config, 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 ConfigList.
    74  func (in *ConfigList) DeepCopy() *ConfigList {
    75  	if in == nil {
    76  		return nil
    77  	}
    78  	out := new(ConfigList)
    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 *ConfigList) 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 *ConfigSpec) DeepCopyInto(out *ConfigSpec) {
    93  	*out = *in
    94  	if in.Architectures != nil {
    95  		in, out := &in.Architectures, &out.Architectures
    96  		*out = make([]string, len(*in))
    97  		copy(*out, *in)
    98  	}
    99  	if in.SkippedImagestreams != nil {
   100  		in, out := &in.SkippedImagestreams, &out.SkippedImagestreams
   101  		*out = make([]string, len(*in))
   102  		copy(*out, *in)
   103  	}
   104  	if in.SkippedTemplates != nil {
   105  		in, out := &in.SkippedTemplates, &out.SkippedTemplates
   106  		*out = make([]string, len(*in))
   107  		copy(*out, *in)
   108  	}
   109  	return
   110  }
   111  
   112  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigSpec.
   113  func (in *ConfigSpec) DeepCopy() *ConfigSpec {
   114  	if in == nil {
   115  		return nil
   116  	}
   117  	out := new(ConfigSpec)
   118  	in.DeepCopyInto(out)
   119  	return out
   120  }
   121  
   122  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   123  func (in *ConfigStatus) DeepCopyInto(out *ConfigStatus) {
   124  	*out = *in
   125  	if in.Conditions != nil {
   126  		in, out := &in.Conditions, &out.Conditions
   127  		*out = make([]ConfigCondition, len(*in))
   128  		for i := range *in {
   129  			(*in)[i].DeepCopyInto(&(*out)[i])
   130  		}
   131  	}
   132  	if in.Architectures != nil {
   133  		in, out := &in.Architectures, &out.Architectures
   134  		*out = make([]string, len(*in))
   135  		copy(*out, *in)
   136  	}
   137  	if in.SkippedImagestreams != nil {
   138  		in, out := &in.SkippedImagestreams, &out.SkippedImagestreams
   139  		*out = make([]string, len(*in))
   140  		copy(*out, *in)
   141  	}
   142  	if in.SkippedTemplates != nil {
   143  		in, out := &in.SkippedTemplates, &out.SkippedTemplates
   144  		*out = make([]string, len(*in))
   145  		copy(*out, *in)
   146  	}
   147  	return
   148  }
   149  
   150  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigStatus.
   151  func (in *ConfigStatus) DeepCopy() *ConfigStatus {
   152  	if in == nil {
   153  		return nil
   154  	}
   155  	out := new(ConfigStatus)
   156  	in.DeepCopyInto(out)
   157  	return out
   158  }
   159  

View as plain text