github.com/operator-framework/operator-lifecycle-manager@v0.30.0/pkg/package-server/apis/operators/zz_generated.deepcopy.go (about)

     1  //go:build !ignore_autogenerated
     2  // +build !ignore_autogenerated
     3  
     4  /*
     5  Copyright Red Hat, Inc.
     6  
     7  Licensed under the Apache License, Version 2.0 (the "License");
     8  you may not use this file except in compliance with the License.
     9  You may obtain a copy of the License at
    10  
    11      http://www.apache.org/licenses/LICENSE-2.0
    12  
    13  Unless required by applicable law or agreed to in writing, software
    14  distributed under the License is distributed on an "AS IS" BASIS,
    15  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    16  See the License for the specific language governing permissions and
    17  limitations under the License.
    18  */
    19  
    20  // Code generated by deepcopy-gen. DO NOT EDIT.
    21  
    22  package operators
    23  
    24  import (
    25  	v1alpha1 "github.com/operator-framework/api/pkg/operators/v1alpha1"
    26  	v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    27  	runtime "k8s.io/apimachinery/pkg/runtime"
    28  )
    29  
    30  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    31  func (in *AppLink) DeepCopyInto(out *AppLink) {
    32  	*out = *in
    33  	return
    34  }
    35  
    36  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppLink.
    37  func (in *AppLink) DeepCopy() *AppLink {
    38  	if in == nil {
    39  		return nil
    40  	}
    41  	out := new(AppLink)
    42  	in.DeepCopyInto(out)
    43  	return out
    44  }
    45  
    46  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    47  func (in *CSVDescription) DeepCopyInto(out *CSVDescription) {
    48  	*out = *in
    49  	if in.Icon != nil {
    50  		in, out := &in.Icon, &out.Icon
    51  		*out = make([]Icon, len(*in))
    52  		copy(*out, *in)
    53  	}
    54  	in.Version.DeepCopyInto(&out.Version)
    55  	out.Provider = in.Provider
    56  	if in.Annotations != nil {
    57  		in, out := &in.Annotations, &out.Annotations
    58  		*out = make(map[string]string, len(*in))
    59  		for key, val := range *in {
    60  			(*out)[key] = val
    61  		}
    62  	}
    63  	if in.Keywords != nil {
    64  		in, out := &in.Keywords, &out.Keywords
    65  		*out = make([]string, len(*in))
    66  		copy(*out, *in)
    67  	}
    68  	if in.Links != nil {
    69  		in, out := &in.Links, &out.Links
    70  		*out = make([]AppLink, len(*in))
    71  		copy(*out, *in)
    72  	}
    73  	if in.Maintainers != nil {
    74  		in, out := &in.Maintainers, &out.Maintainers
    75  		*out = make([]Maintainer, len(*in))
    76  		copy(*out, *in)
    77  	}
    78  	if in.InstallModes != nil {
    79  		in, out := &in.InstallModes, &out.InstallModes
    80  		*out = make([]v1alpha1.InstallMode, len(*in))
    81  		copy(*out, *in)
    82  	}
    83  	in.CustomResourceDefinitions.DeepCopyInto(&out.CustomResourceDefinitions)
    84  	in.APIServiceDefinitions.DeepCopyInto(&out.APIServiceDefinitions)
    85  	if in.NativeAPIs != nil {
    86  		in, out := &in.NativeAPIs, &out.NativeAPIs
    87  		*out = make([]v1.GroupVersionKind, len(*in))
    88  		copy(*out, *in)
    89  	}
    90  	if in.RelatedImages != nil {
    91  		in, out := &in.RelatedImages, &out.RelatedImages
    92  		*out = make([]string, len(*in))
    93  		copy(*out, *in)
    94  	}
    95  	return
    96  }
    97  
    98  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CSVDescription.
    99  func (in *CSVDescription) DeepCopy() *CSVDescription {
   100  	if in == nil {
   101  		return nil
   102  	}
   103  	out := new(CSVDescription)
   104  	in.DeepCopyInto(out)
   105  	return out
   106  }
   107  
   108  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   109  func (in *ChannelEntry) DeepCopyInto(out *ChannelEntry) {
   110  	*out = *in
   111  	if in.Deprecation != nil {
   112  		in, out := &in.Deprecation, &out.Deprecation
   113  		*out = new(Deprecation)
   114  		**out = **in
   115  	}
   116  	return
   117  }
   118  
   119  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChannelEntry.
   120  func (in *ChannelEntry) DeepCopy() *ChannelEntry {
   121  	if in == nil {
   122  		return nil
   123  	}
   124  	out := new(ChannelEntry)
   125  	in.DeepCopyInto(out)
   126  	return out
   127  }
   128  
   129  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   130  func (in *Deprecation) DeepCopyInto(out *Deprecation) {
   131  	*out = *in
   132  	return
   133  }
   134  
   135  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Deprecation.
   136  func (in *Deprecation) DeepCopy() *Deprecation {
   137  	if in == nil {
   138  		return nil
   139  	}
   140  	out := new(Deprecation)
   141  	in.DeepCopyInto(out)
   142  	return out
   143  }
   144  
   145  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   146  func (in *Icon) DeepCopyInto(out *Icon) {
   147  	*out = *in
   148  	return
   149  }
   150  
   151  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Icon.
   152  func (in *Icon) DeepCopy() *Icon {
   153  	if in == nil {
   154  		return nil
   155  	}
   156  	out := new(Icon)
   157  	in.DeepCopyInto(out)
   158  	return out
   159  }
   160  
   161  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   162  func (in *Maintainer) DeepCopyInto(out *Maintainer) {
   163  	*out = *in
   164  	return
   165  }
   166  
   167  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Maintainer.
   168  func (in *Maintainer) DeepCopy() *Maintainer {
   169  	if in == nil {
   170  		return nil
   171  	}
   172  	out := new(Maintainer)
   173  	in.DeepCopyInto(out)
   174  	return out
   175  }
   176  
   177  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   178  func (in *PackageChannel) DeepCopyInto(out *PackageChannel) {
   179  	*out = *in
   180  	in.CurrentCSVDesc.DeepCopyInto(&out.CurrentCSVDesc)
   181  	if in.Deprecation != nil {
   182  		in, out := &in.Deprecation, &out.Deprecation
   183  		*out = new(Deprecation)
   184  		**out = **in
   185  	}
   186  	if in.Entries != nil {
   187  		in, out := &in.Entries, &out.Entries
   188  		*out = make([]ChannelEntry, len(*in))
   189  		for i := range *in {
   190  			(*in)[i].DeepCopyInto(&(*out)[i])
   191  		}
   192  	}
   193  	return
   194  }
   195  
   196  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageChannel.
   197  func (in *PackageChannel) DeepCopy() *PackageChannel {
   198  	if in == nil {
   199  		return nil
   200  	}
   201  	out := new(PackageChannel)
   202  	in.DeepCopyInto(out)
   203  	return out
   204  }
   205  
   206  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   207  func (in *PackageManifest) DeepCopyInto(out *PackageManifest) {
   208  	*out = *in
   209  	out.TypeMeta = in.TypeMeta
   210  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
   211  	out.Spec = in.Spec
   212  	in.Status.DeepCopyInto(&out.Status)
   213  	return
   214  }
   215  
   216  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageManifest.
   217  func (in *PackageManifest) DeepCopy() *PackageManifest {
   218  	if in == nil {
   219  		return nil
   220  	}
   221  	out := new(PackageManifest)
   222  	in.DeepCopyInto(out)
   223  	return out
   224  }
   225  
   226  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   227  func (in *PackageManifest) DeepCopyObject() runtime.Object {
   228  	if c := in.DeepCopy(); c != nil {
   229  		return c
   230  	}
   231  	return nil
   232  }
   233  
   234  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   235  func (in *PackageManifestList) DeepCopyInto(out *PackageManifestList) {
   236  	*out = *in
   237  	out.TypeMeta = in.TypeMeta
   238  	in.ListMeta.DeepCopyInto(&out.ListMeta)
   239  	if in.Items != nil {
   240  		in, out := &in.Items, &out.Items
   241  		*out = make([]PackageManifest, len(*in))
   242  		for i := range *in {
   243  			(*in)[i].DeepCopyInto(&(*out)[i])
   244  		}
   245  	}
   246  	return
   247  }
   248  
   249  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageManifestList.
   250  func (in *PackageManifestList) DeepCopy() *PackageManifestList {
   251  	if in == nil {
   252  		return nil
   253  	}
   254  	out := new(PackageManifestList)
   255  	in.DeepCopyInto(out)
   256  	return out
   257  }
   258  
   259  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   260  func (in *PackageManifestList) DeepCopyObject() runtime.Object {
   261  	if c := in.DeepCopy(); c != nil {
   262  		return c
   263  	}
   264  	return nil
   265  }
   266  
   267  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   268  func (in *PackageManifestSpec) DeepCopyInto(out *PackageManifestSpec) {
   269  	*out = *in
   270  	return
   271  }
   272  
   273  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageManifestSpec.
   274  func (in *PackageManifestSpec) DeepCopy() *PackageManifestSpec {
   275  	if in == nil {
   276  		return nil
   277  	}
   278  	out := new(PackageManifestSpec)
   279  	in.DeepCopyInto(out)
   280  	return out
   281  }
   282  
   283  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   284  func (in *PackageManifestStatus) DeepCopyInto(out *PackageManifestStatus) {
   285  	*out = *in
   286  	out.Provider = in.Provider
   287  	if in.Deprecation != nil {
   288  		in, out := &in.Deprecation, &out.Deprecation
   289  		*out = new(Deprecation)
   290  		**out = **in
   291  	}
   292  	if in.Channels != nil {
   293  		in, out := &in.Channels, &out.Channels
   294  		*out = make([]PackageChannel, len(*in))
   295  		for i := range *in {
   296  			(*in)[i].DeepCopyInto(&(*out)[i])
   297  		}
   298  	}
   299  	return
   300  }
   301  
   302  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageManifestStatus.
   303  func (in *PackageManifestStatus) DeepCopy() *PackageManifestStatus {
   304  	if in == nil {
   305  		return nil
   306  	}
   307  	out := new(PackageManifestStatus)
   308  	in.DeepCopyInto(out)
   309  	return out
   310  }