750 lines
21 KiB
Go
750 lines
21 KiB
Go
//go:build !ignore_autogenerated
|
|
|
|
/*
|
|
Copyright 2024 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 v2beta2
|
|
|
|
import (
|
|
"github.com/fluxcd/helm-controller/api/v2"
|
|
"github.com/fluxcd/pkg/apis/kustomize"
|
|
"github.com/fluxcd/pkg/apis/meta"
|
|
"k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1"
|
|
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 *CrossNamespaceObjectReference) DeepCopyInto(out *CrossNamespaceObjectReference) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CrossNamespaceObjectReference.
|
|
func (in *CrossNamespaceObjectReference) DeepCopy() *CrossNamespaceObjectReference {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(CrossNamespaceObjectReference)
|
|
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 *DriftDetection) DeepCopyInto(out *DriftDetection) {
|
|
*out = *in
|
|
if in.Ignore != nil {
|
|
in, out := &in.Ignore, &out.Ignore
|
|
*out = make([]IgnoreRule, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DriftDetection.
|
|
func (in *DriftDetection) DeepCopy() *DriftDetection {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(DriftDetection)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *Filter) DeepCopyInto(out *Filter) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Filter.
|
|
func (in *Filter) DeepCopy() *Filter {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(Filter)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *HelmChartTemplate) DeepCopyInto(out *HelmChartTemplate) {
|
|
*out = *in
|
|
if in.ObjectMeta != nil {
|
|
in, out := &in.ObjectMeta, &out.ObjectMeta
|
|
*out = new(HelmChartTemplateObjectMeta)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
in.Spec.DeepCopyInto(&out.Spec)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HelmChartTemplate.
|
|
func (in *HelmChartTemplate) DeepCopy() *HelmChartTemplate {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(HelmChartTemplate)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *HelmChartTemplateObjectMeta) DeepCopyInto(out *HelmChartTemplateObjectMeta) {
|
|
*out = *in
|
|
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
|
|
}
|
|
}
|
|
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
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HelmChartTemplateObjectMeta.
|
|
func (in *HelmChartTemplateObjectMeta) DeepCopy() *HelmChartTemplateObjectMeta {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(HelmChartTemplateObjectMeta)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *HelmChartTemplateSpec) DeepCopyInto(out *HelmChartTemplateSpec) {
|
|
*out = *in
|
|
out.SourceRef = in.SourceRef
|
|
if in.Interval != nil {
|
|
in, out := &in.Interval, &out.Interval
|
|
*out = new(metav1.Duration)
|
|
**out = **in
|
|
}
|
|
if in.ValuesFiles != nil {
|
|
in, out := &in.ValuesFiles, &out.ValuesFiles
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.Verify != nil {
|
|
in, out := &in.Verify, &out.Verify
|
|
*out = new(HelmChartTemplateVerification)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HelmChartTemplateSpec.
|
|
func (in *HelmChartTemplateSpec) DeepCopy() *HelmChartTemplateSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(HelmChartTemplateSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *HelmChartTemplateVerification) DeepCopyInto(out *HelmChartTemplateVerification) {
|
|
*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 HelmChartTemplateVerification.
|
|
func (in *HelmChartTemplateVerification) DeepCopy() *HelmChartTemplateVerification {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(HelmChartTemplateVerification)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *HelmRelease) DeepCopyInto(out *HelmRelease) {
|
|
*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 HelmRelease.
|
|
func (in *HelmRelease) DeepCopy() *HelmRelease {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(HelmRelease)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *HelmRelease) 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 *HelmReleaseList) DeepCopyInto(out *HelmReleaseList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]HelmRelease, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HelmReleaseList.
|
|
func (in *HelmReleaseList) DeepCopy() *HelmReleaseList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(HelmReleaseList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *HelmReleaseList) 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 *HelmReleaseSpec) DeepCopyInto(out *HelmReleaseSpec) {
|
|
*out = *in
|
|
if in.Chart != nil {
|
|
in, out := &in.Chart, &out.Chart
|
|
*out = new(HelmChartTemplate)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.ChartRef != nil {
|
|
in, out := &in.ChartRef, &out.ChartRef
|
|
*out = new(CrossNamespaceSourceReference)
|
|
**out = **in
|
|
}
|
|
out.Interval = in.Interval
|
|
if in.KubeConfig != nil {
|
|
in, out := &in.KubeConfig, &out.KubeConfig
|
|
*out = new(meta.KubeConfigReference)
|
|
**out = **in
|
|
}
|
|
if in.DependsOn != nil {
|
|
in, out := &in.DependsOn, &out.DependsOn
|
|
*out = make([]meta.NamespacedObjectReference, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.Timeout != nil {
|
|
in, out := &in.Timeout, &out.Timeout
|
|
*out = new(metav1.Duration)
|
|
**out = **in
|
|
}
|
|
if in.MaxHistory != nil {
|
|
in, out := &in.MaxHistory, &out.MaxHistory
|
|
*out = new(int)
|
|
**out = **in
|
|
}
|
|
if in.PersistentClient != nil {
|
|
in, out := &in.PersistentClient, &out.PersistentClient
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.DriftDetection != nil {
|
|
in, out := &in.DriftDetection, &out.DriftDetection
|
|
*out = new(DriftDetection)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.Install != nil {
|
|
in, out := &in.Install, &out.Install
|
|
*out = new(Install)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.Upgrade != nil {
|
|
in, out := &in.Upgrade, &out.Upgrade
|
|
*out = new(Upgrade)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.Test != nil {
|
|
in, out := &in.Test, &out.Test
|
|
*out = new(Test)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.Rollback != nil {
|
|
in, out := &in.Rollback, &out.Rollback
|
|
*out = new(Rollback)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.Uninstall != nil {
|
|
in, out := &in.Uninstall, &out.Uninstall
|
|
*out = new(Uninstall)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.ValuesFrom != nil {
|
|
in, out := &in.ValuesFrom, &out.ValuesFrom
|
|
*out = make([]ValuesReference, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.Values != nil {
|
|
in, out := &in.Values, &out.Values
|
|
*out = new(v1.JSON)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.PostRenderers != nil {
|
|
in, out := &in.PostRenderers, &out.PostRenderers
|
|
*out = make([]PostRenderer, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HelmReleaseSpec.
|
|
func (in *HelmReleaseSpec) DeepCopy() *HelmReleaseSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(HelmReleaseSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *HelmReleaseStatus) DeepCopyInto(out *HelmReleaseStatus) {
|
|
*out = *in
|
|
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.History != nil {
|
|
in, out := &in.History, &out.History
|
|
*out = make(v2.Snapshots, len(*in))
|
|
for i := range *in {
|
|
if (*in)[i] != nil {
|
|
in, out := &(*in)[i], &(*out)[i]
|
|
*out = new(v2.Snapshot)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
}
|
|
}
|
|
out.ReconcileRequestStatus = in.ReconcileRequestStatus
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HelmReleaseStatus.
|
|
func (in *HelmReleaseStatus) DeepCopy() *HelmReleaseStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(HelmReleaseStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *IgnoreRule) DeepCopyInto(out *IgnoreRule) {
|
|
*out = *in
|
|
if in.Paths != nil {
|
|
in, out := &in.Paths, &out.Paths
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.Target != nil {
|
|
in, out := &in.Target, &out.Target
|
|
*out = new(kustomize.Selector)
|
|
**out = **in
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IgnoreRule.
|
|
func (in *IgnoreRule) DeepCopy() *IgnoreRule {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(IgnoreRule)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *Install) DeepCopyInto(out *Install) {
|
|
*out = *in
|
|
if in.Timeout != nil {
|
|
in, out := &in.Timeout, &out.Timeout
|
|
*out = new(metav1.Duration)
|
|
**out = **in
|
|
}
|
|
if in.Remediation != nil {
|
|
in, out := &in.Remediation, &out.Remediation
|
|
*out = new(InstallRemediation)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Install.
|
|
func (in *Install) DeepCopy() *Install {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(Install)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *InstallRemediation) DeepCopyInto(out *InstallRemediation) {
|
|
*out = *in
|
|
if in.IgnoreTestFailures != nil {
|
|
in, out := &in.IgnoreTestFailures, &out.IgnoreTestFailures
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.RemediateLastFailure != nil {
|
|
in, out := &in.RemediateLastFailure, &out.RemediateLastFailure
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstallRemediation.
|
|
func (in *InstallRemediation) DeepCopy() *InstallRemediation {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(InstallRemediation)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *Kustomize) DeepCopyInto(out *Kustomize) {
|
|
*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.PatchesStrategicMerge != nil {
|
|
in, out := &in.PatchesStrategicMerge, &out.PatchesStrategicMerge
|
|
*out = make([]v1.JSON, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
if in.PatchesJSON6902 != nil {
|
|
in, out := &in.PatchesJSON6902, &out.PatchesJSON6902
|
|
*out = make([]kustomize.JSON6902Patch, 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)
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Kustomize.
|
|
func (in *Kustomize) DeepCopy() *Kustomize {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(Kustomize)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *PostRenderer) DeepCopyInto(out *PostRenderer) {
|
|
*out = *in
|
|
if in.Kustomize != nil {
|
|
in, out := &in.Kustomize, &out.Kustomize
|
|
*out = new(Kustomize)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostRenderer.
|
|
func (in *PostRenderer) DeepCopy() *PostRenderer {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(PostRenderer)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *Rollback) DeepCopyInto(out *Rollback) {
|
|
*out = *in
|
|
if in.Timeout != nil {
|
|
in, out := &in.Timeout, &out.Timeout
|
|
*out = new(metav1.Duration)
|
|
**out = **in
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Rollback.
|
|
func (in *Rollback) DeepCopy() *Rollback {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(Rollback)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *Snapshot) DeepCopyInto(out *Snapshot) {
|
|
*out = *in
|
|
in.FirstDeployed.DeepCopyInto(&out.FirstDeployed)
|
|
in.LastDeployed.DeepCopyInto(&out.LastDeployed)
|
|
in.Deleted.DeepCopyInto(&out.Deleted)
|
|
if in.TestHooks != nil {
|
|
in, out := &in.TestHooks, &out.TestHooks
|
|
*out = new(map[string]*TestHookStatus)
|
|
if **in != nil {
|
|
in, out := *in, *out
|
|
*out = make(map[string]*TestHookStatus, len(*in))
|
|
for key, val := range *in {
|
|
var outVal *TestHookStatus
|
|
if val == nil {
|
|
(*out)[key] = nil
|
|
} else {
|
|
inVal := (*in)[key]
|
|
in, out := &inVal, &outVal
|
|
*out = new(TestHookStatus)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
(*out)[key] = outVal
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Snapshot.
|
|
func (in *Snapshot) DeepCopy() *Snapshot {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(Snapshot)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in Snapshots) DeepCopyInto(out *Snapshots) {
|
|
{
|
|
in := &in
|
|
*out = make(Snapshots, len(*in))
|
|
for i := range *in {
|
|
if (*in)[i] != nil {
|
|
in, out := &(*in)[i], &(*out)[i]
|
|
*out = new(Snapshot)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Snapshots.
|
|
func (in Snapshots) DeepCopy() Snapshots {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(Snapshots)
|
|
in.DeepCopyInto(out)
|
|
return *out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *Test) DeepCopyInto(out *Test) {
|
|
*out = *in
|
|
if in.Timeout != nil {
|
|
in, out := &in.Timeout, &out.Timeout
|
|
*out = new(metav1.Duration)
|
|
**out = **in
|
|
}
|
|
if in.Filters != nil {
|
|
in, out := &in.Filters, &out.Filters
|
|
*out = new([]Filter)
|
|
if **in != nil {
|
|
in, out := *in, *out
|
|
*out = make([]Filter, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Test.
|
|
func (in *Test) DeepCopy() *Test {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(Test)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *TestHookStatus) DeepCopyInto(out *TestHookStatus) {
|
|
*out = *in
|
|
in.LastStarted.DeepCopyInto(&out.LastStarted)
|
|
in.LastCompleted.DeepCopyInto(&out.LastCompleted)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestHookStatus.
|
|
func (in *TestHookStatus) DeepCopy() *TestHookStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(TestHookStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *Uninstall) DeepCopyInto(out *Uninstall) {
|
|
*out = *in
|
|
if in.Timeout != nil {
|
|
in, out := &in.Timeout, &out.Timeout
|
|
*out = new(metav1.Duration)
|
|
**out = **in
|
|
}
|
|
if in.DeletionPropagation != nil {
|
|
in, out := &in.DeletionPropagation, &out.DeletionPropagation
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Uninstall.
|
|
func (in *Uninstall) DeepCopy() *Uninstall {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(Uninstall)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *Upgrade) DeepCopyInto(out *Upgrade) {
|
|
*out = *in
|
|
if in.Timeout != nil {
|
|
in, out := &in.Timeout, &out.Timeout
|
|
*out = new(metav1.Duration)
|
|
**out = **in
|
|
}
|
|
if in.Remediation != nil {
|
|
in, out := &in.Remediation, &out.Remediation
|
|
*out = new(UpgradeRemediation)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Upgrade.
|
|
func (in *Upgrade) DeepCopy() *Upgrade {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(Upgrade)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *UpgradeRemediation) DeepCopyInto(out *UpgradeRemediation) {
|
|
*out = *in
|
|
if in.IgnoreTestFailures != nil {
|
|
in, out := &in.IgnoreTestFailures, &out.IgnoreTestFailures
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.RemediateLastFailure != nil {
|
|
in, out := &in.RemediateLastFailure, &out.RemediateLastFailure
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.Strategy != nil {
|
|
in, out := &in.Strategy, &out.Strategy
|
|
*out = new(RemediationStrategy)
|
|
**out = **in
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpgradeRemediation.
|
|
func (in *UpgradeRemediation) DeepCopy() *UpgradeRemediation {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(UpgradeRemediation)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ValuesReference) DeepCopyInto(out *ValuesReference) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ValuesReference.
|
|
func (in *ValuesReference) DeepCopy() *ValuesReference {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ValuesReference)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|