...

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

Documentation: github.com/GoogleCloudPlatform/k8s-config-connector/pkg/clients/generated/apis/serviceusage/v1beta1

     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 v1beta1
    26  
    27  import (
    28  	v1alpha1 "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 *Service) DeepCopyInto(out *Service) {
    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 Service.
    43  func (in *Service) DeepCopy() *Service {
    44  	if in == nil {
    45  		return nil
    46  	}
    47  	out := new(Service)
    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 *Service) 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 *ServiceIdentity) DeepCopyInto(out *ServiceIdentity) {
    62  	*out = *in
    63  	out.TypeMeta = in.TypeMeta
    64  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
    65  	in.Spec.DeepCopyInto(&out.Spec)
    66  	in.Status.DeepCopyInto(&out.Status)
    67  	return
    68  }
    69  
    70  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceIdentity.
    71  func (in *ServiceIdentity) DeepCopy() *ServiceIdentity {
    72  	if in == nil {
    73  		return nil
    74  	}
    75  	out := new(ServiceIdentity)
    76  	in.DeepCopyInto(out)
    77  	return out
    78  }
    79  
    80  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    81  func (in *ServiceIdentity) DeepCopyObject() runtime.Object {
    82  	if c := in.DeepCopy(); c != nil {
    83  		return c
    84  	}
    85  	return nil
    86  }
    87  
    88  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    89  func (in *ServiceIdentityList) DeepCopyInto(out *ServiceIdentityList) {
    90  	*out = *in
    91  	out.TypeMeta = in.TypeMeta
    92  	in.ListMeta.DeepCopyInto(&out.ListMeta)
    93  	if in.Items != nil {
    94  		in, out := &in.Items, &out.Items
    95  		*out = make([]ServiceIdentity, len(*in))
    96  		for i := range *in {
    97  			(*in)[i].DeepCopyInto(&(*out)[i])
    98  		}
    99  	}
   100  	return
   101  }
   102  
   103  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceIdentityList.
   104  func (in *ServiceIdentityList) DeepCopy() *ServiceIdentityList {
   105  	if in == nil {
   106  		return nil
   107  	}
   108  	out := new(ServiceIdentityList)
   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 *ServiceIdentityList) 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 *ServiceIdentitySpec) DeepCopyInto(out *ServiceIdentitySpec) {
   123  	*out = *in
   124  	out.ProjectRef = in.ProjectRef
   125  	if in.ResourceID != nil {
   126  		in, out := &in.ResourceID, &out.ResourceID
   127  		*out = new(string)
   128  		**out = **in
   129  	}
   130  	return
   131  }
   132  
   133  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceIdentitySpec.
   134  func (in *ServiceIdentitySpec) DeepCopy() *ServiceIdentitySpec {
   135  	if in == nil {
   136  		return nil
   137  	}
   138  	out := new(ServiceIdentitySpec)
   139  	in.DeepCopyInto(out)
   140  	return out
   141  }
   142  
   143  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   144  func (in *ServiceIdentityStatus) DeepCopyInto(out *ServiceIdentityStatus) {
   145  	*out = *in
   146  	if in.Conditions != nil {
   147  		in, out := &in.Conditions, &out.Conditions
   148  		*out = make([]v1alpha1.Condition, len(*in))
   149  		copy(*out, *in)
   150  	}
   151  	if in.Email != nil {
   152  		in, out := &in.Email, &out.Email
   153  		*out = new(string)
   154  		**out = **in
   155  	}
   156  	if in.ObservedGeneration != nil {
   157  		in, out := &in.ObservedGeneration, &out.ObservedGeneration
   158  		*out = new(int)
   159  		**out = **in
   160  	}
   161  	return
   162  }
   163  
   164  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceIdentityStatus.
   165  func (in *ServiceIdentityStatus) DeepCopy() *ServiceIdentityStatus {
   166  	if in == nil {
   167  		return nil
   168  	}
   169  	out := new(ServiceIdentityStatus)
   170  	in.DeepCopyInto(out)
   171  	return out
   172  }
   173  
   174  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   175  func (in *ServiceList) DeepCopyInto(out *ServiceList) {
   176  	*out = *in
   177  	out.TypeMeta = in.TypeMeta
   178  	in.ListMeta.DeepCopyInto(&out.ListMeta)
   179  	if in.Items != nil {
   180  		in, out := &in.Items, &out.Items
   181  		*out = make([]Service, len(*in))
   182  		for i := range *in {
   183  			(*in)[i].DeepCopyInto(&(*out)[i])
   184  		}
   185  	}
   186  	return
   187  }
   188  
   189  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceList.
   190  func (in *ServiceList) DeepCopy() *ServiceList {
   191  	if in == nil {
   192  		return nil
   193  	}
   194  	out := new(ServiceList)
   195  	in.DeepCopyInto(out)
   196  	return out
   197  }
   198  
   199  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   200  func (in *ServiceList) DeepCopyObject() runtime.Object {
   201  	if c := in.DeepCopy(); c != nil {
   202  		return c
   203  	}
   204  	return nil
   205  }
   206  
   207  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   208  func (in *ServiceSpec) DeepCopyInto(out *ServiceSpec) {
   209  	*out = *in
   210  	if in.ProjectRef != nil {
   211  		in, out := &in.ProjectRef, &out.ProjectRef
   212  		*out = new(v1alpha1.ResourceRef)
   213  		**out = **in
   214  	}
   215  	if in.ResourceID != nil {
   216  		in, out := &in.ResourceID, &out.ResourceID
   217  		*out = new(string)
   218  		**out = **in
   219  	}
   220  	return
   221  }
   222  
   223  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceSpec.
   224  func (in *ServiceSpec) DeepCopy() *ServiceSpec {
   225  	if in == nil {
   226  		return nil
   227  	}
   228  	out := new(ServiceSpec)
   229  	in.DeepCopyInto(out)
   230  	return out
   231  }
   232  
   233  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   234  func (in *ServiceStatus) DeepCopyInto(out *ServiceStatus) {
   235  	*out = *in
   236  	if in.Conditions != nil {
   237  		in, out := &in.Conditions, &out.Conditions
   238  		*out = make([]v1alpha1.Condition, len(*in))
   239  		copy(*out, *in)
   240  	}
   241  	if in.ObservedGeneration != nil {
   242  		in, out := &in.ObservedGeneration, &out.ObservedGeneration
   243  		*out = new(int)
   244  		**out = **in
   245  	}
   246  	return
   247  }
   248  
   249  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceStatus.
   250  func (in *ServiceStatus) DeepCopy() *ServiceStatus {
   251  	if in == nil {
   252  		return nil
   253  	}
   254  	out := new(ServiceStatus)
   255  	in.DeepCopyInto(out)
   256  	return out
   257  }
   258  

View as plain text