mirror of https://github.com/knative/pkg.git
260 lines
6.9 KiB
Go
260 lines
6.9 KiB
Go
// +build !ignore_autogenerated
|
|
|
|
/*
|
|
Copyright 2018 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 v1alpha1
|
|
|
|
import (
|
|
commonv1alpha1 "github.com/knative/pkg/apis/istio/common/v1alpha1"
|
|
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 *Jwt) DeepCopyInto(out *Jwt) {
|
|
*out = *in
|
|
if in.Audiences != nil {
|
|
in, out := &in.Audiences, &out.Audiences
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.JwtHeaders != nil {
|
|
in, out := &in.JwtHeaders, &out.JwtHeaders
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.JwtParams != nil {
|
|
in, out := &in.JwtParams, &out.JwtParams
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.ExcludedPaths != nil {
|
|
in, out := &in.ExcludedPaths, &out.ExcludedPaths
|
|
*out = make([]commonv1alpha1.StringMatch, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Jwt.
|
|
func (in *Jwt) DeepCopy() *Jwt {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(Jwt)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *MutualTls) DeepCopyInto(out *MutualTls) {
|
|
*out = *in
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MutualTls.
|
|
func (in *MutualTls) DeepCopy() *MutualTls {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(MutualTls)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *OriginAuthenticationMethod) DeepCopyInto(out *OriginAuthenticationMethod) {
|
|
*out = *in
|
|
if in.Jwt != nil {
|
|
in, out := &in.Jwt, &out.Jwt
|
|
*out = new(Jwt)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OriginAuthenticationMethod.
|
|
func (in *OriginAuthenticationMethod) DeepCopy() *OriginAuthenticationMethod {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(OriginAuthenticationMethod)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *PeerAuthenticationMethod) DeepCopyInto(out *PeerAuthenticationMethod) {
|
|
*out = *in
|
|
if in.Mtls != nil {
|
|
in, out := &in.Mtls, &out.Mtls
|
|
*out = new(MutualTls)
|
|
**out = **in
|
|
}
|
|
if in.Jwt != nil {
|
|
in, out := &in.Jwt, &out.Jwt
|
|
*out = new(Jwt)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PeerAuthenticationMethod.
|
|
func (in *PeerAuthenticationMethod) DeepCopy() *PeerAuthenticationMethod {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(PeerAuthenticationMethod)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *Policy) DeepCopyInto(out *Policy) {
|
|
*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 Policy.
|
|
func (in *Policy) DeepCopy() *Policy {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(Policy)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *Policy) 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 *PolicyList) DeepCopyInto(out *PolicyList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
out.ListMeta = in.ListMeta
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]Policy, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyList.
|
|
func (in *PolicyList) DeepCopy() *PolicyList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(PolicyList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *PolicyList) 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 *PolicySpec) DeepCopyInto(out *PolicySpec) {
|
|
*out = *in
|
|
if in.Targets != nil {
|
|
in, out := &in.Targets, &out.Targets
|
|
*out = make([]TargetSelector, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
if in.Peers != nil {
|
|
in, out := &in.Peers, &out.Peers
|
|
*out = make([]PeerAuthenticationMethod, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
if in.Origins != nil {
|
|
in, out := &in.Origins, &out.Origins
|
|
*out = make([]OriginAuthenticationMethod, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicySpec.
|
|
func (in *PolicySpec) DeepCopy() *PolicySpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(PolicySpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *PortSelector) DeepCopyInto(out *PortSelector) {
|
|
*out = *in
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PortSelector.
|
|
func (in *PortSelector) DeepCopy() *PortSelector {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(PortSelector)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *TargetSelector) DeepCopyInto(out *TargetSelector) {
|
|
*out = *in
|
|
if in.Ports != nil {
|
|
in, out := &in.Ports, &out.Ports
|
|
*out = make([]PortSelector, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TargetSelector.
|
|
func (in *TargetSelector) DeepCopy() *TargetSelector {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(TargetSelector)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|