| 1 |
/* |
| 2 |
Copyright 2020 The Kubernetes Authors. |
| 3 |
|
| 4 |
Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 |
you may not use this file except in compliance with the License. |
| 6 |
You may obtain a copy of the License at |
| 7 |
|
| 8 |
http://www.apache.org/licenses/LICENSE-2.0 |
| 9 |
|
| 10 |
Unless required by applicable law or agreed to in writing, software |
| 11 |
distributed under the License is distributed on an "AS IS" BASIS, |
| 12 |
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 |
See the License for the specific language governing permissions and |
| 14 |
limitations under the License. |
| 15 |
*/ |
| 16 |
|
| 17 |
package marker |
| 18 |
|
| 19 |
import ( |
| 20 |
runtime "k8s.io/apimachinery/pkg/runtime" |
| 21 |
"k8s.io/apimachinery/pkg/runtime/schema" |
| 22 |
) |
| 23 |
|
| 24 |
func (in *Defaulted) DeepCopy() *Defaulted { |
| 25 |
if in == nil { |
| 26 |
return nil |
| 27 |
} |
| 28 |
out := new(Defaulted) |
| 29 |
in.DeepCopyInto(out) |
| 30 |
return out |
| 31 |
} |
| 32 |
|
| 33 |
func (in *Defaulted) DeepCopyInto(out *Defaulted) { |
| 34 |
*out = *in |
| 35 |
return |
| 36 |
} |
| 37 |
|
| 38 |
func (in *Defaulted) DeepCopyObject() runtime.Object { |
| 39 |
if c := in.DeepCopy(); c != nil { |
| 40 |
return c |
| 41 |
} |
| 42 |
return nil |
| 43 |
} |
| 44 |
|
| 45 |
func (in *DefaultedOmitempty) DeepCopy() *DefaultedOmitempty { |
| 46 |
if in == nil { |
| 47 |
return nil |
| 48 |
} |
| 49 |
out := new(DefaultedOmitempty) |
| 50 |
in.DeepCopyInto(out) |
| 51 |
return out |
| 52 |
} |
| 53 |
|
| 54 |
func (in *DefaultedOmitempty) DeepCopyInto(out *DefaultedOmitempty) { |
| 55 |
*out = *in |
| 56 |
return |
| 57 |
} |
| 58 |
|
| 59 |
func (in *DefaultedOmitempty) DeepCopyObject() runtime.Object { |
| 60 |
if c := in.DeepCopy(); c != nil { |
| 61 |
return c |
| 62 |
} |
| 63 |
return nil |
| 64 |
} |
| 65 |
|
| 66 |
func (in *DefaultedWithFunction) DeepCopy() *DefaultedWithFunction { |
| 67 |
if in == nil { |
| 68 |
return nil |
| 69 |
} |
| 70 |
out := new(DefaultedWithFunction) |
| 71 |
in.DeepCopyInto(out) |
| 72 |
return out |
| 73 |
} |
| 74 |
|
| 75 |
func (in *DefaultedWithFunction) DeepCopyInto(out *DefaultedWithFunction) { |
| 76 |
*out = *in |
| 77 |
return |
| 78 |
} |
| 79 |
|
| 80 |
func (in *DefaultedWithFunction) DeepCopyObject() runtime.Object { |
| 81 |
if c := in.DeepCopy(); c != nil { |
| 82 |
return c |
| 83 |
} |
| 84 |
return nil |
| 85 |
} |
| 86 |
|
| 87 |
func (obj *Defaulted) GetObjectKind() schema.ObjectKind { return schema.EmptyObjectKind } |
| 88 |
func (obj *DefaultedOmitempty) GetObjectKind() schema.ObjectKind { return schema.EmptyObjectKind } |
| 89 |
func (obj *DefaultedWithFunction) GetObjectKind() schema.ObjectKind { return schema.EmptyObjectKind } |
| 90 |
|
| 91 |
func (obj *DefaultedWithReference) GetObjectKind() schema.ObjectKind { return schema.EmptyObjectKind } |
| 92 |
|
| 93 |
func (in *DefaultedWithReference) DeepCopy() *DefaultedWithReference { |
| 94 |
if in == nil { |
| 95 |
return nil |
| 96 |
} |
| 97 |
out := new(DefaultedWithReference) |
| 98 |
in.DeepCopyInto(out) |
| 99 |
return out |
| 100 |
} |
| 101 |
|
| 102 |
func (in *DefaultedWithReference) DeepCopyInto(out *DefaultedWithReference) { |
| 103 |
*out = *in |
| 104 |
return |
| 105 |
} |
| 106 |
|
| 107 |
func (in *DefaultedWithReference) DeepCopyObject() runtime.Object { |
| 108 |
if c := in.DeepCopy(); c != nil { |
| 109 |
return c |
| 110 |
} |
| 111 |
return nil |
| 112 |
} |