...

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

Documentation: github.com/GoogleCloudPlatform/k8s-config-connector/pkg/clients/generated/apis/containeranalysis/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 *ContainerAnalysisOccurrence) DeepCopyInto(out *ContainerAnalysisOccurrence) {
    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 ContainerAnalysisOccurrence.
    43  func (in *ContainerAnalysisOccurrence) DeepCopy() *ContainerAnalysisOccurrence {
    44  	if in == nil {
    45  		return nil
    46  	}
    47  	out := new(ContainerAnalysisOccurrence)
    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 *ContainerAnalysisOccurrence) 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 *ContainerAnalysisOccurrenceList) DeepCopyInto(out *ContainerAnalysisOccurrenceList) {
    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([]ContainerAnalysisOccurrence, 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 ContainerAnalysisOccurrenceList.
    76  func (in *ContainerAnalysisOccurrenceList) DeepCopy() *ContainerAnalysisOccurrenceList {
    77  	if in == nil {
    78  		return nil
    79  	}
    80  	out := new(ContainerAnalysisOccurrenceList)
    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 *ContainerAnalysisOccurrenceList) 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 *ContainerAnalysisOccurrenceSpec) DeepCopyInto(out *ContainerAnalysisOccurrenceSpec) {
    95  	*out = *in
    96  	in.Attestation.DeepCopyInto(&out.Attestation)
    97  	out.ProjectRef = in.ProjectRef
    98  	if in.Remediation != nil {
    99  		in, out := &in.Remediation, &out.Remediation
   100  		*out = new(string)
   101  		**out = **in
   102  	}
   103  	if in.ResourceID != nil {
   104  		in, out := &in.ResourceID, &out.ResourceID
   105  		*out = new(string)
   106  		**out = **in
   107  	}
   108  	return
   109  }
   110  
   111  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerAnalysisOccurrenceSpec.
   112  func (in *ContainerAnalysisOccurrenceSpec) DeepCopy() *ContainerAnalysisOccurrenceSpec {
   113  	if in == nil {
   114  		return nil
   115  	}
   116  	out := new(ContainerAnalysisOccurrenceSpec)
   117  	in.DeepCopyInto(out)
   118  	return out
   119  }
   120  
   121  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   122  func (in *ContainerAnalysisOccurrenceStatus) DeepCopyInto(out *ContainerAnalysisOccurrenceStatus) {
   123  	*out = *in
   124  	if in.Conditions != nil {
   125  		in, out := &in.Conditions, &out.Conditions
   126  		*out = make([]k8sv1alpha1.Condition, len(*in))
   127  		copy(*out, *in)
   128  	}
   129  	if in.CreateTime != nil {
   130  		in, out := &in.CreateTime, &out.CreateTime
   131  		*out = new(string)
   132  		**out = **in
   133  	}
   134  	if in.Kind != nil {
   135  		in, out := &in.Kind, &out.Kind
   136  		*out = new(string)
   137  		**out = **in
   138  	}
   139  	if in.Name != nil {
   140  		in, out := &in.Name, &out.Name
   141  		*out = new(string)
   142  		**out = **in
   143  	}
   144  	if in.ObservedGeneration != nil {
   145  		in, out := &in.ObservedGeneration, &out.ObservedGeneration
   146  		*out = new(int)
   147  		**out = **in
   148  	}
   149  	if in.UpdateTime != nil {
   150  		in, out := &in.UpdateTime, &out.UpdateTime
   151  		*out = new(string)
   152  		**out = **in
   153  	}
   154  	return
   155  }
   156  
   157  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerAnalysisOccurrenceStatus.
   158  func (in *ContainerAnalysisOccurrenceStatus) DeepCopy() *ContainerAnalysisOccurrenceStatus {
   159  	if in == nil {
   160  		return nil
   161  	}
   162  	out := new(ContainerAnalysisOccurrenceStatus)
   163  	in.DeepCopyInto(out)
   164  	return out
   165  }
   166  
   167  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   168  func (in *OccurrenceAttestation) DeepCopyInto(out *OccurrenceAttestation) {
   169  	*out = *in
   170  	if in.Signatures != nil {
   171  		in, out := &in.Signatures, &out.Signatures
   172  		*out = make([]OccurrenceSignatures, len(*in))
   173  		for i := range *in {
   174  			(*in)[i].DeepCopyInto(&(*out)[i])
   175  		}
   176  	}
   177  	return
   178  }
   179  
   180  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OccurrenceAttestation.
   181  func (in *OccurrenceAttestation) DeepCopy() *OccurrenceAttestation {
   182  	if in == nil {
   183  		return nil
   184  	}
   185  	out := new(OccurrenceAttestation)
   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 *OccurrenceSignatures) DeepCopyInto(out *OccurrenceSignatures) {
   192  	*out = *in
   193  	if in.Signature != nil {
   194  		in, out := &in.Signature, &out.Signature
   195  		*out = new(string)
   196  		**out = **in
   197  	}
   198  	return
   199  }
   200  
   201  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OccurrenceSignatures.
   202  func (in *OccurrenceSignatures) DeepCopy() *OccurrenceSignatures {
   203  	if in == nil {
   204  		return nil
   205  	}
   206  	out := new(OccurrenceSignatures)
   207  	in.DeepCopyInto(out)
   208  	return out
   209  }
   210  

View as plain text