123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181 |
- //go:build !ignore_autogenerated
- // +build !ignore_autogenerated
- /*
- Copyright The Kubernetes 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 v1alpha1
- 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 *ServerStorageVersion) DeepCopyInto(out *ServerStorageVersion) {
- *out = *in
- if in.DecodableVersions != nil {
- in, out := &in.DecodableVersions, &out.DecodableVersions
- *out = make([]string, len(*in))
- copy(*out, *in)
- }
- if in.ServedVersions != nil {
- in, out := &in.ServedVersions, &out.ServedVersions
- *out = make([]string, len(*in))
- copy(*out, *in)
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerStorageVersion.
- func (in *ServerStorageVersion) DeepCopy() *ServerStorageVersion {
- if in == nil {
- return nil
- }
- out := new(ServerStorageVersion)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *StorageVersion) DeepCopyInto(out *StorageVersion) {
- *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 StorageVersion.
- func (in *StorageVersion) DeepCopy() *StorageVersion {
- if in == nil {
- return nil
- }
- out := new(StorageVersion)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
- func (in *StorageVersion) 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 *StorageVersionCondition) DeepCopyInto(out *StorageVersionCondition) {
- *out = *in
- in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime)
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageVersionCondition.
- func (in *StorageVersionCondition) DeepCopy() *StorageVersionCondition {
- if in == nil {
- return nil
- }
- out := new(StorageVersionCondition)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *StorageVersionList) DeepCopyInto(out *StorageVersionList) {
- *out = *in
- out.TypeMeta = in.TypeMeta
- in.ListMeta.DeepCopyInto(&out.ListMeta)
- if in.Items != nil {
- in, out := &in.Items, &out.Items
- *out = make([]StorageVersion, len(*in))
- for i := range *in {
- (*in)[i].DeepCopyInto(&(*out)[i])
- }
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageVersionList.
- func (in *StorageVersionList) DeepCopy() *StorageVersionList {
- if in == nil {
- return nil
- }
- out := new(StorageVersionList)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
- func (in *StorageVersionList) 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 *StorageVersionSpec) DeepCopyInto(out *StorageVersionSpec) {
- *out = *in
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageVersionSpec.
- func (in *StorageVersionSpec) DeepCopy() *StorageVersionSpec {
- if in == nil {
- return nil
- }
- out := new(StorageVersionSpec)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *StorageVersionStatus) DeepCopyInto(out *StorageVersionStatus) {
- *out = *in
- if in.StorageVersions != nil {
- in, out := &in.StorageVersions, &out.StorageVersions
- *out = make([]ServerStorageVersion, len(*in))
- for i := range *in {
- (*in)[i].DeepCopyInto(&(*out)[i])
- }
- }
- if in.CommonEncodingVersion != nil {
- in, out := &in.CommonEncodingVersion, &out.CommonEncodingVersion
- *out = new(string)
- **out = **in
- }
- if in.Conditions != nil {
- in, out := &in.Conditions, &out.Conditions
- *out = make([]StorageVersionCondition, len(*in))
- for i := range *in {
- (*in)[i].DeepCopyInto(&(*out)[i])
- }
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageVersionStatus.
- func (in *StorageVersionStatus) DeepCopy() *StorageVersionStatus {
- if in == nil {
- return nil
- }
- out := new(StorageVersionStatus)
- in.DeepCopyInto(out)
- return out
- }
|