// +build !ignore_autogenerated /* Copyright 2018-2020 Harry Bagdi 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 kong // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ACLGroup) DeepCopyInto(out *ACLGroup) { *out = *in if in.Consumer != nil { in, out := &in.Consumer, &out.Consumer *out = new(Consumer) (*in).DeepCopyInto(*out) } if in.CreatedAt != nil { in, out := &in.CreatedAt, &out.CreatedAt *out = new(int) **out = **in } if in.ID != nil { in, out := &in.ID, &out.ID *out = new(string) **out = **in } if in.Group != nil { in, out := &in.Group, &out.Group *out = new(string) **out = **in } if in.Tags != nil { in, out := &in.Tags, &out.Tags *out = make([]*string, len(*in)) for i := range *in { if (*in)[i] != nil { in, out := &(*in)[i], &(*out)[i] *out = new(string) **out = **in } } } return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ACLGroup. func (in *ACLGroup) DeepCopy() *ACLGroup { if in == nil { return nil } out := new(ACLGroup) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ActiveHealthcheck) DeepCopyInto(out *ActiveHealthcheck) { *out = *in if in.Concurrency != nil { in, out := &in.Concurrency, &out.Concurrency *out = new(int) **out = **in } if in.Healthy != nil { in, out := &in.Healthy, &out.Healthy *out = new(Healthy) (*in).DeepCopyInto(*out) } if in.HTTPPath != nil { in, out := &in.HTTPPath, &out.HTTPPath *out = new(string) **out = **in } if in.HTTPSSni != nil { in, out := &in.HTTPSSni, &out.HTTPSSni *out = new(string) **out = **in } if in.HTTPSVerifyCertificate != nil { in, out := &in.HTTPSVerifyCertificate, &out.HTTPSVerifyCertificate *out = new(bool) **out = **in } if in.Type != nil { in, out := &in.Type, &out.Type *out = new(string) **out = **in } if in.Timeout != nil { in, out := &in.Timeout, &out.Timeout *out = new(int) **out = **in } if in.Unhealthy != nil { in, out := &in.Unhealthy, &out.Unhealthy *out = new(Unhealthy) (*in).DeepCopyInto(*out) } return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActiveHealthcheck. func (in *ActiveHealthcheck) DeepCopy() *ActiveHealthcheck { if in == nil { return nil } out := new(ActiveHealthcheck) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *Admin) DeepCopyInto(out *Admin) { *out = *in if in.CreatedAt != nil { in, out := &in.CreatedAt, &out.CreatedAt *out = new(int) **out = **in } if in.ID != nil { in, out := &in.ID, &out.ID *out = new(string) **out = **in } if in.Email != nil { in, out := &in.Email, &out.Email *out = new(string) **out = **in } if in.Username != nil { in, out := &in.Username, &out.Username *out = new(string) **out = **in } if in.Password != nil { in, out := &in.Password, &out.Password *out = new(string) **out = **in } if in.CustomID != nil { in, out := &in.CustomID, &out.CustomID *out = new(string) **out = **in } if in.RBACTokenEnabled != nil { in, out := &in.RBACTokenEnabled, &out.RBACTokenEnabled *out = new(bool) **out = **in } if in.Status != nil { in, out := &in.Status, &out.Status *out = new(int) **out = **in } if in.Token != nil { in, out := &in.Token, &out.Token *out = new(string) **out = **in } return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Admin. func (in *Admin) DeepCopy() *Admin { if in == nil { return nil } out := new(Admin) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *BasicAuth) DeepCopyInto(out *BasicAuth) { *out = *in if in.Consumer != nil { in, out := &in.Consumer, &out.Consumer *out = new(Consumer) (*in).DeepCopyInto(*out) } if in.CreatedAt != nil { in, out := &in.CreatedAt, &out.CreatedAt *out = new(int) **out = **in } if in.ID != nil { in, out := &in.ID, &out.ID *out = new(string) **out = **in } if in.Username != nil { in, out := &in.Username, &out.Username *out = new(string) **out = **in } if in.Password != nil { in, out := &in.Password, &out.Password *out = new(string) **out = **in } if in.Tags != nil { in, out := &in.Tags, &out.Tags *out = make([]*string, len(*in)) for i := range *in { if (*in)[i] != nil { in, out := &(*in)[i], &(*out)[i] *out = new(string) **out = **in } } } return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BasicAuth. func (in *BasicAuth) DeepCopy() *BasicAuth { if in == nil { return nil } out := new(BasicAuth) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *CACertificate) DeepCopyInto(out *CACertificate) { *out = *in if in.ID != nil { in, out := &in.ID, &out.ID *out = new(string) **out = **in } if in.Cert != nil { in, out := &in.Cert, &out.Cert *out = new(string) **out = **in } if in.CreatedAt != nil { in, out := &in.CreatedAt, &out.CreatedAt *out = new(int64) **out = **in } if in.Tags != nil { in, out := &in.Tags, &out.Tags *out = make([]*string, len(*in)) for i := range *in { if (*in)[i] != nil { in, out := &(*in)[i], &(*out)[i] *out = new(string) **out = **in } } } return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CACertificate. func (in *CACertificate) DeepCopy() *CACertificate { if in == nil { return nil } out := new(CACertificate) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *CIDRPort) DeepCopyInto(out *CIDRPort) { *out = *in if in.IP != nil { in, out := &in.IP, &out.IP *out = new(string) **out = **in } if in.Port != nil { in, out := &in.Port, &out.Port *out = new(int) **out = **in } return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CIDRPort. func (in *CIDRPort) DeepCopy() *CIDRPort { if in == nil { return nil } out := new(CIDRPort) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *Certificate) DeepCopyInto(out *Certificate) { *out = *in if in.ID != nil { in, out := &in.ID, &out.ID *out = new(string) **out = **in } if in.Cert != nil { in, out := &in.Cert, &out.Cert *out = new(string) **out = **in } if in.Key != nil { in, out := &in.Key, &out.Key *out = new(string) **out = **in } if in.CreatedAt != nil { in, out := &in.CreatedAt, &out.CreatedAt *out = new(int64) **out = **in } if in.SNIs != nil { in, out := &in.SNIs, &out.SNIs *out = make([]*string, len(*in)) for i := range *in { if (*in)[i] != nil { in, out := &(*in)[i], &(*out)[i] *out = new(string) **out = **in } } } if in.Tags != nil { in, out := &in.Tags, &out.Tags *out = make([]*string, len(*in)) for i := range *in { if (*in)[i] != nil { in, out := &(*in)[i], &(*out)[i] *out = new(string) **out = **in } } } return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Certificate. func (in *Certificate) DeepCopy() *Certificate { if in == nil { return nil } out := new(Certificate) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *Consumer) DeepCopyInto(out *Consumer) { *out = *in if in.ID != nil { in, out := &in.ID, &out.ID *out = new(string) **out = **in } if in.CustomID != nil { in, out := &in.CustomID, &out.CustomID *out = new(string) **out = **in } if in.Username != nil { in, out := &in.Username, &out.Username *out = new(string) **out = **in } if in.CreatedAt != nil { in, out := &in.CreatedAt, &out.CreatedAt *out = new(int64) **out = **in } if in.Tags != nil { in, out := &in.Tags, &out.Tags *out = make([]*string, len(*in)) for i := range *in { if (*in)[i] != nil { in, out := &(*in)[i], &(*out)[i] *out = new(string) **out = **in } } } return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Consumer. func (in *Consumer) DeepCopy() *Consumer { if in == nil { return nil } out := new(Consumer) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *HMACAuth) DeepCopyInto(out *HMACAuth) { *out = *in if in.Consumer != nil { in, out := &in.Consumer, &out.Consumer *out = new(Consumer) (*in).DeepCopyInto(*out) } if in.CreatedAt != nil { in, out := &in.CreatedAt, &out.CreatedAt *out = new(int) **out = **in } if in.ID != nil { in, out := &in.ID, &out.ID *out = new(string) **out = **in } if in.Username != nil { in, out := &in.Username, &out.Username *out = new(string) **out = **in } if in.Secret != nil { in, out := &in.Secret, &out.Secret *out = new(string) **out = **in } if in.Tags != nil { in, out := &in.Tags, &out.Tags *out = make([]*string, len(*in)) for i := range *in { if (*in)[i] != nil { in, out := &(*in)[i], &(*out)[i] *out = new(string) **out = **in } } } return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HMACAuth. func (in *HMACAuth) DeepCopy() *HMACAuth { if in == nil { return nil } out := new(HMACAuth) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *Healthcheck) DeepCopyInto(out *Healthcheck) { *out = *in if in.Active != nil { in, out := &in.Active, &out.Active *out = new(ActiveHealthcheck) (*in).DeepCopyInto(*out) } if in.Passive != nil { in, out := &in.Passive, &out.Passive *out = new(PassiveHealthcheck) (*in).DeepCopyInto(*out) } if in.Threshold != nil { in, out := &in.Threshold, &out.Threshold *out = new(float64) **out = **in } return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Healthcheck. func (in *Healthcheck) DeepCopy() *Healthcheck { if in == nil { return nil } out := new(Healthcheck) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *Healthy) DeepCopyInto(out *Healthy) { *out = *in if in.HTTPStatuses != nil { in, out := &in.HTTPStatuses, &out.HTTPStatuses *out = make([]int, len(*in)) copy(*out, *in) } if in.Interval != nil { in, out := &in.Interval, &out.Interval *out = new(int) **out = **in } if in.Successes != nil { in, out := &in.Successes, &out.Successes *out = new(int) **out = **in } return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Healthy. func (in *Healthy) DeepCopy() *Healthy { if in == nil { return nil } out := new(Healthy) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *JWTAuth) DeepCopyInto(out *JWTAuth) { *out = *in if in.Consumer != nil { in, out := &in.Consumer, &out.Consumer *out = new(Consumer) (*in).DeepCopyInto(*out) } if in.CreatedAt != nil { in, out := &in.CreatedAt, &out.CreatedAt *out = new(int) **out = **in } if in.ID != nil { in, out := &in.ID, &out.ID *out = new(string) **out = **in } if in.Algorithm != nil { in, out := &in.Algorithm, &out.Algorithm *out = new(string) **out = **in } if in.Key != nil { in, out := &in.Key, &out.Key *out = new(string) **out = **in } if in.RSAPublicKey != nil { in, out := &in.RSAPublicKey, &out.RSAPublicKey *out = new(string) **out = **in } if in.Secret != nil { in, out := &in.Secret, &out.Secret *out = new(string) **out = **in } if in.Tags != nil { in, out := &in.Tags, &out.Tags *out = make([]*string, len(*in)) for i := range *in { if (*in)[i] != nil { in, out := &(*in)[i], &(*out)[i] *out = new(string) **out = **in } } } return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JWTAuth. func (in *JWTAuth) DeepCopy() *JWTAuth { if in == nil { return nil } out := new(JWTAuth) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *KeyAuth) DeepCopyInto(out *KeyAuth) { *out = *in if in.Consumer != nil { in, out := &in.Consumer, &out.Consumer *out = new(Consumer) (*in).DeepCopyInto(*out) } if in.CreatedAt != nil { in, out := &in.CreatedAt, &out.CreatedAt *out = new(int) **out = **in } if in.ID != nil { in, out := &in.ID, &out.ID *out = new(string) **out = **in } if in.Key != nil { in, out := &in.Key, &out.Key *out = new(string) **out = **in } if in.TTL != nil { in, out := &in.TTL, &out.TTL *out = new(int) **out = **in } if in.Tags != nil { in, out := &in.Tags, &out.Tags *out = make([]*string, len(*in)) for i := range *in { if (*in)[i] != nil { in, out := &(*in)[i], &(*out)[i] *out = new(string) **out = **in } } } return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeyAuth. func (in *KeyAuth) DeepCopy() *KeyAuth { if in == nil { return nil } out := new(KeyAuth) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *MTLSAuth) DeepCopyInto(out *MTLSAuth) { *out = *in if in.Consumer != nil { in, out := &in.Consumer, &out.Consumer *out = new(Consumer) (*in).DeepCopyInto(*out) } if in.CreatedAt != nil { in, out := &in.CreatedAt, &out.CreatedAt *out = new(int) **out = **in } if in.ID != nil { in, out := &in.ID, &out.ID *out = new(string) **out = **in } if in.SubjectName != nil { in, out := &in.SubjectName, &out.SubjectName *out = new(string) **out = **in } if in.CACertificate != nil { in, out := &in.CACertificate, &out.CACertificate *out = new(CACertificate) (*in).DeepCopyInto(*out) } if in.Tags != nil { in, out := &in.Tags, &out.Tags *out = make([]*string, len(*in)) for i := range *in { if (*in)[i] != nil { in, out := &(*in)[i], &(*out)[i] *out = new(string) **out = **in } } } return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MTLSAuth. func (in *MTLSAuth) DeepCopy() *MTLSAuth { if in == nil { return nil } out := new(MTLSAuth) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *Oauth2Credential) DeepCopyInto(out *Oauth2Credential) { *out = *in if in.Consumer != nil { in, out := &in.Consumer, &out.Consumer *out = new(Consumer) (*in).DeepCopyInto(*out) } if in.CreatedAt != nil { in, out := &in.CreatedAt, &out.CreatedAt *out = new(int) **out = **in } if in.ID != nil { in, out := &in.ID, &out.ID *out = new(string) **out = **in } if in.Name != nil { in, out := &in.Name, &out.Name *out = new(string) **out = **in } if in.ClientID != nil { in, out := &in.ClientID, &out.ClientID *out = new(string) **out = **in } if in.ClientSecret != nil { in, out := &in.ClientSecret, &out.ClientSecret *out = new(string) **out = **in } if in.RedirectURIs != nil { in, out := &in.RedirectURIs, &out.RedirectURIs *out = make([]*string, len(*in)) for i := range *in { if (*in)[i] != nil { in, out := &(*in)[i], &(*out)[i] *out = new(string) **out = **in } } } if in.Tags != nil { in, out := &in.Tags, &out.Tags *out = make([]*string, len(*in)) for i := range *in { if (*in)[i] != nil { in, out := &(*in)[i], &(*out)[i] *out = new(string) **out = **in } } } return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Oauth2Credential. func (in *Oauth2Credential) DeepCopy() *Oauth2Credential { if in == nil { return nil } out := new(Oauth2Credential) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *PassiveHealthcheck) DeepCopyInto(out *PassiveHealthcheck) { *out = *in if in.Healthy != nil { in, out := &in.Healthy, &out.Healthy *out = new(Healthy) (*in).DeepCopyInto(*out) } if in.Type != nil { in, out := &in.Type, &out.Type *out = new(string) **out = **in } if in.Unhealthy != nil { in, out := &in.Unhealthy, &out.Unhealthy *out = new(Unhealthy) (*in).DeepCopyInto(*out) } return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PassiveHealthcheck. func (in *PassiveHealthcheck) DeepCopy() *PassiveHealthcheck { if in == nil { return nil } out := new(PassiveHealthcheck) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *Plugin) DeepCopyInto(out *Plugin) { *out = *in if in.CreatedAt != nil { in, out := &in.CreatedAt, &out.CreatedAt *out = new(int) **out = **in } if in.ID != nil { in, out := &in.ID, &out.ID *out = new(string) **out = **in } if in.Name != nil { in, out := &in.Name, &out.Name *out = new(string) **out = **in } if in.Route != nil { in, out := &in.Route, &out.Route *out = new(Route) (*in).DeepCopyInto(*out) } if in.Service != nil { in, out := &in.Service, &out.Service *out = new(Service) (*in).DeepCopyInto(*out) } if in.Consumer != nil { in, out := &in.Consumer, &out.Consumer *out = new(Consumer) (*in).DeepCopyInto(*out) } out.Config = in.Config.DeepCopy() if in.Enabled != nil { in, out := &in.Enabled, &out.Enabled *out = new(bool) **out = **in } if in.RunOn != nil { in, out := &in.RunOn, &out.RunOn *out = new(string) **out = **in } if in.Protocols != nil { in, out := &in.Protocols, &out.Protocols *out = make([]*string, len(*in)) for i := range *in { if (*in)[i] != nil { in, out := &(*in)[i], &(*out)[i] *out = new(string) **out = **in } } } if in.Tags != nil { in, out := &in.Tags, &out.Tags *out = make([]*string, len(*in)) for i := range *in { if (*in)[i] != nil { in, out := &(*in)[i], &(*out)[i] *out = new(string) **out = **in } } } return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Plugin. func (in *Plugin) DeepCopy() *Plugin { if in == nil { return nil } out := new(Plugin) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *RBACEndpointPermission) DeepCopyInto(out *RBACEndpointPermission) { *out = *in if in.CreatedAt != nil { in, out := &in.CreatedAt, &out.CreatedAt *out = new(int) **out = **in } if in.Workspace != nil { in, out := &in.Workspace, &out.Workspace *out = new(string) **out = **in } if in.Endpoint != nil { in, out := &in.Endpoint, &out.Endpoint *out = new(string) **out = **in } if in.Actions != nil { in, out := &in.Actions, &out.Actions *out = make([]*string, len(*in)) for i := range *in { if (*in)[i] != nil { in, out := &(*in)[i], &(*out)[i] *out = new(string) **out = **in } } } if in.Negative != nil { in, out := &in.Negative, &out.Negative *out = new(bool) **out = **in } if in.Role != nil { in, out := &in.Role, &out.Role *out = new(RBACRole) (*in).DeepCopyInto(*out) } if in.Comment != nil { in, out := &in.Comment, &out.Comment *out = new(string) **out = **in } return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RBACEndpointPermission. func (in *RBACEndpointPermission) DeepCopy() *RBACEndpointPermission { if in == nil { return nil } out := new(RBACEndpointPermission) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *RBACEntityPermission) DeepCopyInto(out *RBACEntityPermission) { *out = *in if in.CreatedAt != nil { in, out := &in.CreatedAt, &out.CreatedAt *out = new(int) **out = **in } if in.EntityID != nil { in, out := &in.EntityID, &out.EntityID *out = new(string) **out = **in } if in.EntityType != nil { in, out := &in.EntityType, &out.EntityType *out = new(string) **out = **in } if in.Actions != nil { in, out := &in.Actions, &out.Actions *out = make([]*string, len(*in)) for i := range *in { if (*in)[i] != nil { in, out := &(*in)[i], &(*out)[i] *out = new(string) **out = **in } } } if in.Negative != nil { in, out := &in.Negative, &out.Negative *out = new(bool) **out = **in } if in.Role != nil { in, out := &in.Role, &out.Role *out = new(RBACRole) (*in).DeepCopyInto(*out) } if in.Comment != nil { in, out := &in.Comment, &out.Comment *out = new(string) **out = **in } return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RBACEntityPermission. func (in *RBACEntityPermission) DeepCopy() *RBACEntityPermission { if in == nil { return nil } out := new(RBACEntityPermission) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *RBACRole) DeepCopyInto(out *RBACRole) { *out = *in if in.CreatedAt != nil { in, out := &in.CreatedAt, &out.CreatedAt *out = new(int) **out = **in } if in.ID != nil { in, out := &in.ID, &out.ID *out = new(string) **out = **in } if in.Name != nil { in, out := &in.Name, &out.Name *out = new(string) **out = **in } if in.Comment != nil { in, out := &in.Comment, &out.Comment *out = new(string) **out = **in } if in.IsDefault != nil { in, out := &in.IsDefault, &out.IsDefault *out = new(bool) **out = **in } return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RBACRole. func (in *RBACRole) DeepCopy() *RBACRole { if in == nil { return nil } out := new(RBACRole) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *RBACUser) DeepCopyInto(out *RBACUser) { *out = *in if in.CreatedAt != nil { in, out := &in.CreatedAt, &out.CreatedAt *out = new(int) **out = **in } if in.Comment != nil { in, out := &in.Comment, &out.Comment *out = new(string) **out = **in } if in.ID != nil { in, out := &in.ID, &out.ID *out = new(string) **out = **in } if in.Name != nil { in, out := &in.Name, &out.Name *out = new(string) **out = **in } if in.Enabled != nil { in, out := &in.Enabled, &out.Enabled *out = new(bool) **out = **in } if in.UserToken != nil { in, out := &in.UserToken, &out.UserToken *out = new(string) **out = **in } if in.UserTokenIdent != nil { in, out := &in.UserTokenIdent, &out.UserTokenIdent *out = new(string) **out = **in } return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RBACUser. func (in *RBACUser) DeepCopy() *RBACUser { if in == nil { return nil } out := new(RBACUser) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *Route) DeepCopyInto(out *Route) { *out = *in if in.CreatedAt != nil { in, out := &in.CreatedAt, &out.CreatedAt *out = new(int) **out = **in } if in.Hosts != nil { in, out := &in.Hosts, &out.Hosts *out = make([]*string, len(*in)) for i := range *in { if (*in)[i] != nil { in, out := &(*in)[i], &(*out)[i] *out = new(string) **out = **in } } } if in.Headers != nil { in, out := &in.Headers, &out.Headers *out = make(map[string][]string, len(*in)) for key, val := range *in { var outVal []string if val == nil { (*out)[key] = nil } else { in, out := &val, &outVal *out = make([]string, len(*in)) copy(*out, *in) } (*out)[key] = outVal } } if in.ID != nil { in, out := &in.ID, &out.ID *out = new(string) **out = **in } if in.Name != nil { in, out := &in.Name, &out.Name *out = new(string) **out = **in } if in.Methods != nil { in, out := &in.Methods, &out.Methods *out = make([]*string, len(*in)) for i := range *in { if (*in)[i] != nil { in, out := &(*in)[i], &(*out)[i] *out = new(string) **out = **in } } } if in.Paths != nil { in, out := &in.Paths, &out.Paths *out = make([]*string, len(*in)) for i := range *in { if (*in)[i] != nil { in, out := &(*in)[i], &(*out)[i] *out = new(string) **out = **in } } } if in.PathHandling != nil { in, out := &in.PathHandling, &out.PathHandling *out = new(string) **out = **in } if in.PreserveHost != nil { in, out := &in.PreserveHost, &out.PreserveHost *out = new(bool) **out = **in } if in.Protocols != nil { in, out := &in.Protocols, &out.Protocols *out = make([]*string, len(*in)) for i := range *in { if (*in)[i] != nil { in, out := &(*in)[i], &(*out)[i] *out = new(string) **out = **in } } } if in.RegexPriority != nil { in, out := &in.RegexPriority, &out.RegexPriority *out = new(int) **out = **in } if in.Service != nil { in, out := &in.Service, &out.Service *out = new(Service) (*in).DeepCopyInto(*out) } if in.StripPath != nil { in, out := &in.StripPath, &out.StripPath *out = new(bool) **out = **in } if in.UpdatedAt != nil { in, out := &in.UpdatedAt, &out.UpdatedAt *out = new(int) **out = **in } if in.SNIs != nil { in, out := &in.SNIs, &out.SNIs *out = make([]*string, len(*in)) for i := range *in { if (*in)[i] != nil { in, out := &(*in)[i], &(*out)[i] *out = new(string) **out = **in } } } if in.Sources != nil { in, out := &in.Sources, &out.Sources *out = make([]*CIDRPort, len(*in)) for i := range *in { if (*in)[i] != nil { in, out := &(*in)[i], &(*out)[i] *out = new(CIDRPort) (*in).DeepCopyInto(*out) } } } if in.Destinations != nil { in, out := &in.Destinations, &out.Destinations *out = make([]*CIDRPort, len(*in)) for i := range *in { if (*in)[i] != nil { in, out := &(*in)[i], &(*out)[i] *out = new(CIDRPort) (*in).DeepCopyInto(*out) } } } if in.Tags != nil { in, out := &in.Tags, &out.Tags *out = make([]*string, len(*in)) for i := range *in { if (*in)[i] != nil { in, out := &(*in)[i], &(*out)[i] *out = new(string) **out = **in } } } if in.HTTPSRedirectStatusCode != nil { in, out := &in.HTTPSRedirectStatusCode, &out.HTTPSRedirectStatusCode *out = new(int) **out = **in } if in.RequestBuffering != nil { in, out := &in.RequestBuffering, &out.RequestBuffering *out = new(bool) **out = **in } if in.ResponseBuffering != nil { in, out := &in.ResponseBuffering, &out.ResponseBuffering *out = new(bool) **out = **in } return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Route. func (in *Route) DeepCopy() *Route { if in == nil { return nil } out := new(Route) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *SNI) DeepCopyInto(out *SNI) { *out = *in if in.ID != nil { in, out := &in.ID, &out.ID *out = new(string) **out = **in } if in.Name != nil { in, out := &in.Name, &out.Name *out = new(string) **out = **in } if in.CreatedAt != nil { in, out := &in.CreatedAt, &out.CreatedAt *out = new(int64) **out = **in } if in.Certificate != nil { in, out := &in.Certificate, &out.Certificate *out = new(Certificate) (*in).DeepCopyInto(*out) } if in.Tags != nil { in, out := &in.Tags, &out.Tags *out = make([]*string, len(*in)) for i := range *in { if (*in)[i] != nil { in, out := &(*in)[i], &(*out)[i] *out = new(string) **out = **in } } } return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SNI. func (in *SNI) DeepCopy() *SNI { if in == nil { return nil } out := new(SNI) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *Service) DeepCopyInto(out *Service) { *out = *in if in.ClientCertificate != nil { in, out := &in.ClientCertificate, &out.ClientCertificate *out = new(Certificate) (*in).DeepCopyInto(*out) } if in.ConnectTimeout != nil { in, out := &in.ConnectTimeout, &out.ConnectTimeout *out = new(int) **out = **in } if in.CreatedAt != nil { in, out := &in.CreatedAt, &out.CreatedAt *out = new(int) **out = **in } if in.Host != nil { in, out := &in.Host, &out.Host *out = new(string) **out = **in } if in.ID != nil { in, out := &in.ID, &out.ID *out = new(string) **out = **in } if in.Name != nil { in, out := &in.Name, &out.Name *out = new(string) **out = **in } if in.Path != nil { in, out := &in.Path, &out.Path *out = new(string) **out = **in } if in.Port != nil { in, out := &in.Port, &out.Port *out = new(int) **out = **in } if in.Protocol != nil { in, out := &in.Protocol, &out.Protocol *out = new(string) **out = **in } if in.ReadTimeout != nil { in, out := &in.ReadTimeout, &out.ReadTimeout *out = new(int) **out = **in } if in.Retries != nil { in, out := &in.Retries, &out.Retries *out = new(int) **out = **in } if in.UpdatedAt != nil { in, out := &in.UpdatedAt, &out.UpdatedAt *out = new(int) **out = **in } if in.WriteTimeout != nil { in, out := &in.WriteTimeout, &out.WriteTimeout *out = new(int) **out = **in } if in.Tags != nil { in, out := &in.Tags, &out.Tags *out = make([]*string, len(*in)) for i := range *in { if (*in)[i] != nil { in, out := &(*in)[i], &(*out)[i] *out = new(string) **out = **in } } } if in.TLSVerify != nil { in, out := &in.TLSVerify, &out.TLSVerify *out = new(bool) **out = **in } if in.TLSVerifyDepth != nil { in, out := &in.TLSVerifyDepth, &out.TLSVerifyDepth *out = new(int) **out = **in } if in.CACertificates != nil { in, out := &in.CACertificates, &out.CACertificates *out = make([]*string, len(*in)) for i := range *in { if (*in)[i] != nil { in, out := &(*in)[i], &(*out)[i] *out = new(string) **out = **in } } } return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Service. func (in *Service) DeepCopy() *Service { if in == nil { return nil } out := new(Service) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *Target) DeepCopyInto(out *Target) { *out = *in if in.CreatedAt != nil { in, out := &in.CreatedAt, &out.CreatedAt *out = new(float64) **out = **in } if in.ID != nil { in, out := &in.ID, &out.ID *out = new(string) **out = **in } if in.Target != nil { in, out := &in.Target, &out.Target *out = new(string) **out = **in } if in.Upstream != nil { in, out := &in.Upstream, &out.Upstream *out = new(Upstream) (*in).DeepCopyInto(*out) } if in.Weight != nil { in, out := &in.Weight, &out.Weight *out = new(int) **out = **in } if in.Tags != nil { in, out := &in.Tags, &out.Tags *out = make([]*string, len(*in)) for i := range *in { if (*in)[i] != nil { in, out := &(*in)[i], &(*out)[i] *out = new(string) **out = **in } } } return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Target. func (in *Target) DeepCopy() *Target { if in == nil { return nil } out := new(Target) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *Unhealthy) DeepCopyInto(out *Unhealthy) { *out = *in if in.HTTPFailures != nil { in, out := &in.HTTPFailures, &out.HTTPFailures *out = new(int) **out = **in } if in.HTTPStatuses != nil { in, out := &in.HTTPStatuses, &out.HTTPStatuses *out = make([]int, len(*in)) copy(*out, *in) } if in.TCPFailures != nil { in, out := &in.TCPFailures, &out.TCPFailures *out = new(int) **out = **in } if in.Timeouts != nil { in, out := &in.Timeouts, &out.Timeouts *out = new(int) **out = **in } if in.Interval != nil { in, out := &in.Interval, &out.Interval *out = new(int) **out = **in } return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Unhealthy. func (in *Unhealthy) DeepCopy() *Unhealthy { if in == nil { return nil } out := new(Unhealthy) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *Upstream) DeepCopyInto(out *Upstream) { *out = *in if in.ID != nil { in, out := &in.ID, &out.ID *out = new(string) **out = **in } if in.Name != nil { in, out := &in.Name, &out.Name *out = new(string) **out = **in } if in.HostHeader != nil { in, out := &in.HostHeader, &out.HostHeader *out = new(string) **out = **in } if in.ClientCertificate != nil { in, out := &in.ClientCertificate, &out.ClientCertificate *out = new(Certificate) (*in).DeepCopyInto(*out) } if in.Algorithm != nil { in, out := &in.Algorithm, &out.Algorithm *out = new(string) **out = **in } if in.Slots != nil { in, out := &in.Slots, &out.Slots *out = new(int) **out = **in } if in.Healthchecks != nil { in, out := &in.Healthchecks, &out.Healthchecks *out = new(Healthcheck) (*in).DeepCopyInto(*out) } if in.CreatedAt != nil { in, out := &in.CreatedAt, &out.CreatedAt *out = new(int64) **out = **in } if in.HashOn != nil { in, out := &in.HashOn, &out.HashOn *out = new(string) **out = **in } if in.HashFallback != nil { in, out := &in.HashFallback, &out.HashFallback *out = new(string) **out = **in } if in.HashOnHeader != nil { in, out := &in.HashOnHeader, &out.HashOnHeader *out = new(string) **out = **in } if in.HashFallbackHeader != nil { in, out := &in.HashFallbackHeader, &out.HashFallbackHeader *out = new(string) **out = **in } if in.HashOnCookie != nil { in, out := &in.HashOnCookie, &out.HashOnCookie *out = new(string) **out = **in } if in.HashOnCookiePath != nil { in, out := &in.HashOnCookiePath, &out.HashOnCookiePath *out = new(string) **out = **in } if in.Tags != nil { in, out := &in.Tags, &out.Tags *out = make([]*string, len(*in)) for i := range *in { if (*in)[i] != nil { in, out := &(*in)[i], &(*out)[i] *out = new(string) **out = **in } } } return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Upstream. func (in *Upstream) DeepCopy() *Upstream { if in == nil { return nil } out := new(Upstream) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *WorkspaceEntity) DeepCopyInto(out *WorkspaceEntity) { *out = *in if in.EntityID != nil { in, out := &in.EntityID, &out.EntityID *out = new(string) **out = **in } if in.EntityType != nil { in, out := &in.EntityType, &out.EntityType *out = new(string) **out = **in } if in.UniqueFieldName != nil { in, out := &in.UniqueFieldName, &out.UniqueFieldName *out = new(string) **out = **in } if in.UniqueFieldValue != nil { in, out := &in.UniqueFieldValue, &out.UniqueFieldValue *out = new(string) **out = **in } if in.WorkspaceID != nil { in, out := &in.WorkspaceID, &out.WorkspaceID *out = new(string) **out = **in } if in.WorkspaceName != nil { in, out := &in.WorkspaceName, &out.WorkspaceName *out = new(string) **out = **in } return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceEntity. func (in *WorkspaceEntity) DeepCopy() *WorkspaceEntity { if in == nil { return nil } out := new(WorkspaceEntity) in.DeepCopyInto(out) return out }