mirror of https://github.com/knative/func.git
141 lines
3.8 KiB
Go
141 lines
3.8 KiB
Go
//go:build !ignore_autogenerated
|
|
// +build !ignore_autogenerated
|
|
|
|
/*
|
|
Copyright 2022 The Knative 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 config
|
|
|
|
import (
|
|
autoscalerconfig "knative.dev/serving/pkg/autoscaler/config/autoscalerconfig"
|
|
)
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *Config) DeepCopyInto(out *Config) {
|
|
*out = *in
|
|
if in.Defaults != nil {
|
|
in, out := &in.Defaults, &out.Defaults
|
|
*out = new(Defaults)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.Features != nil {
|
|
in, out := &in.Features, &out.Features
|
|
*out = new(Features)
|
|
**out = **in
|
|
}
|
|
if in.Autoscaler != nil {
|
|
in, out := &in.Autoscaler, &out.Autoscaler
|
|
*out = new(autoscalerconfig.Config)
|
|
**out = **in
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Config.
|
|
func (in *Config) DeepCopy() *Config {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(Config)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *Defaults) DeepCopyInto(out *Defaults) {
|
|
*out = *in
|
|
if in.InitContainerNameTemplate != nil {
|
|
in, out := &in.InitContainerNameTemplate, &out.InitContainerNameTemplate
|
|
x := (*in).DeepCopy()
|
|
*out = &x
|
|
}
|
|
if in.UserContainerNameTemplate != nil {
|
|
in, out := &in.UserContainerNameTemplate, &out.UserContainerNameTemplate
|
|
x := (*in).DeepCopy()
|
|
*out = &x
|
|
}
|
|
if in.EnableServiceLinks != nil {
|
|
in, out := &in.EnableServiceLinks, &out.EnableServiceLinks
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.RevisionCPURequest != nil {
|
|
in, out := &in.RevisionCPURequest, &out.RevisionCPURequest
|
|
x := (*in).DeepCopy()
|
|
*out = &x
|
|
}
|
|
if in.RevisionCPULimit != nil {
|
|
in, out := &in.RevisionCPULimit, &out.RevisionCPULimit
|
|
x := (*in).DeepCopy()
|
|
*out = &x
|
|
}
|
|
if in.RevisionMemoryRequest != nil {
|
|
in, out := &in.RevisionMemoryRequest, &out.RevisionMemoryRequest
|
|
x := (*in).DeepCopy()
|
|
*out = &x
|
|
}
|
|
if in.RevisionMemoryLimit != nil {
|
|
in, out := &in.RevisionMemoryLimit, &out.RevisionMemoryLimit
|
|
x := (*in).DeepCopy()
|
|
*out = &x
|
|
}
|
|
if in.RevisionEphemeralStorageRequest != nil {
|
|
in, out := &in.RevisionEphemeralStorageRequest, &out.RevisionEphemeralStorageRequest
|
|
x := (*in).DeepCopy()
|
|
*out = &x
|
|
}
|
|
if in.RevisionEphemeralStorageLimit != nil {
|
|
in, out := &in.RevisionEphemeralStorageLimit, &out.RevisionEphemeralStorageLimit
|
|
x := (*in).DeepCopy()
|
|
*out = &x
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Defaults.
|
|
func (in *Defaults) DeepCopy() *Defaults {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(Defaults)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *Features) DeepCopyInto(out *Features) {
|
|
*out = *in
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Features.
|
|
func (in *Features) DeepCopy() *Features {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(Features)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ObjectMetaTemplate) DeepCopyInto(out *ObjectMetaTemplate) {
|
|
*out = in.DeepCopy()
|
|
return
|
|
}
|