...

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

Documentation: github.com/GoogleCloudPlatform/k8s-config-connector/pkg/clients/generated/apis/sourcerepo/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 *RepositoryPubsubConfigs) DeepCopyInto(out *RepositoryPubsubConfigs) {
    34  	*out = *in
    35  	if in.ServiceAccountRef != nil {
    36  		in, out := &in.ServiceAccountRef, &out.ServiceAccountRef
    37  		*out = new(v1alpha1.ResourceRef)
    38  		**out = **in
    39  	}
    40  	out.TopicRef = in.TopicRef
    41  	return
    42  }
    43  
    44  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositoryPubsubConfigs.
    45  func (in *RepositoryPubsubConfigs) DeepCopy() *RepositoryPubsubConfigs {
    46  	if in == nil {
    47  		return nil
    48  	}
    49  	out := new(RepositoryPubsubConfigs)
    50  	in.DeepCopyInto(out)
    51  	return out
    52  }
    53  
    54  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    55  func (in *SourceRepoRepository) DeepCopyInto(out *SourceRepoRepository) {
    56  	*out = *in
    57  	out.TypeMeta = in.TypeMeta
    58  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
    59  	in.Spec.DeepCopyInto(&out.Spec)
    60  	in.Status.DeepCopyInto(&out.Status)
    61  	return
    62  }
    63  
    64  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourceRepoRepository.
    65  func (in *SourceRepoRepository) DeepCopy() *SourceRepoRepository {
    66  	if in == nil {
    67  		return nil
    68  	}
    69  	out := new(SourceRepoRepository)
    70  	in.DeepCopyInto(out)
    71  	return out
    72  }
    73  
    74  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    75  func (in *SourceRepoRepository) DeepCopyObject() runtime.Object {
    76  	if c := in.DeepCopy(); c != nil {
    77  		return c
    78  	}
    79  	return nil
    80  }
    81  
    82  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    83  func (in *SourceRepoRepositoryList) DeepCopyInto(out *SourceRepoRepositoryList) {
    84  	*out = *in
    85  	out.TypeMeta = in.TypeMeta
    86  	in.ListMeta.DeepCopyInto(&out.ListMeta)
    87  	if in.Items != nil {
    88  		in, out := &in.Items, &out.Items
    89  		*out = make([]SourceRepoRepository, len(*in))
    90  		for i := range *in {
    91  			(*in)[i].DeepCopyInto(&(*out)[i])
    92  		}
    93  	}
    94  	return
    95  }
    96  
    97  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourceRepoRepositoryList.
    98  func (in *SourceRepoRepositoryList) DeepCopy() *SourceRepoRepositoryList {
    99  	if in == nil {
   100  		return nil
   101  	}
   102  	out := new(SourceRepoRepositoryList)
   103  	in.DeepCopyInto(out)
   104  	return out
   105  }
   106  
   107  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   108  func (in *SourceRepoRepositoryList) DeepCopyObject() runtime.Object {
   109  	if c := in.DeepCopy(); c != nil {
   110  		return c
   111  	}
   112  	return nil
   113  }
   114  
   115  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   116  func (in *SourceRepoRepositorySpec) DeepCopyInto(out *SourceRepoRepositorySpec) {
   117  	*out = *in
   118  	if in.PubsubConfigs != nil {
   119  		in, out := &in.PubsubConfigs, &out.PubsubConfigs
   120  		*out = make([]RepositoryPubsubConfigs, len(*in))
   121  		for i := range *in {
   122  			(*in)[i].DeepCopyInto(&(*out)[i])
   123  		}
   124  	}
   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 SourceRepoRepositorySpec.
   134  func (in *SourceRepoRepositorySpec) DeepCopy() *SourceRepoRepositorySpec {
   135  	if in == nil {
   136  		return nil
   137  	}
   138  	out := new(SourceRepoRepositorySpec)
   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 *SourceRepoRepositoryStatus) DeepCopyInto(out *SourceRepoRepositoryStatus) {
   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.ObservedGeneration != nil {
   152  		in, out := &in.ObservedGeneration, &out.ObservedGeneration
   153  		*out = new(int)
   154  		**out = **in
   155  	}
   156  	if in.Size != nil {
   157  		in, out := &in.Size, &out.Size
   158  		*out = new(int)
   159  		**out = **in
   160  	}
   161  	if in.Url != nil {
   162  		in, out := &in.Url, &out.Url
   163  		*out = new(string)
   164  		**out = **in
   165  	}
   166  	return
   167  }
   168  
   169  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourceRepoRepositoryStatus.
   170  func (in *SourceRepoRepositoryStatus) DeepCopy() *SourceRepoRepositoryStatus {
   171  	if in == nil {
   172  		return nil
   173  	}
   174  	out := new(SourceRepoRepositoryStatus)
   175  	in.DeepCopyInto(out)
   176  	return out
   177  }
   178  

View as plain text