...

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

Documentation: github.com/GoogleCloudPlatform/k8s-config-connector/pkg/clients/generated/apis/serviceusage/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 *ServiceUsageConsumerQuotaOverride) DeepCopyInto(out *ServiceUsageConsumerQuotaOverride) {
    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 ServiceUsageConsumerQuotaOverride.
    43  func (in *ServiceUsageConsumerQuotaOverride) DeepCopy() *ServiceUsageConsumerQuotaOverride {
    44  	if in == nil {
    45  		return nil
    46  	}
    47  	out := new(ServiceUsageConsumerQuotaOverride)
    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 *ServiceUsageConsumerQuotaOverride) 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 *ServiceUsageConsumerQuotaOverrideList) DeepCopyInto(out *ServiceUsageConsumerQuotaOverrideList) {
    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([]ServiceUsageConsumerQuotaOverride, 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 ServiceUsageConsumerQuotaOverrideList.
    76  func (in *ServiceUsageConsumerQuotaOverrideList) DeepCopy() *ServiceUsageConsumerQuotaOverrideList {
    77  	if in == nil {
    78  		return nil
    79  	}
    80  	out := new(ServiceUsageConsumerQuotaOverrideList)
    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 *ServiceUsageConsumerQuotaOverrideList) 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 *ServiceUsageConsumerQuotaOverrideSpec) DeepCopyInto(out *ServiceUsageConsumerQuotaOverrideSpec) {
    95  	*out = *in
    96  	if in.Dimensions != nil {
    97  		in, out := &in.Dimensions, &out.Dimensions
    98  		*out = make(map[string]string, len(*in))
    99  		for key, val := range *in {
   100  			(*out)[key] = val
   101  		}
   102  	}
   103  	if in.Force != nil {
   104  		in, out := &in.Force, &out.Force
   105  		*out = new(bool)
   106  		**out = **in
   107  	}
   108  	out.ProjectRef = in.ProjectRef
   109  	if in.ResourceID != nil {
   110  		in, out := &in.ResourceID, &out.ResourceID
   111  		*out = new(string)
   112  		**out = **in
   113  	}
   114  	return
   115  }
   116  
   117  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceUsageConsumerQuotaOverrideSpec.
   118  func (in *ServiceUsageConsumerQuotaOverrideSpec) DeepCopy() *ServiceUsageConsumerQuotaOverrideSpec {
   119  	if in == nil {
   120  		return nil
   121  	}
   122  	out := new(ServiceUsageConsumerQuotaOverrideSpec)
   123  	in.DeepCopyInto(out)
   124  	return out
   125  }
   126  
   127  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   128  func (in *ServiceUsageConsumerQuotaOverrideStatus) DeepCopyInto(out *ServiceUsageConsumerQuotaOverrideStatus) {
   129  	*out = *in
   130  	if in.Conditions != nil {
   131  		in, out := &in.Conditions, &out.Conditions
   132  		*out = make([]k8sv1alpha1.Condition, len(*in))
   133  		copy(*out, *in)
   134  	}
   135  	if in.Name != nil {
   136  		in, out := &in.Name, &out.Name
   137  		*out = new(string)
   138  		**out = **in
   139  	}
   140  	if in.ObservedGeneration != nil {
   141  		in, out := &in.ObservedGeneration, &out.ObservedGeneration
   142  		*out = new(int)
   143  		**out = **in
   144  	}
   145  	return
   146  }
   147  
   148  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceUsageConsumerQuotaOverrideStatus.
   149  func (in *ServiceUsageConsumerQuotaOverrideStatus) DeepCopy() *ServiceUsageConsumerQuotaOverrideStatus {
   150  	if in == nil {
   151  		return nil
   152  	}
   153  	out := new(ServiceUsageConsumerQuotaOverrideStatus)
   154  	in.DeepCopyInto(out)
   155  	return out
   156  }
   157  

View as plain text