//go:build !ignore_autogenerated // +build !ignore_autogenerated /* Copyright The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ // Code generated by deepcopy-gen. DO NOT EDIT. package v1alpha1 import ( runtime "k8s.io/apimachinery/pkg/runtime" v1alpha2 "sigs.k8s.io/gateway-api/apis/v1alpha2" v1beta1 "sigs.k8s.io/gateway-api/apis/v1beta1" ) // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *AuthorizationPolicy) DeepCopyInto(out *AuthorizationPolicy) { *out = *in out.TypeMeta = in.TypeMeta in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) in.Spec.DeepCopyInto(&out.Spec) return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizationPolicy. func (in *AuthorizationPolicy) DeepCopy() *AuthorizationPolicy { if in == nil { return nil } out := new(AuthorizationPolicy) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. func (in *AuthorizationPolicy) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } return nil } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *AuthorizationPolicyList) DeepCopyInto(out *AuthorizationPolicyList) { *out = *in out.TypeMeta = in.TypeMeta in.ListMeta.DeepCopyInto(&out.ListMeta) if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]AuthorizationPolicy, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizationPolicyList. func (in *AuthorizationPolicyList) DeepCopy() *AuthorizationPolicyList { if in == nil { return nil } out := new(AuthorizationPolicyList) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. func (in *AuthorizationPolicyList) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } return nil } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *AuthorizationPolicySpec) DeepCopyInto(out *AuthorizationPolicySpec) { *out = *in in.TargetRef.DeepCopyInto(&out.TargetRef) if in.RequiredAuthenticationRefs != nil { in, out := &in.RequiredAuthenticationRefs, &out.RequiredAuthenticationRefs *out = make([]v1alpha2.PolicyTargetReference, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizationPolicySpec. func (in *AuthorizationPolicySpec) DeepCopy() *AuthorizationPolicySpec { if in == nil { return nil } out := new(AuthorizationPolicySpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *HTTPHeader) DeepCopyInto(out *HTTPHeader) { *out = *in return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPHeader. func (in *HTTPHeader) DeepCopy() *HTTPHeader { if in == nil { return nil } out := new(HTTPHeader) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *HTTPHeaderMatch) DeepCopyInto(out *HTTPHeaderMatch) { *out = *in if in.Type != nil { in, out := &in.Type, &out.Type *out = new(HeaderMatchType) **out = **in } return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPHeaderMatch. func (in *HTTPHeaderMatch) DeepCopy() *HTTPHeaderMatch { if in == nil { return nil } out := new(HTTPHeaderMatch) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *HTTPPathMatch) DeepCopyInto(out *HTTPPathMatch) { *out = *in if in.Type != nil { in, out := &in.Type, &out.Type *out = new(PathMatchType) **out = **in } if in.Value != nil { in, out := &in.Value, &out.Value *out = new(string) **out = **in } return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPPathMatch. func (in *HTTPPathMatch) DeepCopy() *HTTPPathMatch { if in == nil { return nil } out := new(HTTPPathMatch) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *HTTPPathModifier) DeepCopyInto(out *HTTPPathModifier) { *out = *in if in.ReplaceFullPath != nil { in, out := &in.ReplaceFullPath, &out.ReplaceFullPath *out = new(string) **out = **in } if in.ReplacePrefixMatch != nil { in, out := &in.ReplacePrefixMatch, &out.ReplacePrefixMatch *out = new(string) **out = **in } return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPPathModifier. func (in *HTTPPathModifier) DeepCopy() *HTTPPathModifier { if in == nil { return nil } out := new(HTTPPathModifier) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *HTTPQueryParamMatch) DeepCopyInto(out *HTTPQueryParamMatch) { *out = *in if in.Type != nil { in, out := &in.Type, &out.Type *out = new(QueryParamMatchType) **out = **in } return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPQueryParamMatch. func (in *HTTPQueryParamMatch) DeepCopy() *HTTPQueryParamMatch { if in == nil { return nil } out := new(HTTPQueryParamMatch) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *HTTPRequestHeaderFilter) DeepCopyInto(out *HTTPRequestHeaderFilter) { *out = *in if in.Set != nil { in, out := &in.Set, &out.Set *out = make([]HTTPHeader, len(*in)) copy(*out, *in) } if in.Add != nil { in, out := &in.Add, &out.Add *out = make([]HTTPHeader, len(*in)) copy(*out, *in) } if in.Remove != nil { in, out := &in.Remove, &out.Remove *out = make([]string, len(*in)) copy(*out, *in) } return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPRequestHeaderFilter. func (in *HTTPRequestHeaderFilter) DeepCopy() *HTTPRequestHeaderFilter { if in == nil { return nil } out := new(HTTPRequestHeaderFilter) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *HTTPRequestRedirectFilter) DeepCopyInto(out *HTTPRequestRedirectFilter) { *out = *in if in.Scheme != nil { in, out := &in.Scheme, &out.Scheme *out = new(string) **out = **in } if in.Hostname != nil { in, out := &in.Hostname, &out.Hostname *out = new(v1beta1.PreciseHostname) **out = **in } if in.Path != nil { in, out := &in.Path, &out.Path *out = new(HTTPPathModifier) (*in).DeepCopyInto(*out) } if in.Port != nil { in, out := &in.Port, &out.Port *out = new(v1beta1.PortNumber) **out = **in } if in.StatusCode != nil { in, out := &in.StatusCode, &out.StatusCode *out = new(int) **out = **in } return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPRequestRedirectFilter. func (in *HTTPRequestRedirectFilter) DeepCopy() *HTTPRequestRedirectFilter { if in == nil { return nil } out := new(HTTPRequestRedirectFilter) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *HTTPRoute) DeepCopyInto(out *HTTPRoute) { *out = *in out.TypeMeta = in.TypeMeta in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) in.Spec.DeepCopyInto(&out.Spec) in.Status.DeepCopyInto(&out.Status) return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPRoute. func (in *HTTPRoute) DeepCopy() *HTTPRoute { if in == nil { return nil } out := new(HTTPRoute) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. func (in *HTTPRoute) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } return nil } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *HTTPRouteFilter) DeepCopyInto(out *HTTPRouteFilter) { *out = *in if in.RequestHeaderModifier != nil { in, out := &in.RequestHeaderModifier, &out.RequestHeaderModifier *out = new(HTTPRequestHeaderFilter) (*in).DeepCopyInto(*out) } if in.RequestRedirect != nil { in, out := &in.RequestRedirect, &out.RequestRedirect *out = new(HTTPRequestRedirectFilter) (*in).DeepCopyInto(*out) } return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPRouteFilter. func (in *HTTPRouteFilter) DeepCopy() *HTTPRouteFilter { if in == nil { return nil } out := new(HTTPRouteFilter) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *HTTPRouteList) DeepCopyInto(out *HTTPRouteList) { *out = *in out.TypeMeta = in.TypeMeta in.ListMeta.DeepCopyInto(&out.ListMeta) if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]HTTPRoute, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPRouteList. func (in *HTTPRouteList) DeepCopy() *HTTPRouteList { if in == nil { return nil } out := new(HTTPRouteList) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. func (in *HTTPRouteList) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } return nil } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *HTTPRouteMatch) DeepCopyInto(out *HTTPRouteMatch) { *out = *in if in.Path != nil { in, out := &in.Path, &out.Path *out = new(HTTPPathMatch) (*in).DeepCopyInto(*out) } if in.Headers != nil { in, out := &in.Headers, &out.Headers *out = make([]HTTPHeaderMatch, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } if in.QueryParams != nil { in, out := &in.QueryParams, &out.QueryParams *out = make([]HTTPQueryParamMatch, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } if in.Method != nil { in, out := &in.Method, &out.Method *out = new(HTTPMethod) **out = **in } return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPRouteMatch. func (in *HTTPRouteMatch) DeepCopy() *HTTPRouteMatch { if in == nil { return nil } out := new(HTTPRouteMatch) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *HTTPRouteRule) DeepCopyInto(out *HTTPRouteRule) { *out = *in if in.Matches != nil { in, out := &in.Matches, &out.Matches *out = make([]HTTPRouteMatch, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } if in.Filters != nil { in, out := &in.Filters, &out.Filters *out = make([]HTTPRouteFilter, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPRouteRule. func (in *HTTPRouteRule) DeepCopy() *HTTPRouteRule { if in == nil { return nil } out := new(HTTPRouteRule) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *HTTPRouteSpec) DeepCopyInto(out *HTTPRouteSpec) { *out = *in in.CommonRouteSpec.DeepCopyInto(&out.CommonRouteSpec) if in.Hostnames != nil { in, out := &in.Hostnames, &out.Hostnames *out = make([]v1beta1.Hostname, len(*in)) copy(*out, *in) } if in.Rules != nil { in, out := &in.Rules, &out.Rules *out = make([]HTTPRouteRule, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPRouteSpec. func (in *HTTPRouteSpec) DeepCopy() *HTTPRouteSpec { if in == nil { return nil } out := new(HTTPRouteSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *HTTPRouteStatus) DeepCopyInto(out *HTTPRouteStatus) { *out = *in in.RouteStatus.DeepCopyInto(&out.RouteStatus) return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPRouteStatus. func (in *HTTPRouteStatus) DeepCopy() *HTTPRouteStatus { if in == nil { return nil } out := new(HTTPRouteStatus) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *MeshTLSAuthentication) DeepCopyInto(out *MeshTLSAuthentication) { *out = *in out.TypeMeta = in.TypeMeta in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) in.Spec.DeepCopyInto(&out.Spec) return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MeshTLSAuthentication. func (in *MeshTLSAuthentication) DeepCopy() *MeshTLSAuthentication { if in == nil { return nil } out := new(MeshTLSAuthentication) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. func (in *MeshTLSAuthentication) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } return nil } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *MeshTLSAuthenticationList) DeepCopyInto(out *MeshTLSAuthenticationList) { *out = *in out.TypeMeta = in.TypeMeta in.ListMeta.DeepCopyInto(&out.ListMeta) if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]MeshTLSAuthentication, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MeshTLSAuthenticationList. func (in *MeshTLSAuthenticationList) DeepCopy() *MeshTLSAuthenticationList { if in == nil { return nil } out := new(MeshTLSAuthenticationList) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. func (in *MeshTLSAuthenticationList) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } return nil } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *MeshTLSAuthenticationSpec) DeepCopyInto(out *MeshTLSAuthenticationSpec) { *out = *in if in.Identities != nil { in, out := &in.Identities, &out.Identities *out = make([]string, len(*in)) copy(*out, *in) } if in.IdentityRefs != nil { in, out := &in.IdentityRefs, &out.IdentityRefs *out = make([]v1alpha2.PolicyTargetReference, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MeshTLSAuthenticationSpec. func (in *MeshTLSAuthenticationSpec) DeepCopy() *MeshTLSAuthenticationSpec { if in == nil { return nil } out := new(MeshTLSAuthenticationSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *Network) DeepCopyInto(out *Network) { *out = *in if in.Except != nil { in, out := &in.Except, &out.Except *out = make([]string, len(*in)) copy(*out, *in) } return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Network. func (in *Network) DeepCopy() *Network { if in == nil { return nil } out := new(Network) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *NetworkAuthentication) DeepCopyInto(out *NetworkAuthentication) { *out = *in out.TypeMeta = in.TypeMeta in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) in.Spec.DeepCopyInto(&out.Spec) return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkAuthentication. func (in *NetworkAuthentication) DeepCopy() *NetworkAuthentication { if in == nil { return nil } out := new(NetworkAuthentication) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. func (in *NetworkAuthentication) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } return nil } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *NetworkAuthenticationList) DeepCopyInto(out *NetworkAuthenticationList) { *out = *in out.TypeMeta = in.TypeMeta in.ListMeta.DeepCopyInto(&out.ListMeta) if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]NetworkAuthentication, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkAuthenticationList. func (in *NetworkAuthenticationList) DeepCopy() *NetworkAuthenticationList { if in == nil { return nil } out := new(NetworkAuthenticationList) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. func (in *NetworkAuthenticationList) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } return nil } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *NetworkAuthenticationSpec) DeepCopyInto(out *NetworkAuthenticationSpec) { *out = *in if in.Networks != nil { in, out := &in.Networks, &out.Networks *out = make([]*Network, len(*in)) for i := range *in { if (*in)[i] != nil { in, out := &(*in)[i], &(*out)[i] *out = new(Network) (*in).DeepCopyInto(*out) } } } return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkAuthenticationSpec. func (in *NetworkAuthenticationSpec) DeepCopy() *NetworkAuthenticationSpec { if in == nil { return nil } out := new(NetworkAuthenticationSpec) in.DeepCopyInto(out) return out }