358 lines
		
	
	
		
			10 KiB
		
	
	
	
		
			Go
		
	
	
	
			
		
		
	
	
			358 lines
		
	
	
		
			10 KiB
		
	
	
	
		
			Go
		
	
	
	
//go:build !ignore_autogenerated
 | 
						|
 | 
						|
/*
 | 
						|
Copyright 2025 The Flux authors
 | 
						|
 | 
						|
Licensed under the Apache License, Version 2.0 (the "License");
 | 
						|
you may not use this file except in compliance with the License.
 | 
						|
You may obtain a copy of the License at
 | 
						|
 | 
						|
    http://www.apache.org/licenses/LICENSE-2.0
 | 
						|
 | 
						|
Unless required by applicable law or agreed to in writing, software
 | 
						|
distributed under the License is distributed on an "AS IS" BASIS,
 | 
						|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 | 
						|
See the License for the specific language governing permissions and
 | 
						|
limitations under the License.
 | 
						|
*/
 | 
						|
 | 
						|
// Code generated by controller-gen. DO NOT EDIT.
 | 
						|
 | 
						|
package v1
 | 
						|
 | 
						|
import (
 | 
						|
	"github.com/fluxcd/pkg/apis/kustomize"
 | 
						|
	"github.com/fluxcd/pkg/apis/meta"
 | 
						|
	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
 | 
						|
	runtime "k8s.io/apimachinery/pkg/runtime"
 | 
						|
)
 | 
						|
 | 
						|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
 | 
						|
func (in *CommonMetadata) DeepCopyInto(out *CommonMetadata) {
 | 
						|
	*out = *in
 | 
						|
	if in.Annotations != nil {
 | 
						|
		in, out := &in.Annotations, &out.Annotations
 | 
						|
		*out = make(map[string]string, len(*in))
 | 
						|
		for key, val := range *in {
 | 
						|
			(*out)[key] = val
 | 
						|
		}
 | 
						|
	}
 | 
						|
	if in.Labels != nil {
 | 
						|
		in, out := &in.Labels, &out.Labels
 | 
						|
		*out = make(map[string]string, len(*in))
 | 
						|
		for key, val := range *in {
 | 
						|
			(*out)[key] = val
 | 
						|
		}
 | 
						|
	}
 | 
						|
}
 | 
						|
 | 
						|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CommonMetadata.
 | 
						|
func (in *CommonMetadata) DeepCopy() *CommonMetadata {
 | 
						|
	if in == nil {
 | 
						|
		return nil
 | 
						|
	}
 | 
						|
	out := new(CommonMetadata)
 | 
						|
	in.DeepCopyInto(out)
 | 
						|
	return out
 | 
						|
}
 | 
						|
 | 
						|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
 | 
						|
func (in *CrossNamespaceSourceReference) DeepCopyInto(out *CrossNamespaceSourceReference) {
 | 
						|
	*out = *in
 | 
						|
}
 | 
						|
 | 
						|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CrossNamespaceSourceReference.
 | 
						|
func (in *CrossNamespaceSourceReference) DeepCopy() *CrossNamespaceSourceReference {
 | 
						|
	if in == nil {
 | 
						|
		return nil
 | 
						|
	}
 | 
						|
	out := new(CrossNamespaceSourceReference)
 | 
						|
	in.DeepCopyInto(out)
 | 
						|
	return out
 | 
						|
}
 | 
						|
 | 
						|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
 | 
						|
func (in *Decryption) DeepCopyInto(out *Decryption) {
 | 
						|
	*out = *in
 | 
						|
	if in.SecretRef != nil {
 | 
						|
		in, out := &in.SecretRef, &out.SecretRef
 | 
						|
		*out = new(meta.LocalObjectReference)
 | 
						|
		**out = **in
 | 
						|
	}
 | 
						|
}
 | 
						|
 | 
						|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Decryption.
 | 
						|
