264 lines
7.4 KiB
Go
264 lines
7.4 KiB
Go
// +build !ignore_autogenerated
|
|
|
|
/*
|
|
Copyright 2021 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 v1beta1
|
|
|
|
import (
|
|
"github.com/fluxcd/pkg/apis/kustomize"
|
|
"github.com/fluxcd/pkg/apis/meta"
|
|
"github.com/fluxcd/pkg/runtime/dependency"
|
|
"k8s.io/apimachinery/pkg/apis/meta/v1"
|
|
"k8s.io/apimachinery/pkg/runtime"
|
|
)
|
|
|
|
// 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 *KubeConfig) DeepCopyInto(out *KubeConfig) {
|
|
*out = *in
|
|
out.SecretRef = in.SecretRef
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeConfig.
|
|
func (in *KubeConfig) DeepCopy() *KubeConfig {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(KubeConfig)
|
|
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.DependsOn != nil {
|
|
in, out := &in.DependsOn, &out.DependsOn
|
|
*out = make([]dependency.CrossNamespaceDependencyReference, 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(v1.Duration)
|
|
**out = **in
|
|
}
|
|
if in.KubeConfig != nil {
|
|
in, out := &in.KubeConfig, &out.KubeConfig
|
|
*out = new(KubeConfig)
|
|
**out = **in
|
|
}
|
|
if in.HealthChecks != nil {
|
|
in, out := &in.HealthChecks, &out.HealthChecks
|
|
*out = make([]meta.NamespacedObjectKindReference, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
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(v1.Duration)
|
|
**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
|
|
if in.Conditions != nil {
|
|
in, out := &in.Conditions, &out.Conditions
|
|
*out = make([]v1.Condition, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
out.ReconcileRequestStatus = in.ReconcileRequestStatus
|
|
if in.Snapshot != nil {
|
|
in, out := &in.Snapshot, &out.Snapshot
|
|
*out = new(Snapshot)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
}
|
|
|
|
// 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 *Snapshot) DeepCopyInto(out *Snapshot) {
|
|
*out = *in
|
|
if in.Entries != nil {
|
|
in, out := &in.Entries, &out.Entries
|
|
*out = make([]SnapshotEntry, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// 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 *SnapshotEntry) DeepCopyInto(out *SnapshotEntry) {
|
|
*out = *in
|
|
if in.Kinds != nil {
|
|
in, out := &in.Kinds, &out.Kinds
|
|
*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 SnapshotEntry.
|
|
func (in *SnapshotEntry) DeepCopy() *SnapshotEntry {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(SnapshotEntry)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|