1390 lines
38 KiB
Go
1390 lines
38 KiB
Go
// +build !ignore_autogenerated
|
|
|
|
/*
|
|
Copyright 2018 the Heptio Ark contributors.
|
|
|
|
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 v1
|
|
|
|
import (
|
|
meta_v1 "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 *Backup) DeepCopyInto(out *Backup) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
|
in.Spec.DeepCopyInto(&out.Spec)
|
|
in.Status.DeepCopyInto(&out.Status)
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Backup.
|
|
func (in *Backup) DeepCopy() *Backup {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(Backup)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *Backup) 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 *BackupHooks) DeepCopyInto(out *BackupHooks) {
|
|
*out = *in
|
|
if in.Resources != nil {
|
|
in, out := &in.Resources, &out.Resources
|
|
*out = make([]BackupResourceHookSpec, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupHooks.
|
|
func (in *BackupHooks) DeepCopy() *BackupHooks {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(BackupHooks)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *BackupList) DeepCopyInto(out *BackupList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
out.ListMeta = in.ListMeta
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]Backup, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupList.
|
|
func (in *BackupList) DeepCopy() *BackupList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(BackupList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *BackupList) 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 *BackupResourceHook) DeepCopyInto(out *BackupResourceHook) {
|
|
*out = *in
|
|
if in.Exec != nil {
|
|
in, out := &in.Exec, &out.Exec
|
|
if *in == nil {
|
|
*out = nil
|
|
} else {
|
|
*out = new(ExecHook)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupResourceHook.
|
|
func (in *BackupResourceHook) DeepCopy() *BackupResourceHook {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(BackupResourceHook)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *BackupResourceHookSpec) DeepCopyInto(out *BackupResourceHookSpec) {
|
|
*out = *in
|
|
if in.IncludedNamespaces != nil {
|
|
in, out := &in.IncludedNamespaces, &out.IncludedNamespaces
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.ExcludedNamespaces != nil {
|
|
in, out := &in.ExcludedNamespaces, &out.ExcludedNamespaces
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.IncludedResources != nil {
|
|
in, out := &in.IncludedResources, &out.IncludedResources
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.ExcludedResources != nil {
|
|
in, out := &in.ExcludedResources, &out.ExcludedResources
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.LabelSelector != nil {
|
|
in, out := &in.LabelSelector, &out.LabelSelector
|
|
if *in == nil {
|
|
*out = nil
|
|
} else {
|
|
*out = new(meta_v1.LabelSelector)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
}
|
|
if in.Hooks != nil {
|
|
in, out := &in.Hooks, &out.Hooks
|
|
*out = make([]BackupResourceHook, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
if in.PreHooks != nil {
|
|
in, out := &in.PreHooks, &out.PreHooks
|
|
*out = make([]BackupResourceHook, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
if in.PostHooks != nil {
|
|
in, out := &in.PostHooks, &out.PostHooks
|
|
*out = make([]BackupResourceHook, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupResourceHookSpec.
|
|
func (in *BackupResourceHookSpec) DeepCopy() *BackupResourceHookSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(BackupResourceHookSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *BackupSpec) DeepCopyInto(out *BackupSpec) {
|
|
*out = *in
|
|
if in.IncludedNamespaces != nil {
|
|
in, out := &in.IncludedNamespaces, &out.IncludedNamespaces
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.ExcludedNamespaces != nil {
|
|
in, out := &in.ExcludedNamespaces, &out.ExcludedNamespaces
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.IncludedResources != nil {
|
|
in, out := &in.IncludedResources, &out.IncludedResources
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.ExcludedResources != nil {
|
|
in, out := &in.ExcludedResources, &out.ExcludedResources
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.LabelSelector != nil {
|
|
in, out := &in.LabelSelector, &out.LabelSelector
|
|
if *in == nil {
|
|
*out = nil
|
|
} else {
|
|
*out = new(meta_v1.LabelSelector)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
}
|
|
if in.SnapshotVolumes != nil {
|
|
in, out := &in.SnapshotVolumes, &out.SnapshotVolumes
|
|
if *in == nil {
|
|
*out = nil
|
|
} else {
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
}
|
|
out.TTL = in.TTL
|
|
if in.IncludeClusterResources != nil {
|
|
in, out := &in.IncludeClusterResources, &out.IncludeClusterResources
|
|
if *in == nil {
|
|
*out = nil
|
|
} else {
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
}
|
|
in.Hooks.DeepCopyInto(&out.Hooks)
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupSpec.
|
|
func (in *BackupSpec) DeepCopy() *BackupSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(BackupSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *BackupStatus) DeepCopyInto(out *BackupStatus) {
|
|
*out = *in
|
|
in.Expiration.DeepCopyInto(&out.Expiration)
|
|
if in.VolumeBackups != nil {
|
|
in, out := &in.VolumeBackups, &out.VolumeBackups
|
|
*out = make(map[string]*VolumeBackupInfo, len(*in))
|
|
for key, val := range *in {
|
|
if val == nil {
|
|
(*out)[key] = nil
|
|
} else {
|
|
(*out)[key] = new(VolumeBackupInfo)
|
|
val.DeepCopyInto((*out)[key])
|
|
}
|
|
}
|
|
}
|
|
if in.ValidationErrors != nil {
|
|
in, out := &in.ValidationErrors, &out.ValidationErrors
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
in.StartTimestamp.DeepCopyInto(&out.StartTimestamp)
|
|
in.CompletionTimestamp.DeepCopyInto(&out.CompletionTimestamp)
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupStatus.
|
|
func (in *BackupStatus) DeepCopy() *BackupStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(BackupStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *BackupStorageLocation) DeepCopyInto(out *BackupStorageLocation) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
|
in.Spec.DeepCopyInto(&out.Spec)
|
|
out.Status = in.Status
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupStorageLocation.
|
|
func (in *BackupStorageLocation) DeepCopy() *BackupStorageLocation {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(BackupStorageLocation)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *BackupStorageLocation) 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 *BackupStorageLocationList) DeepCopyInto(out *BackupStorageLocationList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
out.ListMeta = in.ListMeta
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]BackupStorageLocation, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupStorageLocationList.
|
|
func (in *BackupStorageLocationList) DeepCopy() *BackupStorageLocationList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(BackupStorageLocationList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *BackupStorageLocationList) 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 *BackupStorageLocationSpec) DeepCopyInto(out *BackupStorageLocationSpec) {
|
|
*out = *in
|
|
if in.Config != nil {
|
|
in, out := &in.Config, &out.Config
|
|
*out = make(map[string]string, len(*in))
|
|
for key, val := range *in {
|
|
(*out)[key] = val
|
|
}
|
|
}
|
|
in.StorageType.DeepCopyInto(&out.StorageType)
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupStorageLocationSpec.
|
|
func (in *BackupStorageLocationSpec) DeepCopy() *BackupStorageLocationSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(BackupStorageLocationSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *BackupStorageLocationStatus) DeepCopyInto(out *BackupStorageLocationStatus) {
|
|
*out = *in
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupStorageLocationStatus.
|
|
func (in *BackupStorageLocationStatus) DeepCopy() *BackupStorageLocationStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(BackupStorageLocationStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *CloudProviderConfig) DeepCopyInto(out *CloudProviderConfig) {
|
|
*out = *in
|
|
if in.Config != nil {
|
|
in, out := &in.Config, &out.Config
|
|
*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 CloudProviderConfig.
|
|
func (in *CloudProviderConfig) DeepCopy() *CloudProviderConfig {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(CloudProviderConfig)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *Config) DeepCopyInto(out *Config) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
|
if in.PersistentVolumeProvider != nil {
|
|
in, out := &in.PersistentVolumeProvider, &out.PersistentVolumeProvider
|
|
if *in == nil {
|
|
*out = nil
|
|
} else {
|
|
*out = new(CloudProviderConfig)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
}
|
|
in.BackupStorageProvider.DeepCopyInto(&out.BackupStorageProvider)
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Config.
|
|
func (in *Config) DeepCopy() *Config {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(Config)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *Config) 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 *ConfigList) DeepCopyInto(out *ConfigList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
out.ListMeta = in.ListMeta
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]Config, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigList.
|
|
func (in *ConfigList) DeepCopy() *ConfigList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ConfigList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *ConfigList) 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 *DeleteBackupRequest) DeepCopyInto(out *DeleteBackupRequest) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
|
out.Spec = in.Spec
|
|
in.Status.DeepCopyInto(&out.Status)
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeleteBackupRequest.
|
|
func (in *DeleteBackupRequest) DeepCopy() *DeleteBackupRequest {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(DeleteBackupRequest)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *DeleteBackupRequest) 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 *DeleteBackupRequestList) DeepCopyInto(out *DeleteBackupRequestList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
out.ListMeta = in.ListMeta
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]DeleteBackupRequest, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeleteBackupRequestList.
|
|
func (in *DeleteBackupRequestList) DeepCopy() *DeleteBackupRequestList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(DeleteBackupRequestList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *DeleteBackupRequestList) 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 *DeleteBackupRequestSpec) DeepCopyInto(out *DeleteBackupRequestSpec) {
|
|
*out = *in
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeleteBackupRequestSpec.
|
|
func (in *DeleteBackupRequestSpec) DeepCopy() *DeleteBackupRequestSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(DeleteBackupRequestSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *DeleteBackupRequestStatus) DeepCopyInto(out *DeleteBackupRequestStatus) {
|
|
*out = *in
|
|
if in.Errors != nil {
|
|
in, out := &in.Errors, &out.Errors
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeleteBackupRequestStatus.
|
|
func (in *DeleteBackupRequestStatus) DeepCopy() *DeleteBackupRequestStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(DeleteBackupRequestStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *DownloadRequest) DeepCopyInto(out *DownloadRequest) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
|
out.Spec = in.Spec
|
|
in.Status.DeepCopyInto(&out.Status)
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DownloadRequest.
|
|
func (in *DownloadRequest) DeepCopy() *DownloadRequest {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(DownloadRequest)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *DownloadRequest) 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 *DownloadRequestList) DeepCopyInto(out *DownloadRequestList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
out.ListMeta = in.ListMeta
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]DownloadRequest, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DownloadRequestList.
|
|
func (in *DownloadRequestList) DeepCopy() *DownloadRequestList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(DownloadRequestList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *DownloadRequestList) 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 *DownloadRequestSpec) DeepCopyInto(out *DownloadRequestSpec) {
|
|
*out = *in
|
|
out.Target = in.Target
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DownloadRequestSpec.
|
|
func (in *DownloadRequestSpec) DeepCopy() *DownloadRequestSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(DownloadRequestSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *DownloadRequestStatus) DeepCopyInto(out *DownloadRequestStatus) {
|
|
*out = *in
|
|
in.Expiration.DeepCopyInto(&out.Expiration)
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DownloadRequestStatus.
|
|
func (in *DownloadRequestStatus) DeepCopy() *DownloadRequestStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(DownloadRequestStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *DownloadTarget) DeepCopyInto(out *DownloadTarget) {
|
|
*out = *in
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DownloadTarget.
|
|
func (in *DownloadTarget) DeepCopy() *DownloadTarget {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(DownloadTarget)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ExecHook) DeepCopyInto(out *ExecHook) {
|
|
*out = *in
|
|
if in.Command != nil {
|
|
in, out := &in.Command, &out.Command
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
out.Timeout = in.Timeout
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExecHook.
|
|
func (in *ExecHook) DeepCopy() *ExecHook {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ExecHook)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ObjectStorageLocation) DeepCopyInto(out *ObjectStorageLocation) {
|
|
*out = *in
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectStorageLocation.
|
|
func (in *ObjectStorageLocation) DeepCopy() *ObjectStorageLocation {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ObjectStorageLocation)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ObjectStorageProviderConfig) DeepCopyInto(out *ObjectStorageProviderConfig) {
|
|
*out = *in
|
|
in.CloudProviderConfig.DeepCopyInto(&out.CloudProviderConfig)
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectStorageProviderConfig.
|
|
func (in *ObjectStorageProviderConfig) DeepCopy() *ObjectStorageProviderConfig {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ObjectStorageProviderConfig)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *PodVolumeBackup) DeepCopyInto(out *PodVolumeBackup) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
|
in.Spec.DeepCopyInto(&out.Spec)
|
|
out.Status = in.Status
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodVolumeBackup.
|
|
func (in *PodVolumeBackup) DeepCopy() *PodVolumeBackup {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(PodVolumeBackup)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *PodVolumeBackup) 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 *PodVolumeBackupList) DeepCopyInto(out *PodVolumeBackupList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
out.ListMeta = in.ListMeta
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]PodVolumeBackup, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodVolumeBackupList.
|
|
func (in *PodVolumeBackupList) DeepCopy() *PodVolumeBackupList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(PodVolumeBackupList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *PodVolumeBackupList) 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 *PodVolumeBackupSpec) DeepCopyInto(out *PodVolumeBackupSpec) {
|
|
*out = *in
|
|
out.Pod = in.Pod
|
|
if in.Tags != nil {
|
|
in, out := &in.Tags, &out.Tags
|
|
*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 PodVolumeBackupSpec.
|
|
func (in *PodVolumeBackupSpec) DeepCopy() *PodVolumeBackupSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(PodVolumeBackupSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *PodVolumeBackupStatus) DeepCopyInto(out *PodVolumeBackupStatus) {
|
|
*out = *in
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodVolumeBackupStatus.
|
|
func (in *PodVolumeBackupStatus) DeepCopy() *PodVolumeBackupStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(PodVolumeBackupStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *PodVolumeRestore) DeepCopyInto(out *PodVolumeRestore) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
|
out.Spec = in.Spec
|
|
out.Status = in.Status
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodVolumeRestore.
|
|
func (in *PodVolumeRestore) DeepCopy() *PodVolumeRestore {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(PodVolumeRestore)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *PodVolumeRestore) 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 *PodVolumeRestoreList) DeepCopyInto(out *PodVolumeRestoreList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
out.ListMeta = in.ListMeta
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]PodVolumeRestore, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodVolumeRestoreList.
|
|
func (in *PodVolumeRestoreList) DeepCopy() *PodVolumeRestoreList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(PodVolumeRestoreList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *PodVolumeRestoreList) 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 *PodVolumeRestoreSpec) DeepCopyInto(out *PodVolumeRestoreSpec) {
|
|
*out = *in
|
|
out.Pod = in.Pod
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodVolumeRestoreSpec.
|
|
func (in *PodVolumeRestoreSpec) DeepCopy() *PodVolumeRestoreSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(PodVolumeRestoreSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *PodVolumeRestoreStatus) DeepCopyInto(out *PodVolumeRestoreStatus) {
|
|
*out = *in
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodVolumeRestoreStatus.
|
|
func (in *PodVolumeRestoreStatus) DeepCopy() *PodVolumeRestoreStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(PodVolumeRestoreStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ResticRepository) DeepCopyInto(out *ResticRepository) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
|
out.Spec = in.Spec
|
|
in.Status.DeepCopyInto(&out.Status)
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResticRepository.
|
|
func (in *ResticRepository) DeepCopy() *ResticRepository {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ResticRepository)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *ResticRepository) 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 *ResticRepositoryList) DeepCopyInto(out *ResticRepositoryList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
out.ListMeta = in.ListMeta
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]ResticRepository, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResticRepositoryList.
|
|
func (in *ResticRepositoryList) DeepCopy() *ResticRepositoryList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ResticRepositoryList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *ResticRepositoryList) 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 *ResticRepositorySpec) DeepCopyInto(out *ResticRepositorySpec) {
|
|
*out = *in
|
|
out.MaintenanceFrequency = in.MaintenanceFrequency
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResticRepositorySpec.
|
|
func (in *ResticRepositorySpec) DeepCopy() *ResticRepositorySpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ResticRepositorySpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ResticRepositoryStatus) DeepCopyInto(out *ResticRepositoryStatus) {
|
|
*out = *in
|
|
in.LastMaintenanceTime.DeepCopyInto(&out.LastMaintenanceTime)
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResticRepositoryStatus.
|
|
func (in *ResticRepositoryStatus) DeepCopy() *ResticRepositoryStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ResticRepositoryStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *Restore) DeepCopyInto(out *Restore) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
|
in.Spec.DeepCopyInto(&out.Spec)
|
|
in.Status.DeepCopyInto(&out.Status)
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Restore.
|
|
func (in *Restore) DeepCopy() *Restore {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(Restore)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *Restore) 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 *RestoreList) DeepCopyInto(out *RestoreList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
out.ListMeta = in.ListMeta
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]Restore, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RestoreList.
|
|
func (in *RestoreList) DeepCopy() *RestoreList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(RestoreList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *RestoreList) 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 *RestoreResult) DeepCopyInto(out *RestoreResult) {
|
|
*out = *in
|
|
if in.Ark != nil {
|
|
in, out := &in.Ark, &out.Ark
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.Cluster != nil {
|
|
in, out := &in.Cluster, &out.Cluster
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.Namespaces != nil {
|
|
in, out := &in.Namespaces, &out.Namespaces
|
|
*out = make(map[string][]string, len(*in))
|
|
for key, val := range *in {
|
|
if val == nil {
|
|
(*out)[key] = nil
|
|
} else {
|
|
(*out)[key] = make([]string, len(val))
|
|
copy((*out)[key], val)
|
|
}
|
|
}
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RestoreResult.
|
|
func (in *RestoreResult) DeepCopy() *RestoreResult {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(RestoreResult)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *RestoreSpec) DeepCopyInto(out *RestoreSpec) {
|
|
*out = *in
|
|
if in.IncludedNamespaces != nil {
|
|
in, out := &in.IncludedNamespaces, &out.IncludedNamespaces
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.ExcludedNamespaces != nil {
|
|
in, out := &in.ExcludedNamespaces, &out.ExcludedNamespaces
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.IncludedResources != nil {
|
|
in, out := &in.IncludedResources, &out.IncludedResources
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.ExcludedResources != nil {
|
|
in, out := &in.ExcludedResources, &out.ExcludedResources
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.NamespaceMapping != nil {
|
|
in, out := &in.NamespaceMapping, &out.NamespaceMapping
|
|
*out = make(map[string]string, len(*in))
|
|
for key, val := range *in {
|
|
(*out)[key] = val
|
|
}
|
|
}
|
|
if in.LabelSelector != nil {
|
|
in, out := &in.LabelSelector, &out.LabelSelector
|
|
if *in == nil {
|
|
*out = nil
|
|
} else {
|
|
*out = new(meta_v1.LabelSelector)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
}
|
|
if in.RestorePVs != nil {
|
|
in, out := &in.RestorePVs, &out.RestorePVs
|
|
if *in == nil {
|
|
*out = nil
|
|
} else {
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
}
|
|
if in.IncludeClusterResources != nil {
|
|
in, out := &in.IncludeClusterResources, &out.IncludeClusterResources
|
|
if *in == nil {
|
|
*out = nil
|
|
} else {
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RestoreSpec.
|
|
func (in *RestoreSpec) DeepCopy() *RestoreSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(RestoreSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *RestoreStatus) DeepCopyInto(out *RestoreStatus) {
|
|
*out = *in
|
|
if in.ValidationErrors != nil {
|
|
in, out := &in.ValidationErrors, &out.ValidationErrors
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RestoreStatus.
|
|
func (in *RestoreStatus) DeepCopy() *RestoreStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(RestoreStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *Schedule) DeepCopyInto(out *Schedule) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
|
in.Spec.DeepCopyInto(&out.Spec)
|
|
in.Status.DeepCopyInto(&out.Status)
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Schedule.
|
|
func (in *Schedule) DeepCopy() *Schedule {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(Schedule)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *Schedule) 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 *ScheduleList) DeepCopyInto(out *ScheduleList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
out.ListMeta = in.ListMeta
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]Schedule, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScheduleList.
|
|
func (in *ScheduleList) DeepCopy() *ScheduleList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ScheduleList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *ScheduleList) 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 *ScheduleSpec) DeepCopyInto(out *ScheduleSpec) {
|
|
*out = *in
|
|
in.Template.DeepCopyInto(&out.Template)
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScheduleSpec.
|
|
func (in *ScheduleSpec) DeepCopy() *ScheduleSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ScheduleSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ScheduleStatus) DeepCopyInto(out *ScheduleStatus) {
|
|
*out = *in
|
|
in.LastBackup.DeepCopyInto(&out.LastBackup)
|
|
if in.ValidationErrors != nil {
|
|
in, out := &in.ValidationErrors, &out.ValidationErrors
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScheduleStatus.
|
|
func (in *ScheduleStatus) DeepCopy() *ScheduleStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ScheduleStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *StorageType) DeepCopyInto(out *StorageType) {
|
|
*out = *in
|
|
if in.ObjectStorage != nil {
|
|
in, out := &in.ObjectStorage, &out.ObjectStorage
|
|
if *in == nil {
|
|
*out = nil
|
|
} else {
|
|
*out = new(ObjectStorageLocation)
|
|
**out = **in
|
|
}
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageType.
|
|
func (in *StorageType) DeepCopy() *StorageType {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(StorageType)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *VolumeBackupInfo) DeepCopyInto(out *VolumeBackupInfo) {
|
|
*out = *in
|
|
if in.Iops != nil {
|
|
in, out := &in.Iops, &out.Iops
|
|
if *in == nil {
|
|
*out = nil
|
|
} else {
|
|
*out = new(int64)
|
|
**out = **in
|
|
}
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeBackupInfo.
|
|
func (in *VolumeBackupInfo) DeepCopy() *VolumeBackupInfo {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(VolumeBackupInfo)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|