...

Source file src/k8s.io/api/networking/v1beta1/zz_generated.deepcopy.go

Documentation: k8s.io/api/networking/v1beta1

     1  //go:build !ignore_autogenerated
     2  // +build !ignore_autogenerated
     3  
     4  /*
     5  Copyright 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 v1beta1
    23  
    24  import (
    25  	v1 "k8s.io/api/core/v1"
    26  	runtime "k8s.io/apimachinery/pkg/runtime"
    27  )
    28  
    29  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    30  func (in *HTTPIngressPath) DeepCopyInto(out *HTTPIngressPath) {
    31  	*out = *in
    32  	if in.PathType != nil {
    33  		in, out := &in.PathType, &out.PathType
    34  		*out = new(PathType)
    35  		**out = **in
    36  	}
    37  	in.Backend.DeepCopyInto(&out.Backend)
    38  	return
    39  }
    40  
    41  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPIngressPath.
    42  func (in *HTTPIngressPath) DeepCopy() *HTTPIngressPath {
    43  	if in == nil {
    44  		return nil
    45  	}
    46  	out := new(HTTPIngressPath)
    47  	in.DeepCopyInto(out)
    48  	return out
    49  }
    50  
    51  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    52  func (in *HTTPIngressRuleValue) DeepCopyInto(out *HTTPIngressRuleValue) {
    53  	*out = *in
    54  	if in.Paths != nil {
    55  		in, out := &in.Paths, &out.Paths
    56  		*out = make([]HTTPIngressPath, len(*in))
    57  		for i := range *in {
    58  			(*in)[i].DeepCopyInto(&(*out)[i])
    59  		}
    60  	}
    61  	return
    62  }
    63  
    64  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPIngressRuleValue.
    65  func (in *HTTPIngressRuleValue) DeepCopy() *HTTPIngressRuleValue {
    66  	if in == nil {
    67  		return nil
    68  	}
    69  	out := new(HTTPIngressRuleValue)
    70  	in.DeepCopyInto(out)
    71  	return out
    72  }
    73  
    74  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    75  func (in *Ingress) DeepCopyInto(out *Ingress) {
    76  	*out = *in
    77  	out.TypeMeta = in.TypeMeta
    78  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
    79  	in.Spec.DeepCopyInto(&out.Spec)
    80  	in.Status.DeepCopyInto(&out.Status)
    81  	return
    82  }
    83  
    84  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Ingress.
    85  func (in *Ingress) DeepCopy() *Ingress {
    86  	if in == nil {
    87  		return nil
    88  	}
    89  	out := new(Ingress)
    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 *Ingress) 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 *IngressBackend) DeepCopyInto(out *IngressBackend) {
   104  	*out = *in
   105  	out.ServicePort = in.ServicePort
   106  	if in.Resource != nil {
   107  		in, out := &in.Resource, &out.Resource
   108  		*out = new(v1.TypedLocalObjectReference)
   109  		(*in).DeepCopyInto(*out)
   110  	}
   111  	return
   112  }
   113  
   114  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressBackend.
   115  func (in *IngressBackend) DeepCopy() *IngressBackend {
   116  	if in == nil {
   117  		return nil
   118  	}
   119  	out := new(IngressBackend)
   120  	in.DeepCopyInto(out)
   121  	return out
   122  }
   123  
   124  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   125  func (in *IngressClass) DeepCopyInto(out *IngressClass) {
   126  	*out = *in
   127  	out.TypeMeta = in.TypeMeta
   128  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
   129  	in.Spec.DeepCopyInto(&out.Spec)
   130  	return
   131  }
   132  
   133  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressClass.
   134  func (in *IngressClass) DeepCopy() *IngressClass {
   135  	if in == nil {
   136  		return nil
   137  	}
   138  	out := new(IngressClass)
   139  	in.DeepCopyInto(out)
   140  	return out
   141  }
   142  
   143  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   144  func (in *IngressClass) DeepCopyObject() runtime.Object {
   145  	if c := in.DeepCopy(); c != nil {
   146  		return c
   147  	}
   148  	return nil
   149  }
   150  
   151  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   152  func (in *IngressClassList) DeepCopyInto(out *IngressClassList) {
   153  	*out = *in
   154  	out.TypeMeta = in.TypeMeta
   155  	in.ListMeta.DeepCopyInto(&out.ListMeta)
   156  	if in.Items != nil {
   157  		in, out := &in.Items, &out.Items
   158  		*out = make([]IngressClass, len(*in))
   159  		for i := range *in {
   160  			(*in)[i].DeepCopyInto(&(*out)[i])
   161  		}
   162  	}
   163  	return
   164  }
   165  
   166  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressClassList.
   167  func (in *IngressClassList) DeepCopy() *IngressClassList {
   168  	if in == nil {
   169  		return nil
   170  	}
   171  	out := new(IngressClassList)
   172  	in.DeepCopyInto(out)
   173  	return out
   174  }
   175  
   176  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   177  func (in *IngressClassList) DeepCopyObject() runtime.Object {
   178  	if c := in.DeepCopy(); c != nil {
   179  		return c
   180  	}
   181  	return nil
   182  }
   183  
   184  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   185  func (in *IngressClassParametersReference) DeepCopyInto(out *IngressClassParametersReference) {
   186  	*out = *in
   187  	if in.APIGroup != nil {
   188  		in, out := &in.APIGroup, &out.APIGroup
   189  		*out = new(string)
   190  		**out = **in
   191  	}
   192  	if in.Scope != nil {
   193  		in, out := &in.Scope, &out.Scope
   194  		*out = new(string)
   195  		**out = **in
   196  	}
   197  	if in.Namespace != nil {
   198  		in, out := &in.Namespace, &out.Namespace
   199  		*out = new(string)
   200  		**out = **in
   201  	}
   202  	return
   203  }
   204  
   205  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressClassParametersReference.
   206  func (in *IngressClassParametersReference) DeepCopy() *IngressClassParametersReference {
   207  	if in == nil {
   208  		return nil
   209  	}
   210  	out := new(IngressClassParametersReference)
   211  	in.DeepCopyInto(out)
   212  	return out
   213  }
   214  
   215  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   216  func (in *IngressClassSpec) DeepCopyInto(out *IngressClassSpec) {
   217  	*out = *in
   218  	if in.Parameters != nil {
   219  		in, out := &in.Parameters, &out.Parameters
   220  		*out = new(IngressClassParametersReference)
   221  		(*in).DeepCopyInto(*out)
   222  	}
   223  	return
   224  }
   225  
   226  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressClassSpec.
   227  func (in *IngressClassSpec) DeepCopy() *IngressClassSpec {
   228  	if in == nil {
   229  		return nil
   230  	}
   231  	out := new(IngressClassSpec)
   232  	in.DeepCopyInto(out)
   233  	return out
   234  }
   235  
   236  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   237  func (in *IngressList) DeepCopyInto(out *IngressList) {
   238  	*out = *in
   239  	out.TypeMeta = in.TypeMeta
   240  	in.ListMeta.DeepCopyInto(&out.ListMeta)
   241  	if in.Items != nil {
   242  		in, out := &in.Items, &out.Items
   243  		*out = make([]Ingress, len(*in))
   244  		for i := range *in {
   245  			(*in)[i].DeepCopyInto(&(*out)[i])
   246  		}
   247  	}
   248  	return
   249  }
   250  
   251  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressList.
   252  func (in *IngressList) DeepCopy() *IngressList {
   253  	if in == nil {
   254  		return nil
   255  	}
   256  	out := new(IngressList)
   257  	in.DeepCopyInto(out)
   258  	return out
   259  }
   260  
   261  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   262  func (in *IngressList) DeepCopyObject() runtime.Object {
   263  	if c := in.DeepCopy(); c != nil {
   264  		return c
   265  	}
   266  	return nil
   267  }
   268  
   269  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   270  func (in *IngressLoadBalancerIngress) DeepCopyInto(out *IngressLoadBalancerIngress) {
   271  	*out = *in
   272  	if in.Ports != nil {
   273  		in, out := &in.Ports, &out.Ports
   274  		*out = make([]IngressPortStatus, len(*in))
   275  		for i := range *in {
   276  			(*in)[i].DeepCopyInto(&(*out)[i])
   277  		}
   278  	}
   279  	return
   280  }
   281  
   282  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressLoadBalancerIngress.
   283  func (in *IngressLoadBalancerIngress) DeepCopy() *IngressLoadBalancerIngress {
   284  	if in == nil {
   285  		return nil
   286  	}
   287  	out := new(IngressLoadBalancerIngress)
   288  	in.DeepCopyInto(out)
   289  	return out
   290  }
   291  
   292  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   293  func (in *IngressLoadBalancerStatus) DeepCopyInto(out *IngressLoadBalancerStatus) {
   294  	*out = *in
   295  	if in.Ingress != nil {
   296  		in, out := &in.Ingress, &out.Ingress
   297  		*out = make([]IngressLoadBalancerIngress, len(*in))
   298  		for i := range *in {
   299  			(*in)[i].DeepCopyInto(&(*out)[i])
   300  		}
   301  	}
   302  	return
   303  }
   304  
   305  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressLoadBalancerStatus.
   306  func (in *IngressLoadBalancerStatus) DeepCopy() *IngressLoadBalancerStatus {
   307  	if in == nil {
   308  		return nil
   309  	}
   310  	out := new(IngressLoadBalancerStatus)
   311  	in.DeepCopyInto(out)
   312  	return out
   313  }
   314  
   315  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   316  func (in *IngressPortStatus) DeepCopyInto(out *IngressPortStatus) {
   317  	*out = *in
   318  	if in.Error != nil {
   319  		in, out := &in.Error, &out.Error
   320  		*out = new(string)
   321  		**out = **in
   322  	}
   323  	return
   324  }
   325  
   326  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressPortStatus.
   327  func (in *IngressPortStatus) DeepCopy() *IngressPortStatus {
   328  	if in == nil {
   329  		return nil
   330  	}
   331  	out := new(IngressPortStatus)
   332  	in.DeepCopyInto(out)
   333  	return out
   334  }
   335  
   336  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   337  func (in *IngressRule) DeepCopyInto(out *IngressRule) {
   338  	*out = *in
   339  	in.IngressRuleValue.DeepCopyInto(&out.IngressRuleValue)
   340  	return
   341  }
   342  
   343  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressRule.
   344  func (in *IngressRule) DeepCopy() *IngressRule {
   345  	if in == nil {
   346  		return nil
   347  	}
   348  	out := new(IngressRule)
   349  	in.DeepCopyInto(out)
   350  	return out
   351  }
   352  
   353  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   354  func (in *IngressRuleValue) DeepCopyInto(out *IngressRuleValue) {
   355  	*out = *in
   356  	if in.HTTP != nil {
   357  		in, out := &in.HTTP, &out.HTTP
   358  		*out = new(HTTPIngressRuleValue)
   359  		(*in).DeepCopyInto(*out)
   360  	}
   361  	return
   362  }
   363  
   364  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressRuleValue.
   365  func (in *IngressRuleValue) DeepCopy() *IngressRuleValue {
   366  	if in == nil {
   367  		return nil
   368  	}
   369  	out := new(IngressRuleValue)
   370  	in.DeepCopyInto(out)
   371  	return out
   372  }
   373  
   374  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   375  func (in *IngressSpec) DeepCopyInto(out *IngressSpec) {
   376  	*out = *in
   377  	if in.IngressClassName != nil {
   378  		in, out := &in.IngressClassName, &out.IngressClassName
   379  		*out = new(string)
   380  		**out = **in
   381  	}
   382  	if in.Backend != nil {
   383  		in, out := &in.Backend, &out.Backend
   384  		*out = new(IngressBackend)
   385  		(*in).DeepCopyInto(*out)
   386  	}
   387  	if in.TLS != nil {
   388  		in, out := &in.TLS, &out.TLS
   389  		*out = make([]IngressTLS, len(*in))
   390  		for i := range *in {
   391  			(*in)[i].DeepCopyInto(&(*out)[i])
   392  		}
   393  	}
   394  	if in.Rules != nil {
   395  		in, out := &in.Rules, &out.Rules
   396  		*out = make([]IngressRule, len(*in))
   397  		for i := range *in {
   398  			(*in)[i].DeepCopyInto(&(*out)[i])
   399  		}
   400  	}
   401  	return
   402  }
   403  
   404  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressSpec.
   405  func (in *IngressSpec) DeepCopy() *IngressSpec {
   406  	if in == nil {
   407  		return nil
   408  	}
   409  	out := new(IngressSpec)
   410  	in.DeepCopyInto(out)
   411  	return out
   412  }
   413  
   414  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   415  func (in *IngressStatus) DeepCopyInto(out *IngressStatus) {
   416  	*out = *in
   417  	in.LoadBalancer.DeepCopyInto(&out.LoadBalancer)
   418  	return
   419  }
   420  
   421  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressStatus.
   422  func (in *IngressStatus) DeepCopy() *IngressStatus {
   423  	if in == nil {
   424  		return nil
   425  	}
   426  	out := new(IngressStatus)
   427  	in.DeepCopyInto(out)
   428  	return out
   429  }
   430  
   431  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   432  func (in *IngressTLS) DeepCopyInto(out *IngressTLS) {
   433  	*out = *in
   434  	if in.Hosts != nil {
   435  		in, out := &in.Hosts, &out.Hosts
   436  		*out = make([]string, len(*in))
   437  		copy(*out, *in)
   438  	}
   439  	return
   440  }
   441  
   442  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressTLS.
   443  func (in *IngressTLS) DeepCopy() *IngressTLS {
   444  	if in == nil {
   445  		return nil
   446  	}
   447  	out := new(IngressTLS)
   448  	in.DeepCopyInto(out)
   449  	return out
   450  }
   451  

View as plain text