sigs.k8s.io/external-dns@v0.14.1/endpoint/zz_generated.deepcopy.go (about)

     1  //go:build !ignore_autogenerated
     2  // +build !ignore_autogenerated
     3  
     4  /*
     5  Copyright 2018 The Kubernetes Authors.
     6  
     7  Licensed under the Apache License, Version 2.0 (the "License");
     8  you may not use this file except in compliance with the License.
     9  You may obtain a copy of the License at
    10  
    11      http://www.apache.org/licenses/LICENSE-2.0
    12  
    13  Unless required by applicable law or agreed to in writing, software
    14  distributed under the License is distributed on an "AS IS" BASIS,
    15  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    16  See the License for the specific language governing permissions and
    17  limitations under the License.
    18  */
    19  
    20  // Code generated by deepcopy-gen. DO NOT EDIT.
    21  
    22  package endpoint
    23  
    24  import (
    25  	"k8s.io/apimachinery/pkg/runtime"
    26  )
    27  
    28  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    29  func (in *DNSEndpoint) DeepCopyInto(out *DNSEndpoint) {
    30  	*out = *in
    31  	out.TypeMeta = in.TypeMeta
    32  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
    33  	in.Spec.DeepCopyInto(&out.Spec)
    34  	out.Status = in.Status
    35  	return
    36  }
    37  
    38  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DNSEndpoint.
    39  func (in *DNSEndpoint) DeepCopy() *DNSEndpoint {
    40  	if in == nil {
    41  		return nil
    42  	}
    43  	out := new(DNSEndpoint)
    44  	in.DeepCopyInto(out)
    45  	return out
    46  }
    47  
    48  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    49  func (in *DNSEndpoint) DeepCopyObject() runtime.Object {
    50  	if c := in.DeepCopy(); c != nil {
    51  		return c
    52  	}
    53  	return nil
    54  }
    55  
    56  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    57  func (in *DNSEndpointList) DeepCopyInto(out *DNSEndpointList) {
    58  	*out = *in
    59  	out.TypeMeta = in.TypeMeta
    60  	out.ListMeta = in.ListMeta
    61  	if in.Items != nil {
    62  		in, out := &in.Items, &out.Items
    63  		*out = make([]DNSEndpoint, len(*in))
    64  		for i := range *in {
    65  			(*in)[i].DeepCopyInto(&(*out)[i])
    66  		}
    67  	}
    68  	return
    69  }
    70  
    71  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DNSEndpointList.
    72  func (in *DNSEndpointList) DeepCopy() *DNSEndpointList {
    73  	if in == nil {
    74  		return nil
    75  	}
    76  	out := new(DNSEndpointList)
    77  	in.DeepCopyInto(out)
    78  	return out
    79  }
    80  
    81  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    82  func (in *DNSEndpointList) DeepCopyObject() runtime.Object {
    83  	if c := in.DeepCopy(); c != nil {
    84  		return c
    85  	}
    86  	return nil
    87  }
    88  
    89  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    90  func (in *DNSEndpointSpec) DeepCopyInto(out *DNSEndpointSpec) {
    91  	*out = *in
    92  	if in.Endpoints != nil {
    93  		in, out := &in.Endpoints, &out.Endpoints
    94  		*out = make([]*Endpoint, len(*in))
    95  		for i := range *in {
    96  			if (*in)[i] == nil {
    97  				(*out)[i] = nil
    98  			} else {
    99  				(*out)[i] = new(Endpoint)
   100  				(*in)[i].DeepCopyInto((*out)[i])
   101  			}
   102  		}
   103  	}
   104  	return
   105  }
   106  
   107  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DNSEndpointSpec.
   108  func (in *DNSEndpointSpec) DeepCopy() *DNSEndpointSpec {
   109  	if in == nil {
   110  		return nil
   111  	}
   112  	out := new(DNSEndpointSpec)
   113  	in.DeepCopyInto(out)
   114  	return out
   115  }
   116  
   117  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   118  func (in *DNSEndpointStatus) DeepCopyInto(out *DNSEndpointStatus) {
   119  	*out = *in
   120  	return
   121  }
   122  
   123  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DNSEndpointStatus.
   124  func (in *DNSEndpointStatus) DeepCopy() *DNSEndpointStatus {
   125  	if in == nil {
   126  		return nil
   127  	}
   128  	out := new(DNSEndpointStatus)
   129  	in.DeepCopyInto(out)
   130  	return out
   131  }
   132  
   133  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   134  func (in *Endpoint) DeepCopyInto(out *Endpoint) {
   135  	*out = *in
   136  	if in.Targets != nil {
   137  		in, out := &in.Targets, &out.Targets
   138  		*out = make(Targets, len(*in))
   139  		copy(*out, *in)
   140  	}
   141  	if in.Labels != nil {
   142  		in, out := &in.Labels, &out.Labels
   143  		*out = make(Labels, len(*in))
   144  		for key, val := range *in {
   145  			(*out)[key] = val
   146  		}
   147  	}
   148  	if in.ProviderSpecific != nil {
   149  		in, out := &in.ProviderSpecific, &out.ProviderSpecific
   150  		*out = make(ProviderSpecific, len(*in))
   151  		for key, val := range *in {
   152  			(*out)[key] = val
   153  		}
   154  	}
   155  	return
   156  }
   157  
   158  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Endpoint.
   159  func (in *Endpoint) DeepCopy() *Endpoint {
   160  	if in == nil {
   161  		return nil
   162  	}
   163  	out := new(Endpoint)
   164  	in.DeepCopyInto(out)
   165  	return out
   166  }
   167  
   168  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   169  func (in Labels) DeepCopyInto(out *Labels) {
   170  	{
   171  		in := &in
   172  		*out = make(Labels, len(*in))
   173  		for key, val := range *in {
   174  			(*out)[key] = val
   175  		}
   176  		return
   177  	}
   178  }
   179  
   180  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Labels.
   181  func (in Labels) DeepCopy() Labels {
   182  	if in == nil {
   183  		return nil
   184  	}
   185  	out := new(Labels)
   186  	in.DeepCopyInto(out)
   187  	return *out
   188  }
   189  
   190  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   191  func (in ProviderSpecific) DeepCopyInto(out *ProviderSpecific) {
   192  	{
   193  		in := &in
   194  		*out = make(ProviderSpecific, len(*in))
   195  		for key, val := range *in {
   196  			(*out)[key] = val
   197  		}
   198  		return
   199  	}
   200  }
   201  
   202  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProviderSpecific.
   203  func (in ProviderSpecific) DeepCopy() ProviderSpecific {
   204  	if in == nil {
   205  		return nil
   206  	}
   207  	out := new(ProviderSpecific)
   208  	in.DeepCopyInto(out)
   209  	return *out
   210  }
   211  
   212  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   213  func (in Targets) DeepCopyInto(out *Targets) {
   214  	{
   215  		in := &in
   216  		*out = make(Targets, len(*in))
   217  		copy(*out, *in)
   218  		return
   219  	}
   220  }
   221  
   222  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Targets.
   223  func (in Targets) DeepCopy() Targets {
   224  	if in == nil {
   225  		return nil
   226  	}
   227  	out := new(Targets)
   228  	in.DeepCopyInto(out)
   229  	return *out
   230  }