...

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

Documentation: github.com/GoogleCloudPlatform/k8s-config-connector/pkg/clients/generated/apis/deploymentmanager/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 *DeploymentConfig) DeepCopyInto(out *DeploymentConfig) {
    34  	*out = *in
    35  	return
    36  }
    37  
    38  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentConfig.
    39  func (in *DeploymentConfig) DeepCopy() *DeploymentConfig {
    40  	if in == nil {
    41  		return nil
    42  	}
    43  	out := new(DeploymentConfig)
    44  	in.DeepCopyInto(out)
    45  	return out
    46  }
    47  
    48  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    49  func (in *DeploymentImports) DeepCopyInto(out *DeploymentImports) {
    50  	*out = *in
    51  	if in.Content != nil {
    52  		in, out := &in.Content, &out.Content
    53  		*out = new(string)
    54  		**out = **in
    55  	}
    56  	if in.Name != nil {
    57  		in, out := &in.Name, &out.Name
    58  		*out = new(string)
    59  		**out = **in
    60  	}
    61  	return
    62  }
    63  
    64  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentImports.
    65  func (in *DeploymentImports) DeepCopy() *DeploymentImports {
    66  	if in == nil {
    67  		return nil
    68  	}
    69  	out := new(DeploymentImports)
    70  	in.DeepCopyInto(out)
    71  	return out
    72  }
    73  
    74  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    75  func (in *DeploymentManagerDeployment) DeepCopyInto(out *DeploymentManagerDeployment) {
    76  	*out = *in
    77  	out.TypeMeta = in.TypeMeta
    78  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
    79  	in.Spec.DeepCopyInto(&out.Spec)
    80  	in.Status.DeepCopyInto(&out.Status)
    81  	return
    82  }
    83  
    84  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentManagerDeployment.
    85  func (in *DeploymentManagerDeployment) DeepCopy() *DeploymentManagerDeployment {
    86  	if in == nil {
    87  		return nil
    88  	}
    89  	out := new(DeploymentManagerDeployment)
    90  	in.DeepCopyInto(out)
    91  	return out
    92  }
    93  
    94  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    95  func (in *DeploymentManagerDeployment) DeepCopyObject() runtime.Object {
    96  	if c := in.DeepCopy(); c != nil {
    97  		return c
    98  	}
    99  	return nil
   100  }
   101  
   102  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   103  func (in *DeploymentManagerDeploymentList) DeepCopyInto(out *DeploymentManagerDeploymentList) {
   104  	*out = *in
   105  	out.TypeMeta = in.TypeMeta
   106  	in.ListMeta.DeepCopyInto(&out.ListMeta)
   107  	if in.Items != nil {
   108  		in, out := &in.Items, &out.Items
   109  		*out = make([]DeploymentManagerDeployment, len(*in))
   110  		for i := range *in {
   111  			(*in)[i].DeepCopyInto(&(*out)[i])
   112  		}
   113  	}
   114  	return
   115  }
   116  
   117  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentManagerDeploymentList.
   118  func (in *DeploymentManagerDeploymentList) DeepCopy() *DeploymentManagerDeploymentList {
   119  	if in == nil {
   120  		return nil
   121  	}
   122  	out := new(DeploymentManagerDeploymentList)
   123  	in.DeepCopyInto(out)
   124  	return out
   125  }
   126  
   127  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   128  func (in *DeploymentManagerDeploymentList) DeepCopyObject() runtime.Object {
   129  	if c := in.DeepCopy(); c != nil {
   130  		return c
   131  	}
   132  	return nil
   133  }
   134  
   135  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   136  func (in *DeploymentManagerDeploymentSpec) DeepCopyInto(out *DeploymentManagerDeploymentSpec) {
   137  	*out = *in
   138  	if in.CreatePolicy != nil {
   139  		in, out := &in.CreatePolicy, &out.CreatePolicy
   140  		*out = new(string)
   141  		**out = **in
   142  	}
   143  	if in.DeletePolicy != nil {
   144  		in, out := &in.DeletePolicy, &out.DeletePolicy
   145  		*out = new(string)
   146  		**out = **in
   147  	}
   148  	if in.Description != nil {
   149  		in, out := &in.Description, &out.Description
   150  		*out = new(string)
   151  		**out = **in
   152  	}
   153  	if in.Preview != nil {
   154  		in, out := &in.Preview, &out.Preview
   155  		*out = new(bool)
   156  		**out = **in
   157  	}
   158  	out.ProjectRef = in.ProjectRef
   159  	if in.ResourceID != nil {
   160  		in, out := &in.ResourceID, &out.ResourceID
   161  		*out = new(string)
   162  		**out = **in
   163  	}
   164  	in.Target.DeepCopyInto(&out.Target)
   165  	return
   166  }
   167  
   168  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentManagerDeploymentSpec.
   169  func (in *DeploymentManagerDeploymentSpec) DeepCopy() *DeploymentManagerDeploymentSpec {
   170  	if in == nil {
   171  		return nil
   172  	}
   173  	out := new(DeploymentManagerDeploymentSpec)
   174  	in.DeepCopyInto(out)
   175  	return out
   176  }
   177  
   178  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   179  func (in *DeploymentManagerDeploymentStatus) DeepCopyInto(out *DeploymentManagerDeploymentStatus) {
   180  	*out = *in
   181  	if in.Conditions != nil {
   182  		in, out := &in.Conditions, &out.Conditions
   183  		*out = make([]k8sv1alpha1.Condition, len(*in))
   184  		copy(*out, *in)
   185  	}
   186  	if in.DeploymentId != nil {
   187  		in, out := &in.DeploymentId, &out.DeploymentId
   188  		*out = new(string)
   189  		**out = **in
   190  	}
   191  	if in.Manifest != nil {
   192  		in, out := &in.Manifest, &out.Manifest
   193  		*out = new(string)
   194  		**out = **in
   195  	}
   196  	if in.ObservedGeneration != nil {
   197  		in, out := &in.ObservedGeneration, &out.ObservedGeneration
   198  		*out = new(int)
   199  		**out = **in
   200  	}
   201  	if in.SelfLink != nil {
   202  		in, out := &in.SelfLink, &out.SelfLink
   203  		*out = new(string)
   204  		**out = **in
   205  	}
   206  	return
   207  }
   208  
   209  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentManagerDeploymentStatus.
   210  func (in *DeploymentManagerDeploymentStatus) DeepCopy() *DeploymentManagerDeploymentStatus {
   211  	if in == nil {
   212  		return nil
   213  	}
   214  	out := new(DeploymentManagerDeploymentStatus)
   215  	in.DeepCopyInto(out)
   216  	return out
   217  }
   218  
   219  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   220  func (in *DeploymentTarget) DeepCopyInto(out *DeploymentTarget) {
   221  	*out = *in
   222  	out.Config = in.Config
   223  	if in.Imports != nil {
   224  		in, out := &in.Imports, &out.Imports
   225  		*out = make([]DeploymentImports, len(*in))
   226  		for i := range *in {
   227  			(*in)[i].DeepCopyInto(&(*out)[i])
   228  		}
   229  	}
   230  	return
   231  }
   232  
   233  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentTarget.
   234  func (in *DeploymentTarget) DeepCopy() *DeploymentTarget {
   235  	if in == nil {
   236  		return nil
   237  	}
   238  	out := new(DeploymentTarget)
   239  	in.DeepCopyInto(out)
   240  	return out
   241  }
   242  

View as plain text