...

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

Documentation: github.com/GoogleCloudPlatform/k8s-config-connector/pkg/clients/generated/apis/containeranalysis/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 *ContainerAnalysisNote) DeepCopyInto(out *ContainerAnalysisNote) {
    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 ContainerAnalysisNote.
    43  func (in *ContainerAnalysisNote) DeepCopy() *ContainerAnalysisNote {
    44  	if in == nil {
    45  		return nil
    46  	}
    47  	out := new(ContainerAnalysisNote)
    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 *ContainerAnalysisNote) 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 *ContainerAnalysisNoteList) DeepCopyInto(out *ContainerAnalysisNoteList) {
    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([]ContainerAnalysisNote, 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 ContainerAnalysisNoteList.
    76  func (in *ContainerAnalysisNoteList) DeepCopy() *ContainerAnalysisNoteList {
    77  	if in == nil {
    78  		return nil
    79  	}
    80  	out := new(ContainerAnalysisNoteList)
    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 *ContainerAnalysisNoteList) 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 *ContainerAnalysisNoteSpec) DeepCopyInto(out *ContainerAnalysisNoteSpec) {
    95  	*out = *in
    96  	if in.Attestation != nil {
    97  		in, out := &in.Attestation, &out.Attestation
    98  		*out = new(NoteAttestation)
    99  		(*in).DeepCopyInto(*out)
   100  	}
   101  	if in.Build != nil {
   102  		in, out := &in.Build, &out.Build
   103  		*out = new(NoteBuild)
   104  		**out = **in
   105  	}
   106  	if in.Deployment != nil {
   107  		in, out := &in.Deployment, &out.Deployment
   108  		*out = new(NoteDeployment)
   109  		(*in).DeepCopyInto(*out)
   110  	}
   111  	if in.Discovery != nil {
   112  		in, out := &in.Discovery, &out.Discovery
   113  		*out = new(NoteDiscovery)
   114  		**out = **in
   115  	}
   116  	if in.ExpirationTime != nil {
   117  		in, out := &in.ExpirationTime, &out.ExpirationTime
   118  		*out = new(string)
   119  		**out = **in
   120  	}
   121  	if in.Image != nil {
   122  		in, out := &in.Image, &out.Image
   123  		*out = new(NoteImage)
   124  		(*in).DeepCopyInto(*out)
   125  	}
   126  	if in.LongDescription != nil {
   127  		in, out := &in.LongDescription, &out.LongDescription
   128  		*out = new(string)
   129  		**out = **in
   130  	}
   131  	if in.Package != nil {
   132  		in, out := &in.Package, &out.Package
   133  		*out = new(NotePackage)
   134  		(*in).DeepCopyInto(*out)
   135  	}
   136  	if in.RelatedNoteNames != nil {
   137  		in, out := &in.RelatedNoteNames, &out.RelatedNoteNames
   138  		*out = make([]v1alpha1.ResourceRef, len(*in))
   139  		copy(*out, *in)
   140  	}
   141  	if in.RelatedUrl != nil {
   142  		in, out := &in.RelatedUrl, &out.RelatedUrl
   143  		*out = make([]NoteRelatedUrl, len(*in))
   144  		for i := range *in {
   145  			(*in)[i].DeepCopyInto(&(*out)[i])
   146  		}
   147  	}
   148  	if in.ResourceID != nil {
   149  		in, out := &in.ResourceID, &out.ResourceID
   150  		*out = new(string)
   151  		**out = **in
   152  	}
   153  	if in.ShortDescription != nil {
   154  		in, out := &in.ShortDescription, &out.ShortDescription
   155  		*out = new(string)
   156  		**out = **in
   157  	}
   158  	if in.Vulnerability != nil {
   159  		in, out := &in.Vulnerability, &out.Vulnerability
   160  		*out = new(NoteVulnerability)
   161  		(*in).DeepCopyInto(*out)
   162  	}
   163  	return
   164  }
   165  
   166  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerAnalysisNoteSpec.
   167  func (in *ContainerAnalysisNoteSpec) DeepCopy() *ContainerAnalysisNoteSpec {
   168  	if in == nil {
   169  		return nil
   170  	}
   171  	out := new(ContainerAnalysisNoteSpec)
   172  	in.DeepCopyInto(out)
   173  	return out
   174  }
   175  
   176  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   177  func (in *ContainerAnalysisNoteStatus) DeepCopyInto(out *ContainerAnalysisNoteStatus) {
   178  	*out = *in
   179  	if in.Conditions != nil {
   180  		in, out := &in.Conditions, &out.Conditions
   181  		*out = make([]v1alpha1.Condition, len(*in))
   182  		copy(*out, *in)
   183  	}
   184  	if in.CreateTime != nil {
   185  		in, out := &in.CreateTime, &out.CreateTime
   186  		*out = new(string)
   187  		**out = **in
   188  	}
   189  	if in.Image != nil {
   190  		in, out := &in.Image, &out.Image
   191  		*out = new(NoteImageStatus)
   192  		(*in).DeepCopyInto(*out)
   193  	}
   194  	if in.ObservedGeneration != nil {
   195  		in, out := &in.ObservedGeneration, &out.ObservedGeneration
   196  		*out = new(int)
   197  		**out = **in
   198  	}
   199  	if in.UpdateTime != nil {
   200  		in, out := &in.UpdateTime, &out.UpdateTime
   201  		*out = new(string)
   202  		**out = **in
   203  	}
   204  	return
   205  }
   206  
   207  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerAnalysisNoteStatus.
   208  func (in *ContainerAnalysisNoteStatus) DeepCopy() *ContainerAnalysisNoteStatus {
   209  	if in == nil {
   210  		return nil
   211  	}
   212  	out := new(ContainerAnalysisNoteStatus)
   213  	in.DeepCopyInto(out)
   214  	return out
   215  }
   216  
   217  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   218  func (in *NoteAffectedVersionEnd) DeepCopyInto(out *NoteAffectedVersionEnd) {
   219  	*out = *in
   220  	if in.Epoch != nil {
   221  		in, out := &in.Epoch, &out.Epoch
   222  		*out = new(int)
   223  		**out = **in
   224  	}
   225  	if in.FullName != nil {
   226  		in, out := &in.FullName, &out.FullName
   227  		*out = new(string)
   228  		**out = **in
   229  	}
   230  	if in.Name != nil {
   231  		in, out := &in.Name, &out.Name
   232  		*out = new(string)
   233  		**out = **in
   234  	}
   235  	if in.Revision != nil {
   236  		in, out := &in.Revision, &out.Revision
   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 NoteAffectedVersionEnd.
   244  func (in *NoteAffectedVersionEnd) DeepCopy() *NoteAffectedVersionEnd {
   245  	if in == nil {
   246  		return nil
   247  	}
   248  	out := new(NoteAffectedVersionEnd)
   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 *NoteAffectedVersionStart) DeepCopyInto(out *NoteAffectedVersionStart) {
   255  	*out = *in
   256  	if in.Epoch != nil {
   257  		in, out := &in.Epoch, &out.Epoch
   258  		*out = new(int)
   259  		**out = **in
   260  	}
   261  	if in.FullName != nil {
   262  		in, out := &in.FullName, &out.FullName
   263  		*out = new(string)
   264  		**out = **in
   265  	}
   266  	if in.Name != nil {
   267  		in, out := &in.Name, &out.Name
   268  		*out = new(string)
   269  		**out = **in
   270  	}
   271  	if in.Revision != nil {
   272  		in, out := &in.Revision, &out.Revision
   273  		*out = new(string)
   274  		**out = **in
   275  	}
   276  	return
   277  }
   278  
   279  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NoteAffectedVersionStart.
   280  func (in *NoteAffectedVersionStart) DeepCopy() *NoteAffectedVersionStart {
   281  	if in == nil {
   282  		return nil
   283  	}
   284  	out := new(NoteAffectedVersionStart)
   285  	in.DeepCopyInto(out)
   286  	return out
   287  }
   288  
   289  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   290  func (in *NoteAttestation) DeepCopyInto(out *NoteAttestation) {
   291  	*out = *in
   292  	if in.Hint != nil {
   293  		in, out := &in.Hint, &out.Hint
   294  		*out = new(NoteHint)
   295  		**out = **in
   296  	}
   297  	return
   298  }
   299  
   300  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NoteAttestation.
   301  func (in *NoteAttestation) DeepCopy() *NoteAttestation {
   302  	if in == nil {
   303  		return nil
   304  	}
   305  	out := new(NoteAttestation)
   306  	in.DeepCopyInto(out)
   307  	return out
   308  }
   309  
   310  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   311  func (in *NoteBuild) DeepCopyInto(out *NoteBuild) {
   312  	*out = *in
   313  	return
   314  }
   315  
   316  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NoteBuild.
   317  func (in *NoteBuild) DeepCopy() *NoteBuild {
   318  	if in == nil {
   319  		return nil
   320  	}
   321  	out := new(NoteBuild)
   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 *NoteCvssV3) DeepCopyInto(out *NoteCvssV3) {
   328  	*out = *in
   329  	if in.AttackComplexity != nil {
   330  		in, out := &in.AttackComplexity, &out.AttackComplexity
   331  		*out = new(string)
   332  		**out = **in
   333  	}
   334  	if in.AttackVector != nil {
   335  		in, out := &in.AttackVector, &out.AttackVector
   336  		*out = new(string)
   337  		**out = **in
   338  	}
   339  	if in.AvailabilityImpact != nil {
   340  		in, out := &in.AvailabilityImpact, &out.AvailabilityImpact
   341  		*out = new(string)
   342  		**out = **in
   343  	}
   344  	if in.BaseScore != nil {
   345  		in, out := &in.BaseScore, &out.BaseScore
   346  		*out = new(float64)
   347  		**out = **in
   348  	}
   349  	if in.ConfidentialityImpact != nil {
   350  		in, out := &in.ConfidentialityImpact, &out.ConfidentialityImpact
   351  		*out = new(string)
   352  		**out = **in
   353  	}
   354  	if in.ExploitabilityScore != nil {
   355  		in, out := &in.ExploitabilityScore, &out.ExploitabilityScore
   356  		*out = new(float64)
   357  		**out = **in
   358  	}
   359  	if in.ImpactScore != nil {
   360  		in, out := &in.ImpactScore, &out.ImpactScore
   361  		*out = new(float64)
   362  		**out = **in
   363  	}
   364  	if in.IntegrityImpact != nil {
   365  		in, out := &in.IntegrityImpact, &out.IntegrityImpact
   366  		*out = new(string)
   367  		**out = **in
   368  	}
   369  	if in.PrivilegesRequired != nil {
   370  		in, out := &in.PrivilegesRequired, &out.PrivilegesRequired
   371  		*out = new(string)
   372  		**out = **in
   373  	}
   374  	if in.Scope != nil {
   375  		in, out := &in.Scope, &out.Scope
   376  		*out = new(string)
   377  		**out = **in
   378  	}
   379  	if in.UserInteraction != nil {
   380  		in, out := &in.UserInteraction, &out.UserInteraction
   381  		*out = new(string)
   382  		**out = **in
   383  	}
   384  	return
   385  }
   386  
   387  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NoteCvssV3.
   388  func (in *NoteCvssV3) DeepCopy() *NoteCvssV3 {
   389  	if in == nil {
   390  		return nil
   391  	}
   392  	out := new(NoteCvssV3)
   393  	in.DeepCopyInto(out)
   394  	return out
   395  }
   396  
   397  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   398  func (in *NoteDeployment) DeepCopyInto(out *NoteDeployment) {
   399  	*out = *in
   400  	if in.ResourceUri != nil {
   401  		in, out := &in.ResourceUri, &out.ResourceUri
   402  		*out = make([]string, len(*in))
   403  		copy(*out, *in)
   404  	}
   405  	return
   406  }
   407  
   408  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NoteDeployment.
   409  func (in *NoteDeployment) DeepCopy() *NoteDeployment {
   410  	if in == nil {
   411  		return nil
   412  	}
   413  	out := new(NoteDeployment)
   414  	in.DeepCopyInto(out)
   415  	return out
   416  }
   417  
   418  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   419  func (in *NoteDetails) DeepCopyInto(out *NoteDetails) {
   420  	*out = *in
   421  	if in.AffectedVersionEnd != nil {
   422  		in, out := &in.AffectedVersionEnd, &out.AffectedVersionEnd
   423  		*out = new(NoteAffectedVersionEnd)
   424  		(*in).DeepCopyInto(*out)
   425  	}
   426  	if in.AffectedVersionStart != nil {
   427  		in, out := &in.AffectedVersionStart, &out.AffectedVersionStart
   428  		*out = new(NoteAffectedVersionStart)
   429  		(*in).DeepCopyInto(*out)
   430  	}
   431  	if in.Description != nil {
   432  		in, out := &in.Description, &out.Description
   433  		*out = new(string)
   434  		**out = **in
   435  	}
   436  	if in.FixedCpeUri != nil {
   437  		in, out := &in.FixedCpeUri, &out.FixedCpeUri
   438  		*out = new(string)
   439  		**out = **in
   440  	}
   441  	if in.FixedPackage != nil {
   442  		in, out := &in.FixedPackage, &out.FixedPackage
   443  		*out = new(string)
   444  		**out = **in
   445  	}
   446  	if in.FixedVersion != nil {
   447  		in, out := &in.FixedVersion, &out.FixedVersion
   448  		*out = new(NoteFixedVersion)
   449  		(*in).DeepCopyInto(*out)
   450  	}
   451  	if in.IsObsolete != nil {
   452  		in, out := &in.IsObsolete, &out.IsObsolete
   453  		*out = new(bool)
   454  		**out = **in
   455  	}
   456  	if in.PackageType != nil {
   457  		in, out := &in.PackageType, &out.PackageType
   458  		*out = new(string)
   459  		**out = **in
   460  	}
   461  	if in.SeverityName != nil {
   462  		in, out := &in.SeverityName, &out.SeverityName
   463  		*out = new(string)
   464  		**out = **in
   465  	}
   466  	if in.SourceUpdateTime != nil {
   467  		in, out := &in.SourceUpdateTime, &out.SourceUpdateTime
   468  		*out = new(string)
   469  		**out = **in
   470  	}
   471  	return
   472  }
   473  
   474  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NoteDetails.
   475  func (in *NoteDetails) DeepCopy() *NoteDetails {
   476  	if in == nil {
   477  		return nil
   478  	}
   479  	out := new(NoteDetails)
   480  	in.DeepCopyInto(out)
   481  	return out
   482  }
   483  
   484  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   485  func (in *NoteDiscovery) DeepCopyInto(out *NoteDiscovery) {
   486  	*out = *in
   487  	return
   488  }
   489  
   490  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NoteDiscovery.
   491  func (in *NoteDiscovery) DeepCopy() *NoteDiscovery {
   492  	if in == nil {
   493  		return nil
   494  	}
   495  	out := new(NoteDiscovery)
   496  	in.DeepCopyInto(out)
   497  	return out
   498  }
   499  
   500  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   501  func (in *NoteDistribution) DeepCopyInto(out *NoteDistribution) {
   502  	*out = *in
   503  	if in.Architecture != nil {
   504  		in, out := &in.Architecture, &out.Architecture
   505  		*out = new(string)
   506  		**out = **in
   507  	}
   508  	if in.Description != nil {
   509  		in, out := &in.Description, &out.Description
   510  		*out = new(string)
   511  		**out = **in
   512  	}
   513  	if in.LatestVersion != nil {
   514  		in, out := &in.LatestVersion, &out.LatestVersion
   515  		*out = new(NoteLatestVersion)
   516  		(*in).DeepCopyInto(*out)
   517  	}
   518  	if in.Maintainer != nil {
   519  		in, out := &in.Maintainer, &out.Maintainer
   520  		*out = new(string)
   521  		**out = **in
   522  	}
   523  	if in.Url != nil {
   524  		in, out := &in.Url, &out.Url
   525  		*out = new(string)
   526  		**out = **in
   527  	}
   528  	return
   529  }
   530  
   531  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NoteDistribution.
   532  func (in *NoteDistribution) DeepCopy() *NoteDistribution {
   533  	if in == nil {
   534  		return nil
   535  	}
   536  	out := new(NoteDistribution)
   537  	in.DeepCopyInto(out)
   538  	return out
   539  }
   540  
   541  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   542  func (in *NoteFingerprint) DeepCopyInto(out *NoteFingerprint) {
   543  	*out = *in
   544  	if in.V2Blob != nil {
   545  		in, out := &in.V2Blob, &out.V2Blob
   546  		*out = make([]string, len(*in))
   547  		copy(*out, *in)
   548  	}
   549  	return
   550  }
   551  
   552  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NoteFingerprint.
   553  func (in *NoteFingerprint) DeepCopy() *NoteFingerprint {
   554  	if in == nil {
   555  		return nil
   556  	}
   557  	out := new(NoteFingerprint)
   558  	in.DeepCopyInto(out)
   559  	return out
   560  }
   561  
   562  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   563  func (in *NoteFingerprintStatus) DeepCopyInto(out *NoteFingerprintStatus) {
   564  	*out = *in
   565  	if in.V2Name != nil {
   566  		in, out := &in.V2Name, &out.V2Name
   567  		*out = new(string)
   568  		**out = **in
   569  	}
   570  	return
   571  }
   572  
   573  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NoteFingerprintStatus.
   574  func (in *NoteFingerprintStatus) DeepCopy() *NoteFingerprintStatus {
   575  	if in == nil {
   576  		return nil
   577  	}
   578  	out := new(NoteFingerprintStatus)
   579  	in.DeepCopyInto(out)
   580  	return out
   581  }
   582  
   583  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   584  func (in *NoteFixedVersion) DeepCopyInto(out *NoteFixedVersion) {
   585  	*out = *in
   586  	if in.Epoch != nil {
   587  		in, out := &in.Epoch, &out.Epoch
   588  		*out = new(int)
   589  		**out = **in
   590  	}
   591  	if in.FullName != nil {
   592  		in, out := &in.FullName, &out.FullName
   593  		*out = new(string)
   594  		**out = **in
   595  	}
   596  	if in.Name != nil {
   597  		in, out := &in.Name, &out.Name
   598  		*out = new(string)
   599  		**out = **in
   600  	}
   601  	if in.Revision != nil {
   602  		in, out := &in.Revision, &out.Revision
   603  		*out = new(string)
   604  		**out = **in
   605  	}
   606  	return
   607  }
   608  
   609  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NoteFixedVersion.
   610  func (in *NoteFixedVersion) DeepCopy() *NoteFixedVersion {
   611  	if in == nil {
   612  		return nil
   613  	}
   614  	out := new(NoteFixedVersion)
   615  	in.DeepCopyInto(out)
   616  	return out
   617  }
   618  
   619  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   620  func (in *NoteFixingKbs) DeepCopyInto(out *NoteFixingKbs) {
   621  	*out = *in
   622  	if in.Name != nil {
   623  		in, out := &in.Name, &out.Name
   624  		*out = new(string)
   625  		**out = **in
   626  	}
   627  	if in.Url != nil {
   628  		in, out := &in.Url, &out.Url
   629  		*out = new(string)
   630  		**out = **in
   631  	}
   632  	return
   633  }
   634  
   635  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NoteFixingKbs.
   636  func (in *NoteFixingKbs) DeepCopy() *NoteFixingKbs {
   637  	if in == nil {
   638  		return nil
   639  	}
   640  	out := new(NoteFixingKbs)
   641  	in.DeepCopyInto(out)
   642  	return out
   643  }
   644  
   645  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   646  func (in *NoteHint) DeepCopyInto(out *NoteHint) {
   647  	*out = *in
   648  	return
   649  }
   650  
   651  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NoteHint.
   652  func (in *NoteHint) DeepCopy() *NoteHint {
   653  	if in == nil {
   654  		return nil
   655  	}
   656  	out := new(NoteHint)
   657  	in.DeepCopyInto(out)
   658  	return out
   659  }
   660  
   661  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   662  func (in *NoteImage) DeepCopyInto(out *NoteImage) {
   663  	*out = *in
   664  	in.Fingerprint.DeepCopyInto(&out.Fingerprint)
   665  	return
   666  }
   667  
   668  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NoteImage.
   669  func (in *NoteImage) DeepCopy() *NoteImage {
   670  	if in == nil {
   671  		return nil
   672  	}
   673  	out := new(NoteImage)
   674  	in.DeepCopyInto(out)
   675  	return out
   676  }
   677  
   678  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   679  func (in *NoteImageStatus) DeepCopyInto(out *NoteImageStatus) {
   680  	*out = *in
   681  	if in.Fingerprint != nil {
   682  		in, out := &in.Fingerprint, &out.Fingerprint
   683  		*out = new(NoteFingerprintStatus)
   684  		(*in).DeepCopyInto(*out)
   685  	}
   686  	return
   687  }
   688  
   689  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NoteImageStatus.
   690  func (in *NoteImageStatus) DeepCopy() *NoteImageStatus {
   691  	if in == nil {
   692  		return nil
   693  	}
   694  	out := new(NoteImageStatus)
   695  	in.DeepCopyInto(out)
   696  	return out
   697  }
   698  
   699  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   700  func (in *NoteLatestVersion) DeepCopyInto(out *NoteLatestVersion) {
   701  	*out = *in
   702  	if in.Epoch != nil {
   703  		in, out := &in.Epoch, &out.Epoch
   704  		*out = new(int)
   705  		**out = **in
   706  	}
   707  	if in.FullName != nil {
   708  		in, out := &in.FullName, &out.FullName
   709  		*out = new(string)
   710  		**out = **in
   711  	}
   712  	if in.Name != nil {
   713  		in, out := &in.Name, &out.Name
   714  		*out = new(string)
   715  		**out = **in
   716  	}
   717  	if in.Revision != nil {
   718  		in, out := &in.Revision, &out.Revision
   719  		*out = new(string)
   720  		**out = **in
   721  	}
   722  	return
   723  }
   724  
   725  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NoteLatestVersion.
   726  func (in *NoteLatestVersion) DeepCopy() *NoteLatestVersion {
   727  	if in == nil {
   728  		return nil
   729  	}
   730  	out := new(NoteLatestVersion)
   731  	in.DeepCopyInto(out)
   732  	return out
   733  }
   734  
   735  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   736  func (in *NotePackage) DeepCopyInto(out *NotePackage) {
   737  	*out = *in
   738  	if in.Distribution != nil {
   739  		in, out := &in.Distribution, &out.Distribution
   740  		*out = make([]NoteDistribution, len(*in))
   741  		for i := range *in {
   742  			(*in)[i].DeepCopyInto(&(*out)[i])
   743  		}
   744  	}
   745  	return
   746  }
   747  
   748  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotePackage.
   749  func (in *NotePackage) DeepCopy() *NotePackage {
   750  	if in == nil {
   751  		return nil
   752  	}
   753  	out := new(NotePackage)
   754  	in.DeepCopyInto(out)
   755  	return out
   756  }
   757  
   758  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   759  func (in *NoteRelatedUrl) DeepCopyInto(out *NoteRelatedUrl) {
   760  	*out = *in
   761  	if in.Label != nil {
   762  		in, out := &in.Label, &out.Label
   763  		*out = new(string)
   764  		**out = **in
   765  	}
   766  	if in.Url != nil {
   767  		in, out := &in.Url, &out.Url
   768  		*out = new(string)
   769  		**out = **in
   770  	}
   771  	return
   772  }
   773  
   774  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NoteRelatedUrl.
   775  func (in *NoteRelatedUrl) DeepCopy() *NoteRelatedUrl {
   776  	if in == nil {
   777  		return nil
   778  	}
   779  	out := new(NoteRelatedUrl)
   780  	in.DeepCopyInto(out)
   781  	return out
   782  }
   783  
   784  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   785  func (in *NoteVulnerability) DeepCopyInto(out *NoteVulnerability) {
   786  	*out = *in
   787  	if in.CvssScore != nil {
   788  		in, out := &in.CvssScore, &out.CvssScore
   789  		*out = new(float64)
   790  		**out = **in
   791  	}
   792  	if in.CvssV3 != nil {
   793  		in, out := &in.CvssV3, &out.CvssV3
   794  		*out = new(NoteCvssV3)
   795  		(*in).DeepCopyInto(*out)
   796  	}
   797  	if in.Details != nil {
   798  		in, out := &in.Details, &out.Details
   799  		*out = make([]NoteDetails, len(*in))
   800  		for i := range *in {
   801  			(*in)[i].DeepCopyInto(&(*out)[i])
   802  		}
   803  	}
   804  	if in.Severity != nil {
   805  		in, out := &in.Severity, &out.Severity
   806  		*out = new(string)
   807  		**out = **in
   808  	}
   809  	if in.SourceUpdateTime != nil {
   810  		in, out := &in.SourceUpdateTime, &out.SourceUpdateTime
   811  		*out = new(string)
   812  		**out = **in
   813  	}
   814  	if in.WindowsDetails != nil {
   815  		in, out := &in.WindowsDetails, &out.WindowsDetails
   816  		*out = make([]NoteWindowsDetails, len(*in))
   817  		for i := range *in {
   818  			(*in)[i].DeepCopyInto(&(*out)[i])
   819  		}
   820  	}
   821  	return
   822  }
   823  
   824  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NoteVulnerability.
   825  func (in *NoteVulnerability) DeepCopy() *NoteVulnerability {
   826  	if in == nil {
   827  		return nil
   828  	}
   829  	out := new(NoteVulnerability)
   830  	in.DeepCopyInto(out)
   831  	return out
   832  }
   833  
   834  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   835  func (in *NoteWindowsDetails) DeepCopyInto(out *NoteWindowsDetails) {
   836  	*out = *in
   837  	if in.Description != nil {
   838  		in, out := &in.Description, &out.Description
   839  		*out = new(string)
   840  		**out = **in
   841  	}
   842  	if in.FixingKbs != nil {
   843  		in, out := &in.FixingKbs, &out.FixingKbs
   844  		*out = make([]NoteFixingKbs, len(*in))
   845  		for i := range *in {
   846  			(*in)[i].DeepCopyInto(&(*out)[i])
   847  		}
   848  	}
   849  	return
   850  }
   851  
   852  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NoteWindowsDetails.
   853  func (in *NoteWindowsDetails) DeepCopy() *NoteWindowsDetails {
   854  	if in == nil {
   855  		return nil
   856  	}
   857  	out := new(NoteWindowsDetails)
   858  	in.DeepCopyInto(out)
   859  	return out
   860  }
   861  

View as plain text