func (in *Decryption) DeepCopy() *Decryption {
 | 
						|
	if in == nil {
 | 
						|
		return nil
 | 
						|
	}
 | 
						|
	out := new(Decryption)
 | 
						|
	in.DeepCopyInto(out)
 | 
						|
	return out
 | 
						|
}
 | 
						|
 | 
						|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
 | 
						|
func (in *DependencyReference) DeepCopyInto(out *DependencyReference) {
 | 
						|
	*out = *in
 | 
						|
}
 | 
						|
 | 
						|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DependencyReference.
 | 
						|
func (in *DependencyReference) DeepCopy() *DependencyReference {
 | 
						|
	if in == nil {
 | 
						|
		return nil
 | 
						|
	}
 | 
						|
	out := new(DependencyReference)
 | 
						|
	in.DeepCopyInto(out)
 | 
						|
	return out
 | 
						|
}
 | 
						|
 | 
						|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
 | 
						|
func (in *Kustomization) DeepCopyInto(out *Kustomization) {
 | 
						|
	*out = *in
 | 
						|
	out.TypeMeta = in.TypeMeta
 | 
						|
	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
 | 
						|
	in.Spec.DeepCopyInto(&out.Spec)
 | 
						|
	in.Status.DeepCopyInto(&out.Status)
 | 
						|
}
 | 
						|
 | 
						|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Kustomization.
 | 
						|
func (in *Kustomization) DeepCopy() *Kustomization {
 | 
						|
	if in == nil {
 | 
						|
		return nil
 | 
						|
	}
 | 
						|
	out := new(Kustomization)
 | 
						|
	in.DeepCopyInto(out)
 | 
						|
	return out
 | 
						|
}
 | 
						|
 | 
						|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
 | 
						|
func (in *Kustomization) DeepCopyObject() runtime.Object {
 | 
						|
	if c := in.DeepCopy(); c != nil {
 | 
						|
		return c
 | 
						|
	}
 | 
						|
	return nil
 | 
						|
}
 | 
						|
 | 
						|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
 | 
						|
func (in *KustomizationList) DeepCopyInto(out *KustomizationList) {
 | 
						|
	*out = *in
 | 
						|
	out.TypeMeta = in.TypeMeta
 | 
						|
	in.ListMeta.DeepCopyInto(&out.ListMeta)
 | 
						|
	if in.Items != nil {
 | 
						|
		in, out := &in.Items, &out.Items
 | 
						|
		*out = make([]Kustomization, len(*in))
 | 
						|
		for i := range *in {
 | 
						|
			(*in)[i].DeepCopyInto(&(*out)[i])
 | 
						|
		}
 | 
						|
	}
 | 
						|
}
 | 
						|
 | 
						|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KustomizationList.
 | 
						|
func (in *KustomizationList) DeepCopy() *KustomizationList {
 | 
						|
	if in == nil {
 | 
						|
		return nil
 | 
						|
	}
 | 
						|
	out := new(KustomizationList)
 | 
						|
	in.DeepCopyInto(out)
 | 
						|
	return out
 | 
						|
}
 | 
						|
 | 
						|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
 | 
						|
func (in *KustomizationList) DeepCopyObject() runtime.Object {
 | 
						|
	if c := in.DeepCopy(); c != nil {
 | 
						|
		return c
 | 
						|
	}
 | 
						|
	return nil
 | 
						|
}
 | 
						|
 | 
						|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
 | 
						|
