mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-10-31 02:08:13 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			135 lines
		
	
	
		
			4.1 KiB
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			135 lines
		
	
	
		
			4.1 KiB
		
	
	
	
		
			Go
		
	
	
	
	
	
| // +build !ignore_autogenerated
 | |
| 
 | |
| /*
 | |
| Copyright 2017 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.
 | |
| */
 | |
| 
 | |
| // This file was autogenerated by deepcopy-gen. Do not edit it manually!
 | |
| 
 | |
| package admission
 | |
| 
 | |
| import (
 | |
| 	v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
 | |
| 	conversion "k8s.io/apimachinery/pkg/conversion"
 | |
| 	runtime "k8s.io/apimachinery/pkg/runtime"
 | |
| 	reflect "reflect"
 | |
| )
 | |
| 
 | |
| // Deprecated: register deep-copy functions.
 | |
| func init() {
 | |
| 	SchemeBuilder.Register(RegisterDeepCopies)
 | |
| }
 | |
| 
 | |
| // Deprecated: RegisterDeepCopies adds deep-copy functions to the given scheme. Public
 | |
| // to allow building arbitrary schemes.
 | |
| func RegisterDeepCopies(scheme *runtime.Scheme) error {
 | |
| 	return scheme.AddGeneratedDeepCopyFuncs(
 | |
| 		conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
 | |
| 			in.(*AdmissionReview).DeepCopyInto(out.(*AdmissionReview))
 | |
| 			return nil
 | |
| 		}, InType: reflect.TypeOf(&AdmissionReview{})},
 | |
| 		conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
 | |
| 			in.(*AdmissionReviewSpec).DeepCopyInto(out.(*AdmissionReviewSpec))
 | |
| 			return nil
 | |
| 		}, InType: reflect.TypeOf(&AdmissionReviewSpec{})},
 | |
| 		conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
 | |
| 			in.(*AdmissionReviewStatus).DeepCopyInto(out.(*AdmissionReviewStatus))
 | |
| 			return nil
 | |
| 		}, InType: reflect.TypeOf(&AdmissionReviewStatus{})},
 | |
| 	)
 | |
| }
 | |
| 
 | |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
 | |
| func (in *AdmissionReview) DeepCopyInto(out *AdmissionReview) {
 | |
| 	*out = *in
 | |
| 	out.TypeMeta = in.TypeMeta
 | |
| 	in.Spec.DeepCopyInto(&out.Spec)
 | |
| 	in.Status.DeepCopyInto(&out.Status)
 | |
| 	return
 | |
| }
 | |
| 
 | |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new AdmissionReview.
 | |
| func (x *AdmissionReview) DeepCopy() *AdmissionReview {
 | |
| 	if x == nil {
 | |
| 		return nil
 | |
| 	}
 | |
| 	out := new(AdmissionReview)
 | |
| 	x.DeepCopyInto(out)
 | |
| 	return out
 | |
| }
 | |
| 
 | |
| // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
 | |
| func (x *AdmissionReview) DeepCopyObject() runtime.Object {
 | |
| 	if c := x.DeepCopy(); c != nil {
 | |
| 		return c
 | |
| 	} else {
 | |
| 		return nil
 | |
| 	}
 | |
| }
 | |
| 
 | |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
 | |
| func (in *AdmissionReviewSpec) DeepCopyInto(out *AdmissionReviewSpec) {
 | |
| 	*out = *in
 | |
| 	out.Kind = in.Kind
 | |
| 	if in.Object == nil {
 | |
| 		out.Object = nil
 | |
| 	} else {
 | |
| 		out.Object = in.Object.DeepCopyObject()
 | |
| 	}
 | |
| 	if in.OldObject == nil {
 | |
| 		out.OldObject = nil
 | |
| 	} else {
 | |
| 		out.OldObject = in.OldObject.DeepCopyObject()
 | |
| 	}
 | |
| 	out.Resource = in.Resource
 | |
| 	in.UserInfo.DeepCopyInto(&out.UserInfo)
 | |
| 	return
 | |
| }
 | |
| 
 | |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new AdmissionReviewSpec.
 | |
| func (x *AdmissionReviewSpec) DeepCopy() *AdmissionReviewSpec {
 | |
| 	if x == nil {
 | |
| 		return nil
 | |
| 	}
 | |
| 	out := new(AdmissionReviewSpec)
 | |
| 	x.DeepCopyInto(out)
 | |
| 	return out
 | |
| }
 | |
| 
 | |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
 | |
| func (in *AdmissionReviewStatus) DeepCopyInto(out *AdmissionReviewStatus) {
 | |
| 	*out = *in
 | |
| 	if in.Result != nil {
 | |
| 		in, out := &in.Result, &out.Result
 | |
| 		if *in == nil {
 | |
| 			*out = nil
 | |
| 		} else {
 | |
| 			*out = new(v1.Status)
 | |
| 			(*in).DeepCopyInto(*out)
 | |
| 		}
 | |
| 	}
 | |
| 	return
 | |
| }
 | |
| 
 | |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new AdmissionReviewStatus.
 | |
| func (x *AdmissionReviewStatus) DeepCopy() *AdmissionReviewStatus {
 | |
| 	if x == nil {
 | |
| 		return nil
 | |
| 	}
 | |
| 	out := new(AdmissionReviewStatus)
 | |
| 	x.DeepCopyInto(out)
 | |
| 	return out
 | |
| }
 | 
