mirror of
https://github.com/intel/intel-device-plugins-for-kubernetes.git
synced 2025-06-03 03:59:37 +00:00

controller-gen v0.7.0 dropped the support for v1beta1 CRD API as it was also dropped in k8s.io v1.22. update 'make generate' to only allow v1 CRD APIs and run it with controller-gen v0.7.0. Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
203 lines
6.1 KiB
Go
203 lines
6.1 KiB
Go
//go:build !ignore_autogenerated
|
|
// +build !ignore_autogenerated
|
|
|
|
// Copyright 2020 Intel Corporation. All Rights Reserved.
|
|
//
|
|
// 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 controller-gen. DO NOT EDIT.
|
|
|
|
package v2
|
|
|
|
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 *AcceleratorFunction) DeepCopyInto(out *AcceleratorFunction) {
|
|
*out = *in
|
|
out.Status = in.Status
|
|
out.Spec = in.Spec
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AcceleratorFunction.
|
|
func (in *AcceleratorFunction) DeepCopy() *AcceleratorFunction {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(AcceleratorFunction)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *AcceleratorFunction) 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 *AcceleratorFunctionList) DeepCopyInto(out *AcceleratorFunctionList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]AcceleratorFunction, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AcceleratorFunctionList.
|
|
func (in *AcceleratorFunctionList) DeepCopy() *AcceleratorFunctionList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(AcceleratorFunctionList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *AcceleratorFunctionList) 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 *AcceleratorFunctionSpec) DeepCopyInto(out *AcceleratorFunctionSpec) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AcceleratorFunctionSpec.
|
|
func (in *AcceleratorFunctionSpec) DeepCopy() *AcceleratorFunctionSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(AcceleratorFunctionSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *AcceleratorFunctionStatus) DeepCopyInto(out *AcceleratorFunctionStatus) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AcceleratorFunctionStatus.
|
|
func (in *AcceleratorFunctionStatus) DeepCopy() *AcceleratorFunctionStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(AcceleratorFunctionStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *FpgaRegion) DeepCopyInto(out *FpgaRegion) {
|
|
*out = *in
|
|
out.Status = in.Status
|
|
out.Spec = in.Spec
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FpgaRegion.
|
|
func (in *FpgaRegion) DeepCopy() *FpgaRegion {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(FpgaRegion)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *FpgaRegion) 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 *FpgaRegionList) DeepCopyInto(out *FpgaRegionList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]FpgaRegion, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FpgaRegionList.
|
|
func (in *FpgaRegionList) DeepCopy() *FpgaRegionList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(FpgaRegionList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *FpgaRegionList) 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 *FpgaRegionSpec) DeepCopyInto(out *FpgaRegionSpec) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FpgaRegionSpec.
|
|
func (in *FpgaRegionSpec) DeepCopy() *FpgaRegionSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(FpgaRegionSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *FpgaRegionStatus) DeepCopyInto(out *FpgaRegionStatus) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FpgaRegionStatus.
|
|
func (in *FpgaRegionStatus) DeepCopy() *FpgaRegionStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(FpgaRegionStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|