func (in *KustomizationSpec) DeepCopyInto(out *KustomizationSpec) {
 | 
						|
	*out = *in
 | 
						|
	if in.CommonMetadata != nil {
 | 
						|
		in, out := &in.CommonMetadata, &out.CommonMetadata
 | 
						|
		*out = new(CommonMetadata)
 | 
						|
		(*in).DeepCopyInto(*out)
 | 
						|
	}
 | 
						|
	if in.DependsOn != nil {
 | 
						|
		in, out := &in.DependsOn, &out.DependsOn
 | 
						|
		*out = make([]DependencyReference, len(*in))
 | 
						|
		copy(*out, *in)
 | 
						|
	}
 | 
						|
	if in.Decryption != nil {
 | 
						|
		in, out := &in.Decryption, &out.Decryption
 | 
						|
		*out = new(Decryption)
 | 
						|
		(*in).DeepCopyInto(*out)
 | 
						|
	}
 | 
						|
	out.Interval = in.Interval
 | 
						|
	if in.RetryInterval != nil {
 | 
						|
		in, out := &in.RetryInterval, &out.RetryInterval
 | 
						|
		*out = new(metav1.Duration)
 | 
						|
		**out = **in
 | 
						|
	}
 | 
						|
	if in.KubeConfig != nil {
 | 
						|
		in, out := &in.KubeConfig, &out.KubeConfig
 | 
						|
		*out = new(meta.KubeConfigReference)
 | 
						|
		(*in).DeepCopyInto(*out)
 | 
						|
	}
 | 
						|
	if in.PostBuild != nil {
 | 
						|
		in, out := &in.PostBuild, &out.PostBuild
 | 
						|
		*out = new(PostBuild)
 | 
						|
		(*in).DeepCopyInto(*out)
 | 
						|
	}
 | 
						|
	if in.HealthChecks != nil {
 | 
						|
		in, out := &in.HealthChecks, &out.HealthChecks
 | 
						|
		*out = make([]meta.NamespacedObjectKindReference, len(*in))
 | 
						|
		copy(*out, *in)
 | 
						|
	}
 | 
						|
	if in.Patches != nil {
 | 
						|
		in, out := &in.Patches, &out.Patches
 | 
						|
		*out = make([]kustomize.Patch, len(*in))
 | 
						|
		for i := range *in {
 | 
						|
			(*in)[i].DeepCopyInto(&(*out)[i])
 | 
						|
		}
 | 
						|
	}
 | 
						|
	if in.Images != nil {
 | 
						|
		in, out := &in.Images, &out.Images
 | 
						|
		*out = make([]kustomize.Image, len(*in))
 | 
						|
		copy(*out, *in)
 | 
						|
	}
 | 
						|
	out.SourceRef = in.SourceRef
 | 
						|
	if in.Timeout != nil {
 | 
						|
		in, out := &in.Timeout, &out.Timeout
 | 
						|
		*out = new(metav1.Duration)
 | 
						|
		**out = **in
 | 
						|
	}
 | 
						|
	if in.Components != nil {
 | 
						|
		in, out := &in.Components, &out.Components
 | 
						|
		*out = make([]string, len(*in))
 | 
						|
		copy(*out, *in)
 | 
						|
	}
 | 
						|
	if in.HealthCheckExprs != nil {
 | 
						|
		in, out := &in.HealthCheckExprs, &out.HealthCheckExprs
 | 
						|
		*out = make([]kustomize.CustomHealthCheck, len(*in))
 | 
						|
		copy(*out, *in)
 | 
						|
	}
 | 
						|
}
 | 
						|
 | 
						|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KustomizationSpec.
 | 
						|
func (in *KustomizationSpec) DeepCopy() *KustomizationSpec {
 | 
						|
	if in == nil {
 | 
						|
		return nil
 | 
						|
	}
 | 
						|
	out := new(KustomizationSpec)
 | 
						|
	in.DeepCopyInto(out)
 | 
						|
	return out
 | 
						|
}
 | 
						|
 | 
						|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
 | 
						|
func (in *KustomizationStatus) DeepCopyInto(out *KustomizationStatus) {
 | 
						|
	*out = *in
 | 
						|
	out.ReconcileRequestStatus = in.ReconcileRequestStatus
 | 
						|
	if in.Conditions != nil {
 | 
						|
		in, out := &in.Conditions, &out.Conditions
 | 
						|
		*out = make([]metav1.Condition, len(*in))
 | 
						|
		for i := range *in {
 | 
						|
			(*in)[i].DeepCopyInto(&(*out)[i])
 | 
						|
		}
 | 
						|
	}
 | 
						|
	if in.Inventory != nil {
 | 
						|
		in, out := &in.Inventory, &out.Inventory
 | 
						|
		*out = new(ResourceInventory)
 | 
						|
		(*in).DeepCopyInto(*out)
 | 
						|
	}
 | 
						|
	if in.History != nil {
 | 
						|
		in, out := &in.History, &out.History
 | 
						|
		*out = make(meta.History, len(*in))
 | 
						|
		for i := range *in {
 | 
						|
			(*in)[i].DeepCopyInto(&(*out)[i])
 | 
						|
		}
 | 
						|
	}
 | 
						|
}
 | 
						|
 | 
						|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KustomizationStatus.
 | 
						|
