...

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

Documentation: github.com/GoogleCloudPlatform/k8s-config-connector/pkg/clients/generated/apis/pubsublite/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 *PubSubLiteSubscription) DeepCopyInto(out *PubSubLiteSubscription) {
    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 PubSubLiteSubscription.
    43  func (in *PubSubLiteSubscription) DeepCopy() *PubSubLiteSubscription {
    44  	if in == nil {
    45  		return nil
    46  	}
    47  	out := new(PubSubLiteSubscription)
    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 *PubSubLiteSubscription) 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 *PubSubLiteSubscriptionList) DeepCopyInto(out *PubSubLiteSubscriptionList) {
    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([]PubSubLiteSubscription, 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 PubSubLiteSubscriptionList.
    76  func (in *PubSubLiteSubscriptionList) DeepCopy() *PubSubLiteSubscriptionList {
    77  	if in == nil {
    78  		return nil
    79  	}
    80  	out := new(PubSubLiteSubscriptionList)
    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 *PubSubLiteSubscriptionList) 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 *PubSubLiteSubscriptionSpec) DeepCopyInto(out *PubSubLiteSubscriptionSpec) {
    95  	*out = *in
    96  	if in.DeliveryConfig != nil {
    97  		in, out := &in.DeliveryConfig, &out.DeliveryConfig
    98  		*out = new(SubscriptionDeliveryConfig)
    99  		**out = **in
   100  	}
   101  	out.ProjectRef = in.ProjectRef
   102  	if in.Region != nil {
   103  		in, out := &in.Region, &out.Region
   104  		*out = new(string)
   105  		**out = **in
   106  	}
   107  	if in.ResourceID != nil {
   108  		in, out := &in.ResourceID, &out.ResourceID
   109  		*out = new(string)
   110  		**out = **in
   111  	}
   112  	return
   113  }
   114  
   115  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PubSubLiteSubscriptionSpec.
   116  func (in *PubSubLiteSubscriptionSpec) DeepCopy() *PubSubLiteSubscriptionSpec {
   117  	if in == nil {
   118  		return nil
   119  	}
   120  	out := new(PubSubLiteSubscriptionSpec)
   121  	in.DeepCopyInto(out)
   122  	return out
   123  }
   124  
   125  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   126  func (in *PubSubLiteSubscriptionStatus) DeepCopyInto(out *PubSubLiteSubscriptionStatus) {
   127  	*out = *in
   128  	if in.Conditions != nil {
   129  		in, out := &in.Conditions, &out.Conditions
   130  		*out = make([]k8sv1alpha1.Condition, len(*in))
   131  		copy(*out, *in)
   132  	}
   133  	if in.ObservedGeneration != nil {
   134  		in, out := &in.ObservedGeneration, &out.ObservedGeneration
   135  		*out = new(int)
   136  		**out = **in
   137  	}
   138  	return
   139  }
   140  
   141  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PubSubLiteSubscriptionStatus.
   142  func (in *PubSubLiteSubscriptionStatus) DeepCopy() *PubSubLiteSubscriptionStatus {
   143  	if in == nil {
   144  		return nil
   145  	}
   146  	out := new(PubSubLiteSubscriptionStatus)
   147  	in.DeepCopyInto(out)
   148  	return out
   149  }
   150  
   151  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   152  func (in *PubSubLiteTopic) DeepCopyInto(out *PubSubLiteTopic) {
   153  	*out = *in
   154  	out.TypeMeta = in.TypeMeta
   155  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
   156  	in.Spec.DeepCopyInto(&out.Spec)
   157  	in.Status.DeepCopyInto(&out.Status)
   158  	return
   159  }
   160  
   161  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PubSubLiteTopic.
   162  func (in *PubSubLiteTopic) DeepCopy() *PubSubLiteTopic {
   163  	if in == nil {
   164  		return nil
   165  	}
   166  	out := new(PubSubLiteTopic)
   167  	in.DeepCopyInto(out)
   168  	return out
   169  }
   170  
   171  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   172  func (in *PubSubLiteTopic) DeepCopyObject() runtime.Object {
   173  	if c := in.DeepCopy(); c != nil {
   174  		return c
   175  	}
   176  	return nil
   177  }
   178  
   179  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   180  func (in *PubSubLiteTopicList) DeepCopyInto(out *PubSubLiteTopicList) {
   181  	*out = *in
   182  	out.TypeMeta = in.TypeMeta
   183  	in.ListMeta.DeepCopyInto(&out.ListMeta)
   184  	if in.Items != nil {
   185  		in, out := &in.Items, &out.Items
   186  		*out = make([]PubSubLiteTopic, len(*in))
   187  		for i := range *in {
   188  			(*in)[i].DeepCopyInto(&(*out)[i])
   189  		}
   190  	}
   191  	return
   192  }
   193  
   194  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PubSubLiteTopicList.
   195  func (in *PubSubLiteTopicList) DeepCopy() *PubSubLiteTopicList {
   196  	if in == nil {
   197  		return nil
   198  	}
   199  	out := new(PubSubLiteTopicList)
   200  	in.DeepCopyInto(out)
   201  	return out
   202  }
   203  
   204  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   205  func (in *PubSubLiteTopicList) DeepCopyObject() runtime.Object {
   206  	if c := in.DeepCopy(); c != nil {
   207  		return c
   208  	}
   209  	return nil
   210  }
   211  
   212  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   213  func (in *PubSubLiteTopicSpec) DeepCopyInto(out *PubSubLiteTopicSpec) {
   214  	*out = *in
   215  	if in.PartitionConfig != nil {
   216  		in, out := &in.PartitionConfig, &out.PartitionConfig
   217  		*out = new(TopicPartitionConfig)
   218  		(*in).DeepCopyInto(*out)
   219  	}
   220  	out.ProjectRef = in.ProjectRef
   221  	if in.Region != nil {
   222  		in, out := &in.Region, &out.Region
   223  		*out = new(string)
   224  		**out = **in
   225  	}
   226  	if in.ReservationConfig != nil {
   227  		in, out := &in.ReservationConfig, &out.ReservationConfig
   228  		*out = new(TopicReservationConfig)
   229  		(*in).DeepCopyInto(*out)
   230  	}
   231  	if in.ResourceID != nil {
   232  		in, out := &in.ResourceID, &out.ResourceID
   233  		*out = new(string)
   234  		**out = **in
   235  	}
   236  	if in.RetentionConfig != nil {
   237  		in, out := &in.RetentionConfig, &out.RetentionConfig
   238  		*out = new(TopicRetentionConfig)
   239  		(*in).DeepCopyInto(*out)
   240  	}
   241  	return
   242  }
   243  
   244  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PubSubLiteTopicSpec.
   245  func (in *PubSubLiteTopicSpec) DeepCopy() *PubSubLiteTopicSpec {
   246  	if in == nil {
   247  		return nil
   248  	}
   249  	out := new(PubSubLiteTopicSpec)
   250  	in.DeepCopyInto(out)
   251  	return out
   252  }
   253  
   254  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   255  func (in *PubSubLiteTopicStatus) DeepCopyInto(out *PubSubLiteTopicStatus) {
   256  	*out = *in
   257  	if in.Conditions != nil {
   258  		in, out := &in.Conditions, &out.Conditions
   259  		*out = make([]k8sv1alpha1.Condition, len(*in))
   260  		copy(*out, *in)
   261  	}
   262  	if in.ObservedGeneration != nil {
   263  		in, out := &in.ObservedGeneration, &out.ObservedGeneration
   264  		*out = new(int)
   265  		**out = **in
   266  	}
   267  	return
   268  }
   269  
   270  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PubSubLiteTopicStatus.
   271  func (in *PubSubLiteTopicStatus) DeepCopy() *PubSubLiteTopicStatus {
   272  	if in == nil {
   273  		return nil
   274  	}
   275  	out := new(PubSubLiteTopicStatus)
   276  	in.DeepCopyInto(out)
   277  	return out
   278  }
   279  
   280  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   281  func (in *SubscriptionDeliveryConfig) DeepCopyInto(out *SubscriptionDeliveryConfig) {
   282  	*out = *in
   283  	return
   284  }
   285  
   286  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubscriptionDeliveryConfig.
   287  func (in *SubscriptionDeliveryConfig) DeepCopy() *SubscriptionDeliveryConfig {
   288  	if in == nil {
   289  		return nil
   290  	}
   291  	out := new(SubscriptionDeliveryConfig)
   292  	in.DeepCopyInto(out)
   293  	return out
   294  }
   295  
   296  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   297  func (in *TopicCapacity) DeepCopyInto(out *TopicCapacity) {
   298  	*out = *in
   299  	return
   300  }
   301  
   302  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TopicCapacity.
   303  func (in *TopicCapacity) DeepCopy() *TopicCapacity {
   304  	if in == nil {
   305  		return nil
   306  	}
   307  	out := new(TopicCapacity)
   308  	in.DeepCopyInto(out)
   309  	return out
   310  }
   311  
   312  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   313  func (in *TopicPartitionConfig) DeepCopyInto(out *TopicPartitionConfig) {
   314  	*out = *in
   315  	if in.Capacity != nil {
   316  		in, out := &in.Capacity, &out.Capacity
   317  		*out = new(TopicCapacity)
   318  		**out = **in
   319  	}
   320  	return
   321  }
   322  
   323  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TopicPartitionConfig.
   324  func (in *TopicPartitionConfig) DeepCopy() *TopicPartitionConfig {
   325  	if in == nil {
   326  		return nil
   327  	}
   328  	out := new(TopicPartitionConfig)
   329  	in.DeepCopyInto(out)
   330  	return out
   331  }
   332  
   333  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   334  func (in *TopicReservationConfig) DeepCopyInto(out *TopicReservationConfig) {
   335  	*out = *in
   336  	if in.ThroughputReservation != nil {
   337  		in, out := &in.ThroughputReservation, &out.ThroughputReservation
   338  		*out = new(string)
   339  		**out = **in
   340  	}
   341  	return
   342  }
   343  
   344  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TopicReservationConfig.
   345  func (in *TopicReservationConfig) DeepCopy() *TopicReservationConfig {
   346  	if in == nil {
   347  		return nil
   348  	}
   349  	out := new(TopicReservationConfig)
   350  	in.DeepCopyInto(out)
   351  	return out
   352  }
   353  
   354  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   355  func (in *TopicRetentionConfig) DeepCopyInto(out *TopicRetentionConfig) {
   356  	*out = *in
   357  	if in.Period != nil {
   358  		in, out := &in.Period, &out.Period
   359  		*out = new(string)
   360  		**out = **in
   361  	}
   362  	return
   363  }
   364  
   365  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TopicRetentionConfig.
   366  func (in *TopicRetentionConfig) DeepCopy() *TopicRetentionConfig {
   367  	if in == nil {
   368  		return nil
   369  	}
   370  	out := new(TopicRetentionConfig)
   371  	in.DeepCopyInto(out)
   372  	return out
   373  }
   374  

View as plain text