...

Source file src/github.com/GoogleCloudPlatform/k8s-config-connector/pkg/clients/generated/apis/dns/v1alpha1/zz_generated.deepcopy.go

Documentation: github.com/GoogleCloudPlatform/k8s-config-connector/pkg/clients/generated/apis/dns/v1alpha1

     1  //go:build !ignore_autogenerated
     2  // +build !ignore_autogenerated
     3  
     4  // Copyright 2020 Google LLC
     5  //
     6  // Licensed under the Apache License, Version 2.0 (the "License");
     7  // you may not use this file except in compliance with the License.
     8  // You may obtain a copy of the License at
     9  //
    10  //     http://www.apache.org/licenses/LICENSE-2.0
    11  //
    12  // Unless required by applicable law or agreed to in writing, software
    13  // distributed under the License is distributed on an "AS IS" BASIS,
    14  // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    15  // See the License for the specific language governing permissions and
    16  // limitations under the License.
    17  
    18  // *** DISCLAIMER ***
    19  // Config Connector's go-client for CRDs is currently in ALPHA, which means
    20  // that future versions of the go-client may include breaking changes.
    21  // Please try it out and give us feedback!
    22  
    23  // Code generated by main. DO NOT EDIT.
    24  
    25  package v1alpha1
    26  
    27  import (
    28  	k8sv1alpha1 "github.com/GoogleCloudPlatform/k8s-config-connector/pkg/clients/generated/apis/k8s/v1alpha1"
    29  	runtime "k8s.io/apimachinery/pkg/runtime"
    30  )
    31  
    32  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    33  func (in *DNSResponsePolicy) DeepCopyInto(out *DNSResponsePolicy) {
    34  	*out = *in
    35  	out.TypeMeta = in.TypeMeta
    36  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
    37  	in.Spec.DeepCopyInto(&out.Spec)
    38  	in.Status.DeepCopyInto(&out.Status)
    39  	return
    40  }
    41  
    42  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DNSResponsePolicy.
    43  func (in *DNSResponsePolicy) DeepCopy() *DNSResponsePolicy {
    44  	if in == nil {
    45  		return nil
    46  	}
    47  	out := new(DNSResponsePolicy)
    48  	in.DeepCopyInto(out)
    49  	return out
    50  }
    51  
    52  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    53  func (in *DNSResponsePolicy) DeepCopyObject() runtime.Object {
    54  	if c := in.DeepCopy(); c != nil {
    55  		return c
    56  	}
    57  	return nil
    58  }
    59  
    60  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    61  func (in *DNSResponsePolicyList) DeepCopyInto(out *DNSResponsePolicyList) {
    62  	*out = *in
    63  	out.TypeMeta = in.TypeMeta
    64  	in.ListMeta.DeepCopyInto(&out.ListMeta)
    65  	if in.Items != nil {
    66  		in, out := &in.Items, &out.Items
    67  		*out = make([]DNSResponsePolicy, len(*in))
    68  		for i := range *in {
    69  			(*in)[i].DeepCopyInto(&(*out)[i])
    70  		}
    71  	}
    72  	return
    73  }
    74  
    75  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DNSResponsePolicyList.
    76  func (in *DNSResponsePolicyList) DeepCopy() *DNSResponsePolicyList {
    77  	if in == nil {
    78  		return nil
    79  	}
    80  	out := new(DNSResponsePolicyList)
    81  	in.DeepCopyInto(out)
    82  	return out
    83  }
    84  
    85  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    86  func (in *DNSResponsePolicyList) DeepCopyObject() runtime.Object {
    87  	if c := in.DeepCopy(); c != nil {
    88  		return c
    89  	}
    90  	return nil
    91  }
    92  
    93  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    94  func (in *DNSResponsePolicyRule) DeepCopyInto(out *DNSResponsePolicyRule) {
    95  	*out = *in
    96  	out.TypeMeta = in.TypeMeta
    97  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
    98  	in.Spec.DeepCopyInto(&out.Spec)
    99  	in.Status.DeepCopyInto(&out.Status)
   100  	return
   101  }
   102  
   103  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DNSResponsePolicyRule.
   104  func (in *DNSResponsePolicyRule) DeepCopy() *DNSResponsePolicyRule {
   105  	if in == nil {
   106  		return nil
   107  	}
   108  	out := new(DNSResponsePolicyRule)
   109  	in.DeepCopyInto(out)
   110  	return out
   111  }
   112  
   113  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   114  func (in *DNSResponsePolicyRule) DeepCopyObject() runtime.Object {
   115  	if c := in.DeepCopy(); c != nil {
   116  		return c
   117  	}
   118  	return nil
   119  }
   120  
   121  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   122  func (in *DNSResponsePolicyRuleList) DeepCopyInto(out *DNSResponsePolicyRuleList) {
   123  	*out = *in
   124  	out.TypeMeta = in.TypeMeta
   125  	in.ListMeta.DeepCopyInto(&out.ListMeta)
   126  	if in.Items != nil {
   127  		in, out := &in.Items, &out.Items
   128  		*out = make([]DNSResponsePolicyRule, len(*in))
   129  		for i := range *in {
   130  			(*in)[i].DeepCopyInto(&(*out)[i])
   131  		}
   132  	}
   133  	return
   134  }
   135  
   136  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DNSResponsePolicyRuleList.
   137  func (in *DNSResponsePolicyRuleList) DeepCopy() *DNSResponsePolicyRuleList {
   138  	if in == nil {
   139  		return nil
   140  	}
   141  	out := new(DNSResponsePolicyRuleList)
   142  	in.DeepCopyInto(out)
   143  	return out
   144  }
   145  
   146  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   147  func (in *DNSResponsePolicyRuleList) DeepCopyObject() runtime.Object {
   148  	if c := in.DeepCopy(); c != nil {
   149  		return c
   150  	}
   151  	return nil
   152  }
   153  
   154  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   155  func (in *DNSResponsePolicyRuleSpec) DeepCopyInto(out *DNSResponsePolicyRuleSpec) {
   156  	*out = *in
   157  	if in.Behavior != nil {
   158  		in, out := &in.Behavior, &out.Behavior
   159  		*out = new(string)
   160  		**out = **in
   161  	}
   162  	if in.LocalData != nil {
   163  		in, out := &in.LocalData, &out.LocalData
   164  		*out = new(ResponsepolicyruleLocalData)
   165  		(*in).DeepCopyInto(*out)
   166  	}
   167  	out.ProjectRef = in.ProjectRef
   168  	if in.ResourceID != nil {
   169  		in, out := &in.ResourceID, &out.ResourceID
   170  		*out = new(string)
   171  		**out = **in
   172  	}
   173  	return
   174  }
   175  
   176  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DNSResponsePolicyRuleSpec.
   177  func (in *DNSResponsePolicyRuleSpec) DeepCopy() *DNSResponsePolicyRuleSpec {
   178  	if in == nil {
   179  		return nil
   180  	}
   181  	out := new(DNSResponsePolicyRuleSpec)
   182  	in.DeepCopyInto(out)
   183  	return out
   184  }
   185  
   186  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   187  func (in *DNSResponsePolicyRuleStatus) DeepCopyInto(out *DNSResponsePolicyRuleStatus) {
   188  	*out = *in
   189  	if in.Conditions != nil {
   190  		in, out := &in.Conditions, &out.Conditions
   191  		*out = make([]k8sv1alpha1.Condition, len(*in))
   192  		copy(*out, *in)
   193  	}
   194  	if in.ObservedGeneration != nil {
   195  		in, out := &in.ObservedGeneration, &out.ObservedGeneration
   196  		*out = new(int)
   197  		**out = **in
   198  	}
   199  	return
   200  }
   201  
   202  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DNSResponsePolicyRuleStatus.
   203  func (in *DNSResponsePolicyRuleStatus) DeepCopy() *DNSResponsePolicyRuleStatus {
   204  	if in == nil {
   205  		return nil
   206  	}
   207  	out := new(DNSResponsePolicyRuleStatus)
   208  	in.DeepCopyInto(out)
   209  	return out
   210  }
   211  
   212  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   213  func (in *DNSResponsePolicySpec) DeepCopyInto(out *DNSResponsePolicySpec) {
   214  	*out = *in
   215  	if in.Description != nil {
   216  		in, out := &in.Description, &out.Description
   217  		*out = new(string)
   218  		**out = **in
   219  	}
   220  	if in.GkeClusters != nil {
   221  		in, out := &in.GkeClusters, &out.GkeClusters
   222  		*out = make([]ResponsepolicyGkeClusters, len(*in))
   223  		copy(*out, *in)
   224  	}
   225  	if in.Networks != nil {
   226  		in, out := &in.Networks, &out.Networks
   227  		*out = make([]ResponsepolicyNetworks, len(*in))
   228  		copy(*out, *in)
   229  	}
   230  	out.ProjectRef = in.ProjectRef
   231  	if in.ResourceID != nil {
   232  		in, out := &in.ResourceID, &out.ResourceID
   233  		*out = new(string)
   234  		**out = **in
   235  	}
   236  	return
   237  }
   238  
   239  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DNSResponsePolicySpec.
   240  func (in *DNSResponsePolicySpec) DeepCopy() *DNSResponsePolicySpec {
   241  	if in == nil {
   242  		return nil
   243  	}
   244  	out := new(DNSResponsePolicySpec)
   245  	in.DeepCopyInto(out)
   246  	return out
   247  }
   248  
   249  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   250  func (in *DNSResponsePolicyStatus) DeepCopyInto(out *DNSResponsePolicyStatus) {
   251  	*out = *in
   252  	if in.Conditions != nil {
   253  		in, out := &in.Conditions, &out.Conditions
   254  		*out = make([]k8sv1alpha1.Condition, len(*in))
   255  		copy(*out, *in)
   256  	}
   257  	if in.ObservedGeneration != nil {
   258  		in, out := &in.ObservedGeneration, &out.ObservedGeneration
   259  		*out = new(int)
   260  		**out = **in
   261  	}
   262  	return
   263  }
   264  
   265  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DNSResponsePolicyStatus.
   266  func (in *DNSResponsePolicyStatus) DeepCopy() *DNSResponsePolicyStatus {
   267  	if in == nil {
   268  		return nil
   269  	}
   270  	out := new(DNSResponsePolicyStatus)
   271  	in.DeepCopyInto(out)
   272  	return out
   273  }
   274  
   275  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   276  func (in *ResponsepolicyGkeClusters) DeepCopyInto(out *ResponsepolicyGkeClusters) {
   277  	*out = *in
   278  	return
   279  }
   280  
   281  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResponsepolicyGkeClusters.
   282  func (in *ResponsepolicyGkeClusters) DeepCopy() *ResponsepolicyGkeClusters {
   283  	if in == nil {
   284  		return nil
   285  	}
   286  	out := new(ResponsepolicyGkeClusters)
   287  	in.DeepCopyInto(out)
   288  	return out
   289  }
   290  
   291  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   292  func (in *ResponsepolicyNetworks) DeepCopyInto(out *ResponsepolicyNetworks) {
   293  	*out = *in
   294  	return
   295  }
   296  
   297  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResponsepolicyNetworks.
   298  func (in *ResponsepolicyNetworks) DeepCopy() *ResponsepolicyNetworks {
   299  	if in == nil {
   300  		return nil
   301  	}
   302  	out := new(ResponsepolicyNetworks)
   303  	in.DeepCopyInto(out)
   304  	return out
   305  }
   306  
   307  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   308  func (in *ResponsepolicyruleLocalData) DeepCopyInto(out *ResponsepolicyruleLocalData) {
   309  	*out = *in
   310  	if in.LocalDatas != nil {
   311  		in, out := &in.LocalDatas, &out.LocalDatas
   312  		*out = make([]ResponsepolicyruleLocalDatas, len(*in))
   313  		for i := range *in {
   314  			(*in)[i].DeepCopyInto(&(*out)[i])
   315  		}
   316  	}
   317  	return
   318  }
   319  
   320  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResponsepolicyruleLocalData.
   321  func (in *ResponsepolicyruleLocalData) DeepCopy() *ResponsepolicyruleLocalData {
   322  	if in == nil {
   323  		return nil
   324  	}
   325  	out := new(ResponsepolicyruleLocalData)
   326  	in.DeepCopyInto(out)
   327  	return out
   328  }
   329  
   330  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   331  func (in *ResponsepolicyruleLocalDatas) DeepCopyInto(out *ResponsepolicyruleLocalDatas) {
   332  	*out = *in
   333  	if in.Rrdatas != nil {
   334  		in, out := &in.Rrdatas, &out.Rrdatas
   335  		*out = make([]string, len(*in))
   336  		copy(*out, *in)
   337  	}
   338  	if in.Ttl != nil {
   339  		in, out := &in.Ttl, &out.Ttl
   340  		*out = new(int)
   341  		**out = **in
   342  	}
   343  	return
   344  }
   345  
   346  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResponsepolicyruleLocalDatas.
   347  func (in *ResponsepolicyruleLocalDatas) DeepCopy() *ResponsepolicyruleLocalDatas {
   348  	if in == nil {
   349  		return nil
   350  	}
   351  	out := new(ResponsepolicyruleLocalDatas)
   352  	in.DeepCopyInto(out)
   353  	return out
   354  }
   355  

View as plain text