...

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

Documentation: github.com/GoogleCloudPlatform/k8s-config-connector/pkg/clients/generated/apis/cloudscheduler/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 *CloudSchedulerJob) DeepCopyInto(out *CloudSchedulerJob) {
    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 CloudSchedulerJob.
    43  func (in *CloudSchedulerJob) DeepCopy() *CloudSchedulerJob {
    44  	if in == nil {
    45  		return nil
    46  	}
    47  	out := new(CloudSchedulerJob)
    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 *CloudSchedulerJob) 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 *CloudSchedulerJobList) DeepCopyInto(out *CloudSchedulerJobList) {
    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([]CloudSchedulerJob, 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 CloudSchedulerJobList.
    76  func (in *CloudSchedulerJobList) DeepCopy() *CloudSchedulerJobList {
    77  	if in == nil {
    78  		return nil
    79  	}
    80  	out := new(CloudSchedulerJobList)
    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 *CloudSchedulerJobList) 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 *CloudSchedulerJobSpec) DeepCopyInto(out *CloudSchedulerJobSpec) {
    95  	*out = *in
    96  	if in.AppEngineHttpTarget != nil {
    97  		in, out := &in.AppEngineHttpTarget, &out.AppEngineHttpTarget
    98  		*out = new(JobAppEngineHttpTarget)
    99  		(*in).DeepCopyInto(*out)
   100  	}
   101  	if in.AttemptDeadline != nil {
   102  		in, out := &in.AttemptDeadline, &out.AttemptDeadline
   103  		*out = new(string)
   104  		**out = **in
   105  	}
   106  	if in.Description != nil {
   107  		in, out := &in.Description, &out.Description
   108  		*out = new(string)
   109  		**out = **in
   110  	}
   111  	if in.HttpTarget != nil {
   112  		in, out := &in.HttpTarget, &out.HttpTarget
   113  		*out = new(JobHttpTarget)
   114  		(*in).DeepCopyInto(*out)
   115  	}
   116  	if in.PubsubTarget != nil {
   117  		in, out := &in.PubsubTarget, &out.PubsubTarget
   118  		*out = new(JobPubsubTarget)
   119  		(*in).DeepCopyInto(*out)
   120  	}
   121  	if in.ResourceID != nil {
   122  		in, out := &in.ResourceID, &out.ResourceID
   123  		*out = new(string)
   124  		**out = **in
   125  	}
   126  	if in.RetryConfig != nil {
   127  		in, out := &in.RetryConfig, &out.RetryConfig
   128  		*out = new(JobRetryConfig)
   129  		(*in).DeepCopyInto(*out)
   130  	}
   131  	if in.Schedule != nil {
   132  		in, out := &in.Schedule, &out.Schedule
   133  		*out = new(string)
   134  		**out = **in
   135  	}
   136  	if in.TimeZone != nil {
   137  		in, out := &in.TimeZone, &out.TimeZone
   138  		*out = new(string)
   139  		**out = **in
   140  	}
   141  	return
   142  }
   143  
   144  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudSchedulerJobSpec.
   145  func (in *CloudSchedulerJobSpec) DeepCopy() *CloudSchedulerJobSpec {
   146  	if in == nil {
   147  		return nil
   148  	}
   149  	out := new(CloudSchedulerJobSpec)
   150  	in.DeepCopyInto(out)
   151  	return out
   152  }
   153  
   154  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   155  func (in *CloudSchedulerJobStatus) DeepCopyInto(out *CloudSchedulerJobStatus) {
   156  	*out = *in
   157  	if in.Conditions != nil {
   158  		in, out := &in.Conditions, &out.Conditions
   159  		*out = make([]v1alpha1.Condition, len(*in))
   160  		copy(*out, *in)
   161  	}
   162  	if in.AppEngineHttpTarget != nil {
   163  		in, out := &in.AppEngineHttpTarget, &out.AppEngineHttpTarget
   164  		*out = new(JobAppEngineHttpTargetStatus)
   165  		(*in).DeepCopyInto(*out)
   166  	}
   167  	if in.LastAttemptTime != nil {
   168  		in, out := &in.LastAttemptTime, &out.LastAttemptTime
   169  		*out = new(string)
   170  		**out = **in
   171  	}
   172  	if in.ObservedGeneration != nil {
   173  		in, out := &in.ObservedGeneration, &out.ObservedGeneration
   174  		*out = new(int)
   175  		**out = **in
   176  	}
   177  	if in.ScheduleTime != nil {
   178  		in, out := &in.ScheduleTime, &out.ScheduleTime
   179  		*out = new(string)
   180  		**out = **in
   181  	}
   182  	if in.State != nil {
   183  		in, out := &in.State, &out.State
   184  		*out = new(string)
   185  		**out = **in
   186  	}
   187  	if in.Status != nil {
   188  		in, out := &in.Status, &out.Status
   189  		*out = new(JobStatusStatus)
   190  		(*in).DeepCopyInto(*out)
   191  	}
   192  	if in.UserUpdateTime != nil {
   193  		in, out := &in.UserUpdateTime, &out.UserUpdateTime
   194  		*out = new(string)
   195  		**out = **in
   196  	}
   197  	return
   198  }
   199  
   200  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudSchedulerJobStatus.
   201  func (in *CloudSchedulerJobStatus) DeepCopy() *CloudSchedulerJobStatus {
   202  	if in == nil {
   203  		return nil
   204  	}
   205  	out := new(CloudSchedulerJobStatus)
   206  	in.DeepCopyInto(out)
   207  	return out
   208  }
   209  
   210  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   211  func (in *JobAppEngineHttpTarget) DeepCopyInto(out *JobAppEngineHttpTarget) {
   212  	*out = *in
   213  	if in.AppEngineRouting != nil {
   214  		in, out := &in.AppEngineRouting, &out.AppEngineRouting
   215  		*out = new(JobAppEngineRouting)
   216  		(*in).DeepCopyInto(*out)
   217  	}
   218  	if in.Body != nil {
   219  		in, out := &in.Body, &out.Body
   220  		*out = new(string)
   221  		**out = **in
   222  	}
   223  	if in.Headers != nil {
   224  		in, out := &in.Headers, &out.Headers
   225  		*out = make(map[string]string, len(*in))
   226  		for key, val := range *in {
   227  			(*out)[key] = val
   228  		}
   229  	}
   230  	if in.HttpMethod != nil {
   231  		in, out := &in.HttpMethod, &out.HttpMethod
   232  		*out = new(string)
   233  		**out = **in
   234  	}
   235  	if in.RelativeUri != nil {
   236  		in, out := &in.RelativeUri, &out.RelativeUri
   237  		*out = new(string)
   238  		**out = **in
   239  	}
   240  	return
   241  }
   242  
   243  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobAppEngineHttpTarget.
   244  func (in *JobAppEngineHttpTarget) DeepCopy() *JobAppEngineHttpTarget {
   245  	if in == nil {
   246  		return nil
   247  	}
   248  	out := new(JobAppEngineHttpTarget)
   249  	in.DeepCopyInto(out)
   250  	return out
   251  }
   252  
   253  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   254  func (in *JobAppEngineHttpTargetStatus) DeepCopyInto(out *JobAppEngineHttpTargetStatus) {
   255  	*out = *in
   256  	if in.AppEngineRouting != nil {
   257  		in, out := &in.AppEngineRouting, &out.AppEngineRouting
   258  		*out = new(JobAppEngineRoutingStatus)
   259  		(*in).DeepCopyInto(*out)
   260  	}
   261  	return
   262  }
   263  
   264  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobAppEngineHttpTargetStatus.
   265  func (in *JobAppEngineHttpTargetStatus) DeepCopy() *JobAppEngineHttpTargetStatus {
   266  	if in == nil {
   267  		return nil
   268  	}
   269  	out := new(JobAppEngineHttpTargetStatus)
   270  	in.DeepCopyInto(out)
   271  	return out
   272  }
   273  
   274  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   275  func (in *JobAppEngineRouting) DeepCopyInto(out *JobAppEngineRouting) {
   276  	*out = *in
   277  	if in.Instance != nil {
   278  		in, out := &in.Instance, &out.Instance
   279  		*out = new(string)
   280  		**out = **in
   281  	}
   282  	if in.Service != nil {
   283  		in, out := &in.Service, &out.Service
   284  		*out = new(string)
   285  		**out = **in
   286  	}
   287  	if in.Version != nil {
   288  		in, out := &in.Version, &out.Version
   289  		*out = new(string)
   290  		**out = **in
   291  	}
   292  	return
   293  }
   294  
   295  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobAppEngineRouting.
   296  func (in *JobAppEngineRouting) DeepCopy() *JobAppEngineRouting {
   297  	if in == nil {
   298  		return nil
   299  	}
   300  	out := new(JobAppEngineRouting)
   301  	in.DeepCopyInto(out)
   302  	return out
   303  }
   304  
   305  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   306  func (in *JobAppEngineRoutingStatus) DeepCopyInto(out *JobAppEngineRoutingStatus) {
   307  	*out = *in
   308  	if in.Host != nil {
   309  		in, out := &in.Host, &out.Host
   310  		*out = new(string)
   311  		**out = **in
   312  	}
   313  	return
   314  }
   315  
   316  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobAppEngineRoutingStatus.
   317  func (in *JobAppEngineRoutingStatus) DeepCopy() *JobAppEngineRoutingStatus {
   318  	if in == nil {
   319  		return nil
   320  	}
   321  	out := new(JobAppEngineRoutingStatus)
   322  	in.DeepCopyInto(out)
   323  	return out
   324  }
   325  
   326  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   327  func (in *JobDetailsStatus) DeepCopyInto(out *JobDetailsStatus) {
   328  	*out = *in
   329  	if in.TypeUrl != nil {
   330  		in, out := &in.TypeUrl, &out.TypeUrl
   331  		*out = new(string)
   332  		**out = **in
   333  	}
   334  	if in.Value != nil {
   335  		in, out := &in.Value, &out.Value
   336  		*out = new(string)
   337  		**out = **in
   338  	}
   339  	return
   340  }
   341  
   342  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobDetailsStatus.
   343  func (in *JobDetailsStatus) DeepCopy() *JobDetailsStatus {
   344  	if in == nil {
   345  		return nil
   346  	}
   347  	out := new(JobDetailsStatus)
   348  	in.DeepCopyInto(out)
   349  	return out
   350  }
   351  
   352  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   353  func (in *JobHttpTarget) DeepCopyInto(out *JobHttpTarget) {
   354  	*out = *in
   355  	if in.Body != nil {
   356  		in, out := &in.Body, &out.Body
   357  		*out = new(string)
   358  		**out = **in
   359  	}
   360  	if in.Headers != nil {
   361  		in, out := &in.Headers, &out.Headers
   362  		*out = make(map[string]string, len(*in))
   363  		for key, val := range *in {
   364  			(*out)[key] = val
   365  		}
   366  	}
   367  	if in.HttpMethod != nil {
   368  		in, out := &in.HttpMethod, &out.HttpMethod
   369  		*out = new(string)
   370  		**out = **in
   371  	}
   372  	if in.OauthToken != nil {
   373  		in, out := &in.OauthToken, &out.OauthToken
   374  		*out = new(JobOauthToken)
   375  		(*in).DeepCopyInto(*out)
   376  	}
   377  	if in.OidcToken != nil {
   378  		in, out := &in.OidcToken, &out.OidcToken
   379  		*out = new(JobOidcToken)
   380  		(*in).DeepCopyInto(*out)
   381  	}
   382  	return
   383  }
   384  
   385  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobHttpTarget.
   386  func (in *JobHttpTarget) DeepCopy() *JobHttpTarget {
   387  	if in == nil {
   388  		return nil
   389  	}
   390  	out := new(JobHttpTarget)
   391  	in.DeepCopyInto(out)
   392  	return out
   393  }
   394  
   395  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   396  func (in *JobOauthToken) DeepCopyInto(out *JobOauthToken) {
   397  	*out = *in
   398  	if in.Scope != nil {
   399  		in, out := &in.Scope, &out.Scope
   400  		*out = new(string)
   401  		**out = **in
   402  	}
   403  	if in.ServiceAccountRef != nil {
   404  		in, out := &in.ServiceAccountRef, &out.ServiceAccountRef
   405  		*out = new(v1alpha1.ResourceRef)
   406  		**out = **in
   407  	}
   408  	return
   409  }
   410  
   411  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobOauthToken.
   412  func (in *JobOauthToken) DeepCopy() *JobOauthToken {
   413  	if in == nil {
   414  		return nil
   415  	}
   416  	out := new(JobOauthToken)
   417  	in.DeepCopyInto(out)
   418  	return out
   419  }
   420  
   421  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   422  func (in *JobOidcToken) DeepCopyInto(out *JobOidcToken) {
   423  	*out = *in
   424  	if in.Audience != nil {
   425  		in, out := &in.Audience, &out.Audience
   426  		*out = new(string)
   427  		**out = **in
   428  	}
   429  	if in.ServiceAccountRef != nil {
   430  		in, out := &in.ServiceAccountRef, &out.ServiceAccountRef
   431  		*out = new(v1alpha1.ResourceRef)
   432  		**out = **in
   433  	}
   434  	return
   435  }
   436  
   437  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobOidcToken.
   438  func (in *JobOidcToken) DeepCopy() *JobOidcToken {
   439  	if in == nil {
   440  		return nil
   441  	}
   442  	out := new(JobOidcToken)
   443  	in.DeepCopyInto(out)
   444  	return out
   445  }
   446  
   447  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   448  func (in *JobPubsubTarget) DeepCopyInto(out *JobPubsubTarget) {
   449  	*out = *in
   450  	if in.Attributes != nil {
   451  		in, out := &in.Attributes, &out.Attributes
   452  		*out = make(map[string]string, len(*in))
   453  		for key, val := range *in {
   454  			(*out)[key] = val
   455  		}
   456  	}
   457  	if in.Data != nil {
   458  		in, out := &in.Data, &out.Data
   459  		*out = new(string)
   460  		**out = **in
   461  	}
   462  	out.TopicRef = in.TopicRef
   463  	return
   464  }
   465  
   466  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobPubsubTarget.
   467  func (in *JobPubsubTarget) DeepCopy() *JobPubsubTarget {
   468  	if in == nil {
   469  		return nil
   470  	}
   471  	out := new(JobPubsubTarget)
   472  	in.DeepCopyInto(out)
   473  	return out
   474  }
   475  
   476  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   477  func (in *JobRetryConfig) DeepCopyInto(out *JobRetryConfig) {
   478  	*out = *in
   479  	if in.MaxBackoffDuration != nil {
   480  		in, out := &in.MaxBackoffDuration, &out.MaxBackoffDuration
   481  		*out = new(string)
   482  		**out = **in
   483  	}
   484  	if in.MaxDoublings != nil {
   485  		in, out := &in.MaxDoublings, &out.MaxDoublings
   486  		*out = new(int)
   487  		**out = **in
   488  	}
   489  	if in.MaxRetryDuration != nil {
   490  		in, out := &in.MaxRetryDuration, &out.MaxRetryDuration
   491  		*out = new(string)
   492  		**out = **in
   493  	}
   494  	if in.MinBackoffDuration != nil {
   495  		in, out := &in.MinBackoffDuration, &out.MinBackoffDuration
   496  		*out = new(string)
   497  		**out = **in
   498  	}
   499  	if in.RetryCount != nil {
   500  		in, out := &in.RetryCount, &out.RetryCount
   501  		*out = new(int)
   502  		**out = **in
   503  	}
   504  	return
   505  }
   506  
   507  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobRetryConfig.
   508  func (in *JobRetryConfig) DeepCopy() *JobRetryConfig {
   509  	if in == nil {
   510  		return nil
   511  	}
   512  	out := new(JobRetryConfig)
   513  	in.DeepCopyInto(out)
   514  	return out
   515  }
   516  
   517  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   518  func (in *JobStatusStatus) DeepCopyInto(out *JobStatusStatus) {
   519  	*out = *in
   520  	if in.Code != nil {
   521  		in, out := &in.Code, &out.Code
   522  		*out = new(int)
   523  		**out = **in
   524  	}
   525  	if in.Details != nil {
   526  		in, out := &in.Details, &out.Details
   527  		*out = make([]JobDetailsStatus, len(*in))
   528  		for i := range *in {
   529  			(*in)[i].DeepCopyInto(&(*out)[i])
   530  		}
   531  	}
   532  	if in.Message != nil {
   533  		in, out := &in.Message, &out.Message
   534  		*out = new(string)
   535  		**out = **in
   536  	}
   537  	return
   538  }
   539  
   540  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobStatusStatus.
   541  func (in *JobStatusStatus) DeepCopy() *JobStatusStatus {
   542  	if in == nil {
   543  		return nil
   544  	}
   545  	out := new(JobStatusStatus)
   546  	in.DeepCopyInto(out)
   547  	return out
   548  }
   549  

View as plain text