...

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

Documentation: github.com/GoogleCloudPlatform/k8s-config-connector/pkg/clients/generated/apis/artifactregistry/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 *ArtifactRegistryRepository) DeepCopyInto(out *ArtifactRegistryRepository) {
    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 ArtifactRegistryRepository.
    43  func (in *ArtifactRegistryRepository) DeepCopy() *ArtifactRegistryRepository {
    44  	if in == nil {
    45  		return nil
    46  	}
    47  	out := new(ArtifactRegistryRepository)
    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 *ArtifactRegistryRepository) 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 *ArtifactRegistryRepositoryList) DeepCopyInto(out *ArtifactRegistryRepositoryList) {
    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([]ArtifactRegistryRepository, 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 ArtifactRegistryRepositoryList.
    76  func (in *ArtifactRegistryRepositoryList) DeepCopy() *ArtifactRegistryRepositoryList {
    77  	if in == nil {
    78  		return nil
    79  	}
    80  	out := new(ArtifactRegistryRepositoryList)
    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 *ArtifactRegistryRepositoryList) 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 *ArtifactRegistryRepositorySpec) DeepCopyInto(out *ArtifactRegistryRepositorySpec) {
    95  	*out = *in
    96  	if in.Description != nil {
    97  		in, out := &in.Description, &out.Description
    98  		*out = new(string)
    99  		**out = **in
   100  	}
   101  	if in.DockerConfig != nil {
   102  		in, out := &in.DockerConfig, &out.DockerConfig
   103  		*out = new(RepositoryDockerConfig)
   104  		(*in).DeepCopyInto(*out)
   105  	}
   106  	if in.KmsKeyRef != nil {
   107  		in, out := &in.KmsKeyRef, &out.KmsKeyRef
   108  		*out = new(v1alpha1.ResourceRef)
   109  		**out = **in
   110  	}
   111  	if in.MavenConfig != nil {
   112  		in, out := &in.MavenConfig, &out.MavenConfig
   113  		*out = new(RepositoryMavenConfig)
   114  		(*in).DeepCopyInto(*out)
   115  	}
   116  	if in.Mode != nil {
   117  		in, out := &in.Mode, &out.Mode
   118  		*out = new(string)
   119  		**out = **in
   120  	}
   121  	if in.RemoteRepositoryConfig != nil {
   122  		in, out := &in.RemoteRepositoryConfig, &out.RemoteRepositoryConfig
   123  		*out = new(RepositoryRemoteRepositoryConfig)
   124  		(*in).DeepCopyInto(*out)
   125  	}
   126  	if in.ResourceID != nil {
   127  		in, out := &in.ResourceID, &out.ResourceID
   128  		*out = new(string)
   129  		**out = **in
   130  	}
   131  	if in.VirtualRepositoryConfig != nil {
   132  		in, out := &in.VirtualRepositoryConfig, &out.VirtualRepositoryConfig
   133  		*out = new(RepositoryVirtualRepositoryConfig)
   134  		(*in).DeepCopyInto(*out)
   135  	}
   136  	return
   137  }
   138  
   139  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArtifactRegistryRepositorySpec.
   140  func (in *ArtifactRegistryRepositorySpec) DeepCopy() *ArtifactRegistryRepositorySpec {
   141  	if in == nil {
   142  		return nil
   143  	}
   144  	out := new(ArtifactRegistryRepositorySpec)
   145  	in.DeepCopyInto(out)
   146  	return out
   147  }
   148  
   149  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   150  func (in *ArtifactRegistryRepositoryStatus) DeepCopyInto(out *ArtifactRegistryRepositoryStatus) {
   151  	*out = *in
   152  	if in.Conditions != nil {
   153  		in, out := &in.Conditions, &out.Conditions
   154  		*out = make([]v1alpha1.Condition, len(*in))
   155  		copy(*out, *in)
   156  	}
   157  	if in.CreateTime != nil {
   158  		in, out := &in.CreateTime, &out.CreateTime
   159  		*out = new(string)
   160  		**out = **in
   161  	}
   162  	if in.Name != nil {
   163  		in, out := &in.Name, &out.Name
   164  		*out = new(string)
   165  		**out = **in
   166  	}
   167  	if in.ObservedGeneration != nil {
   168  		in, out := &in.ObservedGeneration, &out.ObservedGeneration
   169  		*out = new(int)
   170  		**out = **in
   171  	}
   172  	if in.UpdateTime != nil {
   173  		in, out := &in.UpdateTime, &out.UpdateTime
   174  		*out = new(string)
   175  		**out = **in
   176  	}
   177  	return
   178  }
   179  
   180  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArtifactRegistryRepositoryStatus.
   181  func (in *ArtifactRegistryRepositoryStatus) DeepCopy() *ArtifactRegistryRepositoryStatus {
   182  	if in == nil {
   183  		return nil
   184  	}
   185  	out := new(ArtifactRegistryRepositoryStatus)
   186  	in.DeepCopyInto(out)
   187  	return out
   188  }
   189  
   190  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   191  func (in *RepositoryDockerConfig) DeepCopyInto(out *RepositoryDockerConfig) {
   192  	*out = *in
   193  	if in.ImmutableTags != nil {
   194  		in, out := &in.ImmutableTags, &out.ImmutableTags
   195  		*out = new(bool)
   196  		**out = **in
   197  	}
   198  	return
   199  }
   200  
   201  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositoryDockerConfig.
   202  func (in *RepositoryDockerConfig) DeepCopy() *RepositoryDockerConfig {
   203  	if in == nil {
   204  		return nil
   205  	}
   206  	out := new(RepositoryDockerConfig)
   207  	in.DeepCopyInto(out)
   208  	return out
   209  }
   210  
   211  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   212  func (in *RepositoryDockerRepository) DeepCopyInto(out *RepositoryDockerRepository) {
   213  	*out = *in
   214  	if in.PublicRepository != nil {
   215  		in, out := &in.PublicRepository, &out.PublicRepository
   216  		*out = new(string)
   217  		**out = **in
   218  	}
   219  	return
   220  }
   221  
   222  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositoryDockerRepository.
   223  func (in *RepositoryDockerRepository) DeepCopy() *RepositoryDockerRepository {
   224  	if in == nil {
   225  		return nil
   226  	}
   227  	out := new(RepositoryDockerRepository)
   228  	in.DeepCopyInto(out)
   229  	return out
   230  }
   231  
   232  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   233  func (in *RepositoryMavenConfig) DeepCopyInto(out *RepositoryMavenConfig) {
   234  	*out = *in
   235  	if in.AllowSnapshotOverwrites != nil {
   236  		in, out := &in.AllowSnapshotOverwrites, &out.AllowSnapshotOverwrites
   237  		*out = new(bool)
   238  		**out = **in
   239  	}
   240  	if in.VersionPolicy != nil {
   241  		in, out := &in.VersionPolicy, &out.VersionPolicy
   242  		*out = new(string)
   243  		**out = **in
   244  	}
   245  	return
   246  }
   247  
   248  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositoryMavenConfig.
   249  func (in *RepositoryMavenConfig) DeepCopy() *RepositoryMavenConfig {
   250  	if in == nil {
   251  		return nil
   252  	}
   253  	out := new(RepositoryMavenConfig)
   254  	in.DeepCopyInto(out)
   255  	return out
   256  }
   257  
   258  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   259  func (in *RepositoryMavenRepository) DeepCopyInto(out *RepositoryMavenRepository) {
   260  	*out = *in
   261  	if in.PublicRepository != nil {
   262  		in, out := &in.PublicRepository, &out.PublicRepository
   263  		*out = new(string)
   264  		**out = **in
   265  	}
   266  	return
   267  }
   268  
   269  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositoryMavenRepository.
   270  func (in *RepositoryMavenRepository) DeepCopy() *RepositoryMavenRepository {
   271  	if in == nil {
   272  		return nil
   273  	}
   274  	out := new(RepositoryMavenRepository)
   275  	in.DeepCopyInto(out)
   276  	return out
   277  }
   278  
   279  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   280  func (in *RepositoryNpmRepository) DeepCopyInto(out *RepositoryNpmRepository) {
   281  	*out = *in
   282  	if in.PublicRepository != nil {
   283  		in, out := &in.PublicRepository, &out.PublicRepository
   284  		*out = new(string)
   285  		**out = **in
   286  	}
   287  	return
   288  }
   289  
   290  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositoryNpmRepository.
   291  func (in *RepositoryNpmRepository) DeepCopy() *RepositoryNpmRepository {
   292  	if in == nil {
   293  		return nil
   294  	}
   295  	out := new(RepositoryNpmRepository)
   296  	in.DeepCopyInto(out)
   297  	return out
   298  }
   299  
   300  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   301  func (in *RepositoryPythonRepository) DeepCopyInto(out *RepositoryPythonRepository) {
   302  	*out = *in
   303  	if in.PublicRepository != nil {
   304  		in, out := &in.PublicRepository, &out.PublicRepository
   305  		*out = new(string)
   306  		**out = **in
   307  	}
   308  	return
   309  }
   310  
   311  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositoryPythonRepository.
   312  func (in *RepositoryPythonRepository) DeepCopy() *RepositoryPythonRepository {
   313  	if in == nil {
   314  		return nil
   315  	}
   316  	out := new(RepositoryPythonRepository)
   317  	in.DeepCopyInto(out)
   318  	return out
   319  }
   320  
   321  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   322  func (in *RepositoryRemoteRepositoryConfig) DeepCopyInto(out *RepositoryRemoteRepositoryConfig) {
   323  	*out = *in
   324  	if in.Description != nil {
   325  		in, out := &in.Description, &out.Description
   326  		*out = new(string)
   327  		**out = **in
   328  	}
   329  	if in.DockerRepository != nil {
   330  		in, out := &in.DockerRepository, &out.DockerRepository
   331  		*out = new(RepositoryDockerRepository)
   332  		(*in).DeepCopyInto(*out)
   333  	}
   334  	if in.MavenRepository != nil {
   335  		in, out := &in.MavenRepository, &out.MavenRepository
   336  		*out = new(RepositoryMavenRepository)
   337  		(*in).DeepCopyInto(*out)
   338  	}
   339  	if in.NpmRepository != nil {
   340  		in, out := &in.NpmRepository, &out.NpmRepository
   341  		*out = new(RepositoryNpmRepository)
   342  		(*in).DeepCopyInto(*out)
   343  	}
   344  	if in.PythonRepository != nil {
   345  		in, out := &in.PythonRepository, &out.PythonRepository
   346  		*out = new(RepositoryPythonRepository)
   347  		(*in).DeepCopyInto(*out)
   348  	}
   349  	return
   350  }
   351  
   352  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositoryRemoteRepositoryConfig.
   353  func (in *RepositoryRemoteRepositoryConfig) DeepCopy() *RepositoryRemoteRepositoryConfig {
   354  	if in == nil {
   355  		return nil
   356  	}
   357  	out := new(RepositoryRemoteRepositoryConfig)
   358  	in.DeepCopyInto(out)
   359  	return out
   360  }
   361  
   362  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   363  func (in *RepositoryUpstreamPolicies) DeepCopyInto(out *RepositoryUpstreamPolicies) {
   364  	*out = *in
   365  	if in.Id != nil {
   366  		in, out := &in.Id, &out.Id
   367  		*out = new(string)
   368  		**out = **in
   369  	}
   370  	if in.Priority != nil {
   371  		in, out := &in.Priority, &out.Priority
   372  		*out = new(int)
   373  		**out = **in
   374  	}
   375  	if in.RepositoryRef != nil {
   376  		in, out := &in.RepositoryRef, &out.RepositoryRef
   377  		*out = new(v1alpha1.ResourceRef)
   378  		**out = **in
   379  	}
   380  	return
   381  }
   382  
   383  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositoryUpstreamPolicies.
   384  func (in *RepositoryUpstreamPolicies) DeepCopy() *RepositoryUpstreamPolicies {
   385  	if in == nil {
   386  		return nil
   387  	}
   388  	out := new(RepositoryUpstreamPolicies)
   389  	in.DeepCopyInto(out)
   390  	return out
   391  }
   392  
   393  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   394  func (in *RepositoryVirtualRepositoryConfig) DeepCopyInto(out *RepositoryVirtualRepositoryConfig) {
   395  	*out = *in
   396  	if in.UpstreamPolicies != nil {
   397  		in, out := &in.UpstreamPolicies, &out.UpstreamPolicies
   398  		*out = make([]RepositoryUpstreamPolicies, len(*in))
   399  		for i := range *in {
   400  			(*in)[i].DeepCopyInto(&(*out)[i])
   401  		}
   402  	}
   403  	return
   404  }
   405  
   406  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositoryVirtualRepositoryConfig.
   407  func (in *RepositoryVirtualRepositoryConfig) DeepCopy() *RepositoryVirtualRepositoryConfig {
   408  	if in == nil {
   409  		return nil
   410  	}
   411  	out := new(RepositoryVirtualRepositoryConfig)
   412  	in.DeepCopyInto(out)
   413  	return out
   414  }
   415  

View as plain text