...

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

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

View as plain text