github.phpd.cn/cilium/cilium@v1.6.12/pkg/tuple/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 tuple
    20  
    21  import (
    22  	bpf "github.com/cilium/cilium/pkg/bpf"
    23  )
    24  
    25  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    26  func (in *TupleKey4) DeepCopyInto(out *TupleKey4) {
    27  	*out = *in
    28  	in.DestAddr.DeepCopyInto(&out.DestAddr)
    29  	in.SourceAddr.DeepCopyInto(&out.SourceAddr)
    30  	return
    31  }
    32  
    33  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TupleKey4.
    34  func (in *TupleKey4) DeepCopy() *TupleKey4 {
    35  	if in == nil {
    36  		return nil
    37  	}
    38  	out := new(TupleKey4)
    39  	in.DeepCopyInto(out)
    40  	return out
    41  }
    42  
    43  // DeepCopyMapKey is an autogenerated deepcopy function, copying the receiver, creating a new bpf.MapKey.
    44  func (in *TupleKey4) DeepCopyMapKey() bpf.MapKey {
    45  	if c := in.DeepCopy(); c != nil {
    46  		return c
    47  	}
    48  	return nil
    49  }
    50  
    51  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    52  func (in *TupleKey4Global) DeepCopyInto(out *TupleKey4Global) {
    53  	*out = *in
    54  	in.TupleKey4.DeepCopyInto(&out.TupleKey4)
    55  	return
    56  }
    57  
    58  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TupleKey4Global.
    59  func (in *TupleKey4Global) DeepCopy() *TupleKey4Global {
    60  	if in == nil {
    61  		return nil
    62  	}
    63  	out := new(TupleKey4Global)
    64  	in.DeepCopyInto(out)
    65  	return out
    66  }
    67  
    68  // DeepCopyMapKey is an autogenerated deepcopy function, copying the receiver, creating a new bpf.MapKey.
    69  func (in *TupleKey4Global) DeepCopyMapKey() bpf.MapKey {
    70  	if c := in.DeepCopy(); c != nil {
    71  		return c
    72  	}
    73  	return nil
    74  }
    75  
    76  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    77  func (in *TupleKey6) DeepCopyInto(out *TupleKey6) {
    78  	*out = *in
    79  	in.DestAddr.DeepCopyInto(&out.DestAddr)
    80  	in.SourceAddr.DeepCopyInto(&out.SourceAddr)
    81  	return
    82  }
    83  
    84  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TupleKey6.
    85  func (in *TupleKey6) DeepCopy() *TupleKey6 {
    86  	if in == nil {
    87  		return nil
    88  	}
    89  	out := new(TupleKey6)
    90  	in.DeepCopyInto(out)
    91  	return out
    92  }
    93  
    94  // DeepCopyMapKey is an autogenerated deepcopy function, copying the receiver, creating a new bpf.MapKey.
    95  func (in *TupleKey6) DeepCopyMapKey() bpf.MapKey {
    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 *TupleKey6Global) DeepCopyInto(out *TupleKey6Global) {
   104  	*out = *in
   105  	in.TupleKey6.DeepCopyInto(&out.TupleKey6)
   106  	return
   107  }
   108  
   109  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TupleKey6Global.
   110  func (in *TupleKey6Global) DeepCopy() *TupleKey6Global {
   111  	if in == nil {
   112  		return nil
   113  	}
   114  	out := new(TupleKey6Global)
   115  	in.DeepCopyInto(out)
   116  	return out
   117  }
   118  
   119  // DeepCopyMapKey is an autogenerated deepcopy function, copying the receiver, creating a new bpf.MapKey.
   120  func (in *TupleKey6Global) DeepCopyMapKey() bpf.MapKey {
   121  	if c := in.DeepCopy(); c != nil {
   122  		return c
   123  	}
   124  	return nil
   125  }
   126  
   127  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   128  func (in *TupleValStub) DeepCopyInto(out *TupleValStub) {
   129  	*out = *in
   130  	in.buff.DeepCopyInto(&out.buff)
   131  	return
   132  }
   133  
   134  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TupleValStub.
   135  func (in *TupleValStub) DeepCopy() *TupleValStub {
   136  	if in == nil {
   137  		return nil
   138  	}
   139  	out := new(TupleValStub)
   140  	in.DeepCopyInto(out)
   141  	return out
   142  }
   143  
   144  // DeepCopyMapValue is an autogenerated deepcopy function, copying the receiver, creating a new bpf.MapValue.
   145  func (in *TupleValStub) DeepCopyMapValue() bpf.MapValue {
   146  	if c := in.DeepCopy(); c != nil {
   147  		return c
   148  	}
   149  	return nil
   150  }