mirror of
https://github.com/cozystack/cozystack.git
synced 2026-11-04 19:17:20 +09:00
839 lines
24 KiB
Go
839 lines
24 KiB
Go
//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 (
|
|
"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 *ApplicationDefinitionChart) DeepCopyInto(out *ApplicationDefinitionChart) {
|
|
*out = *in
|
|
out.SourceRef = in.SourceRef
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationDefinitionChart.
|
|
func (in *ApplicationDefinitionChart) DeepCopy() *ApplicationDefinitionChart {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ApplicationDefinitionChart)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ApplicationDefinitionChartRef) DeepCopyInto(out *ApplicationDefinitionChartRef) {
|
|
*out = *in
|
|
out.SourceRef = in.SourceRef
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationDefinitionChartRef.
|
|
func (in *ApplicationDefinitionChartRef) DeepCopy() *ApplicationDefinitionChartRef {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ApplicationDefinitionChartRef)
|
|
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.Chart != nil {
|
|
in, out := &in.Chart, &out.Chart
|
|
*out = new(ApplicationDefinitionChart)
|
|
**out = **in
|
|
}
|
|
if in.ChartRef != nil {
|
|
in, out := &in.ChartRef, &out.ChartRef
|
|
*out = new(ApplicationDefinitionChartRef)
|
|
**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.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 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)
|
|
}
|
|
}
|
|
|
|
// 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 *Bundle) DeepCopyInto(out *Bundle) {
|
|
*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 Bundle.
|
|
func (in *Bundle) DeepCopy() *Bundle {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(Bundle)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *Bundle) 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 *BundleArtifact) DeepCopyInto(out *BundleArtifact) {
|
|
*out = *in
|
|
if in.Libraries != nil {
|
|
in, out := &in.Libraries, &out.Libraries
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BundleArtifact.
|
|
func (in *BundleArtifact) DeepCopy() *BundleArtifact {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(BundleArtifact)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *BundleDependencyTarget) DeepCopyInto(out *BundleDependencyTarget) {
|
|
*out = *in
|
|
if in.Packages != nil {
|
|
in, out := &in.Packages, &out.Packages
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BundleDependencyTarget.
|
|
func (in *BundleDependencyTarget) DeepCopy() *BundleDependencyTarget {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(BundleDependencyTarget)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *BundleLibrary) DeepCopyInto(out *BundleLibrary) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BundleLibrary.
|
|
func (in *BundleLibrary) DeepCopy() *BundleLibrary {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(BundleLibrary)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *BundleList) DeepCopyInto(out *BundleList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]Bundle, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BundleList.
|
|
func (in *BundleList) DeepCopy() *BundleList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(BundleList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *BundleList) 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 *BundleRelease) DeepCopyInto(out *BundleRelease) {
|
|
*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([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.Values != nil {
|
|
in, out := &in.Values, &out.Values
|
|
*out = new(v1.JSON)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.ValuesFiles != nil {
|
|
in, out := &in.ValuesFiles, &out.ValuesFiles
|
|
*out = make([]string, len(*in))
|
|
copy(*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.NamespaceLabels != nil {
|
|
in, out := &in.NamespaceLabels, &out.NamespaceLabels
|
|
*out = make(map[string]string, len(*in))
|
|
for key, val := range *in {
|
|
(*out)[key] = val
|
|
}
|
|
}
|
|
if in.NamespaceAnnotations != nil {
|
|
in, out := &in.NamespaceAnnotations, &out.NamespaceAnnotations
|
|
*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 BundleRelease.
|
|
func (in *BundleRelease) DeepCopy() *BundleRelease {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(BundleRelease)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *BundleSourceRef) DeepCopyInto(out *BundleSourceRef) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BundleSourceRef.
|
|
func (in *BundleSourceRef) DeepCopy() *BundleSourceRef {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(BundleSourceRef)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *BundleSpec) DeepCopyInto(out *BundleSpec) {
|
|
*out = *in
|
|
out.SourceRef = in.SourceRef
|
|
if in.DependsOn != nil {
|
|
in, out := &in.DependsOn, &out.DependsOn
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.DependencyTargets != nil {
|
|
in, out := &in.DependencyTargets, &out.DependencyTargets
|
|
*out = make([]BundleDependencyTarget, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
if in.Libraries != nil {
|
|
in, out := &in.Libraries, &out.Libraries
|
|
*out = make([]BundleLibrary, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.Artifacts != nil {
|
|
in, out := &in.Artifacts, &out.Artifacts
|
|
*out = make([]BundleArtifact, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
if in.Packages != nil {
|
|
in, out := &in.Packages, &out.Packages
|
|
*out = make([]BundleRelease, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
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 BundleSpec.
|
|
func (in *BundleSpec) DeepCopy() *BundleSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(BundleSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *Platform) DeepCopyInto(out *Platform) {
|
|
*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 Platform.
|
|
func (in *Platform) DeepCopy() *Platform {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(Platform)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *Platform) 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 *PlatformList) DeepCopyInto(out *PlatformList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]Platform, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlatformList.
|
|
func (in *PlatformList) DeepCopy() *PlatformList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(PlatformList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *PlatformList) 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 *PlatformSpec) DeepCopyInto(out *PlatformSpec) {
|
|
*out = *in
|
|
out.SourceRef = in.SourceRef
|
|
if in.Values != nil {
|
|
in, out := &in.Values, &out.Values
|
|
*out = new(v1.JSON)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.Interval != nil {
|
|
in, out := &in.Interval, &out.Interval
|
|
*out = new(metav1.Duration)
|
|
**out = **in
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlatformSpec.
|
|
func (in *PlatformSpec) DeepCopy() *PlatformSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(PlatformSpec)
|
|
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 *SourceRef) DeepCopyInto(out *SourceRef) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourceRef.
|
|
func (in *SourceRef) DeepCopy() *SourceRef {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(SourceRef)
|
|
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
|
|
}
|