...

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

Documentation: github.com/openshift/api/network/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 *ClusterNetwork) DeepCopyInto(out *ClusterNetwork) {
    14  	*out = *in
    15  	out.TypeMeta = in.TypeMeta
    16  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
    17  	if in.ClusterNetworks != nil {
    18  		in, out := &in.ClusterNetworks, &out.ClusterNetworks
    19  		*out = make([]ClusterNetworkEntry, len(*in))
    20  		copy(*out, *in)
    21  	}
    22  	if in.VXLANPort != nil {
    23  		in, out := &in.VXLANPort, &out.VXLANPort
    24  		*out = new(uint32)
    25  		**out = **in
    26  	}
    27  	if in.MTU != nil {
    28  		in, out := &in.MTU, &out.MTU
    29  		*out = new(uint32)
    30  		**out = **in
    31  	}
    32  	return
    33  }
    34  
    35  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterNetwork.
    36  func (in *ClusterNetwork) DeepCopy() *ClusterNetwork {
    37  	if in == nil {
    38  		return nil
    39  	}
    40  	out := new(ClusterNetwork)
    41  	in.DeepCopyInto(out)
    42  	return out
    43  }
    44  
    45  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    46  func (in *ClusterNetwork) DeepCopyObject() runtime.Object {
    47  	if c := in.DeepCopy(); c != nil {
    48  		return c
    49  	}
    50  	return nil
    51  }
    52  
    53  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    54  func (in *ClusterNetworkEntry) DeepCopyInto(out *ClusterNetworkEntry) {
    55  	*out = *in
    56  	return
    57  }
    58  
    59  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterNetworkEntry.
    60  func (in *ClusterNetworkEntry) DeepCopy() *ClusterNetworkEntry {
    61  	if in == nil {
    62  		return nil
    63  	}
    64  	out := new(ClusterNetworkEntry)
    65  	in.DeepCopyInto(out)
    66  	return out
    67  }
    68  
    69  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    70  func (in *ClusterNetworkList) DeepCopyInto(out *ClusterNetworkList) {
    71  	*out = *in
    72  	out.TypeMeta = in.TypeMeta
    73  	in.ListMeta.DeepCopyInto(&out.ListMeta)
    74  	if in.Items != nil {
    75  		in, out := &in.Items, &out.Items
    76  		*out = make([]ClusterNetwork, len(*in))
    77  		for i := range *in {
    78  			(*in)[i].DeepCopyInto(&(*out)[i])
    79  		}
    80  	}
    81  	return
    82  }
    83  
    84  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterNetworkList.
    85  func (in *ClusterNetworkList) DeepCopy() *ClusterNetworkList {
    86  	if in == nil {
    87  		return nil
    88  	}
    89  	out := new(ClusterNetworkList)
    90  	in.DeepCopyInto(out)
    91  	return out
    92  }
    93  
    94  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    95  func (in *ClusterNetworkList) DeepCopyObject() runtime.Object {
    96  	if c := in.DeepCopy(); c != nil {
    97  		return c
    98  	}
    99  	return nil
   100  }
   101  
   102  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   103  func (in *EgressNetworkPolicy) DeepCopyInto(out *EgressNetworkPolicy) {
   104  	*out = *in
   105  	out.TypeMeta = in.TypeMeta
   106  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
   107  	in.Spec.DeepCopyInto(&out.Spec)
   108  	return
   109  }
   110  
   111  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EgressNetworkPolicy.
   112  func (in *EgressNetworkPolicy) DeepCopy() *EgressNetworkPolicy {
   113  	if in == nil {
   114  		return nil
   115  	}
   116  	out := new(EgressNetworkPolicy)
   117  	in.DeepCopyInto(out)
   118  	return out
   119  }
   120  
   121  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   122  func (in *EgressNetworkPolicy) DeepCopyObject() runtime.Object {
   123  	if c := in.DeepCopy(); c != nil {
   124  		return c
   125  	}
   126  	return nil
   127  }
   128  
   129  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   130  func (in *EgressNetworkPolicyList) DeepCopyInto(out *EgressNetworkPolicyList) {
   131  	*out = *in
   132  	out.TypeMeta = in.TypeMeta
   133  	in.ListMeta.DeepCopyInto(&out.ListMeta)
   134  	if in.Items != nil {
   135  		in, out := &in.Items, &out.Items
   136  		*out = make([]EgressNetworkPolicy, len(*in))
   137  		for i := range *in {
   138  			(*in)[i].DeepCopyInto(&(*out)[i])
   139  		}
   140  	}
   141  	return
   142  }
   143  
   144  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EgressNetworkPolicyList.
   145  func (in *EgressNetworkPolicyList) DeepCopy() *EgressNetworkPolicyList {
   146  	if in == nil {
   147  		return nil
   148  	}
   149  	out := new(EgressNetworkPolicyList)
   150  	in.DeepCopyInto(out)
   151  	return out
   152  }
   153  
   154  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   155  func (in *EgressNetworkPolicyList) DeepCopyObject() runtime.Object {
   156  	if c := in.DeepCopy(); c != nil {
   157  		return c
   158  	}
   159  	return nil
   160  }
   161  
   162  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   163  func (in *EgressNetworkPolicyPeer) DeepCopyInto(out *EgressNetworkPolicyPeer) {
   164  	*out = *in
   165  	return
   166  }
   167  
   168  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EgressNetworkPolicyPeer.
   169  func (in *EgressNetworkPolicyPeer) DeepCopy() *EgressNetworkPolicyPeer {
   170  	if in == nil {
   171  		return nil
   172  	}
   173  	out := new(EgressNetworkPolicyPeer)
   174  	in.DeepCopyInto(out)
   175  	return out
   176  }
   177  
   178  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   179  func (in *EgressNetworkPolicyRule) DeepCopyInto(out *EgressNetworkPolicyRule) {
   180  	*out = *in
   181  	out.To = in.To
   182  	return
   183  }
   184  
   185  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EgressNetworkPolicyRule.
   186  func (in *EgressNetworkPolicyRule) DeepCopy() *EgressNetworkPolicyRule {
   187  	if in == nil {
   188  		return nil
   189  	}
   190  	out := new(EgressNetworkPolicyRule)
   191  	in.DeepCopyInto(out)
   192  	return out
   193  }
   194  
   195  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   196  func (in *EgressNetworkPolicySpec) DeepCopyInto(out *EgressNetworkPolicySpec) {
   197  	*out = *in
   198  	if in.Egress != nil {
   199  		in, out := &in.Egress, &out.Egress
   200  		*out = make([]EgressNetworkPolicyRule, len(*in))
   201  		copy(*out, *in)
   202  	}
   203  	return
   204  }
   205  
   206  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EgressNetworkPolicySpec.
   207  func (in *EgressNetworkPolicySpec) DeepCopy() *EgressNetworkPolicySpec {
   208  	if in == nil {
   209  		return nil
   210  	}
   211  	out := new(EgressNetworkPolicySpec)
   212  	in.DeepCopyInto(out)
   213  	return out
   214  }
   215  
   216  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   217  func (in *HostSubnet) DeepCopyInto(out *HostSubnet) {
   218  	*out = *in
   219  	out.TypeMeta = in.TypeMeta
   220  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
   221  	if in.EgressIPs != nil {
   222  		in, out := &in.EgressIPs, &out.EgressIPs
   223  		*out = make([]HostSubnetEgressIP, len(*in))
   224  		copy(*out, *in)
   225  	}
   226  	if in.EgressCIDRs != nil {
   227  		in, out := &in.EgressCIDRs, &out.EgressCIDRs
   228  		*out = make([]HostSubnetEgressCIDR, len(*in))
   229  		copy(*out, *in)
   230  	}
   231  	return
   232  }
   233  
   234  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostSubnet.
   235  func (in *HostSubnet) DeepCopy() *HostSubnet {
   236  	if in == nil {
   237  		return nil
   238  	}
   239  	out := new(HostSubnet)
   240  	in.DeepCopyInto(out)
   241  	return out
   242  }
   243  
   244  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   245  func (in *HostSubnet) DeepCopyObject() runtime.Object {
   246  	if c := in.DeepCopy(); c != nil {
   247  		return c
   248  	}
   249  	return nil
   250  }
   251  
   252  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   253  func (in *HostSubnetList) DeepCopyInto(out *HostSubnetList) {
   254  	*out = *in
   255  	out.TypeMeta = in.TypeMeta
   256  	in.ListMeta.DeepCopyInto(&out.ListMeta)
   257  	if in.Items != nil {
   258  		in, out := &in.Items, &out.Items
   259  		*out = make([]HostSubnet, len(*in))
   260  		for i := range *in {
   261  			(*in)[i].DeepCopyInto(&(*out)[i])
   262  		}
   263  	}
   264  	return
   265  }
   266  
   267  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostSubnetList.
   268  func (in *HostSubnetList) DeepCopy() *HostSubnetList {
   269  	if in == nil {
   270  		return nil
   271  	}
   272  	out := new(HostSubnetList)
   273  	in.DeepCopyInto(out)
   274  	return out
   275  }
   276  
   277  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   278  func (in *HostSubnetList) DeepCopyObject() runtime.Object {
   279  	if c := in.DeepCopy(); c != nil {
   280  		return c
   281  	}
   282  	return nil
   283  }
   284  
   285  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   286  func (in *NetNamespace) DeepCopyInto(out *NetNamespace) {
   287  	*out = *in
   288  	out.TypeMeta = in.TypeMeta
   289  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
   290  	if in.EgressIPs != nil {
   291  		in, out := &in.EgressIPs, &out.EgressIPs
   292  		*out = make([]NetNamespaceEgressIP, len(*in))
   293  		copy(*out, *in)
   294  	}
   295  	return
   296  }
   297  
   298  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetNamespace.
   299  func (in *NetNamespace) DeepCopy() *NetNamespace {
   300  	if in == nil {
   301  		return nil
   302  	}
   303  	out := new(NetNamespace)
   304  	in.DeepCopyInto(out)
   305  	return out
   306  }
   307  
   308  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   309  func (in *NetNamespace) DeepCopyObject() runtime.Object {
   310  	if c := in.DeepCopy(); c != nil {
   311  		return c
   312  	}
   313  	return nil
   314  }
   315  
   316  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   317  func (in *NetNamespaceList) DeepCopyInto(out *NetNamespaceList) {
   318  	*out = *in
   319  	out.TypeMeta = in.TypeMeta
   320  	in.ListMeta.DeepCopyInto(&out.ListMeta)
   321  	if in.Items != nil {
   322  		in, out := &in.Items, &out.Items
   323  		*out = make([]NetNamespace, len(*in))
   324  		for i := range *in {
   325  			(*in)[i].DeepCopyInto(&(*out)[i])
   326  		}
   327  	}
   328  	return
   329  }
   330  
   331  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetNamespaceList.
   332  func (in *NetNamespaceList) DeepCopy() *NetNamespaceList {
   333  	if in == nil {
   334  		return nil
   335  	}
   336  	out := new(NetNamespaceList)
   337  	in.DeepCopyInto(out)
   338  	return out
   339  }
   340  
   341  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   342  func (in *NetNamespaceList) DeepCopyObject() runtime.Object {
   343  	if c := in.DeepCopy(); c != nil {
   344  		return c
   345  	}
   346  	return nil
   347  }
   348  

View as plain text