func (in *KustomizationStatus) DeepCopy() *KustomizationStatus {
 | 
						|
	if in == nil {
 | 
						|
		return nil
 | 
						|
	}
 | 
						|
	out := new(KustomizationStatus)
 | 
						|
	in.DeepCopyInto(out)
 | 
						|
	return out
 | 
						|
}
 | 
						|
 | 
						|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
 | 
						|
func (in *PostBuild) DeepCopyInto(out *PostBuild) {
 | 
						|
	*out = *in
 | 
						|
	if in.Substitute != nil {
 | 
						|
		in, out := &in.Substitute, &out.Substitute
 | 
						|
		*out = make(map[string]string, len(*in))
 | 
						|
		for key, val := range *in {
 | 
						|
			(*out)[key] = val
 | 
						|
		}
 | 
						|
	}
 | 
						|
	if in.SubstituteFrom != nil {
 | 
						|
		in, out := &in.SubstituteFrom, &out.SubstituteFrom
 | 
						|
		*out = make([]SubstituteReference, len(*in))
 | 
						|
		copy(*out, *in)
 | 
						|
	}
 | 
						|
}
 | 
						|
 | 
						|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostBuild.
 | 
						|
func (in *PostBuild) DeepCopy() *PostBuild {
 | 
						|
	if in == nil {
 | 
						|
		return nil
 | 
						|
	}
 | 
						|
	out := new(PostBuild)
 | 
						|
	in.DeepCopyInto(out)
 | 
						|
	return out
 | 
						|
}
 | 
						|
 | 
						|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
 | 
						|
func (in *ResourceInventory) DeepCopyInto(out *ResourceInventory) {
 | 
						|
	*out = *in
 | 
						|
	if in.Entries != nil {
 | 
						|
		in, out := &in.Entries, &out.Entries
 | 
						|
		*out = make([]ResourceRef, len(*in))
 | 
						|
		copy(*out, *in)
 | 
						|
	}
 | 
						|
}
 | 
						|
 | 
						|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceInventory.
 | 
						|
func (in *ResourceInventory) DeepCopy() *ResourceInventory {
 | 
						|
	if in == nil {
 | 
						|
		return nil
 | 
						|
	}
 | 
						|
	out := new(ResourceInventory)
 | 
						|
	in.DeepCopyInto(out)
 | 
						|
	return out
 | 
						|
}
 | 
						|
 | 
						|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
 | 
						|
func (in *ResourceRef) DeepCopyInto(out *ResourceRef) {
 | 
						|
	*out = *in
 | 
						|
}
 | 
						|
 | 
						|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceRef.
 | 
						|
func (in *ResourceRef) DeepCopy() *ResourceRef {
 | 
						|
	if in == nil {
 | 
						|
		return nil
 | 
						|
	}
 | 
						|
	out := new(ResourceRef)
 | 
						|
	in.DeepCopyInto(out)
 | 
						|
	return out
 | 
						|
}
 | 
						|
 | 
						|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
 | 
						|
func (in *SubstituteReference) DeepCopyInto(out *SubstituteReference) {
 | 
						|
	*out = *in
 | 
						|
}
 | 
						|
 | 
						|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubstituteReference.
 | 
						|
func (in *SubstituteReference) DeepCopy() *SubstituteReference {
 | 
						|
	if in == nil {
 | 
						|
		return nil
 | 
						|
	}
 | 
						|
	out := new(SubstituteReference)
 | 
						|
	in.DeepCopyInto(out)
 | 
						|
	return out
 | 
						|
}
 |