mirror of https://github.com/linkerd/linkerd2.git
329 lines
8.5 KiB
Go
329 lines
8.5 KiB
Go
// +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 v1alpha2
|
|
|
|
import (
|
|
runtime "k8s.io/apimachinery/pkg/runtime"
|
|
)
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *Range) DeepCopyInto(out *Range) {
|
|
*out = *in
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Range.
|
|
func (in *Range) DeepCopy() *Range {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(Range)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *RequestMatch) DeepCopyInto(out *RequestMatch) {
|
|
*out = *in
|
|
if in.All != nil {
|
|
in, out := &in.All, &out.All
|
|
*out = make([]*RequestMatch, len(*in))
|
|
for i := range *in {
|
|
if (*in)[i] != nil {
|
|
in, out := &(*in)[i], &(*out)[i]
|
|
*out = new(RequestMatch)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
}
|
|
}
|
|
if in.Not != nil {
|
|
in, out := &in.Not, &out.Not
|
|
*out = new(RequestMatch)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.Any != nil {
|
|
in, out := &in.Any, &out.Any
|
|
*out = make([]*RequestMatch, len(*in))
|
|
for i := range *in {
|
|
if (*in)[i] != nil {
|
|
in, out := &(*in)[i], &(*out)[i]
|
|
*out = new(RequestMatch)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
}
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RequestMatch.
|
|
func (in *RequestMatch) DeepCopy() *RequestMatch {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(RequestMatch)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ResponseClass) DeepCopyInto(out *ResponseClass) {
|
|
*out = *in
|
|
if in.Condition != nil {
|
|
in, out := &in.Condition, &out.Condition
|
|
*out = new(ResponseMatch)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResponseClass.
|
|
func (in *ResponseClass) DeepCopy() *ResponseClass {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ResponseClass)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ResponseMatch) DeepCopyInto(out *ResponseMatch) {
|
|
*out = *in
|
|
if in.All != nil {
|
|
in, out := &in.All, &out.All
|
|
*out = make([]*ResponseMatch, len(*in))
|
|
for i := range *in {
|
|
if (*in)[i] != nil {
|
|
in, out := &(*in)[i], &(*out)[i]
|
|
*out = new(ResponseMatch)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
}
|
|
}
|
|
if in.Not != nil {
|
|
in, out := &in.Not, &out.Not
|
|
*out = new(ResponseMatch)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.Any != nil {
|
|
in, out := &in.Any, &out.Any
|
|
*out = make([]*ResponseMatch, len(*in))
|
|
for i := range *in {
|
|
if (*in)[i] != nil {
|
|
in, out := &(*in)[i], &(*out)[i]
|
|
*out = new(ResponseMatch)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
}
|
|
}
|
|
if in.Status != nil {
|
|
in, out := &in.Status, &out.Status
|
|
*out = new(Range)
|
|
**out = **in
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResponseMatch.
|
|
func (in *ResponseMatch) DeepCopy() *ResponseMatch {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ResponseMatch)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *RetryBudget) DeepCopyInto(out *RetryBudget) {
|
|
*out = *in
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RetryBudget.
|
|
func (in *RetryBudget) DeepCopy() *RetryBudget {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(RetryBudget)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *RouteSpec) DeepCopyInto(out *RouteSpec) {
|
|
*out = *in
|
|
if in.Condition != nil {
|
|
in, out := &in.Condition, &out.Condition
|
|
*out = new(RequestMatch)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.ResponseClasses != nil {
|
|
in, out := &in.ResponseClasses, &out.ResponseClasses
|
|
*out = make([]*ResponseClass, len(*in))
|
|
for i := range *in {
|
|
if (*in)[i] != nil {
|
|
in, out := &(*in)[i], &(*out)[i]
|
|
*out = new(ResponseClass)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
}
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouteSpec.
|
|
func (in *RouteSpec) DeepCopy() *RouteSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(RouteSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ServiceProfile) DeepCopyInto(out *ServiceProfile) {
|
|
*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 ServiceProfile.
|
|
func (in *ServiceProfile) DeepCopy() *ServiceProfile {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ServiceProfile)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *ServiceProfile) 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 *ServiceProfileList) DeepCopyInto(out *ServiceProfileList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]ServiceProfile, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceProfileList.
|
|
func (in *ServiceProfileList) DeepCopy() *ServiceProfileList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ServiceProfileList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *ServiceProfileList) 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 *ServiceProfileSpec) DeepCopyInto(out *ServiceProfileSpec) {
|
|
*out = *in
|
|
if in.Routes != nil {
|
|
in, out := &in.Routes, &out.Routes
|
|
*out = make([]*RouteSpec, len(*in))
|
|
for i := range *in {
|
|
if (*in)[i] != nil {
|
|
in, out := &(*in)[i], &(*out)[i]
|
|
*out = new(RouteSpec)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
}
|
|
}
|
|
if in.RetryBudget != nil {
|
|
in, out := &in.RetryBudget, &out.RetryBudget
|
|
*out = new(RetryBudget)
|
|
**out = **in
|
|
}
|
|
if in.DstOverrides != nil {
|
|
in, out := &in.DstOverrides, &out.DstOverrides
|
|
*out = make([]*WeightedDst, len(*in))
|
|
for i := range *in {
|
|
if (*in)[i] != nil {
|
|
in, out := &(*in)[i], &(*out)[i]
|
|
*out = new(WeightedDst)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
}
|
|
}
|
|
if in.OpaquePorts != nil {
|
|
in, out := &in.OpaquePorts, &out.OpaquePorts
|
|
*out = make(map[uint32]struct{}, len(*in))
|
|
for key, val := range *in {
|
|
(*out)[key] = val
|
|
}
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceProfileSpec.
|
|
func (in *ServiceProfileSpec) DeepCopy() *ServiceProfileSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ServiceProfileSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *WeightedDst) DeepCopyInto(out *WeightedDst) {
|
|
*out = *in
|
|
out.Weight = in.Weight.DeepCopy()
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WeightedDst.
|
|
func (in *WeightedDst) DeepCopy() *WeightedDst {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(WeightedDst)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|