k3s/vendor/k8s.io/api/networking/v1beta1/zz_generated.deepcopy.go

253 lines
6.8 KiB
Go
Raw Normal View History

2019-01-12 04:58:27 +00:00
// +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.
2019-04-07 17:07:55 +00:00
package v1beta1
2019-01-12 04:58:27 +00:00
import (
runtime "k8s.io/apimachinery/pkg/runtime"
)
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
2019-04-07 17:07:55 +00:00
func (in *HTTPIngressPath) DeepCopyInto(out *HTTPIngressPath) {
2019-01-12 04:58:27 +00:00
*out = *in
2019-04-07 17:07:55 +00:00
out.Backend = in.Backend
2019-01-12 04:58:27 +00:00
return
}
2019-04-07 17:07:55 +00:00
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPIngressPath.
func (in *HTTPIngressPath) DeepCopy() *HTTPIngressPath {
2019-01-12 04:58:27 +00:00
if in == nil {
return nil
}
2019-04-07 17:07:55 +00:00
out := new(HTTPIngressPath)
2019-01-12 04:58:27 +00:00
in.DeepCopyInto(out)
return out
}
2019-04-07 17:07:55 +00:00
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *HTTPIngressRuleValue) DeepCopyInto(out *HTTPIngressRuleValue) {
*out = *in
if in.Paths != nil {
in, out := &in.Paths, &out.Paths
*out = make([]HTTPIngressPath, len(*in))
copy(*out, *in)
2019-01-12 04:58:27 +00:00
}
2019-04-07 17:07:55 +00:00
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPIngressRuleValue.
func (in *HTTPIngressRuleValue) DeepCopy() *HTTPIngressRuleValue {
if in == nil {
return nil
}
out := new(HTTPIngressRuleValue)
in.DeepCopyInto(out)
return out
2019-01-12 04:58:27 +00:00
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
2019-04-07 17:07:55 +00:00
func (in *Ingress) DeepCopyInto(out *Ingress) {
2019-01-12 04:58:27 +00:00
*out = *in
2019-04-07 17:07:55 +00:00
out.TypeMeta = in.TypeMeta
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
in.Spec.DeepCopyInto(&out.Spec)
in.Status.DeepCopyInto(&out.Status)
2019-01-12 04:58:27 +00:00
return
}
2019-04-07 17:07:55 +00:00
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Ingress.
func (in *Ingress) DeepCopy() *Ingress {
2019-01-12 04:58:27 +00:00
if in == nil {
return nil
}
2019-04-07 17:07:55 +00:00
out := new(Ingress)
2019-01-12 04:58:27 +00:00
in.DeepCopyInto(out)
return out
}
2019-04-07 17:07:55 +00:00
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (in *Ingress) DeepCopyObject() runtime.Object {
if c := in.DeepCopy(); c != nil {
return c
}
return nil
}
2019-01-12 04:58:27 +00:00
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
2019-04-07 17:07:55 +00:00
func (in *IngressBackend) DeepCopyInto(out *IngressBackend) {
2019-01-12 04:58:27 +00:00
*out = *in
2019-04-07 17:07:55 +00:00
out.ServicePort = in.ServicePort
2019-01-12 04:58:27 +00:00
return
}
2019-04-07 17:07:55 +00:00
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressBackend.
func (in *IngressBackend) DeepCopy() *IngressBackend {
2019-01-12 04:58:27 +00:00
if in == nil {
return nil
}
2019-04-07 17:07:55 +00:00
out := new(IngressBackend)
2019-01-12 04:58:27 +00:00
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
2019-04-07 17:07:55 +00:00
func (in *IngressList) DeepCopyInto(out *IngressList) {
2019-01-12 04:58:27 +00:00
*out = *in
out.TypeMeta = in.TypeMeta
2019-08-30 18:33:25 +00:00
in.ListMeta.DeepCopyInto(&out.ListMeta)
2019-01-12 04:58:27 +00:00
if in.Items != nil {
in, out := &in.Items, &out.Items
2019-04-07 17:07:55 +00:00
*out = make([]Ingress, len(*in))
2019-01-12 04:58:27 +00:00
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
return
}
2019-04-07 17:07:55 +00:00
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressList.
func (in *IngressList) DeepCopy() *IngressList {
2019-01-12 04:58:27 +00:00
if in == nil {
return nil
}
2019-04-07 17:07:55 +00:00
out := new(IngressList)
2019-01-12 04:58:27 +00:00
in.DeepCopyInto(out)
return out
}
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
2019-04-07 17:07:55 +00:00
func (in *IngressList) DeepCopyObject() runtime.Object {
2019-01-12 04:58:27 +00:00
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.
2019-04-07 17:07:55 +00:00
func (in *IngressRule) DeepCopyInto(out *IngressRule) {
2019-01-12 04:58:27 +00:00
*out = *in
2019-04-07 17:07:55 +00:00
in.IngressRuleValue.DeepCopyInto(&out.IngressRuleValue)
2019-01-12 04:58:27 +00:00
return
}
2019-04-07 17:07:55 +00:00
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressRule.
func (in *IngressRule) DeepCopy() *IngressRule {
2019-01-12 04:58:27 +00:00
if in == nil {
return nil
}
2019-04-07 17:07:55 +00:00
out := new(IngressRule)
2019-01-12 04:58:27 +00:00
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
2019-04-07 17:07:55 +00:00
func (in *IngressRuleValue) DeepCopyInto(out *IngressRuleValue) {
2019-01-12 04:58:27 +00:00
*out = *in
2019-04-07 17:07:55 +00:00
if in.HTTP != nil {
in, out := &in.HTTP, &out.HTTP
*out = new(HTTPIngressRuleValue)
(*in).DeepCopyInto(*out)
}
2019-01-12 04:58:27 +00:00
return
}
2019-04-07 17:07:55 +00:00
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressRuleValue.
func (in *IngressRuleValue) DeepCopy() *IngressRuleValue {
2019-01-12 04:58:27 +00:00
if in == nil {
return nil
}
2019-04-07 17:07:55 +00:00
out := new(IngressRuleValue)
2019-01-12 04:58:27 +00:00
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
2019-04-07 17:07:55 +00:00
func (in *IngressSpec) DeepCopyInto(out *IngressSpec) {
2019-01-12 04:58:27 +00:00
*out = *in
2019-04-07 17:07:55 +00:00
if in.Backend != nil {
in, out := &in.Backend, &out.Backend
*out = new(IngressBackend)
**out = **in
}
if in.TLS != nil {
in, out := &in.TLS, &out.TLS
*out = make([]IngressTLS, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
if in.Rules != nil {
in, out := &in.Rules, &out.Rules
*out = make([]IngressRule, len(*in))
2019-01-12 04:58:27 +00:00
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
return
}
2019-04-07 17:07:55 +00:00
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressSpec.
func (in *IngressSpec) DeepCopy() *IngressSpec {
2019-01-12 04:58:27 +00:00
if in == nil {
return nil
}
2019-04-07 17:07:55 +00:00
out := new(IngressSpec)
2019-01-12 04:58:27 +00:00
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
2019-04-07 17:07:55 +00:00
func (in *IngressStatus) DeepCopyInto(out *IngressStatus) {
2019-01-12 04:58:27 +00:00
*out = *in
2019-04-07 17:07:55 +00:00
in.LoadBalancer.DeepCopyInto(&out.LoadBalancer)
2019-01-12 04:58:27 +00:00
return
}
2019-04-07 17:07:55 +00:00
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressStatus.
func (in *IngressStatus) DeepCopy() *IngressStatus {
2019-01-12 04:58:27 +00:00
if in == nil {
return nil
}
2019-04-07 17:07:55 +00:00
out := new(IngressStatus)
2019-01-12 04:58:27 +00:00
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
2019-04-07 17:07:55 +00:00
func (in *IngressTLS) DeepCopyInto(out *IngressTLS) {
2019-01-12 04:58:27 +00:00
*out = *in
2019-04-07 17:07:55 +00:00
if in.Hosts != nil {
in, out := &in.Hosts, &out.Hosts
*out = make([]string, len(*in))
2019-01-12 04:58:27 +00:00
copy(*out, *in)
}
return
}
2019-04-07 17:07:55 +00:00
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressTLS.
func (in *IngressTLS) DeepCopy() *IngressTLS {
2019-01-12 04:58:27 +00:00
if in == nil {
return nil
}
2019-04-07 17:07:55 +00:00
out := new(IngressTLS)
2019-01-12 04:58:27 +00:00
in.DeepCopyInto(out)
return out
}