mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-20 20:10:22 +00:00
2551a0b05f
Signed-off-by: Niels de Vos <ndevos@ibm.com>
499 lines
15 KiB
Go
499 lines
15 KiB
Go
//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 v1alpha2
|
|
|
|
import (
|
|
v1 "k8s.io/api/core/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 *AllocationResult) DeepCopyInto(out *AllocationResult) {
|
|
*out = *in
|
|
if in.ResourceHandles != nil {
|
|
in, out := &in.ResourceHandles, &out.ResourceHandles
|
|
*out = make([]ResourceHandle, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.AvailableOnNodes != nil {
|
|
in, out := &in.AvailableOnNodes, &out.AvailableOnNodes
|
|
*out = new(v1.NodeSelector)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AllocationResult.
|
|
func (in *AllocationResult) DeepCopy() *AllocationResult {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(AllocationResult)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *PodSchedulingContext) DeepCopyInto(out *PodSchedulingContext) {
|
|
*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 PodSchedulingContext.
|
|
func (in *PodSchedulingContext) DeepCopy() *PodSchedulingContext {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(PodSchedulingContext)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *PodSchedulingContext) 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 *PodSchedulingContextList) DeepCopyInto(out *PodSchedulingContextList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]PodSchedulingContext, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodSchedulingContextList.
|
|
func (in *PodSchedulingContextList) DeepCopy() *PodSchedulingContextList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(PodSchedulingContextList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *PodSchedulingContextList) 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 *PodSchedulingContextSpec) DeepCopyInto(out *PodSchedulingContextSpec) {
|
|
*out = *in
|
|
if in.PotentialNodes != nil {
|
|
in, out := &in.PotentialNodes, &out.PotentialNodes
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodSchedulingContextSpec.
|
|
func (in *PodSchedulingContextSpec) DeepCopy() *PodSchedulingContextSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(PodSchedulingContextSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *PodSchedulingContextStatus) DeepCopyInto(out *PodSchedulingContextStatus) {
|
|
*out = *in
|
|
if in.ResourceClaims != nil {
|
|
in, out := &in.ResourceClaims, &out.ResourceClaims
|
|
*out = make([]ResourceClaimSchedulingStatus, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodSchedulingContextStatus.
|
|
func (in *PodSchedulingContextStatus) DeepCopy() *PodSchedulingContextStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(PodSchedulingContextStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ResourceClaim) DeepCopyInto(out *ResourceClaim) {
|
|
*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 ResourceClaim.
|
|
func (in *ResourceClaim) DeepCopy() *ResourceClaim {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ResourceClaim)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *ResourceClaim) 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 *ResourceClaimConsumerReference) DeepCopyInto(out *ResourceClaimConsumerReference) {
|
|
*out = *in
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceClaimConsumerReference.
|
|
func (in *ResourceClaimConsumerReference) DeepCopy() *ResourceClaimConsumerReference {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ResourceClaimConsumerReference)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ResourceClaimList) DeepCopyInto(out *ResourceClaimList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]ResourceClaim, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceClaimList.
|
|
func (in *ResourceClaimList) DeepCopy() *ResourceClaimList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ResourceClaimList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *ResourceClaimList) 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 *ResourceClaimParametersReference) DeepCopyInto(out *ResourceClaimParametersReference) {
|
|
*out = *in
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceClaimParametersReference.
|
|
func (in *ResourceClaimParametersReference) DeepCopy() *ResourceClaimParametersReference {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ResourceClaimParametersReference)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ResourceClaimSchedulingStatus) DeepCopyInto(out *ResourceClaimSchedulingStatus) {
|
|
*out = *in
|
|
if in.UnsuitableNodes != nil {
|
|
in, out := &in.UnsuitableNodes, &out.UnsuitableNodes
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceClaimSchedulingStatus.
|
|
func (in *ResourceClaimSchedulingStatus) DeepCopy() *ResourceClaimSchedulingStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ResourceClaimSchedulingStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ResourceClaimSpec) DeepCopyInto(out *ResourceClaimSpec) {
|
|
*out = *in
|
|
if in.ParametersRef != nil {
|
|
in, out := &in.ParametersRef, &out.ParametersRef
|
|
*out = new(ResourceClaimParametersReference)
|
|
**out = **in
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceClaimSpec.
|
|
func (in *ResourceClaimSpec) DeepCopy() *ResourceClaimSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ResourceClaimSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ResourceClaimStatus) DeepCopyInto(out *ResourceClaimStatus) {
|
|
*out = *in
|
|
if in.Allocation != nil {
|
|
in, out := &in.Allocation, &out.Allocation
|
|
*out = new(AllocationResult)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.ReservedFor != nil {
|
|
in, out := &in.ReservedFor, &out.ReservedFor
|
|
*out = make([]ResourceClaimConsumerReference, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceClaimStatus.
|
|
func (in *ResourceClaimStatus) DeepCopy() *ResourceClaimStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ResourceClaimStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ResourceClaimTemplate) DeepCopyInto(out *ResourceClaimTemplate) {
|
|
*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 ResourceClaimTemplate.
|
|
func (in *ResourceClaimTemplate) DeepCopy() *ResourceClaimTemplate {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ResourceClaimTemplate)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *ResourceClaimTemplate) 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 *ResourceClaimTemplateList) DeepCopyInto(out *ResourceClaimTemplateList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]ResourceClaimTemplate, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceClaimTemplateList.
|
|
func (in *ResourceClaimTemplateList) DeepCopy() *ResourceClaimTemplateList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ResourceClaimTemplateList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *ResourceClaimTemplateList) 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 *ResourceClaimTemplateSpec) DeepCopyInto(out *ResourceClaimTemplateSpec) {
|
|
*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 ResourceClaimTemplateSpec.
|
|
func (in *ResourceClaimTemplateSpec) DeepCopy() *ResourceClaimTemplateSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ResourceClaimTemplateSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ResourceClass) DeepCopyInto(out *ResourceClass) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
|
if in.ParametersRef != nil {
|
|
in, out := &in.ParametersRef, &out.ParametersRef
|
|
*out = new(ResourceClassParametersReference)
|
|
**out = **in
|
|
}
|
|
if in.SuitableNodes != nil {
|
|
in, out := &in.SuitableNodes, &out.SuitableNodes
|
|
*out = new(v1.NodeSelector)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceClass.
|
|
func (in *ResourceClass) DeepCopy() *ResourceClass {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ResourceClass)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *ResourceClass) 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 *ResourceClassList) DeepCopyInto(out *ResourceClassList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]ResourceClass, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceClassList.
|
|
func (in *ResourceClassList) DeepCopy() *ResourceClassList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ResourceClassList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *ResourceClassList) 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 *ResourceClassParametersReference) DeepCopyInto(out *ResourceClassParametersReference) {
|
|
*out = *in
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceClassParametersReference.
|
|
func (in *ResourceClassParametersReference) DeepCopy() *ResourceClassParametersReference {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ResourceClassParametersReference)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ResourceHandle) DeepCopyInto(out *ResourceHandle) {
|
|
*out = *in
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceHandle.
|
|
func (in *ResourceHandle) DeepCopy() *ResourceHandle {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ResourceHandle)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|