...

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

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

View as plain text