blob: 6e2008578eea44c8d01fbd11e210f1b48612e552 [file] [log] [blame]
Scott Bakere7144bc2019-10-01 14:16:47 -07001// +build !ignore_autogenerated
2
3/*
4Copyright The Kubernetes Authors.
5
6Licensed under the Apache License, Version 2.0 (the "License");
7you may not use this file except in compliance with the License.
8You may obtain a copy of the License at
9
10 http://www.apache.org/licenses/LICENSE-2.0
11
12Unless required by applicable law or agreed to in writing, software
13distributed under the License is distributed on an "AS IS" BASIS,
14WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15See the License for the specific language governing permissions and
16limitations under the License.
17*/
18
19// Code generated by deepcopy-gen. DO NOT EDIT.
20
21package v1beta1
22
23import (
girishke7ca43b2019-10-10 12:30:03 +000024 v1 "k8s.io/api/core/v1"
Scott Bakere7144bc2019-10-01 14:16:47 -070025 runtime "k8s.io/apimachinery/pkg/runtime"
26)
27
28// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
29func (in *PriorityClass) DeepCopyInto(out *PriorityClass) {
30 *out = *in
31 out.TypeMeta = in.TypeMeta
32 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
girishke7ca43b2019-10-10 12:30:03 +000033 if in.PreemptionPolicy != nil {
34 in, out := &in.PreemptionPolicy, &out.PreemptionPolicy
35 *out = new(v1.PreemptionPolicy)
36 **out = **in
37 }
Scott Bakere7144bc2019-10-01 14:16:47 -070038 return
39}
40
41// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PriorityClass.
42func (in *PriorityClass) DeepCopy() *PriorityClass {
43 if in == nil {
44 return nil
45 }
46 out := new(PriorityClass)
47 in.DeepCopyInto(out)
48 return out
49}
50
51// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
52func (in *PriorityClass) DeepCopyObject() runtime.Object {
53 if c := in.DeepCopy(); c != nil {
54 return c
55 }
56 return nil
57}
58
59// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
60func (in *PriorityClassList) DeepCopyInto(out *PriorityClassList) {
61 *out = *in
62 out.TypeMeta = in.TypeMeta
girishke7ca43b2019-10-10 12:30:03 +000063 in.ListMeta.DeepCopyInto(&out.ListMeta)
Scott Bakere7144bc2019-10-01 14:16:47 -070064 if in.Items != nil {
65 in, out := &in.Items, &out.Items
66 *out = make([]PriorityClass, len(*in))
67 for i := range *in {
68 (*in)[i].DeepCopyInto(&(*out)[i])
69 }
70 }
71 return
72}
73
74// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PriorityClassList.
75func (in *PriorityClassList) DeepCopy() *PriorityClassList {
76 if in == nil {
77 return nil
78 }
79 out := new(PriorityClassList)
80 in.DeepCopyInto(out)
81 return out
82}
83
84// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
85func (in *PriorityClassList) DeepCopyObject() runtime.Object {
86 if c := in.DeepCopy(); c != nil {
87 return c
88 }
89 return nil
90}