blob: a699c9bb410b23290b53697f6045d781722a4a03 [file]
//go:build !ignore_autogenerated
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You 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 controller-gen. DO NOT EDIT.
package v1alpha1
import (
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/runtime"
apisv1 "sigs.k8s.io/gateway-api/apis/v1"
)
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ClusterTimeoutConfig) DeepCopyInto(out *ClusterTimeoutConfig) {
*out = *in
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterTimeoutConfig.
func (in *ClusterTimeoutConfig) DeepCopy() *ClusterTimeoutConfig {
if in == nil {
return nil
}
out := new(ClusterTimeoutConfig)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *EndpointConfig) DeepCopyInto(out *EndpointConfig) {
*out = *in
if in.ID != nil {
in, out := &in.ID, &out.ID
*out = new(int32)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointConfig.
func (in *EndpointConfig) DeepCopy() *EndpointConfig {
if in == nil {
return nil
}
out := new(EndpointConfig)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *HTTPHealthCheckConfig) DeepCopyInto(out *HTTPHealthCheckConfig) {
*out = *in
if in.ExpectedStatuses != nil {
in, out := &in.ExpectedStatuses, &out.ExpectedStatuses
*out = make([]int32, len(*in))
copy(*out, *in)
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPHealthCheckConfig.
func (in *HTTPHealthCheckConfig) DeepCopy() *HTTPHealthCheckConfig {
if in == nil {
return nil
}
out := new(HTTPHealthCheckConfig)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *HealthCheckConfig) DeepCopyInto(out *HealthCheckConfig) {
*out = *in
if in.HealthyThreshold != nil {
in, out := &in.HealthyThreshold, &out.HealthyThreshold
*out = new(int32)
**out = **in
}
if in.UnhealthyThreshold != nil {
in, out := &in.UnhealthyThreshold, &out.UnhealthyThreshold
*out = new(int32)
**out = **in
}
if in.HTTPHealthCheck != nil {
in, out := &in.HTTPHealthCheck, &out.HTTPHealthCheck
*out = new(HTTPHealthCheckConfig)
(*in).DeepCopyInto(*out)
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HealthCheckConfig.
func (in *HealthCheckConfig) DeepCopy() *HealthCheckConfig {
if in == nil {
return nil
}
out := new(HealthCheckConfig)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ListenerConfig) DeepCopyInto(out *ListenerConfig) {
*out = *in
if in.Timeout != nil {
in, out := &in.Timeout, &out.Timeout
*out = new(ListenerTimeout)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ListenerConfig.
func (in *ListenerConfig) DeepCopy() *ListenerConfig {
if in == nil {
return nil
}
out := new(ListenerConfig)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ListenerTimeout) DeepCopyInto(out *ListenerTimeout) {
*out = *in
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ListenerTimeout.
func (in *ListenerTimeout) DeepCopy() *ListenerTimeout {
if in == nil {
return nil
}
out := new(ListenerTimeout)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *LoadBalancerConfig) DeepCopyInto(out *LoadBalancerConfig) {
*out = *in
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoadBalancerConfig.
func (in *LoadBalancerConfig) DeepCopy() *LoadBalancerConfig {
if in == nil {
return nil
}
out := new(LoadBalancerConfig)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *LogConfig) DeepCopyInto(out *LogConfig) {
*out = *in
if in.Development != nil {
in, out := &in.Development, &out.Development
*out = new(bool)
**out = **in
}
if in.DisableCaller != nil {
in, out := &in.DisableCaller, &out.DisableCaller
*out = new(bool)
**out = **in
}
if in.DisableStacktrace != nil {
in, out := &in.DisableStacktrace, &out.DisableStacktrace
*out = new(bool)
**out = **in
}
if in.OutputPaths != nil {
in, out := &in.OutputPaths, &out.OutputPaths
*out = make([]string, len(*in))
copy(*out, *in)
}
if in.ErrorOutputPaths != nil {
in, out := &in.ErrorOutputPaths, &out.ErrorOutputPaths
*out = make([]string, len(*in))
copy(*out, *in)
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LogConfig.
func (in *LogConfig) DeepCopy() *LogConfig {
if in == nil {
return nil
}
out := new(LogConfig)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *PixiuClusterPolicy) DeepCopyInto(out *PixiuClusterPolicy) {
*out = *in
out.TypeMeta = in.TypeMeta
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
in.Spec.DeepCopyInto(&out.Spec)
in.Status.DeepCopyInto(&out.Status)
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PixiuClusterPolicy.
func (in *PixiuClusterPolicy) DeepCopy() *PixiuClusterPolicy {
if in == nil {
return nil
}
out := new(PixiuClusterPolicy)
in.DeepCopyInto(out)
return out
}
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (in *PixiuClusterPolicy) 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 *PixiuClusterPolicyList) DeepCopyInto(out *PixiuClusterPolicyList) {
*out = *in
out.TypeMeta = in.TypeMeta
in.ListMeta.DeepCopyInto(&out.ListMeta)
if in.Items != nil {
in, out := &in.Items, &out.Items
*out = make([]PixiuClusterPolicy, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PixiuClusterPolicyList.
func (in *PixiuClusterPolicyList) DeepCopy() *PixiuClusterPolicyList {
if in == nil {
return nil
}
out := new(PixiuClusterPolicyList)
in.DeepCopyInto(out)
return out
}
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (in *PixiuClusterPolicyList) 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 *PixiuClusterPolicySpec) DeepCopyInto(out *PixiuClusterPolicySpec) {
*out = *in
if in.ServiceRef != nil {
in, out := &in.ServiceRef, &out.ServiceRef
*out = make([]ServiceClusterConfig, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PixiuClusterPolicySpec.
func (in *PixiuClusterPolicySpec) DeepCopy() *PixiuClusterPolicySpec {
if in == nil {
return nil
}
out := new(PixiuClusterPolicySpec)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ServiceClusterConfig) DeepCopyInto(out *ServiceClusterConfig) {
*out = *in
if in.LoadBalancer != nil {
in, out := &in.LoadBalancer, &out.LoadBalancer
*out = new(LoadBalancerConfig)
**out = **in
}
if in.Registries != nil {
in, out := &in.Registries, &out.Registries
*out = make(map[string]RegistryConfig, len(*in))
for key, val := range *in {
(*out)[key] = val
}
}
if in.HealthCheck != nil {
in, out := &in.HealthCheck, &out.HealthCheck
*out = new(HealthCheckConfig)
(*in).DeepCopyInto(*out)
}
if in.Endpoints != nil {
in, out := &in.Endpoints, &out.Endpoints
*out = make([]EndpointConfig, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
if in.Timeout != nil {
in, out := &in.Timeout, &out.Timeout
*out = new(ClusterTimeoutConfig)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceClusterConfig.
func (in *ServiceClusterConfig) DeepCopy() *ServiceClusterConfig {
if in == nil {
return nil
}
out := new(ServiceClusterConfig)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *PixiuClusterPolicyStatus) DeepCopyInto(out *PixiuClusterPolicyStatus) {
*out = *in
if in.Conditions != nil {
in, out := &in.Conditions, &out.Conditions
*out = make([]v1.Condition, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PixiuClusterPolicyStatus.
func (in *PixiuClusterPolicyStatus) DeepCopy() *PixiuClusterPolicyStatus {
if in == nil {
return nil
}
out := new(PixiuClusterPolicyStatus)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *PixiuFilterPolicy) DeepCopyInto(out *PixiuFilterPolicy) {
*out = *in
out.TypeMeta = in.TypeMeta
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
in.Spec.DeepCopyInto(&out.Spec)
in.Status.DeepCopyInto(&out.Status)
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PixiuFilterPolicy.
func (in *PixiuFilterPolicy) DeepCopy() *PixiuFilterPolicy {
if in == nil {
return nil
}
out := new(PixiuFilterPolicy)
in.DeepCopyInto(out)
return out
}
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (in *PixiuFilterPolicy) 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 *PixiuFilterPolicyList) DeepCopyInto(out *PixiuFilterPolicyList) {
*out = *in
out.TypeMeta = in.TypeMeta
in.ListMeta.DeepCopyInto(&out.ListMeta)
if in.Items != nil {
in, out := &in.Items, &out.Items
*out = make([]PixiuFilterPolicy, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PixiuFilterPolicyList.
func (in *PixiuFilterPolicyList) DeepCopy() *PixiuFilterPolicyList {
if in == nil {
return nil
}
out := new(PixiuFilterPolicyList)
in.DeepCopyInto(out)
return out
}
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (in *PixiuFilterPolicyList) 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 *PixiuFilterPolicySpec) DeepCopyInto(out *PixiuFilterPolicySpec) {
*out = *in
in.TargetRef.DeepCopyInto(&out.TargetRef)
in.Config.DeepCopyInto(&out.Config)
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PixiuFilterPolicySpec.
func (in *PixiuFilterPolicySpec) DeepCopy() *PixiuFilterPolicySpec {
if in == nil {
return nil
}
out := new(PixiuFilterPolicySpec)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *PixiuFilterPolicyStatus) DeepCopyInto(out *PixiuFilterPolicyStatus) {
*out = *in
if in.Conditions != nil {
in, out := &in.Conditions, &out.Conditions
*out = make([]v1.Condition, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PixiuFilterPolicyStatus.
func (in *PixiuFilterPolicyStatus) DeepCopy() *PixiuFilterPolicyStatus {
if in == nil {
return nil
}
out := new(PixiuFilterPolicyStatus)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *PixiuGatewayPolicy) DeepCopyInto(out *PixiuGatewayPolicy) {
*out = *in
out.TypeMeta = in.TypeMeta
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
in.Spec.DeepCopyInto(&out.Spec)
in.Status.DeepCopyInto(&out.Status)
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PixiuGatewayPolicy.
func (in *PixiuGatewayPolicy) DeepCopy() *PixiuGatewayPolicy {
if in == nil {
return nil
}
out := new(PixiuGatewayPolicy)
in.DeepCopyInto(out)
return out
}
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (in *PixiuGatewayPolicy) 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 *PixiuGatewayPolicyList) DeepCopyInto(out *PixiuGatewayPolicyList) {
*out = *in
out.TypeMeta = in.TypeMeta
in.ListMeta.DeepCopyInto(&out.ListMeta)
if in.Items != nil {
in, out := &in.Items, &out.Items
*out = make([]PixiuGatewayPolicy, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PixiuGatewayPolicyList.
func (in *PixiuGatewayPolicyList) DeepCopy() *PixiuGatewayPolicyList {
if in == nil {
return nil
}
out := new(PixiuGatewayPolicyList)
in.DeepCopyInto(out)
return out
}
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (in *PixiuGatewayPolicyList) 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 *PixiuGatewayPolicySpec) DeepCopyInto(out *PixiuGatewayPolicySpec) {
*out = *in
in.TargetRef.DeepCopyInto(&out.TargetRef)
if in.Listener != nil {
in, out := &in.Listener, &out.Listener
*out = new(ListenerConfig)
(*in).DeepCopyInto(*out)
}
if in.Shutdown != nil {
in, out := &in.Shutdown, &out.Shutdown
*out = new(ShutdownConfig)
**out = **in
}
if in.Log != nil {
in, out := &in.Log, &out.Log
*out = new(LogConfig)
(*in).DeepCopyInto(*out)
}
if in.Tracing != nil {
in, out := &in.Tracing, &out.Tracing
*out = new(TracingConfig)
(*in).DeepCopyInto(*out)
}
if in.Timeout != nil {
in, out := &in.Timeout, &out.Timeout
*out = new(TimeoutConfig)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PixiuGatewayPolicySpec.
func (in *PixiuGatewayPolicySpec) DeepCopy() *PixiuGatewayPolicySpec {
if in == nil {
return nil
}
out := new(PixiuGatewayPolicySpec)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *PixiuGatewayPolicyStatus) DeepCopyInto(out *PixiuGatewayPolicyStatus) {
*out = *in
if in.Conditions != nil {
in, out := &in.Conditions, &out.Conditions
*out = make([]v1.Condition, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PixiuGatewayPolicyStatus.
func (in *PixiuGatewayPolicyStatus) DeepCopy() *PixiuGatewayPolicyStatus {
if in == nil {
return nil
}
out := new(PixiuGatewayPolicyStatus)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *PolicyTargetReference) DeepCopyInto(out *PolicyTargetReference) {
*out = *in
if in.Namespace != nil {
in, out := &in.Namespace, &out.Namespace
*out = new(apisv1.Namespace)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyTargetReference.
func (in *PolicyTargetReference) DeepCopy() *PolicyTargetReference {
if in == nil {
return nil
}
out := new(PolicyTargetReference)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *RegistryConfig) DeepCopyInto(out *RegistryConfig) {
*out = *in
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RegistryConfig.
func (in *RegistryConfig) DeepCopy() *RegistryConfig {
if in == nil {
return nil
}
out := new(RegistryConfig)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ShutdownConfig) DeepCopyInto(out *ShutdownConfig) {
*out = *in
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShutdownConfig.
func (in *ShutdownConfig) DeepCopy() *ShutdownConfig {
if in == nil {
return nil
}
out := new(ShutdownConfig)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *TimeoutConfig) DeepCopyInto(out *TimeoutConfig) {
*out = *in
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TimeoutConfig.
func (in *TimeoutConfig) DeepCopy() *TimeoutConfig {
if in == nil {
return nil
}
out := new(TimeoutConfig)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *TracingConfig) DeepCopyInto(out *TracingConfig) {
*out = *in
if in.Sampler != nil {
in, out := &in.Sampler, &out.Sampler
*out = new(TracingSampler)
**out = **in
}
if in.Config != nil {
in, out := &in.Config, &out.Config
*out = new(TracingConfigData)
(*in).DeepCopyInto(*out)
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TracingConfig.
func (in *TracingConfig) DeepCopy() *TracingConfig {
if in == nil {
return nil
}
out := new(TracingConfig)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *TracingConfigData) DeepCopyInto(out *TracingConfigData) {
*out = *in
if in.Headers != nil {
in, out := &in.Headers, &out.Headers
*out = make(map[string]string, len(*in))
for key, val := range *in {
(*out)[key] = val
}
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TracingConfigData.
func (in *TracingConfigData) DeepCopy() *TracingConfigData {
if in == nil {
return nil
}
out := new(TracingConfigData)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *TracingSampler) DeepCopyInto(out *TracingSampler) {
*out = *in
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TracingSampler.
func (in *TracingSampler) DeepCopy() *TracingSampler {
if in == nil {
return nil
}
out := new(TracingSampler)
in.DeepCopyInto(out)
return out
}