mirror of
https://github.com/cozystack/cozystack.git
synced 2026-11-30 12:16:03 +09:00
Tenant quotas are to be enforced against what an application declares rather than against the pods it renders, and the apiserver must hold no per-kind knowledge of how to compute that, so that a kind shipped from an out-of-tree catalog can take part. The declaration therefore lives on the kind's definition, next to the schema it is evaluated against. The evaluator's Declaration becomes an alias of the API type, so a definition is compiled exactly as it was read, with no conversion that could drift from it. The CRD refuses an exempt declaration that still carries expressions and a non-exempt one that names no resource, so an omission cannot pass for a zero reservation. Nothing reads the field yet. Assisted-by: LLM Signed-off-by: Mattia Eleuteri <mattia@hidora.io>
894 lines
26 KiB
Go
Generated
894 lines
26 KiB
Go
Generated
//go:build !ignore_autogenerated
|
|
|
|
/*
|
|
Copyright 2025 The Cozystack 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 v1alpha1
|
|
|
|
import (
|
|
"github.com/fluxcd/helm-controller/api/v2"
|
|
"github.com/fluxcd/pkg/apis/kustomize"
|
|
"k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1"
|
|
"k8s.io/apimachinery/pkg/api/resource"
|
|
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 *ApplicationDefinition) DeepCopyInto(out *ApplicationDefinition) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
|
in.Spec.DeepCopyInto(&out.Spec)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationDefinition.
|
|
func (in *ApplicationDefinition) DeepCopy() *ApplicationDefinition {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ApplicationDefinition)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *ApplicationDefinition) 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 *ApplicationDefinitionApplication) DeepCopyInto(out *ApplicationDefinitionApplication) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationDefinitionApplication.
|
|
func (in *ApplicationDefinitionApplication) DeepCopy() *ApplicationDefinitionApplication {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ApplicationDefinitionApplication)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ApplicationDefinitionConsumption) DeepCopyInto(out *ApplicationDefinitionConsumption) {
|
|
*out = *in
|
|
if in.Let != nil {
|
|
in, out := &in.Let, &out.Let
|
|
*out = make([]ApplicationDefinitionConsumptionBinding, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.Resources != nil {
|
|
in, out := &in.Resources, &out.Resources
|
|
*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 ApplicationDefinitionConsumption.
|
|
func (in *ApplicationDefinitionConsumption) DeepCopy() *ApplicationDefinitionConsumption {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ApplicationDefinitionConsumption)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ApplicationDefinitionConsumptionBinding) DeepCopyInto(out *ApplicationDefinitionConsumptionBinding) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationDefinitionConsumptionBinding.
|
|
func (in *ApplicationDefinitionConsumptionBinding) DeepCopy() *ApplicationDefinitionConsumptionBinding {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ApplicationDefinitionConsumptionBinding)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ApplicationDefinitionDashboard) DeepCopyInto(out *ApplicationDefinitionDashboard) {
|
|
*out = *in
|
|
if in.Tags != nil {
|
|
in, out := &in.Tags, &out.Tags
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.Tabs != nil {
|
|
in, out := &in.Tabs, &out.Tabs
|
|
*out = make([]DashboardTab, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.KeysOrder != nil {
|
|
in, out := &in.KeysOrder, &out.KeysOrder
|
|
*out = make([][]string, len(*in))
|
|
for i := range *in {
|
|
if (*in)[i] != nil {
|
|
in, out := &(*in)[i], &(*out)[i]
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationDefinitionDashboard.
|
|
func (in *ApplicationDefinitionDashboard) DeepCopy() *ApplicationDefinitionDashboard {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ApplicationDefinitionDashboard)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ApplicationDefinitionList) DeepCopyInto(out *ApplicationDefinitionList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]ApplicationDefinition, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationDefinitionList.
|
|
func (in *ApplicationDefinitionList) DeepCopy() *ApplicationDefinitionList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ApplicationDefinitionList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *ApplicationDefinitionList) 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 *ApplicationDefinitionRelease) DeepCopyInto(out *ApplicationDefinitionRelease) {
|
|
*out = *in
|
|
if in.ChartRef != nil {
|
|
in, out := &in.ChartRef, &out.ChartRef
|
|
*out = new(v2.CrossNamespaceSourceReference)
|
|
**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.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 ApplicationDefinitionRelease.
|
|
func (in *ApplicationDefinitionRelease) DeepCopy() *ApplicationDefinitionRelease {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ApplicationDefinitionRelease)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ApplicationDefinitionResourceSelector) DeepCopyInto(out *ApplicationDefinitionResourceSelector) {
|
|
*out = *in
|
|
in.LabelSelector.DeepCopyInto(&out.LabelSelector)
|
|
if in.ResourceNames != nil {
|
|
in, out := &in.ResourceNames, &out.ResourceNames
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationDefinitionResourceSelector.
|
|
func (in *ApplicationDefinitionResourceSelector) DeepCopy() *ApplicationDefinitionResourceSelector {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ApplicationDefinitionResourceSelector)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ApplicationDefinitionResources) DeepCopyInto(out *ApplicationDefinitionResources) {
|
|
*out = *in
|
|
if in.Exclude != nil {
|
|
in, out := &in.Exclude, &out.Exclude
|
|
*out = make([]*ApplicationDefinitionResourceSelector, len(*in))
|
|
for i := range *in {
|
|
if (*in)[i] != nil {
|
|
in, out := &(*in)[i], &(*out)[i]
|
|
*out = new(ApplicationDefinitionResourceSelector)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
}
|
|
}
|
|
if in.Include != nil {
|
|
in, out := &in.Include, &out.Include
|
|
*out = make([]*ApplicationDefinitionResourceSelector, len(*in))
|
|
for i := range *in {
|
|
if (*in)[i] != nil {
|
|
in, out := &(*in)[i], &(*out)[i]
|
|
*out = new(ApplicationDefinitionResourceSelector)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationDefinitionResources.
|
|
func (in *ApplicationDefinitionResources) DeepCopy() *ApplicationDefinitionResources {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ApplicationDefinitionResources)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ApplicationDefinitionSpec) DeepCopyInto(out *ApplicationDefinitionSpec) {
|
|
*out = *in
|
|
out.Application = in.Application
|
|
in.Release.DeepCopyInto(&out.Release)
|
|
in.Secrets.DeepCopyInto(&out.Secrets)
|
|
in.Services.DeepCopyInto(&out.Services)
|
|
in.Ingresses.DeepCopyInto(&out.Ingresses)
|
|
if in.Dashboard != nil {
|
|
in, out := &in.Dashboard, &out.Dashboard
|
|
*out = new(ApplicationDefinitionDashboard)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.Consumption != nil {
|
|
in, out := &in.Consumption, &out.Consumption
|
|
*out = new(ApplicationDefinitionConsumption)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationDefinitionSpec.
|
|
func (in *ApplicationDefinitionSpec) DeepCopy() *ApplicationDefinitionSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ApplicationDefinitionSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *Component) DeepCopyInto(out *Component) {
|
|
*out = *in
|
|
if in.Install != nil {
|
|
in, out := &in.Install, &out.Install
|
|
*out = new(ComponentInstall)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.Libraries != nil {
|
|
in, out := &in.Libraries, &out.Libraries
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.ValuesFiles != nil {
|
|
in, out := &in.ValuesFiles, &out.ValuesFiles
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Component.
|
|
func (in *Component) DeepCopy() *Component {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(Component)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ComponentInstall) DeepCopyInto(out *ComponentInstall) {
|
|
*out = *in
|
|
if in.DependsOn != nil {
|
|
in, out := &in.DependsOn, &out.DependsOn
|
|
*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 ComponentInstall.
|
|
func (in *ComponentInstall) DeepCopy() *ComponentInstall {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ComponentInstall)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *DependencyStatus) DeepCopyInto(out *DependencyStatus) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DependencyStatus.
|
|
func (in *DependencyStatus) DeepCopy() *DependencyStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(DependencyStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *Library) DeepCopyInto(out *Library) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Library.
|
|
func (in *Library) DeepCopy() *Library {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(Library)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *Package) DeepCopyInto(out *Package) {
|
|
*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 Package.
|
|
func (in *Package) DeepCopy() *Package {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(Package)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *Package) 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 *PackageComponent) DeepCopyInto(out *PackageComponent) {
|
|
*out = *in
|
|
if in.Enabled != nil {
|
|
in, out := &in.Enabled, &out.Enabled
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.Values != nil {
|
|
in, out := &in.Values, &out.Values
|
|
*out = new(v1.JSON)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageComponent.
|
|
func (in *PackageComponent) DeepCopy() *PackageComponent {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(PackageComponent)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *PackageList) DeepCopyInto(out *PackageList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]Package, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageList.
|
|
func (in *PackageList) DeepCopy() *PackageList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(PackageList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *PackageList) 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 *PackageSource) DeepCopyInto(out *PackageSource) {
|
|
*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 PackageSource.
|
|
func (in *PackageSource) DeepCopy() *PackageSource {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(PackageSource)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *PackageSource) 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 *PackageSourceList) DeepCopyInto(out *PackageSourceList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]PackageSource, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageSourceList.
|
|
func (in *PackageSourceList) DeepCopy() *PackageSourceList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(PackageSourceList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *PackageSourceList) 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 *PackageSourceRef) DeepCopyInto(out *PackageSourceRef) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageSourceRef.
|
|
func (in *PackageSourceRef) DeepCopy() *PackageSourceRef {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(PackageSourceRef)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *PackageSourceSpec) DeepCopyInto(out *PackageSourceSpec) {
|
|
*out = *in
|
|
if in.SourceRef != nil {
|
|
in, out := &in.SourceRef, &out.SourceRef
|
|
*out = new(PackageSourceRef)
|
|
**out = **in
|
|
}
|
|
if in.Variants != nil {
|
|
in, out := &in.Variants, &out.Variants
|
|
*out = make([]Variant, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageSourceSpec.
|
|
func (in *PackageSourceSpec) DeepCopy() *PackageSourceSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(PackageSourceSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *PackageSourceStatus) DeepCopyInto(out *PackageSourceStatus) {
|
|
*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])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageSourceStatus.
|
|
func (in *PackageSourceStatus) DeepCopy() *PackageSourceStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(PackageSourceStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *PackageSpec) DeepCopyInto(out *PackageSpec) {
|
|
*out = *in
|
|
if in.IgnoreDependencies != nil {
|
|
in, out := &in.IgnoreDependencies, &out.IgnoreDependencies
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.Components != nil {
|
|
in, out := &in.Components, &out.Components
|
|
*out = make(map[string]PackageComponent, len(*in))
|
|
for key, val := range *in {
|
|
(*out)[key] = *val.DeepCopy()
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageSpec.
|
|
func (in *PackageSpec) DeepCopy() *PackageSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(PackageSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *PackageStatus) DeepCopyInto(out *PackageStatus) {
|
|
*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.Dependencies != nil {
|
|
in, out := &in.Dependencies, &out.Dependencies
|
|
*out = make(map[string]DependencyStatus, len(*in))
|
|
for key, val := range *in {
|
|
(*out)[key] = val
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageStatus.
|
|
func (in *PackageStatus) DeepCopy() *PackageStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(PackageStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in Selector) DeepCopyInto(out *Selector) {
|
|
{
|
|
in := &in
|
|
*out = make(Selector, len(*in))
|
|
for key, val := range *in {
|
|
(*out)[key] = val
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Selector.
|
|
func (in Selector) DeepCopy() Selector {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(Selector)
|
|
in.DeepCopyInto(out)
|
|
return *out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *Variant) DeepCopyInto(out *Variant) {
|
|
*out = *in
|
|
if in.DependsOn != nil {
|
|
in, out := &in.DependsOn, &out.DependsOn
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.Libraries != nil {
|
|
in, out := &in.Libraries, &out.Libraries
|
|
*out = make([]Library, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.Components != nil {
|
|
in, out := &in.Components, &out.Components
|
|
*out = make([]Component, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Variant.
|
|
func (in *Variant) DeepCopy() *Variant {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(Variant)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *Workload) DeepCopyInto(out *Workload) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
|
in.Status.DeepCopyInto(&out.Status)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Workload.
|
|
func (in *Workload) DeepCopy() *Workload {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(Workload)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *Workload) 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 *WorkloadList) DeepCopyInto(out *WorkloadList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]Workload, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkloadList.
|
|
func (in *WorkloadList) DeepCopy() *WorkloadList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(WorkloadList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *WorkloadList) 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 *WorkloadMonitor) DeepCopyInto(out *WorkloadMonitor) {
|
|
*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 WorkloadMonitor.
|
|
func (in *WorkloadMonitor) DeepCopy() *WorkloadMonitor {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(WorkloadMonitor)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *WorkloadMonitor) 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 *WorkloadMonitorList) DeepCopyInto(out *WorkloadMonitorList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]WorkloadMonitor, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkloadMonitorList.
|
|
func (in *WorkloadMonitorList) DeepCopy() *WorkloadMonitorList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(WorkloadMonitorList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *WorkloadMonitorList) 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 *WorkloadMonitorSpec) DeepCopyInto(out *WorkloadMonitorSpec) {
|
|
*out = *in
|
|
if in.Selector != nil {
|
|
in, out := &in.Selector, &out.Selector
|
|
*out = make(map[string]string, len(*in))
|
|
for key, val := range *in {
|
|
(*out)[key] = val
|
|
}
|
|
}
|
|
if in.MinReplicas != nil {
|
|
in, out := &in.MinReplicas, &out.MinReplicas
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
if in.Replicas != nil {
|
|
in, out := &in.Replicas, &out.Replicas
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkloadMonitorSpec.
|
|
func (in *WorkloadMonitorSpec) DeepCopy() *WorkloadMonitorSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(WorkloadMonitorSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *WorkloadMonitorStatus) DeepCopyInto(out *WorkloadMonitorStatus) {
|
|
*out = *in
|
|
if in.Operational != nil {
|
|
in, out := &in.Operational, &out.Operational
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkloadMonitorStatus.
|
|
func (in *WorkloadMonitorStatus) DeepCopy() *WorkloadMonitorStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(WorkloadMonitorStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *WorkloadStatus) DeepCopyInto(out *WorkloadStatus) {
|
|
*out = *in
|
|
if in.Resources != nil {
|
|
in, out := &in.Resources, &out.Resources
|
|
*out = make(map[string]resource.Quantity, len(*in))
|
|
for key, val := range *in {
|
|
(*out)[key] = val.DeepCopy()
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkloadStatus.
|
|
func (in *WorkloadStatus) DeepCopy() *WorkloadStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(WorkloadStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|