...

Source file src/github.com/fluxcd/kustomize-controller/api/v1/zz_generated.deepcopy.go

Documentation: github.com/fluxcd/kustomize-controller/api/v1

     1  //go:build !ignore_autogenerated
     2  
     3  /*
     4  Copyright 2023 The Flux authors
     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  
    19  // Code generated by controller-gen. DO NOT EDIT.
    20  
    21  package v1
    22  
    23  import (
    24  	"github.com/fluxcd/pkg/apis/kustomize"
    25  	"github.com/fluxcd/pkg/apis/meta"
    26  	metav1 "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 *CommonMetadata) DeepCopyInto(out *CommonMetadata) {
    32  	*out = *in
    33  	if in.Annotations != nil {
    34  		in, out := &in.Annotations, &out.Annotations
    35  		*out = make(map[string]string, len(*in))
    36  		for key, val := range *in {
    37  			(*out)[key] = val
    38  		}
    39  	}
    40  	if in.Labels != nil {
    41  		in, out := &in.Labels, &out.Labels
    42  		*out = make(map[string]string, len(*in))
    43  		for key, val := range *in {
    44  			(*out)[key] = val
    45  		}
    46  	}
    47  }
    48  
    49  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CommonMetadata.
    50  func (in *CommonMetadata) DeepCopy() *CommonMetadata {
    51  	if in == nil {
    52  		return nil
    53  	}
    54  	out := new(CommonMetadata)
    55  	in.DeepCopyInto(out)
    56  	return out
    57  }
    58  
    59  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    60  func (in *CrossNamespaceSourceReference) DeepCopyInto(out *CrossNamespaceSourceReference) {
    61  	*out = *in
    62  }
    63  
    64  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CrossNamespaceSourceReference.
    65  func (in *CrossNamespaceSourceReference) DeepCopy() *CrossNamespaceSourceReference {
    66  	if in == nil {
    67  		return nil
    68  	}
    69  	out := new(CrossNamespaceSourceReference)
    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 *Decryption) DeepCopyInto(out *Decryption) {
    76  	*out = *in
    77  	if in.SecretRef != nil {
    78  		in, out := &in.SecretRef, &out.SecretRef
    79  		*out = new(meta.LocalObjectReference)
    80  		**out = **in
    81  	}
    82  }
    83  
    84  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Decryption.
    85  func (in *Decryption) DeepCopy() *Decryption {
    86  	if in == nil {
    87  		return nil
    88  	}
    89  	out := new(Decryption)
    90  	in.DeepCopyInto(out)
    91  	return out
    92  }
    93  
    94  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    95  func (in *Kustomization) DeepCopyInto(out *Kustomization) {
    96  	*out = *in
    97  	out.TypeMeta = in.TypeMeta
    98  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
    99  	in.Spec.DeepCopyInto(&out.Spec)
   100  	in.Status.DeepCopyInto(&out.Status)
   101  }
   102  
   103  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Kustomization.
   104  func (in *Kustomization) DeepCopy() *Kustomization {
   105  	if in == nil {
   106  		return nil
   107  	}
   108  	out := new(Kustomization)
   109  	in.DeepCopyInto(out)
   110  	return out
   111  }
   112  
   113  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   114  func (in *Kustomization) DeepCopyObject() runtime.Object {
   115  	if c := in.DeepCopy(); c != nil {
   116  		return c
   117  	}
   118  	return nil
   119  }
   120  
   121  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   122  func (in *KustomizationList) DeepCopyInto(out *KustomizationList) {
   123  	*out = *in
   124  	out.TypeMeta = in.TypeMeta
   125  	in.ListMeta.DeepCopyInto(&out.ListMeta)
   126  	if in.Items != nil {
   127  		in, out := &in.Items, &out.Items
   128  		*out = make([]Kustomization, len(*in))
   129  		for i := range *in {
   130  			(*in)[i].DeepCopyInto(&(*out)[i])
   131  		}
   132  	}
   133  }
   134  
   135  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KustomizationList.
   136  func (in *KustomizationList) DeepCopy() *KustomizationList {
   137  	if in == nil {
   138  		return nil
   139  	}
   140  	out := new(KustomizationList)
   141  	in.DeepCopyInto(out)
   142  	return out
   143  }
   144  
   145  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   146  func (in *KustomizationList) DeepCopyObject() runtime.Object {
   147  	if c := in.DeepCopy(); c != nil {
   148  		return c
   149  	}
   150  	return nil
   151  }
   152  
   153  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   154  func (in *KustomizationSpec) DeepCopyInto(out *KustomizationSpec) {
   155  	*out = *in
   156  	if in.CommonMetadata != nil {
   157  		in, out := &in.CommonMetadata, &out.CommonMetadata
   158  		*out = new(CommonMetadata)
   159  		(*in).DeepCopyInto(*out)
   160  	}
   161  	if in.DependsOn != nil {
   162  		in, out := &in.DependsOn, &out.DependsOn
   163  		*out = make([]meta.NamespacedObjectReference, len(*in))
   164  		copy(*out, *in)
   165  	}
   166  	if in.Decryption != nil {
   167  		in, out := &in.Decryption, &out.Decryption
   168  		*out = new(Decryption)
   169  		(*in).DeepCopyInto(*out)
   170  	}
   171  	out.Interval = in.Interval
   172  	if in.RetryInterval != nil {
   173  		in, out := &in.RetryInterval, &out.RetryInterval
   174  		*out = new(metav1.Duration)
   175  		**out = **in
   176  	}
   177  	if in.KubeConfig != nil {
   178  		in, out := &in.KubeConfig, &out.KubeConfig
   179  		*out = new(meta.KubeConfigReference)
   180  		**out = **in
   181  	}
   182  	if in.PostBuild != nil {
   183  		in, out := &in.PostBuild, &out.PostBuild
   184  		*out = new(PostBuild)
   185  		(*in).DeepCopyInto(*out)
   186  	}
   187  	if in.HealthChecks != nil {
   188  		in, out := &in.HealthChecks, &out.HealthChecks
   189  		*out = make([]meta.NamespacedObjectKindReference, len(*in))
   190  		copy(*out, *in)
   191  	}
   192  	if in.Patches != nil {
   193  		in, out := &in.Patches, &out.Patches
   194  		*out = make([]kustomize.Patch, len(*in))
   195  		for i := range *in {
   196  			(*in)[i].DeepCopyInto(&(*out)[i])
   197  		}
   198  	}
   199  	if in.Images != nil {
   200  		in, out := &in.Images, &out.Images
   201  		*out = make([]kustomize.Image, len(*in))
   202  		copy(*out, *in)
   203  	}
   204  	out.SourceRef = in.SourceRef
   205  	if in.Timeout != nil {
   206  		in, out := &in.Timeout, &out.Timeout
   207  		*out = new(metav1.Duration)
   208  		**out = **in
   209  	}
   210  	if in.Components != nil {
   211  		in, out := &in.Components, &out.Components
   212  		*out = make([]string, len(*in))
   213  		copy(*out, *in)
   214  	}
   215  }
   216  
   217  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KustomizationSpec.
   218  func (in *KustomizationSpec) DeepCopy() *KustomizationSpec {
   219  	if in == nil {
   220  		return nil
   221  	}
   222  	out := new(KustomizationSpec)
   223  	in.DeepCopyInto(out)
   224  	return out
   225  }
   226  
   227  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   228  func (in *KustomizationStatus) DeepCopyInto(out *KustomizationStatus) {
   229  	*out = *in
   230  	out.ReconcileRequestStatus = in.ReconcileRequestStatus
   231  	if in.Conditions != nil {
   232  		in, out := &in.Conditions, &out.Conditions
   233  		*out = make([]metav1.Condition, len(*in))
   234  		for i := range *in {
   235  			(*in)[i].DeepCopyInto(&(*out)[i])
   236  		}
   237  	}
   238  	if in.Inventory != nil {
   239  		in, out := &in.Inventory, &out.Inventory
   240  		*out = new(ResourceInventory)
   241  		(*in).DeepCopyInto(*out)
   242  	}
   243  }
   244  
   245  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KustomizationStatus.
   246  func (in *KustomizationStatus) DeepCopy() *KustomizationStatus {
   247  	if in == nil {
   248  		return nil
   249  	}
   250  	out := new(KustomizationStatus)
   251  	in.DeepCopyInto(out)
   252  	return out
   253  }
   254  
   255  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   256  func (in *PostBuild) DeepCopyInto(out *PostBuild) {
   257  	*out = *in
   258  	if in.Substitute != nil {
   259  		in, out := &in.Substitute, &out.Substitute
   260  		*out = make(map[string]string, len(*in))
   261  		for key, val := range *in {
   262  			(*out)[key] = val
   263  		}
   264  	}
   265  	if in.SubstituteFrom != nil {
   266  		in, out := &in.SubstituteFrom, &out.SubstituteFrom
   267  		*out = make([]SubstituteReference, len(*in))
   268  		copy(*out, *in)
   269  	}
   270  }
   271  
   272  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostBuild.
   273  func (in *PostBuild) DeepCopy() *PostBuild {
   274  	if in == nil {
   275  		return nil
   276  	}
   277  	out := new(PostBuild)
   278  	in.DeepCopyInto(out)
   279  	return out
   280  }
   281  
   282  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   283  func (in *ResourceInventory) DeepCopyInto(out *ResourceInventory) {
   284  	*out = *in
   285  	if in.Entries != nil {
   286  		in, out := &in.Entries, &out.Entries
   287  		*out = make([]ResourceRef, len(*in))
   288  		copy(*out, *in)
   289  	}
   290  }
   291  
   292  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceInventory.
   293  func (in *ResourceInventory) DeepCopy() *ResourceInventory {
   294  	if in == nil {
   295  		return nil
   296  	}
   297  	out := new(ResourceInventory)
   298  	in.DeepCopyInto(out)
   299  	return out
   300  }
   301  
   302  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   303  func (in *ResourceRef) DeepCopyInto(out *ResourceRef) {
   304  	*out = *in
   305  }
   306  
   307  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceRef.
   308  func (in *ResourceRef) DeepCopy() *ResourceRef {
   309  	if in == nil {
   310  		return nil
   311  	}
   312  	out := new(ResourceRef)
   313  	in.DeepCopyInto(out)
   314  	return out
   315  }
   316  
   317  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   318  func (in *SubstituteReference) DeepCopyInto(out *SubstituteReference) {
   319  	*out = *in
   320  }
   321  
   322  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubstituteReference.
   323  func (in *SubstituteReference) DeepCopy() *SubstituteReference {
   324  	if in == nil {
   325  		return nil
   326  	}
   327  	out := new(SubstituteReference)
   328  	in.DeepCopyInto(out)
   329  	return out
   330  }
   331  

View as plain text