mirror of
https://github.com/hanzoai/coredns-manager-operator.git
synced 2026-10-30 18:43:53 +00:00
434 lines
12 KiB
Go
434 lines
12 KiB
Go
//go:build !ignore_autogenerated
|
|
// +build !ignore_autogenerated
|
|
|
|
/*
|
|
Copyright 2024 monkale.io.
|
|
|
|
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 v1alpha1
|
|
|
|
import (
|
|
corev1 "k8s.io/api/core/v1"
|
|
"k8s.io/apimachinery/pkg/apis/meta/v1"
|
|
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 *CoreDNSConfigMap) DeepCopyInto(out *CoreDNSConfigMap) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CoreDNSConfigMap.
|
|
func (in *CoreDNSConfigMap) DeepCopy() *CoreDNSConfigMap {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(CoreDNSConfigMap)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *CoreDNSDeploymentType) DeepCopyInto(out *CoreDNSDeploymentType) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CoreDNSDeploymentType.
|
|
func (in *CoreDNSDeploymentType) DeepCopy() *CoreDNSDeploymentType {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(CoreDNSDeploymentType)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *DNSConnector) DeepCopyInto(out *DNSConnector) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
|
in.Spec.DeepCopyInto(&out.Spec)
|
|
in.Status.DeepCopyInto(&out.Status)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DNSConnector.
|
|
func (in *DNSConnector) DeepCopy() *DNSConnector {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(DNSConnector)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *DNSConnector) 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 *DNSConnectorList) DeepCopyInto(out *DNSConnectorList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]DNSConnector, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DNSConnectorList.
|
|
func (in *DNSConnectorList) DeepCopy() *DNSConnectorList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(DNSConnectorList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *DNSConnectorList) 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 *DNSConnectorSpec) DeepCopyInto(out *DNSConnectorSpec) {
|
|
*out = *in
|
|
out.CorednsCM = in.CorednsCM
|
|
out.CorednsDeployment = in.CorednsDeployment
|
|
if in.CorednsZoneEnaledPlugins != nil {
|
|
in, out := &in.CorednsZoneEnaledPlugins, &out.CorednsZoneEnaledPlugins
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DNSConnectorSpec.
|
|
func (in *DNSConnectorSpec) DeepCopy() *DNSConnectorSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(DNSConnectorSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *DNSConnectorStatus) DeepCopyInto(out *DNSConnectorStatus) {
|
|
*out = *in
|
|
if in.Conditions != nil {
|
|
in, out := &in.Conditions, &out.Conditions
|
|
*out = make([]v1.Condition, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
if in.ProvisionedDNSZones != nil {
|
|
in, out := &in.ProvisionedDNSZones, &out.ProvisionedDNSZones
|
|
*out = make([]ProvisionedDNSZone, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DNSConnectorStatus.
|
|
func (in *DNSConnectorStatus) DeepCopy() *DNSConnectorStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(DNSConnectorStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *DNSRecord) DeepCopyInto(out *DNSRecord) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
|
in.Spec.DeepCopyInto(&out.Spec)
|
|
in.Status.DeepCopyInto(&out.Status)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DNSRecord.
|
|
func (in *DNSRecord) DeepCopy() *DNSRecord {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(DNSRecord)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *DNSRecord) 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 *DNSRecordList) DeepCopyInto(out *DNSRecordList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]DNSRecord, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DNSRecordList.
|
|
func (in *DNSRecordList) DeepCopy() *DNSRecordList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(DNSRecordList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *DNSRecordList) 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 *DNSRecordSpec) DeepCopyInto(out *DNSRecordSpec) {
|
|
*out = *in
|
|
if in.Record != nil {
|
|
in, out := &in.Record, &out.Record
|
|
*out = new(Record)
|
|
**out = **in
|
|
}
|
|
if in.DNSZoneRef != nil {
|
|
in, out := &in.DNSZoneRef, &out.DNSZoneRef
|
|
*out = new(corev1.ObjectReference)
|
|
**out = **in
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DNSRecordSpec.
|
|
func (in *DNSRecordSpec) DeepCopy() *DNSRecordSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(DNSRecordSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *DNSRecordStatus) DeepCopyInto(out *DNSRecordStatus) {
|
|
*out = *in
|
|
if in.Conditions != nil {
|
|
in, out := &in.Conditions, &out.Conditions
|
|
*out = make([]v1.Condition, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DNSRecordStatus.
|
|
func (in *DNSRecordStatus) DeepCopy() *DNSRecordStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(DNSRecordStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *DNSZone) DeepCopyInto(out *DNSZone) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
|
in.Spec.DeepCopyInto(&out.Spec)
|
|
in.Status.DeepCopyInto(&out.Status)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DNSZone.
|
|
func (in *DNSZone) DeepCopy() *DNSZone {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(DNSZone)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *DNSZone) 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 *DNSZoneHeader) DeepCopyInto(out *DNSZoneHeader) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DNSZoneHeader.
|
|
func (in *DNSZoneHeader) DeepCopy() *DNSZoneHeader {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(DNSZoneHeader)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *DNSZoneList) DeepCopyInto(out *DNSZoneList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]DNSZone, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DNSZoneList.
|
|
func (in *DNSZoneList) DeepCopy() *DNSZoneList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(DNSZoneList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *DNSZoneList) 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 *DNSZoneSpec) DeepCopyInto(out *DNSZoneSpec) {
|
|
*out = *in
|
|
if in.PrimaryNS != nil {
|
|
in, out := &in.PrimaryNS, &out.PrimaryNS
|
|
*out = new(PrimaryNS)
|
|
**out = **in
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DNSZoneSpec.
|
|
func (in *DNSZoneSpec) DeepCopy() *DNSZoneSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(DNSZoneSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *DNSZoneStatus) DeepCopyInto(out *DNSZoneStatus) {
|
|
*out = *in
|
|
if in.Conditions != nil {
|
|
in, out := &in.Conditions, &out.Conditions
|
|
*out = make([]v1.Condition, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DNSZoneStatus.
|
|
func (in *DNSZoneStatus) DeepCopy() *DNSZoneStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(DNSZoneStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *PrimaryNS) DeepCopyInto(out *PrimaryNS) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrimaryNS.
|
|
func (in *PrimaryNS) DeepCopy() *PrimaryNS {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(PrimaryNS)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ProvisionedDNSZone) DeepCopyInto(out *ProvisionedDNSZone) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProvisionedDNSZone.
|
|
func (in *ProvisionedDNSZone) DeepCopy() *ProvisionedDNSZone {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ProvisionedDNSZone)
|
|
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
|
|
}
|
|
|
|
// 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
|
|
}
|