...

Source file src/sigs.k8s.io/gateway-api/apis/v1beta1/zz_generated.deepcopy.go

Documentation: sigs.k8s.io/gateway-api/apis/v1beta1

     1  //go:build !ignore_autogenerated
     2  
     3  /*
     4  Copyright The Kubernetes Authors.
     5  
     6  Licensed under the Apache License, Version 2.0 (the "License");
     7  you may not use this file except in compliance with the License.
     8  You may obtain a copy of the License at
     9  
    10      http://www.apache.org/licenses/LICENSE-2.0
    11  
    12  Unless required by applicable law or agreed to in writing, software
    13  distributed under the License is distributed on an "AS IS" BASIS,
    14  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    15  See the License for the specific language governing permissions and
    16  limitations under the License.
    17  */
    18  
    19  // Code generated by controller-gen. DO NOT EDIT.
    20  
    21  package v1beta1
    22  
    23  import (
    24  	"k8s.io/apimachinery/pkg/runtime"
    25  	"sigs.k8s.io/gateway-api/apis/v1"
    26  )
    27  
    28  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    29  func (in *Gateway) DeepCopyInto(out *Gateway) {
    30  	*out = *in
    31  	out.TypeMeta = in.TypeMeta
    32  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
    33  	in.Spec.DeepCopyInto(&out.Spec)
    34  	in.Status.DeepCopyInto(&out.Status)
    35  }
    36  
    37  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Gateway.
    38  func (in *Gateway) DeepCopy() *Gateway {
    39  	if in == nil {
    40  		return nil
    41  	}
    42  	out := new(Gateway)
    43  	in.DeepCopyInto(out)
    44  	return out
    45  }
    46  
    47  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    48  func (in *Gateway) DeepCopyObject() runtime.Object {
    49  	if c := in.DeepCopy(); c != nil {
    50  		return c
    51  	}
    52  	return nil
    53  }
    54  
    55  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    56  func (in *GatewayClass) DeepCopyInto(out *GatewayClass) {
    57  	*out = *in
    58  	out.TypeMeta = in.TypeMeta
    59  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
    60  	in.Spec.DeepCopyInto(&out.Spec)
    61  	in.Status.DeepCopyInto(&out.Status)
    62  }
    63  
    64  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayClass.
    65  func (in *GatewayClass) DeepCopy() *GatewayClass {
    66  	if in == nil {
    67  		return nil
    68  	}
    69  	out := new(GatewayClass)
    70  	in.DeepCopyInto(out)
    71  	return out
    72  }
    73  
    74  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    75  func (in *GatewayClass) DeepCopyObject() runtime.Object {
    76  	if c := in.DeepCopy(); c != nil {
    77  		return c
    78  	}
    79  	return nil
    80  }
    81  
    82  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    83  func (in *GatewayClassList) DeepCopyInto(out *GatewayClassList) {
    84  	*out = *in
    85  	out.TypeMeta = in.TypeMeta
    86  	in.ListMeta.DeepCopyInto(&out.ListMeta)
    87  	if in.Items != nil {
    88  		in, out := &in.Items, &out.Items
    89  		*out = make([]GatewayClass, len(*in))
    90  		for i := range *in {
    91  			(*in)[i].DeepCopyInto(&(*out)[i])
    92  		}
    93  	}
    94  }
    95  
    96  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayClassList.
    97  func (in *GatewayClassList) DeepCopy() *GatewayClassList {
    98  	if in == nil {
    99  		return nil
   100  	}
   101  	out := new(GatewayClassList)
   102  	in.DeepCopyInto(out)
   103  	return out
   104  }
   105  
   106  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   107  func (in *GatewayClassList) DeepCopyObject() runtime.Object {
   108  	if c := in.DeepCopy(); c != nil {
   109  		return c
   110  	}
   111  	return nil
   112  }
   113  
   114  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   115  func (in *GatewayList) DeepCopyInto(out *GatewayList) {
   116  	*out = *in
   117  	out.TypeMeta = in.TypeMeta
   118  	in.ListMeta.DeepCopyInto(&out.ListMeta)
   119  	if in.Items != nil {
   120  		in, out := &in.Items, &out.Items
   121  		*out = make([]Gateway, len(*in))
   122  		for i := range *in {
   123  			(*in)[i].DeepCopyInto(&(*out)[i])
   124  		}
   125  	}
   126  }
   127  
   128  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayList.
   129  func (in *GatewayList) DeepCopy() *GatewayList {
   130  	if in == nil {
   131  		return nil
   132  	}
   133  	out := new(GatewayList)
   134  	in.DeepCopyInto(out)
   135  	return out
   136  }
   137  
   138  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   139  func (in *GatewayList) DeepCopyObject() runtime.Object {
   140  	if c := in.DeepCopy(); c != nil {
   141  		return c
   142  	}
   143  	return nil
   144  }
   145  
   146  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   147  func (in *HTTPRoute) DeepCopyInto(out *HTTPRoute) {
   148  	*out = *in
   149  	out.TypeMeta = in.TypeMeta
   150  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
   151  	in.Spec.DeepCopyInto(&out.Spec)
   152  	in.Status.DeepCopyInto(&out.Status)
   153  }
   154  
   155  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPRoute.
   156  func (in *HTTPRoute) DeepCopy() *HTTPRoute {
   157  	if in == nil {
   158  		return nil
   159  	}
   160  	out := new(HTTPRoute)
   161  	in.DeepCopyInto(out)
   162  	return out
   163  }
   164  
   165  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   166  func (in *HTTPRoute) DeepCopyObject() runtime.Object {
   167  	if c := in.DeepCopy(); c != nil {
   168  		return c
   169  	}
   170  	return nil
   171  }
   172  
   173  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   174  func (in *HTTPRouteList) DeepCopyInto(out *HTTPRouteList) {
   175  	*out = *in
   176  	out.TypeMeta = in.TypeMeta
   177  	in.ListMeta.DeepCopyInto(&out.ListMeta)
   178  	if in.Items != nil {
   179  		in, out := &in.Items, &out.Items
   180  		*out = make([]HTTPRoute, len(*in))
   181  		for i := range *in {
   182  			(*in)[i].DeepCopyInto(&(*out)[i])
   183  		}
   184  	}
   185  }
   186  
   187  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPRouteList.
   188  func (in *HTTPRouteList) DeepCopy() *HTTPRouteList {
   189  	if in == nil {
   190  		return nil
   191  	}
   192  	out := new(HTTPRouteList)
   193  	in.DeepCopyInto(out)
   194  	return out
   195  }
   196  
   197  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   198  func (in *HTTPRouteList) DeepCopyObject() runtime.Object {
   199  	if c := in.DeepCopy(); c != nil {
   200  		return c
   201  	}
   202  	return nil
   203  }
   204  
   205  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   206  func (in *ReferenceGrant) DeepCopyInto(out *ReferenceGrant) {
   207  	*out = *in
   208  	out.TypeMeta = in.TypeMeta
   209  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
   210  	in.Spec.DeepCopyInto(&out.Spec)
   211  }
   212  
   213  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReferenceGrant.
   214  func (in *ReferenceGrant) DeepCopy() *ReferenceGrant {
   215  	if in == nil {
   216  		return nil
   217  	}
   218  	out := new(ReferenceGrant)
   219  	in.DeepCopyInto(out)
   220  	return out
   221  }
   222  
   223  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   224  func (in *ReferenceGrant) DeepCopyObject() runtime.Object {
   225  	if c := in.DeepCopy(); c != nil {
   226  		return c
   227  	}
   228  	return nil
   229  }
   230  
   231  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   232  func (in *ReferenceGrantFrom) DeepCopyInto(out *ReferenceGrantFrom) {
   233  	*out = *in
   234  }
   235  
   236  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReferenceGrantFrom.
   237  func (in *ReferenceGrantFrom) DeepCopy() *ReferenceGrantFrom {
   238  	if in == nil {
   239  		return nil
   240  	}
   241  	out := new(ReferenceGrantFrom)
   242  	in.DeepCopyInto(out)
   243  	return out
   244  }
   245  
   246  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   247  func (in *ReferenceGrantList) DeepCopyInto(out *ReferenceGrantList) {
   248  	*out = *in
   249  	out.TypeMeta = in.TypeMeta
   250  	in.ListMeta.DeepCopyInto(&out.ListMeta)
   251  	if in.Items != nil {
   252  		in, out := &in.Items, &out.Items
   253  		*out = make([]ReferenceGrant, len(*in))
   254  		for i := range *in {
   255  			(*in)[i].DeepCopyInto(&(*out)[i])
   256  		}
   257  	}
   258  }
   259  
   260  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReferenceGrantList.
   261  func (in *ReferenceGrantList) DeepCopy() *ReferenceGrantList {
   262  	if in == nil {
   263  		return nil
   264  	}
   265  	out := new(ReferenceGrantList)
   266  	in.DeepCopyInto(out)
   267  	return out
   268  }
   269  
   270  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   271  func (in *ReferenceGrantList) DeepCopyObject() runtime.Object {
   272  	if c := in.DeepCopy(); c != nil {
   273  		return c
   274  	}
   275  	return nil
   276  }
   277  
   278  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   279  func (in *ReferenceGrantSpec) DeepCopyInto(out *ReferenceGrantSpec) {
   280  	*out = *in
   281  	if in.From != nil {
   282  		in, out := &in.From, &out.From
   283  		*out = make([]ReferenceGrantFrom, len(*in))
   284  		copy(*out, *in)
   285  	}
   286  	if in.To != nil {
   287  		in, out := &in.To, &out.To
   288  		*out = make([]ReferenceGrantTo, len(*in))
   289  		for i := range *in {
   290  			(*in)[i].DeepCopyInto(&(*out)[i])
   291  		}
   292  	}
   293  }
   294  
   295  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReferenceGrantSpec.
   296  func (in *ReferenceGrantSpec) DeepCopy() *ReferenceGrantSpec {
   297  	if in == nil {
   298  		return nil
   299  	}
   300  	out := new(ReferenceGrantSpec)
   301  	in.DeepCopyInto(out)
   302  	return out
   303  }
   304  
   305  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   306  func (in *ReferenceGrantTo) DeepCopyInto(out *ReferenceGrantTo) {
   307  	*out = *in
   308  	if in.Name != nil {
   309  		in, out := &in.Name, &out.Name
   310  		*out = new(v1.ObjectName)
   311  		**out = **in
   312  	}
   313  }
   314  
   315  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReferenceGrantTo.
   316  func (in *ReferenceGrantTo) DeepCopy() *ReferenceGrantTo {
   317  	if in == nil {
   318  		return nil
   319  	}
   320  	out := new(ReferenceGrantTo)
   321  	in.DeepCopyInto(out)
   322  	return out
   323  }
   324  

View as plain text