...

Source file src/github.com/linkerd/linkerd2/controller/gen/apis/policy/v1beta3/zz_generated.deepcopy.go

Documentation: github.com/linkerd/linkerd2/controller/gen/apis/policy/v1beta3

     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 v1beta3
    23  
    24  import (
    25  	v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    26  	runtime "k8s.io/apimachinery/pkg/runtime"
    27  	v1beta1 "sigs.k8s.io/gateway-api/apis/v1beta1"
    28  )
    29  
    30  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    31  func (in *HTTPHeader) DeepCopyInto(out *HTTPHeader) {
    32  	*out = *in
    33  	return
    34  }
    35  
    36  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPHeader.
    37  func (in *HTTPHeader) DeepCopy() *HTTPHeader {
    38  	if in == nil {
    39  		return nil
    40  	}
    41  	out := new(HTTPHeader)
    42  	in.DeepCopyInto(out)
    43  	return out
    44  }
    45  
    46  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    47  func (in *HTTPHeaderMatch) DeepCopyInto(out *HTTPHeaderMatch) {
    48  	*out = *in
    49  	if in.Type != nil {
    50  		in, out := &in.Type, &out.Type
    51  		*out = new(HeaderMatchType)
    52  		**out = **in
    53  	}
    54  	return
    55  }
    56  
    57  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPHeaderMatch.
    58  func (in *HTTPHeaderMatch) DeepCopy() *HTTPHeaderMatch {
    59  	if in == nil {
    60  		return nil
    61  	}
    62  	out := new(HTTPHeaderMatch)
    63  	in.DeepCopyInto(out)
    64  	return out
    65  }
    66  
    67  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    68  func (in *HTTPPathMatch) DeepCopyInto(out *HTTPPathMatch) {
    69  	*out = *in
    70  	if in.Type != nil {
    71  		in, out := &in.Type, &out.Type
    72  		*out = new(PathMatchType)
    73  		**out = **in
    74  	}
    75  	if in.Value != nil {
    76  		in, out := &in.Value, &out.Value
    77  		*out = new(string)
    78  		**out = **in
    79  	}
    80  	return
    81  }
    82  
    83  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPPathMatch.
    84  func (in *HTTPPathMatch) DeepCopy() *HTTPPathMatch {
    85  	if in == nil {
    86  		return nil
    87  	}
    88  	out := new(HTTPPathMatch)
    89  	in.DeepCopyInto(out)
    90  	return out
    91  }
    92  
    93  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    94  func (in *HTTPPathModifier) DeepCopyInto(out *HTTPPathModifier) {
    95  	*out = *in
    96  	if in.ReplaceFullPath != nil {
    97  		in, out := &in.ReplaceFullPath, &out.ReplaceFullPath
    98  		*out = new(string)
    99  		**out = **in
   100  	}
   101  	if in.ReplacePrefixMatch != nil {
   102  		in, out := &in.ReplacePrefixMatch, &out.ReplacePrefixMatch
   103  		*out = new(string)
   104  		**out = **in
   105  	}
   106  	return
   107  }
   108  
   109  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPPathModifier.
   110  func (in *HTTPPathModifier) DeepCopy() *HTTPPathModifier {
   111  	if in == nil {
   112  		return nil
   113  	}
   114  	out := new(HTTPPathModifier)
   115  	in.DeepCopyInto(out)
   116  	return out
   117  }
   118  
   119  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   120  func (in *HTTPQueryParamMatch) DeepCopyInto(out *HTTPQueryParamMatch) {
   121  	*out = *in
   122  	if in.Type != nil {
   123  		in, out := &in.Type, &out.Type
   124  		*out = new(QueryParamMatchType)
   125  		**out = **in
   126  	}
   127  	return
   128  }
   129  
   130  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPQueryParamMatch.
   131  func (in *HTTPQueryParamMatch) DeepCopy() *HTTPQueryParamMatch {
   132  	if in == nil {
   133  		return nil
   134  	}
   135  	out := new(HTTPQueryParamMatch)
   136  	in.DeepCopyInto(out)
   137  	return out
   138  }
   139  
   140  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   141  func (in *HTTPRequestHeaderFilter) DeepCopyInto(out *HTTPRequestHeaderFilter) {
   142  	*out = *in
   143  	if in.Set != nil {
   144  		in, out := &in.Set, &out.Set
   145  		*out = make([]HTTPHeader, len(*in))
   146  		copy(*out, *in)
   147  	}
   148  	if in.Add != nil {
   149  		in, out := &in.Add, &out.Add
   150  		*out = make([]HTTPHeader, len(*in))
   151  		copy(*out, *in)
   152  	}
   153  	if in.Remove != nil {
   154  		in, out := &in.Remove, &out.Remove
   155  		*out = make([]string, len(*in))
   156  		copy(*out, *in)
   157  	}
   158  	return
   159  }
   160  
   161  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPRequestHeaderFilter.
   162  func (in *HTTPRequestHeaderFilter) DeepCopy() *HTTPRequestHeaderFilter {
   163  	if in == nil {
   164  		return nil
   165  	}
   166  	out := new(HTTPRequestHeaderFilter)
   167  	in.DeepCopyInto(out)
   168  	return out
   169  }
   170  
   171  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   172  func (in *HTTPRequestRedirectFilter) DeepCopyInto(out *HTTPRequestRedirectFilter) {
   173  	*out = *in
   174  	if in.Scheme != nil {
   175  		in, out := &in.Scheme, &out.Scheme
   176  		*out = new(string)
   177  		**out = **in
   178  	}
   179  	if in.Hostname != nil {
   180  		in, out := &in.Hostname, &out.Hostname
   181  		*out = new(v1beta1.PreciseHostname)
   182  		**out = **in
   183  	}
   184  	if in.Path != nil {
   185  		in, out := &in.Path, &out.Path
   186  		*out = new(HTTPPathModifier)
   187  		(*in).DeepCopyInto(*out)
   188  	}
   189  	if in.Port != nil {
   190  		in, out := &in.Port, &out.Port
   191  		*out = new(v1beta1.PortNumber)
   192  		**out = **in
   193  	}
   194  	if in.StatusCode != nil {
   195  		in, out := &in.StatusCode, &out.StatusCode
   196  		*out = new(int)
   197  		**out = **in
   198  	}
   199  	return
   200  }
   201  
   202  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPRequestRedirectFilter.
   203  func (in *HTTPRequestRedirectFilter) DeepCopy() *HTTPRequestRedirectFilter {
   204  	if in == nil {
   205  		return nil
   206  	}
   207  	out := new(HTTPRequestRedirectFilter)
   208  	in.DeepCopyInto(out)
   209  	return out
   210  }
   211  
   212  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   213  func (in *HTTPRoute) DeepCopyInto(out *HTTPRoute) {
   214  	*out = *in
   215  	out.TypeMeta = in.TypeMeta
   216  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
   217  	in.Spec.DeepCopyInto(&out.Spec)
   218  	in.Status.DeepCopyInto(&out.Status)
   219  	return
   220  }
   221  
   222  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPRoute.
   223  func (in *HTTPRoute) DeepCopy() *HTTPRoute {
   224  	if in == nil {
   225  		return nil
   226  	}
   227  	out := new(HTTPRoute)
   228  	in.DeepCopyInto(out)
   229  	return out
   230  }
   231  
   232  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   233  func (in *HTTPRoute) DeepCopyObject() runtime.Object {
   234  	if c := in.DeepCopy(); c != nil {
   235  		return c
   236  	}
   237  	return nil
   238  }
   239  
   240  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   241  func (in *HTTPRouteFilter) DeepCopyInto(out *HTTPRouteFilter) {
   242  	*out = *in
   243  	if in.RequestHeaderModifier != nil {
   244  		in, out := &in.RequestHeaderModifier, &out.RequestHeaderModifier
   245  		*out = new(HTTPRequestHeaderFilter)
   246  		(*in).DeepCopyInto(*out)
   247  	}
   248  	if in.RequestRedirect != nil {
   249  		in, out := &in.RequestRedirect, &out.RequestRedirect
   250  		*out = new(HTTPRequestRedirectFilter)
   251  		(*in).DeepCopyInto(*out)
   252  	}
   253  	return
   254  }
   255  
   256  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPRouteFilter.
   257  func (in *HTTPRouteFilter) DeepCopy() *HTTPRouteFilter {
   258  	if in == nil {
   259  		return nil
   260  	}
   261  	out := new(HTTPRouteFilter)
   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 *HTTPRouteList) DeepCopyInto(out *HTTPRouteList) {
   268  	*out = *in
   269  	out.TypeMeta = in.TypeMeta
   270  	in.ListMeta.DeepCopyInto(&out.ListMeta)
   271  	if in.Items != nil {
   272  		in, out := &in.Items, &out.Items
   273  		*out = make([]HTTPRoute, len(*in))
   274  		for i := range *in {
   275  			(*in)[i].DeepCopyInto(&(*out)[i])
   276  		}
   277  	}
   278  	return
   279  }
   280  
   281  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPRouteList.
   282  func (in *HTTPRouteList) DeepCopy() *HTTPRouteList {
   283  	if in == nil {
   284  		return nil
   285  	}
   286  	out := new(HTTPRouteList)
   287  	in.DeepCopyInto(out)
   288  	return out
   289  }
   290  
   291  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   292  func (in *HTTPRouteList) DeepCopyObject() runtime.Object {
   293  	if c := in.DeepCopy(); c != nil {
   294  		return c
   295  	}
   296  	return nil
   297  }
   298  
   299  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   300  func (in *HTTPRouteMatch) DeepCopyInto(out *HTTPRouteMatch) {
   301  	*out = *in
   302  	if in.Path != nil {
   303  		in, out := &in.Path, &out.Path
   304  		*out = new(HTTPPathMatch)
   305  		(*in).DeepCopyInto(*out)
   306  	}
   307  	if in.Headers != nil {
   308  		in, out := &in.Headers, &out.Headers
   309  		*out = make([]HTTPHeaderMatch, len(*in))
   310  		for i := range *in {
   311  			(*in)[i].DeepCopyInto(&(*out)[i])
   312  		}
   313  	}
   314  	if in.QueryParams != nil {
   315  		in, out := &in.QueryParams, &out.QueryParams
   316  		*out = make([]HTTPQueryParamMatch, len(*in))
   317  		for i := range *in {
   318  			(*in)[i].DeepCopyInto(&(*out)[i])
   319  		}
   320  	}
   321  	if in.Method != nil {
   322  		in, out := &in.Method, &out.Method
   323  		*out = new(HTTPMethod)
   324  		**out = **in
   325  	}
   326  	return
   327  }
   328  
   329  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPRouteMatch.
   330  func (in *HTTPRouteMatch) DeepCopy() *HTTPRouteMatch {
   331  	if in == nil {
   332  		return nil
   333  	}
   334  	out := new(HTTPRouteMatch)
   335  	in.DeepCopyInto(out)
   336  	return out
   337  }
   338  
   339  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   340  func (in *HTTPRouteRule) DeepCopyInto(out *HTTPRouteRule) {
   341  	*out = *in
   342  	if in.Matches != nil {
   343  		in, out := &in.Matches, &out.Matches
   344  		*out = make([]HTTPRouteMatch, len(*in))
   345  		for i := range *in {
   346  			(*in)[i].DeepCopyInto(&(*out)[i])
   347  		}
   348  	}
   349  	if in.Filters != nil {
   350  		in, out := &in.Filters, &out.Filters
   351  		*out = make([]HTTPRouteFilter, len(*in))
   352  		for i := range *in {
   353  			(*in)[i].DeepCopyInto(&(*out)[i])
   354  		}
   355  	}
   356  	if in.BackendRefs != nil {
   357  		in, out := &in.BackendRefs, &out.BackendRefs
   358  		*out = make([]v1beta1.HTTPBackendRef, len(*in))
   359  		for i := range *in {
   360  			(*in)[i].DeepCopyInto(&(*out)[i])
   361  		}
   362  	}
   363  	if in.Timeouts != nil {
   364  		in, out := &in.Timeouts, &out.Timeouts
   365  		*out = new(HTTPRouteTimeouts)
   366  		(*in).DeepCopyInto(*out)
   367  	}
   368  	return
   369  }
   370  
   371  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPRouteRule.
   372  func (in *HTTPRouteRule) DeepCopy() *HTTPRouteRule {
   373  	if in == nil {
   374  		return nil
   375  	}
   376  	out := new(HTTPRouteRule)
   377  	in.DeepCopyInto(out)
   378  	return out
   379  }
   380  
   381  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   382  func (in *HTTPRouteSpec) DeepCopyInto(out *HTTPRouteSpec) {
   383  	*out = *in
   384  	in.CommonRouteSpec.DeepCopyInto(&out.CommonRouteSpec)
   385  	if in.Hostnames != nil {
   386  		in, out := &in.Hostnames, &out.Hostnames
   387  		*out = make([]v1beta1.Hostname, len(*in))
   388  		copy(*out, *in)
   389  	}
   390  	if in.Rules != nil {
   391  		in, out := &in.Rules, &out.Rules
   392  		*out = make([]HTTPRouteRule, len(*in))
   393  		for i := range *in {
   394  			(*in)[i].DeepCopyInto(&(*out)[i])
   395  		}
   396  	}
   397  	return
   398  }
   399  
   400  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPRouteSpec.
   401  func (in *HTTPRouteSpec) DeepCopy() *HTTPRouteSpec {
   402  	if in == nil {
   403  		return nil
   404  	}
   405  	out := new(HTTPRouteSpec)
   406  	in.DeepCopyInto(out)
   407  	return out
   408  }
   409  
   410  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   411  func (in *HTTPRouteStatus) DeepCopyInto(out *HTTPRouteStatus) {
   412  	*out = *in
   413  	in.RouteStatus.DeepCopyInto(&out.RouteStatus)
   414  	return
   415  }
   416  
   417  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPRouteStatus.
   418  func (in *HTTPRouteStatus) DeepCopy() *HTTPRouteStatus {
   419  	if in == nil {
   420  		return nil
   421  	}
   422  	out := new(HTTPRouteStatus)
   423  	in.DeepCopyInto(out)
   424  	return out
   425  }
   426  
   427  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   428  func (in *HTTPRouteTimeouts) DeepCopyInto(out *HTTPRouteTimeouts) {
   429  	*out = *in
   430  	if in.Request != nil {
   431  		in, out := &in.Request, &out.Request
   432  		*out = new(v1.Duration)
   433  		**out = **in
   434  	}
   435  	if in.BackendRequest != nil {
   436  		in, out := &in.BackendRequest, &out.BackendRequest
   437  		*out = new(v1.Duration)
   438  		**out = **in
   439  	}
   440  	return
   441  }
   442  
   443  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPRouteTimeouts.
   444  func (in *HTTPRouteTimeouts) DeepCopy() *HTTPRouteTimeouts {
   445  	if in == nil {
   446  		return nil
   447  	}
   448  	out := new(HTTPRouteTimeouts)
   449  	in.DeepCopyInto(out)
   450  	return out
   451  }
   452  

View as plain text