416 lines
12 KiB
Go
416 lines
12 KiB
Go
//go:build !ignore_autogenerated
|
|
// +build !ignore_autogenerated
|
|
|
|
// Code generated by deepcopy-gen. DO NOT EDIT.
|
|
|
|
package v1alpha1
|
|
|
|
import (
|
|
v1alpha2 "github.com/karmada-io/karmada/pkg/apis/work/v1alpha2"
|
|
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 *DependentObjectReference) DeepCopyInto(out *DependentObjectReference) {
|
|
*out = *in
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DependentObjectReference.
|
|
func (in *DependentObjectReference) DeepCopy() *DependentObjectReference {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(DependentObjectReference)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *LocalValueRetention) DeepCopyInto(out *LocalValueRetention) {
|
|
*out = *in
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LocalValueRetention.
|
|
func (in *LocalValueRetention) DeepCopy() *LocalValueRetention {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(LocalValueRetention)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *RequestStatus) DeepCopyInto(out *RequestStatus) {
|
|
*out = *in
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RequestStatus.
|
|
func (in *RequestStatus) DeepCopy() *RequestStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(RequestStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ResourceInterpreterContext) DeepCopyInto(out *ResourceInterpreterContext) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
if in.Request != nil {
|
|
in, out := &in.Request, &out.Request
|
|
*out = new(ResourceInterpreterRequest)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.Response != nil {
|
|
in, out := &in.Response, &out.Response
|
|
*out = new(ResourceInterpreterResponse)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceInterpreterContext.
|
|
func (in *ResourceInterpreterContext) DeepCopy() *ResourceInterpreterContext {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ResourceInterpreterContext)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *ResourceInterpreterContext) 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 *ResourceInterpreterCustomization) DeepCopyInto(out *ResourceInterpreterCustomization) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
|
out.Spec = in.Spec
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceInterpreterCustomization.
|
|
func (in *ResourceInterpreterCustomization) DeepCopy() *ResourceInterpreterCustomization {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ResourceInterpreterCustomization)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *ResourceInterpreterCustomization) 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 *ResourceInterpreterCustomizationList) DeepCopyInto(out *ResourceInterpreterCustomizationList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]ResourceInterpreterCustomization, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceInterpreterCustomizationList.
|
|
func (in *ResourceInterpreterCustomizationList) DeepCopy() *ResourceInterpreterCustomizationList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ResourceInterpreterCustomizationList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *ResourceInterpreterCustomizationList) 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 *ResourceInterpreterCustomizationSpec) DeepCopyInto(out *ResourceInterpreterCustomizationSpec) {
|
|
*out = *in
|
|
out.Retention = in.Retention
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceInterpreterCustomizationSpec.
|
|
func (in *ResourceInterpreterCustomizationSpec) DeepCopy() *ResourceInterpreterCustomizationSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ResourceInterpreterCustomizationSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ResourceInterpreterRequest) DeepCopyInto(out *ResourceInterpreterRequest) {
|
|
*out = *in
|
|
out.Kind = in.Kind
|
|
in.Object.DeepCopyInto(&out.Object)
|
|
if in.ObservedObject != nil {
|
|
in, out := &in.ObservedObject, &out.ObservedObject
|
|
*out = new(runtime.RawExtension)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.DesiredReplicas != nil {
|
|
in, out := &in.DesiredReplicas, &out.DesiredReplicas
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
if in.AggregatedStatus != nil {
|
|
in, out := &in.AggregatedStatus, &out.AggregatedStatus
|
|
*out = make([]v1alpha2.AggregatedStatusItem, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceInterpreterRequest.
|
|
func (in *ResourceInterpreterRequest) DeepCopy() *ResourceInterpreterRequest {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ResourceInterpreterRequest)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ResourceInterpreterResponse) DeepCopyInto(out *ResourceInterpreterResponse) {
|
|
*out = *in
|
|
if in.Status != nil {
|
|
in, out := &in.Status, &out.Status
|
|
*out = new(RequestStatus)
|
|
**out = **in
|
|
}
|
|
if in.Patch != nil {
|
|
in, out := &in.Patch, &out.Patch
|
|
*out = make([]byte, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.PatchType != nil {
|
|
in, out := &in.PatchType, &out.PatchType
|
|
*out = new(PatchType)
|
|
**out = **in
|
|
}
|
|
if in.ReplicaRequirements != nil {
|
|
in, out := &in.ReplicaRequirements, &out.ReplicaRequirements
|
|
*out = new(v1alpha2.ReplicaRequirements)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.Replicas != nil {
|
|
in, out := &in.Replicas, &out.Replicas
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
if in.Dependencies != nil {
|
|
in, out := &in.Dependencies, &out.Dependencies
|
|
*out = make([]DependentObjectReference, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.RawStatus != nil {
|
|
in, out := &in.RawStatus, &out.RawStatus
|
|
*out = new(runtime.RawExtension)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.Healthy != nil {
|
|
in, out := &in.Healthy, &out.Healthy
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceInterpreterResponse.
|
|
func (in *ResourceInterpreterResponse) DeepCopy() *ResourceInterpreterResponse {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ResourceInterpreterResponse)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ResourceInterpreterWebhook) DeepCopyInto(out *ResourceInterpreterWebhook) {
|
|
*out = *in
|
|
in.ClientConfig.DeepCopyInto(&out.ClientConfig)
|
|
if in.Rules != nil {
|
|
in, out := &in.Rules, &out.Rules
|
|
*out = make([]RuleWithOperations, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
if in.TimeoutSeconds != nil {
|
|
in, out := &in.TimeoutSeconds, &out.TimeoutSeconds
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
if in.InterpreterContextVersions != nil {
|
|
in, out := &in.InterpreterContextVersions, &out.InterpreterContextVersions
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceInterpreterWebhook.
|
|
func (in *ResourceInterpreterWebhook) DeepCopy() *ResourceInterpreterWebhook {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ResourceInterpreterWebhook)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ResourceInterpreterWebhookConfiguration) DeepCopyInto(out *ResourceInterpreterWebhookConfiguration) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
|
if in.Webhooks != nil {
|
|
in, out := &in.Webhooks, &out.Webhooks
|
|
*out = make([]ResourceInterpreterWebhook, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceInterpreterWebhookConfiguration.
|
|
func (in *ResourceInterpreterWebhookConfiguration) DeepCopy() *ResourceInterpreterWebhookConfiguration {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ResourceInterpreterWebhookConfiguration)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *ResourceInterpreterWebhookConfiguration) 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 *ResourceInterpreterWebhookConfigurationList) DeepCopyInto(out *ResourceInterpreterWebhookConfigurationList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]ResourceInterpreterWebhookConfiguration, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceInterpreterWebhookConfigurationList.
|
|
func (in *ResourceInterpreterWebhookConfigurationList) DeepCopy() *ResourceInterpreterWebhookConfigurationList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ResourceInterpreterWebhookConfigurationList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *ResourceInterpreterWebhookConfigurationList) 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 *Rule) DeepCopyInto(out *Rule) {
|
|
*out = *in
|
|
if in.APIGroups != nil {
|
|
in, out := &in.APIGroups, &out.APIGroups
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.APIVersions != nil {
|
|
in, out := &in.APIVersions, &out.APIVersions
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.Kinds != nil {
|
|
in, out := &in.Kinds, &out.Kinds
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Rule.
|
|
func (in *Rule) DeepCopy() *Rule {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(Rule)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *RuleWithOperations) DeepCopyInto(out *RuleWithOperations) {
|
|
*out = *in
|
|
if in.Operations != nil {
|
|
in, out := &in.Operations, &out.Operations
|
|
*out = make([]InterpreterOperation, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
in.Rule.DeepCopyInto(&out.Rule)
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuleWithOperations.
|
|
func (in *RuleWithOperations) DeepCopy() *RuleWithOperations {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(RuleWithOperations)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|