mirror of
https://github.com/cert-manager/webhook-example.git
synced 2025-07-03 07:05:50 +02:00
333 lines
8.5 KiB
Go
333 lines
8.5 KiB
Go
// +build !ignore_autogenerated
|
|
|
|
/*
|
|
Copyright 2019 Cafe Bazaar Cloud.
|
|
|
|
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 controller-gen. DO NOT EDIT.
|
|
|
|
package v1beta1
|
|
|
|
import (
|
|
"k8s.io/apimachinery/pkg/runtime"
|
|
)
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *DomainZone) DeepCopyInto(out *DomainZone) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
|
in.Spec.DeepCopyInto(&out.Spec)
|
|
out.Status = in.Status
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DomainZone.
|
|
func (in *DomainZone) DeepCopy() *DomainZone {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(DomainZone)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *DomainZone) 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 *DomainZoneList) DeepCopyInto(out *DomainZoneList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]DomainZone, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DomainZoneList.
|
|
func (in *DomainZoneList) DeepCopy() *DomainZoneList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(DomainZoneList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *DomainZoneList) 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 *DomainZoneSpec) DeepCopyInto(out *DomainZoneSpec) {
|
|
*out = *in
|
|
if in.Nameservers != nil {
|
|
in, out := &in.Nameservers, &out.Nameservers
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.Records != nil {
|
|
in, out := &in.Records, &out.Records
|
|
*out = make(RecordsMap, len(*in))
|
|
for key, val := range *in {
|
|
var outVal []Record
|
|
if val == nil {
|
|
(*out)[key] = nil
|
|
} else {
|
|
in, out := &val, &outVal
|
|
*out = make(RecordList, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
(*out)[key] = outVal
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DomainZoneSpec.
|
|
func (in *DomainZoneSpec) DeepCopy() *DomainZoneSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(DomainZoneSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *DomainZoneStatus) DeepCopyInto(out *DomainZoneStatus) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DomainZoneStatus.
|
|
func (in *DomainZoneStatus) DeepCopy() *DomainZoneStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(DomainZoneStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *GeoLocation) DeepCopyInto(out *GeoLocation) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GeoLocation.
|
|
func (in *GeoLocation) DeepCopy() *GeoLocation {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(GeoLocation)
|
|
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
|
|
}
|
|
|
|
// 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 *MX) DeepCopyInto(out *MX) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MX.
|
|
func (in *MX) DeepCopy() *MX {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(MX)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *Record) DeepCopyInto(out *Record) {
|
|
*out = *in
|
|
if in.Weight != nil {
|
|
in, out := &in.Weight, &out.Weight
|
|
*out = new(int)
|
|
**out = **in
|
|
}
|
|
if in.GeoLocation != nil {
|
|
in, out := &in.GeoLocation, &out.GeoLocation
|
|
*out = make([]GeoLocation, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.HealthCheck != nil {
|
|
in, out := &in.HealthCheck, &out.HealthCheck
|
|
*out = new(HealthCheck)
|
|
**out = **in
|
|
}
|
|
if in.MX != nil {
|
|
in, out := &in.MX, &out.MX
|
|
*out = new(MX)
|
|
**out = **in
|
|
}
|
|
if in.A != nil {
|
|
in, out := &in.A, &out.A
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.AFallback != nil {
|
|
in, out := &in.AFallback, &out.AFallback
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.AAAA != nil {
|
|
in, out := &in.AAAA, &out.AAAA
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.AAAAFallback != nil {
|
|
in, out := &in.AAAAFallback, &out.AAAAFallback
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.NS != nil {
|
|
in, out := &in.NS, &out.NS
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.SRV != nil {
|
|
in, out := &in.SRV, &out.SRV
|
|
*out = new(SRV)
|
|
**out = **in
|
|
}
|
|
if in.URI != nil {
|
|
in, out := &in.URI, &out.URI
|
|
*out = new(URI)
|
|
**out = **in
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Record.
|
|
func (in *Record) DeepCopy() *Record {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(Record)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in RecordList) DeepCopyInto(out *RecordList) {
|
|
{
|
|
in := &in
|
|
*out = make(RecordList, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RecordList.
|
|
func (in RecordList) DeepCopy() RecordList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(RecordList)
|
|
in.DeepCopyInto(out)
|
|
return *out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in RecordsMap) DeepCopyInto(out *RecordsMap) {
|
|
{
|
|
in := &in
|
|
*out = make(RecordsMap, len(*in))
|
|
for key, val := range *in {
|
|
var outVal []Record
|
|
if val == nil {
|
|
(*out)[key] = nil
|
|
} else {
|
|
in, out := &val, &outVal
|
|
*out = make(RecordList, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
(*out)[key] = outVal
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RecordsMap.
|
|
func (in RecordsMap) DeepCopy() RecordsMap {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(RecordsMap)
|
|
in.DeepCopyInto(out)
|
|
return *out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *SRV) DeepCopyInto(out *SRV) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SRV.
|
|
func (in *SRV) DeepCopy() *SRV {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(SRV)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *URI) DeepCopyInto(out *URI) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new URI.
|
|
func (in *URI) DeepCopy() *URI {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(URI)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|