399 lines
11 KiB
Go
399 lines
11 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 v1alpha3
|
|
|
|
import (
|
|
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 *CELDeviceSelector) DeepCopyInto(out *CELDeviceSelector) {
|
|
*out = *in
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CELDeviceSelector.
|
|
func (in *CELDeviceSelector) DeepCopy() *CELDeviceSelector {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(CELDeviceSelector)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *DeviceSelector) DeepCopyInto(out *DeviceSelector) {
|
|
*out = *in
|
|
if in.CEL != nil {
|
|
in, out := &in.CEL, &out.CEL
|
|
*out = new(CELDeviceSelector)
|
|
**out = **in
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceSelector.
|
|
func (in *DeviceSelector) DeepCopy() *DeviceSelector {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(DeviceSelector)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *DeviceTaint) DeepCopyInto(out *DeviceTaint) {
|
|
*out = *in
|
|
if in.TimeAdded != nil {
|
|
in, out := &in.TimeAdded, &out.TimeAdded
|
|
*out = (*in).DeepCopy()
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceTaint.
|
|
func (in *DeviceTaint) DeepCopy() *DeviceTaint {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(DeviceTaint)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *DeviceTaintRule) DeepCopyInto(out *DeviceTaintRule) {
|
|
*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 DeviceTaintRule.
|
|
func (in *DeviceTaintRule) DeepCopy() *DeviceTaintRule {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(DeviceTaintRule)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *DeviceTaintRule) 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 *DeviceTaintRuleList) DeepCopyInto(out *DeviceTaintRuleList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]DeviceTaintRule, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceTaintRuleList.
|
|
func (in *DeviceTaintRuleList) DeepCopy() *DeviceTaintRuleList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(DeviceTaintRuleList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *DeviceTaintRuleList) 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 *DeviceTaintRuleSpec) DeepCopyInto(out *DeviceTaintRuleSpec) {
|
|
*out = *in
|
|
if in.DeviceSelector != nil {
|
|
in, out := &in.DeviceSelector, &out.DeviceSelector
|
|
*out = new(DeviceTaintSelector)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
in.Taint.DeepCopyInto(&out.Taint)
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceTaintRuleSpec.
|
|
func (in *DeviceTaintRuleSpec) DeepCopy() *DeviceTaintRuleSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(DeviceTaintRuleSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *DeviceTaintRuleStatus) DeepCopyInto(out *DeviceTaintRuleStatus) {
|
|
*out = *in
|
|
if in.Conditions != nil {
|
|
in, out := &in.Conditions, &out.Conditions
|
|
*out = make([]v1.Condition, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceTaintRuleStatus.
|
|
func (in *DeviceTaintRuleStatus) DeepCopy() *DeviceTaintRuleStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(DeviceTaintRuleStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *DeviceTaintSelector) DeepCopyInto(out *DeviceTaintSelector) {
|
|
*out = *in
|
|
if in.Driver != nil {
|
|
in, out := &in.Driver, &out.Driver
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.Pool != nil {
|
|
in, out := &in.Pool, &out.Pool
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.Device != nil {
|
|
in, out := &in.Device, &out.Device
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceTaintSelector.
|
|
func (in *DeviceTaintSelector) DeepCopy() *DeviceTaintSelector {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(DeviceTaintSelector)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *PoolStatus) DeepCopyInto(out *PoolStatus) {
|
|
*out = *in
|
|
if in.ResourceSliceCount != nil {
|
|
in, out := &in.ResourceSliceCount, &out.ResourceSliceCount
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
if in.TotalDevices != nil {
|
|
in, out := &in.TotalDevices, &out.TotalDevices
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
if in.AllocatedDevices != nil {
|
|
in, out := &in.AllocatedDevices, &out.AllocatedDevices
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
if in.AvailableDevices != nil {
|
|
in, out := &in.AvailableDevices, &out.AvailableDevices
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
if in.UnavailableDevices != nil {
|
|
in, out := &in.UnavailableDevices, &out.UnavailableDevices
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
if in.NodeName != nil {
|
|
in, out := &in.NodeName, &out.NodeName
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.ValidationError != nil {
|
|
in, out := &in.ValidationError, &out.ValidationError
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PoolStatus.
|
|
func (in *PoolStatus) DeepCopy() *PoolStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(PoolStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ResourcePoolStatusRequest) DeepCopyInto(out *ResourcePoolStatusRequest) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
|
in.Spec.DeepCopyInto(&out.Spec)
|
|
if in.Status != nil {
|
|
in, out := &in.Status, &out.Status
|
|
*out = new(ResourcePoolStatusRequestStatus)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourcePoolStatusRequest.
|
|
func (in *ResourcePoolStatusRequest) DeepCopy() *ResourcePoolStatusRequest {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ResourcePoolStatusRequest)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *ResourcePoolStatusRequest) 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 *ResourcePoolStatusRequestList) DeepCopyInto(out *ResourcePoolStatusRequestList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]ResourcePoolStatusRequest, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourcePoolStatusRequestList.
|
|
func (in *ResourcePoolStatusRequestList) DeepCopy() *ResourcePoolStatusRequestList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ResourcePoolStatusRequestList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *ResourcePoolStatusRequestList) 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 *ResourcePoolStatusRequestSpec) DeepCopyInto(out *ResourcePoolStatusRequestSpec) {
|
|
*out = *in
|
|
if in.PoolName != nil {
|
|
in, out := &in.PoolName, &out.PoolName
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.Limit != nil {
|
|
in, out := &in.Limit, &out.Limit
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourcePoolStatusRequestSpec.
|
|
func (in *ResourcePoolStatusRequestSpec) DeepCopy() *ResourcePoolStatusRequestSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ResourcePoolStatusRequestSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ResourcePoolStatusRequestStatus) DeepCopyInto(out *ResourcePoolStatusRequestStatus) {
|
|
*out = *in
|
|
if in.PoolCount != nil {
|
|
in, out := &in.PoolCount, &out.PoolCount
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
if in.Pools != nil {
|
|
in, out := &in.Pools, &out.Pools
|
|
*out = make([]PoolStatus, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
if in.Conditions != nil {
|
|
in, out := &in.Conditions, &out.Conditions
|
|
*out = make([]v1.Condition, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourcePoolStatusRequestStatus.
|
|
func (in *ResourcePoolStatusRequestStatus) DeepCopy() *ResourcePoolStatusRequestStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ResourcePoolStatusRequestStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|