253 lines
7.1 KiB
Go
Generated
253 lines
7.1 KiB
Go
Generated
// +build !ignore_autogenerated
|
|
|
|
/*
|
|
Copyright 2020 The KubeSphere 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 deepcopy-gen. DO NOT EDIT.
|
|
|
|
package v1alpha2
|
|
|
|
import (
|
|
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 *Cluster) DeepCopyInto(out *Cluster) {
|
|
*out = *in
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Cluster.
|
|
func (in *Cluster) DeepCopy() *Cluster {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(Cluster)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ClusterOverride) DeepCopyInto(out *ClusterOverride) {
|
|
*out = *in
|
|
in.Value.DeepCopyInto(&out.Value)
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterOverride.
|
|
func (in *ClusterOverride) DeepCopy() *ClusterOverride {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ClusterOverride)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ClusterSelector) DeepCopyInto(out *ClusterSelector) {
|
|
*out = *in
|
|
if in.MatchLabels != nil {
|
|
in, out := &in.MatchLabels, &out.MatchLabels
|
|
*out = make(map[string]string, len(*in))
|
|
for key, val := range *in {
|
|
(*out)[key] = val
|
|
}
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterSelector.
|
|
func (in *ClusterSelector) DeepCopy() *ClusterSelector {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ClusterSelector)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *FederatedWorkspace) DeepCopyInto(out *FederatedWorkspace) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
|
in.Spec.DeepCopyInto(&out.Spec)
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FederatedWorkspace.
|
|
func (in *FederatedWorkspace) DeepCopy() *FederatedWorkspace {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(FederatedWorkspace)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *Override) DeepCopyInto(out *Override) {
|
|
*out = *in
|
|
if in.ClusterOverrides != nil {
|
|
in, out := &in.ClusterOverrides, &out.ClusterOverrides
|
|
*out = make([]ClusterOverride, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Override.
|
|
func (in *Override) DeepCopy() *Override {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(Override)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *Placement) DeepCopyInto(out *Placement) {
|
|
*out = *in
|
|
if in.Clusters != nil {
|
|
in, out := &in.Clusters, &out.Clusters
|
|
*out = make([]Cluster, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.ClusterSelector != nil {
|
|
in, out := &in.ClusterSelector, &out.ClusterSelector
|
|
*out = new(ClusterSelector)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Placement.
|
|
func (in *Placement) DeepCopy() *Placement {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(Placement)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *Template) DeepCopyInto(out *Template) {
|
|
*out = *in
|
|
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
|
in.Spec.DeepCopyInto(&out.Spec)
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Template.
|
|
func (in *Template) DeepCopy() *Template {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(Template)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *WorkspaceTemplate) DeepCopyInto(out *WorkspaceTemplate) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
|
in.Spec.DeepCopyInto(&out.Spec)
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceTemplate.
|
|
func (in *WorkspaceTemplate) DeepCopy() *WorkspaceTemplate {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(WorkspaceTemplate)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *WorkspaceTemplate) 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 *WorkspaceTemplateList) DeepCopyInto(out *WorkspaceTemplateList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]WorkspaceTemplate, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceTemplateList.
|
|
func (in *WorkspaceTemplateList) DeepCopy() *WorkspaceTemplateList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(WorkspaceTemplateList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *WorkspaceTemplateList) 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 *WorkspaceTemplateSpec) DeepCopyInto(out *WorkspaceTemplateSpec) {
|
|
*out = *in
|
|
in.Template.DeepCopyInto(&out.Template)
|
|
in.Placement.DeepCopyInto(&out.Placement)
|
|
if in.Overrides != nil {
|
|
in, out := &in.Overrides, &out.Overrides
|
|
*out = make([]Override, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceTemplateSpec.
|
|
func (in *WorkspaceTemplateSpec) DeepCopy() *WorkspaceTemplateSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(WorkspaceTemplateSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|