github.com/kubearmor/cilium@v1.6.12/api/v1/models/zz_generated.deepcopy.go (about)

     1  // +build !ignore_autogenerated
     2  
     3  // Copyright 2017-2019 Authors of Cilium
     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 models
    20  
    21  import (
    22  	strfmt "github.com/go-openapi/strfmt"
    23  )
    24  
    25  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    26  func (in *ClusterStatus) DeepCopyInto(out *ClusterStatus) {
    27  	*out = *in
    28  	if in.CiliumHealth != nil {
    29  		in, out := &in.CiliumHealth, &out.CiliumHealth
    30  		*out = new(Status)
    31  		**out = **in
    32  	}
    33  	if in.Nodes != nil {
    34  		in, out := &in.Nodes, &out.Nodes
    35  		*out = make([]*NodeElement, len(*in))
    36  		for i := range *in {
    37  			if (*in)[i] != nil {
    38  				in, out := &(*in)[i], &(*out)[i]
    39  				*out = new(NodeElement)
    40  				(*in).DeepCopyInto(*out)
    41  			}
    42  		}
    43  	}
    44  	return
    45  }
    46  
    47  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterStatus.
    48  func (in *ClusterStatus) DeepCopy() *ClusterStatus {
    49  	if in == nil {
    50  		return nil
    51  	}
    52  	out := new(ClusterStatus)
    53  	in.DeepCopyInto(out)
    54  	return out
    55  }
    56  
    57  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    58  func (in *ControllerStatus) DeepCopyInto(out *ControllerStatus) {
    59  	*out = *in
    60  	if in.Configuration != nil {
    61  		in, out := &in.Configuration, &out.Configuration
    62  		*out = new(ControllerStatusConfiguration)
    63  		**out = **in
    64  	}
    65  	if in.Status != nil {
    66  		in, out := &in.Status, &out.Status
    67  		*out = new(ControllerStatusStatus)
    68  		(*in).DeepCopyInto(*out)
    69  	}
    70  	in.UUID.DeepCopyInto(&out.UUID)
    71  	return
    72  }
    73  
    74  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControllerStatus.
    75  func (in *ControllerStatus) DeepCopy() *ControllerStatus {
    76  	if in == nil {
    77  		return nil
    78  	}
    79  	out := new(ControllerStatus)
    80  	in.DeepCopyInto(out)
    81  	return out
    82  }
    83  
    84  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    85  func (in *ControllerStatusStatus) DeepCopyInto(out *ControllerStatusStatus) {
    86  	*out = *in
    87  	in.LastFailureTimestamp.DeepCopyInto(&out.LastFailureTimestamp)
    88  	in.LastSuccessTimestamp.DeepCopyInto(&out.LastSuccessTimestamp)
    89  	return
    90  }
    91  
    92  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControllerStatusStatus.
    93  func (in *ControllerStatusStatus) DeepCopy() *ControllerStatusStatus {
    94  	if in == nil {
    95  		return nil
    96  	}
    97  	out := new(ControllerStatusStatus)
    98  	in.DeepCopyInto(out)
    99  	return out
   100  }
   101  
   102  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   103  func (in *IPAMStatus) DeepCopyInto(out *IPAMStatus) {
   104  	*out = *in
   105  	if in.Allocations != nil {
   106  		in, out := &in.Allocations, &out.Allocations
   107  		*out = make(AllocationMap, len(*in))
   108  		for key, val := range *in {
   109  			(*out)[key] = val
   110  		}
   111  	}
   112  	if in.IPV4 != nil {
   113  		in, out := &in.IPV4, &out.IPV4
   114  		*out = make([]string, len(*in))
   115  		copy(*out, *in)
   116  	}
   117  	if in.IPV6 != nil {
   118  		in, out := &in.IPV6, &out.IPV6
   119  		*out = make([]string, len(*in))
   120  		copy(*out, *in)
   121  	}
   122  	return
   123  }
   124  
   125  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPAMStatus.
   126  func (in *IPAMStatus) DeepCopy() *IPAMStatus {
   127  	if in == nil {
   128  		return nil
   129  	}
   130  	out := new(IPAMStatus)
   131  	in.DeepCopyInto(out)
   132  	return out
   133  }
   134  
   135  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   136  func (in *K8sStatus) DeepCopyInto(out *K8sStatus) {
   137  	*out = *in
   138  	if in.K8sAPIVersions != nil {
   139  		in, out := &in.K8sAPIVersions, &out.K8sAPIVersions
   140  		*out = make([]string, len(*in))
   141  		copy(*out, *in)
   142  	}
   143  	return
   144  }
   145  
   146  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new K8sStatus.
   147  func (in *K8sStatus) DeepCopy() *K8sStatus {
   148  	if in == nil {
   149  		return nil
   150  	}
   151  	out := new(K8sStatus)
   152  	in.DeepCopyInto(out)
   153  	return out
   154  }
   155  
   156  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   157  func (in *NodeAddressing) DeepCopyInto(out *NodeAddressing) {
   158  	*out = *in
   159  	if in.IPV4 != nil {
   160  		in, out := &in.IPV4, &out.IPV4
   161  		*out = new(NodeAddressingElement)
   162  		**out = **in
   163  	}
   164  	if in.IPV6 != nil {
   165  		in, out := &in.IPV6, &out.IPV6
   166  		*out = new(NodeAddressingElement)
   167  		**out = **in
   168  	}
   169  	return
   170  }
   171  
   172  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeAddressing.
   173  func (in *NodeAddressing) DeepCopy() *NodeAddressing {
   174  	if in == nil {
   175  		return nil
   176  	}
   177  	out := new(NodeAddressing)
   178  	in.DeepCopyInto(out)
   179  	return out
   180  }
   181  
   182  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   183  func (in *NodeElement) DeepCopyInto(out *NodeElement) {
   184  	*out = *in
   185  	if in.HealthEndpointAddress != nil {
   186  		in, out := &in.HealthEndpointAddress, &out.HealthEndpointAddress
   187  		*out = new(NodeAddressing)
   188  		(*in).DeepCopyInto(*out)
   189  	}
   190  	if in.PrimaryAddress != nil {
   191  		in, out := &in.PrimaryAddress, &out.PrimaryAddress
   192  		*out = new(NodeAddressing)
   193  		(*in).DeepCopyInto(*out)
   194  	}
   195  	if in.SecondaryAddresses != nil {
   196  		in, out := &in.SecondaryAddresses, &out.SecondaryAddresses
   197  		*out = make([]*NodeAddressingElement, len(*in))
   198  		for i := range *in {
   199  			if (*in)[i] != nil {
   200  				in, out := &(*in)[i], &(*out)[i]
   201  				*out = new(NodeAddressingElement)
   202  				**out = **in
   203  			}
   204  		}
   205  	}
   206  	return
   207  }
   208  
   209  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeElement.
   210  func (in *NodeElement) DeepCopy() *NodeElement {
   211  	if in == nil {
   212  		return nil
   213  	}
   214  	out := new(NodeElement)
   215  	in.DeepCopyInto(out)
   216  	return out
   217  }
   218  
   219  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   220  func (in *ProxyStatistics) DeepCopyInto(out *ProxyStatistics) {
   221  	*out = *in
   222  	if in.Statistics != nil {
   223  		in, out := &in.Statistics, &out.Statistics
   224  		*out = new(RequestResponseStatistics)
   225  		(*in).DeepCopyInto(*out)
   226  	}
   227  	return
   228  }
   229  
   230  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProxyStatistics.
   231  func (in *ProxyStatistics) DeepCopy() *ProxyStatistics {
   232  	if in == nil {
   233  		return nil
   234  	}
   235  	out := new(ProxyStatistics)
   236  	in.DeepCopyInto(out)
   237  	return out
   238  }
   239  
   240  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   241  func (in *RequestResponseStatistics) DeepCopyInto(out *RequestResponseStatistics) {
   242  	*out = *in
   243  	if in.Requests != nil {
   244  		in, out := &in.Requests, &out.Requests
   245  		*out = new(MessageForwardingStatistics)
   246  		**out = **in
   247  	}
   248  	if in.Responses != nil {
   249  		in, out := &in.Responses, &out.Responses
   250  		*out = new(MessageForwardingStatistics)
   251  		**out = **in
   252  	}
   253  	return
   254  }
   255  
   256  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RequestResponseStatistics.
   257  func (in *RequestResponseStatistics) DeepCopy() *RequestResponseStatistics {
   258  	if in == nil {
   259  		return nil
   260  	}
   261  	out := new(RequestResponseStatistics)
   262  	in.DeepCopyInto(out)
   263  	return out
   264  }
   265  
   266  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   267  func (in *StatusResponse) DeepCopyInto(out *StatusResponse) {
   268  	*out = *in
   269  	if in.Cilium != nil {
   270  		in, out := &in.Cilium, &out.Cilium
   271  		*out = new(Status)
   272  		**out = **in
   273  	}
   274  	if in.Cluster != nil {
   275  		in, out := &in.Cluster, &out.Cluster
   276  		*out = new(ClusterStatus)
   277  		(*in).DeepCopyInto(*out)
   278  	}
   279  	if in.ContainerRuntime != nil {
   280  		in, out := &in.ContainerRuntime, &out.ContainerRuntime
   281  		*out = new(Status)
   282  		**out = **in
   283  	}
   284  	if in.Controllers != nil {
   285  		in, out := &in.Controllers, &out.Controllers
   286  		*out = make(ControllerStatuses, len(*in))
   287  		for i := range *in {
   288  			if (*in)[i] != nil {
   289  				in, out := &(*in)[i], &(*out)[i]
   290  				*out = new(ControllerStatus)
   291  				(*in).DeepCopyInto(*out)
   292  			}
   293  		}
   294  	}
   295  	if in.IPAM != nil {
   296  		in, out := &in.IPAM, &out.IPAM
   297  		*out = new(IPAMStatus)
   298  		(*in).DeepCopyInto(*out)
   299  	}
   300  	if in.Kubernetes != nil {
   301  		in, out := &in.Kubernetes, &out.Kubernetes
   302  		*out = new(K8sStatus)
   303  		(*in).DeepCopyInto(*out)
   304  	}
   305  	if in.Kvstore != nil {
   306  		in, out := &in.Kvstore, &out.Kvstore
   307  		*out = new(Status)
   308  		**out = **in
   309  	}
   310  	if in.NodeMonitor != nil {
   311  		in, out := &in.NodeMonitor, &out.NodeMonitor
   312  		*out = new(MonitorStatus)
   313  		**out = **in
   314  	}
   315  	if in.Proxy != nil {
   316  		in, out := &in.Proxy, &out.Proxy
   317  		*out = new(ProxyStatus)
   318  		**out = **in
   319  	}
   320  	if in.Stale != nil {
   321  		in, out := &in.Stale, &out.Stale
   322  		*out = make(map[string]strfmt.DateTime, len(*in))
   323  		for key, val := range *in {
   324  			(*out)[key] = *val.DeepCopy()
   325  		}
   326  	}
   327  	return
   328  }
   329  
   330  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatusResponse.
   331  func (in *StatusResponse) DeepCopy() *StatusResponse {
   332  	if in == nil {
   333  		return nil
   334  	}
   335  	out := new(StatusResponse)
   336  	in.DeepCopyInto(out)
   337  	return out
   338  }