mirror of https://github.com/linkerd/linkerd2.git
452 lines
12 KiB
Go
452 lines
12 KiB
Go
//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 v1beta3
|
|
|
|
import (
|
|
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
|
runtime "k8s.io/apimachinery/pkg/runtime"
|
|
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 *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])
|
|
}
|
|
}
|
|
if in.BackendRefs != nil {
|
|
in, out := &in.BackendRefs, &out.BackendRefs
|
|
*out = make([]v1beta1.HTTPBackendRef, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
if in.Timeouts != nil {
|
|
in, out := &in.Timeouts, &out.Timeouts
|
|
*out = new(HTTPRouteTimeouts)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
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 *HTTPRouteTimeouts) DeepCopyInto(out *HTTPRouteTimeouts) {
|
|
*out = *in
|
|
if in.Request != nil {
|
|
in, out := &in.Request, &out.Request
|
|
*out = new(v1.Duration)
|
|
**out = **in
|
|
}
|
|
if in.BackendRequest != nil {
|
|
in, out := &in.BackendRequest, &out.BackendRequest
|
|
*out = new(v1.Duration)
|
|
**out = **in
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPRouteTimeouts.
|
|
func (in *HTTPRouteTimeouts) DeepCopy() *HTTPRouteTimeouts {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(HTTPRouteTimeouts)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|