1 // +build !ignore_autogenerated
4 Copyright The Kubernetes Authors.
6 Licensed under the Apache License, Version 2.0 (the "License");
7 you may not use this file except in compliance with the License.
8 You may obtain a copy of the License at
10 http://www.apache.org/licenses/LICENSE-2.0
12 Unless required by applicable law or agreed to in writing, software
13 distributed under the License is distributed on an "AS IS" BASIS,
14 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 See the License for the specific language governing permissions and
16 limitations under the License.
19 // Code generated by deepcopy-gen. DO NOT EDIT.
24 runtime "k8s.io/apimachinery/pkg/runtime"
25 types "k8s.io/apimachinery/pkg/types"
28 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
29 func (in *APIGroup) DeepCopyInto(out *APIGroup) {
31 out.TypeMeta = in.TypeMeta
32 if in.Versions != nil {
33 in, out := &in.Versions, &out.Versions
34 *out = make([]GroupVersionForDiscovery, len(*in))
37 out.PreferredVersion = in.PreferredVersion
38 if in.ServerAddressByClientCIDRs != nil {
39 in, out := &in.ServerAddressByClientCIDRs, &out.ServerAddressByClientCIDRs
40 *out = make([]ServerAddressByClientCIDR, len(*in))
46 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIGroup.
47 func (in *APIGroup) DeepCopy() *APIGroup {
56 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
57 func (in *APIGroup) DeepCopyObject() runtime.Object {
58 if c := in.DeepCopy(); c != nil {
64 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
65 func (in *APIGroupList) DeepCopyInto(out *APIGroupList) {
67 out.TypeMeta = in.TypeMeta
69 in, out := &in.Groups, &out.Groups
70 *out = make([]APIGroup, len(*in))
72 (*in)[i].DeepCopyInto(&(*out)[i])
78 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIGroupList.
79 func (in *APIGroupList) DeepCopy() *APIGroupList {
83 out := new(APIGroupList)
88 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
89 func (in *APIGroupList) DeepCopyObject() runtime.Object {
90 if c := in.DeepCopy(); c != nil {
96 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
97 func (in *APIResource) DeepCopyInto(out *APIResource) {
100 in, out := &in.Verbs, &out.Verbs
101 *out = make(Verbs, len(*in))
104 if in.ShortNames != nil {
105 in, out := &in.ShortNames, &out.ShortNames
106 *out = make([]string, len(*in))
109 if in.Categories != nil {
110 in, out := &in.Categories, &out.Categories
111 *out = make([]string, len(*in))
117 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIResource.
118 func (in *APIResource) DeepCopy() *APIResource {
122 out := new(APIResource)
127 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
128 func (in *APIResourceList) DeepCopyInto(out *APIResourceList) {
130 out.TypeMeta = in.TypeMeta
131 if in.APIResources != nil {
132 in, out := &in.APIResources, &out.APIResources
133 *out = make([]APIResource, len(*in))
135 (*in)[i].DeepCopyInto(&(*out)[i])
141 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIResourceList.
142 func (in *APIResourceList) DeepCopy() *APIResourceList {
146 out := new(APIResourceList)
151 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
152 func (in *APIResourceList) DeepCopyObject() runtime.Object {
153 if c := in.DeepCopy(); c != nil {
159 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
160 func (in *APIVersions) DeepCopyInto(out *APIVersions) {
162 out.TypeMeta = in.TypeMeta
163 if in.Versions != nil {
164 in, out := &in.Versions, &out.Versions
165 *out = make([]string, len(*in))
168 if in.ServerAddressByClientCIDRs != nil {
169 in, out := &in.ServerAddressByClientCIDRs, &out.ServerAddressByClientCIDRs
170 *out = make([]ServerAddressByClientCIDR, len(*in))
176 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIVersions.
177 func (in *APIVersions) DeepCopy() *APIVersions {
181 out := new(APIVersions)
186 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
187 func (in *APIVersions) DeepCopyObject() runtime.Object {
188 if c := in.DeepCopy(); c != nil {
194 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
195 func (in *CreateOptions) DeepCopyInto(out *CreateOptions) {
197 out.TypeMeta = in.TypeMeta
198 if in.DryRun != nil {
199 in, out := &in.DryRun, &out.DryRun
200 *out = make([]string, len(*in))
206 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CreateOptions.
207 func (in *CreateOptions) DeepCopy() *CreateOptions {
211 out := new(CreateOptions)
216 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
217 func (in *CreateOptions) DeepCopyObject() runtime.Object {
218 if c := in.DeepCopy(); c != nil {
224 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
225 func (in *DeleteOptions) DeepCopyInto(out *DeleteOptions) {
227 out.TypeMeta = in.TypeMeta
228 if in.GracePeriodSeconds != nil {
229 in, out := &in.GracePeriodSeconds, &out.GracePeriodSeconds
233 if in.Preconditions != nil {
234 in, out := &in.Preconditions, &out.Preconditions
235 *out = new(Preconditions)
236 (*in).DeepCopyInto(*out)
238 if in.OrphanDependents != nil {
239 in, out := &in.OrphanDependents, &out.OrphanDependents
243 if in.PropagationPolicy != nil {
244 in, out := &in.PropagationPolicy, &out.PropagationPolicy
245 *out = new(DeletionPropagation)
248 if in.DryRun != nil {
249 in, out := &in.DryRun, &out.DryRun
250 *out = make([]string, len(*in))
256 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeleteOptions.
257 func (in *DeleteOptions) DeepCopy() *DeleteOptions {
261 out := new(DeleteOptions)
266 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
267 func (in *DeleteOptions) DeepCopyObject() runtime.Object {
268 if c := in.DeepCopy(); c != nil {
274 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
275 func (in *Duration) DeepCopyInto(out *Duration) {
280 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Duration.
281 func (in *Duration) DeepCopy() *Duration {
290 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
291 func (in *ExportOptions) DeepCopyInto(out *ExportOptions) {
293 out.TypeMeta = in.TypeMeta
297 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExportOptions.
298 func (in *ExportOptions) DeepCopy() *ExportOptions {
302 out := new(ExportOptions)
307 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
308 func (in *ExportOptions) DeepCopyObject() runtime.Object {
309 if c := in.DeepCopy(); c != nil {
315 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
316 func (in *GetOptions) DeepCopyInto(out *GetOptions) {
318 out.TypeMeta = in.TypeMeta
322 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GetOptions.
323 func (in *GetOptions) DeepCopy() *GetOptions {
327 out := new(GetOptions)
332 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
333 func (in *GetOptions) DeepCopyObject() runtime.Object {
334 if c := in.DeepCopy(); c != nil {
340 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
341 func (in *GroupKind) DeepCopyInto(out *GroupKind) {
346 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupKind.
347 func (in *GroupKind) DeepCopy() *GroupKind {
351 out := new(GroupKind)
356 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
357 func (in *GroupResource) DeepCopyInto(out *GroupResource) {
362 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupResource.
363 func (in *GroupResource) DeepCopy() *GroupResource {
367 out := new(GroupResource)
372 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
373 func (in *GroupVersion) DeepCopyInto(out *GroupVersion) {
378 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupVersion.
379 func (in *GroupVersion) DeepCopy() *GroupVersion {
383 out := new(GroupVersion)
388 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
389 func (in *GroupVersionForDiscovery) DeepCopyInto(out *GroupVersionForDiscovery) {
394 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupVersionForDiscovery.
395 func (in *GroupVersionForDiscovery) DeepCopy() *GroupVersionForDiscovery {
399 out := new(GroupVersionForDiscovery)
404 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
405 func (in *GroupVersionKind) DeepCopyInto(out *GroupVersionKind) {
410 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupVersionKind.
411 func (in *GroupVersionKind) DeepCopy() *GroupVersionKind {
415 out := new(GroupVersionKind)
420 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
421 func (in *GroupVersionResource) DeepCopyInto(out *GroupVersionResource) {
426 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupVersionResource.
427 func (in *GroupVersionResource) DeepCopy() *GroupVersionResource {
431 out := new(GroupVersionResource)
436 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
437 func (in *Initializer) DeepCopyInto(out *Initializer) {
442 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Initializer.
443 func (in *Initializer) DeepCopy() *Initializer {
447 out := new(Initializer)
452 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
453 func (in *Initializers) DeepCopyInto(out *Initializers) {
455 if in.Pending != nil {
456 in, out := &in.Pending, &out.Pending
457 *out = make([]Initializer, len(*in))
460 if in.Result != nil {
461 in, out := &in.Result, &out.Result
463 (*in).DeepCopyInto(*out)
468 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Initializers.
469 func (in *Initializers) DeepCopy() *Initializers {
473 out := new(Initializers)
478 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
479 func (in *InternalEvent) DeepCopyInto(out *InternalEvent) {
481 if in.Object != nil {
482 out.Object = in.Object.DeepCopyObject()
487 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InternalEvent.
488 func (in *InternalEvent) DeepCopy() *InternalEvent {
492 out := new(InternalEvent)
497 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
498 func (in *LabelSelector) DeepCopyInto(out *LabelSelector) {
500 if in.MatchLabels != nil {
501 in, out := &in.MatchLabels, &out.MatchLabels
502 *out = make(map[string]string, len(*in))
503 for key, val := range *in {
507 if in.MatchExpressions != nil {
508 in, out := &in.MatchExpressions, &out.MatchExpressions
509 *out = make([]LabelSelectorRequirement, len(*in))
511 (*in)[i].DeepCopyInto(&(*out)[i])
517 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LabelSelector.
518 func (in *LabelSelector) DeepCopy() *LabelSelector {
522 out := new(LabelSelector)
527 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
528 func (in *LabelSelectorRequirement) DeepCopyInto(out *LabelSelectorRequirement) {
530 if in.Values != nil {
531 in, out := &in.Values, &out.Values
532 *out = make([]string, len(*in))
538 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LabelSelectorRequirement.
539 func (in *LabelSelectorRequirement) DeepCopy() *LabelSelectorRequirement {
543 out := new(LabelSelectorRequirement)
548 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
549 func (in *List) DeepCopyInto(out *List) {
551 out.TypeMeta = in.TypeMeta
552 out.ListMeta = in.ListMeta
554 in, out := &in.Items, &out.Items
555 *out = make([]runtime.RawExtension, len(*in))
557 (*in)[i].DeepCopyInto(&(*out)[i])
563 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new List.
564 func (in *List) DeepCopy() *List {
573 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
574 func (in *List) DeepCopyObject() runtime.Object {
575 if c := in.DeepCopy(); c != nil {
581 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
582 func (in *ListMeta) DeepCopyInto(out *ListMeta) {
587 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ListMeta.
588 func (in *ListMeta) DeepCopy() *ListMeta {
597 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
598 func (in *ListOptions) DeepCopyInto(out *ListOptions) {
600 out.TypeMeta = in.TypeMeta
601 if in.TimeoutSeconds != nil {
602 in, out := &in.TimeoutSeconds, &out.TimeoutSeconds
609 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ListOptions.
610 func (in *ListOptions) DeepCopy() *ListOptions {
614 out := new(ListOptions)
619 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
620 func (in *ListOptions) DeepCopyObject() runtime.Object {
621 if c := in.DeepCopy(); c != nil {
627 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MicroTime.
628 func (in *MicroTime) DeepCopy() *MicroTime {
632 out := new(MicroTime)
637 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
638 func (in *ObjectMeta) DeepCopyInto(out *ObjectMeta) {
640 in.CreationTimestamp.DeepCopyInto(&out.CreationTimestamp)
641 if in.DeletionTimestamp != nil {
642 in, out := &in.DeletionTimestamp, &out.DeletionTimestamp
643 *out = (*in).DeepCopy()
645 if in.DeletionGracePeriodSeconds != nil {
646 in, out := &in.DeletionGracePeriodSeconds, &out.DeletionGracePeriodSeconds
650 if in.Labels != nil {
651 in, out := &in.Labels, &out.Labels
652 *out = make(map[string]string, len(*in))
653 for key, val := range *in {
657 if in.Annotations != nil {
658 in, out := &in.Annotations, &out.Annotations
659 *out = make(map[string]string, len(*in))
660 for key, val := range *in {
664 if in.OwnerReferences != nil {
665 in, out := &in.OwnerReferences, &out.OwnerReferences
666 *out = make([]OwnerReference, len(*in))
668 (*in)[i].DeepCopyInto(&(*out)[i])
671 if in.Initializers != nil {
672 in, out := &in.Initializers, &out.Initializers
673 *out = new(Initializers)
674 (*in).DeepCopyInto(*out)
676 if in.Finalizers != nil {
677 in, out := &in.Finalizers, &out.Finalizers
678 *out = make([]string, len(*in))
684 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectMeta.
685 func (in *ObjectMeta) DeepCopy() *ObjectMeta {
689 out := new(ObjectMeta)
694 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
695 func (in *OwnerReference) DeepCopyInto(out *OwnerReference) {
697 if in.Controller != nil {
698 in, out := &in.Controller, &out.Controller
702 if in.BlockOwnerDeletion != nil {
703 in, out := &in.BlockOwnerDeletion, &out.BlockOwnerDeletion
710 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OwnerReference.
711 func (in *OwnerReference) DeepCopy() *OwnerReference {
715 out := new(OwnerReference)
720 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
721 func (in *Patch) DeepCopyInto(out *Patch) {
726 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Patch.
727 func (in *Patch) DeepCopy() *Patch {
736 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
737 func (in *Preconditions) DeepCopyInto(out *Preconditions) {
740 in, out := &in.UID, &out.UID
741 *out = new(types.UID)
747 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Preconditions.
748 func (in *Preconditions) DeepCopy() *Preconditions {
752 out := new(Preconditions)
757 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
758 func (in *RootPaths) DeepCopyInto(out *RootPaths) {
761 in, out := &in.Paths, &out.Paths
762 *out = make([]string, len(*in))
768 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RootPaths.
769 func (in *RootPaths) DeepCopy() *RootPaths {
773 out := new(RootPaths)
778 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
779 func (in *ServerAddressByClientCIDR) DeepCopyInto(out *ServerAddressByClientCIDR) {
784 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerAddressByClientCIDR.
785 func (in *ServerAddressByClientCIDR) DeepCopy() *ServerAddressByClientCIDR {
789 out := new(ServerAddressByClientCIDR)
794 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
795 func (in *Status) DeepCopyInto(out *Status) {
797 out.TypeMeta = in.TypeMeta
798 out.ListMeta = in.ListMeta
799 if in.Details != nil {
800 in, out := &in.Details, &out.Details
801 *out = new(StatusDetails)
802 (*in).DeepCopyInto(*out)
807 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Status.
808 func (in *Status) DeepCopy() *Status {
817 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
818 func (in *Status) DeepCopyObject() runtime.Object {
819 if c := in.DeepCopy(); c != nil {
825 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
826 func (in *StatusCause) DeepCopyInto(out *StatusCause) {
831 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatusCause.
832 func (in *StatusCause) DeepCopy() *StatusCause {
836 out := new(StatusCause)
841 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
842 func (in *StatusDetails) DeepCopyInto(out *StatusDetails) {
844 if in.Causes != nil {
845 in, out := &in.Causes, &out.Causes
846 *out = make([]StatusCause, len(*in))
852 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatusDetails.
853 func (in *StatusDetails) DeepCopy() *StatusDetails {
857 out := new(StatusDetails)
862 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Time.
863 func (in *Time) DeepCopy() *Time {
872 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
873 func (in *Timestamp) DeepCopyInto(out *Timestamp) {
878 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Timestamp.
879 func (in *Timestamp) DeepCopy() *Timestamp {
883 out := new(Timestamp)
888 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
889 func (in *UpdateOptions) DeepCopyInto(out *UpdateOptions) {
891 out.TypeMeta = in.TypeMeta
892 if in.DryRun != nil {
893 in, out := &in.DryRun, &out.DryRun
894 *out = make([]string, len(*in))
900 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpdateOptions.
901 func (in *UpdateOptions) DeepCopy() *UpdateOptions {
905 out := new(UpdateOptions)
910 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
911 func (in *UpdateOptions) DeepCopyObject() runtime.Object {
912 if c := in.DeepCopy(); c != nil {
918 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
919 func (in Verbs) DeepCopyInto(out *Verbs) {
922 *out = make(Verbs, len(*in))
928 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Verbs.
929 func (in Verbs) DeepCopy() Verbs {
938 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
939 func (in *WatchEvent) DeepCopyInto(out *WatchEvent) {
941 in.Object.DeepCopyInto(&out.Object)
945 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WatchEvent.
946 func (in *WatchEvent) DeepCopy() *WatchEvent {
950 out := new(WatchEvent)
955 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
956 func (in *WatchEvent) DeepCopyObject() runtime.Object {
957 if c := in.DeepCopy(); c != nil {