| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221 |
- //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
- }
|