mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-04 12:18:16 +00:00 
			
		
		
		
	Update generated files
This commit is contained in:
		@@ -315,7 +315,7 @@ staging/src/k8s.io/apimachinery/pkg/version
 | 
				
			|||||||
staging/src/k8s.io/apimachinery/pkg/watch
 | 
					staging/src/k8s.io/apimachinery/pkg/watch
 | 
				
			||||||
staging/src/k8s.io/apiserver/pkg/admission/initializer
 | 
					staging/src/k8s.io/apiserver/pkg/admission/initializer
 | 
				
			||||||
staging/src/k8s.io/apiserver/pkg/apis/apiserver/install
 | 
					staging/src/k8s.io/apiserver/pkg/apis/apiserver/install
 | 
				
			||||||
staging/src/k8s.io/apiserver/pkg/apis/audit
 | 
					staging/src/k8s.io/apiserver/pkg/apis/audit/install
 | 
				
			||||||
staging/src/k8s.io/apiserver/pkg/apis/example/install
 | 
					staging/src/k8s.io/apiserver/pkg/apis/example/install
 | 
				
			||||||
staging/src/k8s.io/apiserver/pkg/authentication/authenticator
 | 
					staging/src/k8s.io/apiserver/pkg/authentication/authenticator
 | 
				
			||||||
staging/src/k8s.io/apiserver/pkg/authentication/request/union
 | 
					staging/src/k8s.io/apiserver/pkg/authentication/request/union
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -29,4 +29,3 @@ vendor/k8s.io/sample-apiserver/hack/verify-codegen.sh
 | 
				
			|||||||
vendor/k8s.io/kube-apiextensions-server/hack/verify-codegen.sh
 | 
					vendor/k8s.io/kube-apiextensions-server/hack/verify-codegen.sh
 | 
				
			||||||
 | 
					
 | 
				
			||||||
"${KUBE_ROOT}/hack/update-codegen.sh" --verify-only
 | 
					"${KUBE_ROOT}/hack/update-codegen.sh" --verify-only
 | 
				
			||||||
 | 
					 | 
				
			||||||
 
 | 
				
			|||||||
@@ -42,6 +42,7 @@ openapi_library(
 | 
				
			|||||||
        "k8s.io/apimachinery/pkg/runtime",
 | 
					        "k8s.io/apimachinery/pkg/runtime",
 | 
				
			||||||
        "k8s.io/apimachinery/pkg/util/intstr",
 | 
					        "k8s.io/apimachinery/pkg/util/intstr",
 | 
				
			||||||
        "k8s.io/apimachinery/pkg/version",
 | 
					        "k8s.io/apimachinery/pkg/version",
 | 
				
			||||||
 | 
					        "k8s.io/apiserver/pkg/apis/audit/v1alpha1",
 | 
				
			||||||
        "k8s.io/apiserver/pkg/apis/example/v1",
 | 
					        "k8s.io/apiserver/pkg/apis/example/v1",
 | 
				
			||||||
        "k8s.io/client-go/pkg/api/v1",
 | 
					        "k8s.io/client-go/pkg/api/v1",
 | 
				
			||||||
        "k8s.io/metrics/pkg/apis/custom_metrics/v1alpha1",
 | 
					        "k8s.io/metrics/pkg/apis/custom_metrics/v1alpha1",
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -9,10 +9,18 @@ load(
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
go_library(
 | 
					go_library(
 | 
				
			||||||
    name = "go_default_library",
 | 
					    name = "go_default_library",
 | 
				
			||||||
    srcs = ["types.go"],
 | 
					    srcs = [
 | 
				
			||||||
 | 
					        "doc.go",
 | 
				
			||||||
 | 
					        "register.go",
 | 
				
			||||||
 | 
					        "types.go",
 | 
				
			||||||
 | 
					        "zz_generated.deepcopy.go",
 | 
				
			||||||
 | 
					    ],
 | 
				
			||||||
    tags = ["automanaged"],
 | 
					    tags = ["automanaged"],
 | 
				
			||||||
    deps = [
 | 
					    deps = [
 | 
				
			||||||
        "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library",
 | 
					        "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library",
 | 
				
			||||||
 | 
					        "//vendor/k8s.io/apimachinery/pkg/conversion:go_default_library",
 | 
				
			||||||
 | 
					        "//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library",
 | 
				
			||||||
 | 
					        "//vendor/k8s.io/apimachinery/pkg/runtime/schema:go_default_library",
 | 
				
			||||||
        "//vendor/k8s.io/apimachinery/pkg/types:go_default_library",
 | 
					        "//vendor/k8s.io/apimachinery/pkg/types:go_default_library",
 | 
				
			||||||
    ],
 | 
					    ],
 | 
				
			||||||
)
 | 
					)
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										22
									
								
								staging/src/k8s.io/apiserver/pkg/apis/audit/install/BUILD
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										22
									
								
								staging/src/k8s.io/apiserver/pkg/apis/audit/install/BUILD
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,22 @@
 | 
				
			|||||||
 | 
					package(default_visibility = ["//visibility:public"])
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					licenses(["notice"])
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					load(
 | 
				
			||||||
 | 
					    "@io_bazel_rules_go//go:def.bzl",
 | 
				
			||||||
 | 
					    "go_library",
 | 
				
			||||||
 | 
					)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					go_library(
 | 
				
			||||||
 | 
					    name = "go_default_library",
 | 
				
			||||||
 | 
					    srcs = ["install.go"],
 | 
				
			||||||
 | 
					    tags = ["automanaged"],
 | 
				
			||||||
 | 
					    deps = [
 | 
				
			||||||
 | 
					        "//vendor/k8s.io/apimachinery/pkg/apimachinery/announced:go_default_library",
 | 
				
			||||||
 | 
					        "//vendor/k8s.io/apimachinery/pkg/apimachinery/registered:go_default_library",
 | 
				
			||||||
 | 
					        "//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library",
 | 
				
			||||||
 | 
					        "//vendor/k8s.io/apimachinery/pkg/util/sets:go_default_library",
 | 
				
			||||||
 | 
					        "//vendor/k8s.io/apiserver/pkg/apis/audit:go_default_library",
 | 
				
			||||||
 | 
					        "//vendor/k8s.io/apiserver/pkg/apis/audit/v1alpha1:go_default_library",
 | 
				
			||||||
 | 
					    ],
 | 
				
			||||||
 | 
					)
 | 
				
			||||||
							
								
								
									
										31
									
								
								staging/src/k8s.io/apiserver/pkg/apis/audit/v1alpha1/BUILD
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										31
									
								
								staging/src/k8s.io/apiserver/pkg/apis/audit/v1alpha1/BUILD
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,31 @@
 | 
				
			|||||||
 | 
					package(default_visibility = ["//visibility:public"])
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					licenses(["notice"])
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					load(
 | 
				
			||||||
 | 
					    "@io_bazel_rules_go//go:def.bzl",
 | 
				
			||||||
 | 
					    "go_library",
 | 
				
			||||||
 | 
					)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					go_library(
 | 
				
			||||||
 | 
					    name = "go_default_library",
 | 
				
			||||||
 | 
					    srcs = [
 | 
				
			||||||
 | 
					        "doc.go",
 | 
				
			||||||
 | 
					        "register.go",
 | 
				
			||||||
 | 
					        "types.generated.go",
 | 
				
			||||||
 | 
					        "types.go",
 | 
				
			||||||
 | 
					        "zz_generated.conversion.go",
 | 
				
			||||||
 | 
					        "zz_generated.deepcopy.go",
 | 
				
			||||||
 | 
					    ],
 | 
				
			||||||
 | 
					    tags = ["automanaged"],
 | 
				
			||||||
 | 
					    deps = [
 | 
				
			||||||
 | 
					        "//vendor/github.com/ugorji/go/codec:go_default_library",
 | 
				
			||||||
 | 
					        "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library",
 | 
				
			||||||
 | 
					        "//vendor/k8s.io/apimachinery/pkg/conversion:go_default_library",
 | 
				
			||||||
 | 
					        "//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library",
 | 
				
			||||||
 | 
					        "//vendor/k8s.io/apimachinery/pkg/runtime/schema:go_default_library",
 | 
				
			||||||
 | 
					        "//vendor/k8s.io/apimachinery/pkg/types:go_default_library",
 | 
				
			||||||
 | 
					        "//vendor/k8s.io/apiserver/pkg/apis/audit:go_default_library",
 | 
				
			||||||
 | 
					        "//vendor/k8s.io/client-go/pkg/apis/authentication/v1:go_default_library",
 | 
				
			||||||
 | 
					    ],
 | 
				
			||||||
 | 
					)
 | 
				
			||||||
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							@@ -0,0 +1,296 @@
 | 
				
			|||||||
 | 
					// +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 conversion-gen. Do not edit it manually!
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					package v1alpha1
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					import (
 | 
				
			||||||
 | 
						v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
 | 
				
			||||||
 | 
						conversion "k8s.io/apimachinery/pkg/conversion"
 | 
				
			||||||
 | 
						runtime "k8s.io/apimachinery/pkg/runtime"
 | 
				
			||||||
 | 
						types "k8s.io/apimachinery/pkg/types"
 | 
				
			||||||
 | 
						audit "k8s.io/apiserver/pkg/apis/audit"
 | 
				
			||||||
 | 
						authentication_v1 "k8s.io/client-go/pkg/apis/authentication/v1"
 | 
				
			||||||
 | 
						unsafe "unsafe"
 | 
				
			||||||
 | 
					)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					func init() {
 | 
				
			||||||
 | 
						SchemeBuilder.Register(RegisterConversions)
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// RegisterConversions adds conversion functions to the given scheme.
 | 
				
			||||||
 | 
					// Public to allow building arbitrary schemes.
 | 
				
			||||||
 | 
					func RegisterConversions(scheme *runtime.Scheme) error {
 | 
				
			||||||
 | 
						return scheme.AddGeneratedConversionFuncs(
 | 
				
			||||||
 | 
							Convert_v1alpha1_Event_To_audit_Event,
 | 
				
			||||||
 | 
							Convert_audit_Event_To_v1alpha1_Event,
 | 
				
			||||||
 | 
							Convert_v1alpha1_EventList_To_audit_EventList,
 | 
				
			||||||
 | 
							Convert_audit_EventList_To_v1alpha1_EventList,
 | 
				
			||||||
 | 
							Convert_v1alpha1_GroupResources_To_audit_GroupResources,
 | 
				
			||||||
 | 
							Convert_audit_GroupResources_To_v1alpha1_GroupResources,
 | 
				
			||||||
 | 
							Convert_v1alpha1_ObjectReference_To_audit_ObjectReference,
 | 
				
			||||||
 | 
							Convert_audit_ObjectReference_To_v1alpha1_ObjectReference,
 | 
				
			||||||
 | 
							Convert_v1alpha1_Policy_To_audit_Policy,
 | 
				
			||||||
 | 
							Convert_audit_Policy_To_v1alpha1_Policy,
 | 
				
			||||||
 | 
							Convert_v1alpha1_PolicyList_To_audit_PolicyList,
 | 
				
			||||||
 | 
							Convert_audit_PolicyList_To_v1alpha1_PolicyList,
 | 
				
			||||||
 | 
							Convert_v1alpha1_PolicyRule_To_audit_PolicyRule,
 | 
				
			||||||
 | 
							Convert_audit_PolicyRule_To_v1alpha1_PolicyRule,
 | 
				
			||||||
 | 
						)
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					func autoConvert_v1alpha1_Event_To_audit_Event(in *Event, out *audit.Event, s conversion.Scope) error {
 | 
				
			||||||
 | 
						out.ObjectMeta = in.ObjectMeta
 | 
				
			||||||
 | 
						out.Level = audit.Level(in.Level)
 | 
				
			||||||
 | 
						out.Timestamp = in.Timestamp
 | 
				
			||||||
 | 
						out.AuditID = types.UID(in.AuditID)
 | 
				
			||||||
 | 
						out.RequestURI = in.RequestURI
 | 
				
			||||||
 | 
						out.Verb = in.Verb
 | 
				
			||||||
 | 
						// TODO: Inefficient conversion - can we improve it?
 | 
				
			||||||
 | 
						if err := s.Convert(&in.User, &out.User, 0); err != nil {
 | 
				
			||||||
 | 
							return err
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
						out.ImpersonatedUser = (*audit.UserInfo)(unsafe.Pointer(in.ImpersonatedUser))
 | 
				
			||||||
 | 
						out.SourceIPs = *(*[]string)(unsafe.Pointer(&in.SourceIPs))
 | 
				
			||||||
 | 
						out.ObjectRef = (*audit.ObjectReference)(unsafe.Pointer(in.ObjectRef))
 | 
				
			||||||
 | 
						out.ResponseStatus = (*v1.Status)(unsafe.Pointer(in.ResponseStatus))
 | 
				
			||||||
 | 
						// TODO: Inefficient conversion - can we improve it?
 | 
				
			||||||
 | 
						if err := s.Convert(&in.RequestObject, &out.RequestObject, 0); err != nil {
 | 
				
			||||||
 | 
							return err
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
						// TODO: Inefficient conversion - can we improve it?
 | 
				
			||||||
 | 
						if err := s.Convert(&in.ResponseObject, &out.ResponseObject, 0); err != nil {
 | 
				
			||||||
 | 
							return err
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
						return nil
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// Convert_v1alpha1_Event_To_audit_Event is an autogenerated conversion function.
 | 
				
			||||||
 | 
					func Convert_v1alpha1_Event_To_audit_Event(in *Event, out *audit.Event, s conversion.Scope) error {
 | 
				
			||||||
 | 
						return autoConvert_v1alpha1_Event_To_audit_Event(in, out, s)
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					func autoConvert_audit_Event_To_v1alpha1_Event(in *audit.Event, out *Event, s conversion.Scope) error {
 | 
				
			||||||
 | 
						out.ObjectMeta = in.ObjectMeta
 | 
				
			||||||
 | 
						out.Level = Level(in.Level)
 | 
				
			||||||
 | 
						out.Timestamp = in.Timestamp
 | 
				
			||||||
 | 
						out.AuditID = types.UID(in.AuditID)
 | 
				
			||||||
 | 
						out.RequestURI = in.RequestURI
 | 
				
			||||||
 | 
						out.Verb = in.Verb
 | 
				
			||||||
 | 
						// TODO: Inefficient conversion - can we improve it?
 | 
				
			||||||
 | 
						if err := s.Convert(&in.User, &out.User, 0); err != nil {
 | 
				
			||||||
 | 
							return err
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
						out.ImpersonatedUser = (*authentication_v1.UserInfo)(unsafe.Pointer(in.ImpersonatedUser))
 | 
				
			||||||
 | 
						out.SourceIPs = *(*[]string)(unsafe.Pointer(&in.SourceIPs))
 | 
				
			||||||
 | 
						out.ObjectRef = (*ObjectReference)(unsafe.Pointer(in.ObjectRef))
 | 
				
			||||||
 | 
						out.ResponseStatus = (*v1.Status)(unsafe.Pointer(in.ResponseStatus))
 | 
				
			||||||
 | 
						// TODO: Inefficient conversion - can we improve it?
 | 
				
			||||||
 | 
						if err := s.Convert(&in.RequestObject, &out.RequestObject, 0); err != nil {
 | 
				
			||||||
 | 
							return err
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
						// TODO: Inefficient conversion - can we improve it?
 | 
				
			||||||
 | 
						if err := s.Convert(&in.ResponseObject, &out.ResponseObject, 0); err != nil {
 | 
				
			||||||
 | 
							return err
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
						return nil
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// Convert_audit_Event_To_v1alpha1_Event is an autogenerated conversion function.
 | 
				
			||||||
 | 
					func Convert_audit_Event_To_v1alpha1_Event(in *audit.Event, out *Event, s conversion.Scope) error {
 | 
				
			||||||
 | 
						return autoConvert_audit_Event_To_v1alpha1_Event(in, out, s)
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					func autoConvert_v1alpha1_EventList_To_audit_EventList(in *EventList, out *audit.EventList, s conversion.Scope) error {
 | 
				
			||||||
 | 
						out.ListMeta = in.ListMeta
 | 
				
			||||||
 | 
						if in.Items != nil {
 | 
				
			||||||
 | 
							in, out := &in.Items, &out.Items
 | 
				
			||||||
 | 
							*out = make([]audit.Event, len(*in))
 | 
				
			||||||
 | 
							for i := range *in {
 | 
				
			||||||
 | 
								if err := Convert_v1alpha1_Event_To_audit_Event(&(*in)[i], &(*out)[i], s); err != nil {
 | 
				
			||||||
 | 
									return err
 | 
				
			||||||
 | 
								}
 | 
				
			||||||
 | 
							}
 | 
				
			||||||
 | 
						} else {
 | 
				
			||||||
 | 
							out.Items = nil
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
						return nil
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// Convert_v1alpha1_EventList_To_audit_EventList is an autogenerated conversion function.
 | 
				
			||||||
 | 
					func Convert_v1alpha1_EventList_To_audit_EventList(in *EventList, out *audit.EventList, s conversion.Scope) error {
 | 
				
			||||||
 | 
						return autoConvert_v1alpha1_EventList_To_audit_EventList(in, out, s)
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					func autoConvert_audit_EventList_To_v1alpha1_EventList(in *audit.EventList, out *EventList, s conversion.Scope) error {
 | 
				
			||||||
 | 
						out.ListMeta = in.ListMeta
 | 
				
			||||||
 | 
						if in.Items != nil {
 | 
				
			||||||
 | 
							in, out := &in.Items, &out.Items
 | 
				
			||||||
 | 
							*out = make([]Event, len(*in))
 | 
				
			||||||
 | 
							for i := range *in {
 | 
				
			||||||
 | 
								if err := Convert_audit_Event_To_v1alpha1_Event(&(*in)[i], &(*out)[i], s); err != nil {
 | 
				
			||||||
 | 
									return err
 | 
				
			||||||
 | 
								}
 | 
				
			||||||
 | 
							}
 | 
				
			||||||
 | 
						} else {
 | 
				
			||||||
 | 
							out.Items = make([]Event, 0)
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
						return nil
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// Convert_audit_EventList_To_v1alpha1_EventList is an autogenerated conversion function.
 | 
				
			||||||
 | 
					func Convert_audit_EventList_To_v1alpha1_EventList(in *audit.EventList, out *EventList, s conversion.Scope) error {
 | 
				
			||||||
 | 
						return autoConvert_audit_EventList_To_v1alpha1_EventList(in, out, s)
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					func autoConvert_v1alpha1_GroupResources_To_audit_GroupResources(in *GroupResources, out *audit.GroupResources, s conversion.Scope) error {
 | 
				
			||||||
 | 
						out.Group = in.Group
 | 
				
			||||||
 | 
						out.Resources = *(*[]string)(unsafe.Pointer(&in.Resources))
 | 
				
			||||||
 | 
						return nil
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// Convert_v1alpha1_GroupResources_To_audit_GroupResources is an autogenerated conversion function.
 | 
				
			||||||
 | 
					func Convert_v1alpha1_GroupResources_To_audit_GroupResources(in *GroupResources, out *audit.GroupResources, s conversion.Scope) error {
 | 
				
			||||||
 | 
						return autoConvert_v1alpha1_GroupResources_To_audit_GroupResources(in, out, s)
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					func autoConvert_audit_GroupResources_To_v1alpha1_GroupResources(in *audit.GroupResources, out *GroupResources, s conversion.Scope) error {
 | 
				
			||||||
 | 
						out.Group = in.Group
 | 
				
			||||||
 | 
						out.Resources = *(*[]string)(unsafe.Pointer(&in.Resources))
 | 
				
			||||||
 | 
						return nil
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// Convert_audit_GroupResources_To_v1alpha1_GroupResources is an autogenerated conversion function.
 | 
				
			||||||
 | 
					func Convert_audit_GroupResources_To_v1alpha1_GroupResources(in *audit.GroupResources, out *GroupResources, s conversion.Scope) error {
 | 
				
			||||||
 | 
						return autoConvert_audit_GroupResources_To_v1alpha1_GroupResources(in, out, s)
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					func autoConvert_v1alpha1_ObjectReference_To_audit_ObjectReference(in *ObjectReference, out *audit.ObjectReference, s conversion.Scope) error {
 | 
				
			||||||
 | 
						out.Resource = in.Resource
 | 
				
			||||||
 | 
						out.Namespace = in.Namespace
 | 
				
			||||||
 | 
						out.Name = in.Name
 | 
				
			||||||
 | 
						out.UID = types.UID(in.UID)
 | 
				
			||||||
 | 
						out.APIVersion = in.APIVersion
 | 
				
			||||||
 | 
						out.ResourceVersion = in.ResourceVersion
 | 
				
			||||||
 | 
						return nil
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// Convert_v1alpha1_ObjectReference_To_audit_ObjectReference is an autogenerated conversion function.
 | 
				
			||||||
 | 
					func Convert_v1alpha1_ObjectReference_To_audit_ObjectReference(in *ObjectReference, out *audit.ObjectReference, s conversion.Scope) error {
 | 
				
			||||||
 | 
						return autoConvert_v1alpha1_ObjectReference_To_audit_ObjectReference(in, out, s)
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					func autoConvert_audit_ObjectReference_To_v1alpha1_ObjectReference(in *audit.ObjectReference, out *ObjectReference, s conversion.Scope) error {
 | 
				
			||||||
 | 
						out.Resource = in.Resource
 | 
				
			||||||
 | 
						out.Namespace = in.Namespace
 | 
				
			||||||
 | 
						out.Name = in.Name
 | 
				
			||||||
 | 
						out.UID = types.UID(in.UID)
 | 
				
			||||||
 | 
						out.APIVersion = in.APIVersion
 | 
				
			||||||
 | 
						out.ResourceVersion = in.ResourceVersion
 | 
				
			||||||
 | 
						return nil
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// Convert_audit_ObjectReference_To_v1alpha1_ObjectReference is an autogenerated conversion function.
 | 
				
			||||||
 | 
					func Convert_audit_ObjectReference_To_v1alpha1_ObjectReference(in *audit.ObjectReference, out *ObjectReference, s conversion.Scope) error {
 | 
				
			||||||
 | 
						return autoConvert_audit_ObjectReference_To_v1alpha1_ObjectReference(in, out, s)
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					func autoConvert_v1alpha1_Policy_To_audit_Policy(in *Policy, out *audit.Policy, s conversion.Scope) error {
 | 
				
			||||||
 | 
						out.ObjectMeta = in.ObjectMeta
 | 
				
			||||||
 | 
						out.Rules = *(*[]audit.PolicyRule)(unsafe.Pointer(&in.Rules))
 | 
				
			||||||
 | 
						return nil
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// Convert_v1alpha1_Policy_To_audit_Policy is an autogenerated conversion function.
 | 
				
			||||||
 | 
					func Convert_v1alpha1_Policy_To_audit_Policy(in *Policy, out *audit.Policy, s conversion.Scope) error {
 | 
				
			||||||
 | 
						return autoConvert_v1alpha1_Policy_To_audit_Policy(in, out, s)
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					func autoConvert_audit_Policy_To_v1alpha1_Policy(in *audit.Policy, out *Policy, s conversion.Scope) error {
 | 
				
			||||||
 | 
						out.ObjectMeta = in.ObjectMeta
 | 
				
			||||||
 | 
						if in.Rules == nil {
 | 
				
			||||||
 | 
							out.Rules = make([]PolicyRule, 0)
 | 
				
			||||||
 | 
						} else {
 | 
				
			||||||
 | 
							out.Rules = *(*[]PolicyRule)(unsafe.Pointer(&in.Rules))
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
						return nil
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// Convert_audit_Policy_To_v1alpha1_Policy is an autogenerated conversion function.
 | 
				
			||||||
 | 
					func Convert_audit_Policy_To_v1alpha1_Policy(in *audit.Policy, out *Policy, s conversion.Scope) error {
 | 
				
			||||||
 | 
						return autoConvert_audit_Policy_To_v1alpha1_Policy(in, out, s)
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					func autoConvert_v1alpha1_PolicyList_To_audit_PolicyList(in *PolicyList, out *audit.PolicyList, s conversion.Scope) error {
 | 
				
			||||||
 | 
						out.ListMeta = in.ListMeta
 | 
				
			||||||
 | 
						out.Items = *(*[]audit.Policy)(unsafe.Pointer(&in.Items))
 | 
				
			||||||
 | 
						return nil
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// Convert_v1alpha1_PolicyList_To_audit_PolicyList is an autogenerated conversion function.
 | 
				
			||||||
 | 
					func Convert_v1alpha1_PolicyList_To_audit_PolicyList(in *PolicyList, out *audit.PolicyList, s conversion.Scope) error {
 | 
				
			||||||
 | 
						return autoConvert_v1alpha1_PolicyList_To_audit_PolicyList(in, out, s)
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					func autoConvert_audit_PolicyList_To_v1alpha1_PolicyList(in *audit.PolicyList, out *PolicyList, s conversion.Scope) error {
 | 
				
			||||||
 | 
						out.ListMeta = in.ListMeta
 | 
				
			||||||
 | 
						if in.Items == nil {
 | 
				
			||||||
 | 
							out.Items = make([]Policy, 0)
 | 
				
			||||||
 | 
						} else {
 | 
				
			||||||
 | 
							out.Items = *(*[]Policy)(unsafe.Pointer(&in.Items))
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
						return nil
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// Convert_audit_PolicyList_To_v1alpha1_PolicyList is an autogenerated conversion function.
 | 
				
			||||||
 | 
					func Convert_audit_PolicyList_To_v1alpha1_PolicyList(in *audit.PolicyList, out *PolicyList, s conversion.Scope) error {
 | 
				
			||||||
 | 
						return autoConvert_audit_PolicyList_To_v1alpha1_PolicyList(in, out, s)
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					func autoConvert_v1alpha1_PolicyRule_To_audit_PolicyRule(in *PolicyRule, out *audit.PolicyRule, s conversion.Scope) error {
 | 
				
			||||||
 | 
						out.Level = audit.Level(in.Level)
 | 
				
			||||||
 | 
						out.Users = *(*[]string)(unsafe.Pointer(&in.Users))
 | 
				
			||||||
 | 
						out.UserGroups = *(*[]string)(unsafe.Pointer(&in.UserGroups))
 | 
				
			||||||
 | 
						out.Verbs = *(*[]string)(unsafe.Pointer(&in.Verbs))
 | 
				
			||||||
 | 
						out.Resources = *(*[]audit.GroupResources)(unsafe.Pointer(&in.Resources))
 | 
				
			||||||
 | 
						out.Namespaces = *(*[]string)(unsafe.Pointer(&in.Namespaces))
 | 
				
			||||||
 | 
						out.NonResourceURLs = *(*[]string)(unsafe.Pointer(&in.NonResourceURLs))
 | 
				
			||||||
 | 
						return nil
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// Convert_v1alpha1_PolicyRule_To_audit_PolicyRule is an autogenerated conversion function.
 | 
				
			||||||
 | 
					func Convert_v1alpha1_PolicyRule_To_audit_PolicyRule(in *PolicyRule, out *audit.PolicyRule, s conversion.Scope) error {
 | 
				
			||||||
 | 
						return autoConvert_v1alpha1_PolicyRule_To_audit_PolicyRule(in, out, s)
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					func autoConvert_audit_PolicyRule_To_v1alpha1_PolicyRule(in *audit.PolicyRule, out *PolicyRule, s conversion.Scope) error {
 | 
				
			||||||
 | 
						out.Level = Level(in.Level)
 | 
				
			||||||
 | 
						out.Users = *(*[]string)(unsafe.Pointer(&in.Users))
 | 
				
			||||||
 | 
						out.UserGroups = *(*[]string)(unsafe.Pointer(&in.UserGroups))
 | 
				
			||||||
 | 
						out.Verbs = *(*[]string)(unsafe.Pointer(&in.Verbs))
 | 
				
			||||||
 | 
						out.Resources = *(*[]GroupResources)(unsafe.Pointer(&in.Resources))
 | 
				
			||||||
 | 
						out.Namespaces = *(*[]string)(unsafe.Pointer(&in.Namespaces))
 | 
				
			||||||
 | 
						out.NonResourceURLs = *(*[]string)(unsafe.Pointer(&in.NonResourceURLs))
 | 
				
			||||||
 | 
						return nil
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// Convert_audit_PolicyRule_To_v1alpha1_PolicyRule is an autogenerated conversion function.
 | 
				
			||||||
 | 
					func Convert_audit_PolicyRule_To_v1alpha1_PolicyRule(in *audit.PolicyRule, out *PolicyRule, s conversion.Scope) error {
 | 
				
			||||||
 | 
						return autoConvert_audit_PolicyRule_To_v1alpha1_PolicyRule(in, out, s)
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
@@ -0,0 +1,243 @@
 | 
				
			|||||||
 | 
					// +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 v1alpha1
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					import (
 | 
				
			||||||
 | 
						v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
 | 
				
			||||||
 | 
						conversion "k8s.io/apimachinery/pkg/conversion"
 | 
				
			||||||
 | 
						runtime "k8s.io/apimachinery/pkg/runtime"
 | 
				
			||||||
 | 
						authentication_v1 "k8s.io/client-go/pkg/apis/authentication/v1"
 | 
				
			||||||
 | 
						reflect "reflect"
 | 
				
			||||||
 | 
					)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					func init() {
 | 
				
			||||||
 | 
						SchemeBuilder.Register(RegisterDeepCopies)
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// 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: DeepCopy_v1alpha1_Event, InType: reflect.TypeOf(&Event{})},
 | 
				
			||||||
 | 
							conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1alpha1_EventList, InType: reflect.TypeOf(&EventList{})},
 | 
				
			||||||
 | 
							conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1alpha1_GroupResources, InType: reflect.TypeOf(&GroupResources{})},
 | 
				
			||||||
 | 
							conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1alpha1_ObjectReference, InType: reflect.TypeOf(&ObjectReference{})},
 | 
				
			||||||
 | 
							conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1alpha1_Policy, InType: reflect.TypeOf(&Policy{})},
 | 
				
			||||||
 | 
							conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1alpha1_PolicyList, InType: reflect.TypeOf(&PolicyList{})},
 | 
				
			||||||
 | 
							conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1alpha1_PolicyRule, InType: reflect.TypeOf(&PolicyRule{})},
 | 
				
			||||||
 | 
						)
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// DeepCopy_v1alpha1_Event is an autogenerated deepcopy function.
 | 
				
			||||||
 | 
					func DeepCopy_v1alpha1_Event(in interface{}, out interface{}, c *conversion.Cloner) error {
 | 
				
			||||||
 | 
						{
 | 
				
			||||||
 | 
							in := in.(*Event)
 | 
				
			||||||
 | 
							out := out.(*Event)
 | 
				
			||||||
 | 
							*out = *in
 | 
				
			||||||
 | 
							if newVal, err := c.DeepCopy(&in.ObjectMeta); err != nil {
 | 
				
			||||||
 | 
								return err
 | 
				
			||||||
 | 
							} else {
 | 
				
			||||||
 | 
								out.ObjectMeta = *newVal.(*v1.ObjectMeta)
 | 
				
			||||||
 | 
							}
 | 
				
			||||||
 | 
							out.Timestamp = in.Timestamp.DeepCopy()
 | 
				
			||||||
 | 
							if newVal, err := c.DeepCopy(&in.User); err != nil {
 | 
				
			||||||
 | 
								return err
 | 
				
			||||||
 | 
							} else {
 | 
				
			||||||
 | 
								out.User = *newVal.(*authentication_v1.UserInfo)
 | 
				
			||||||
 | 
							}
 | 
				
			||||||
 | 
							if in.ImpersonatedUser != nil {
 | 
				
			||||||
 | 
								in, out := &in.ImpersonatedUser, &out.ImpersonatedUser
 | 
				
			||||||
 | 
								if newVal, err := c.DeepCopy(*in); err != nil {
 | 
				
			||||||
 | 
									return err
 | 
				
			||||||
 | 
								} else {
 | 
				
			||||||
 | 
									*out = newVal.(*authentication_v1.UserInfo)
 | 
				
			||||||
 | 
								}
 | 
				
			||||||
 | 
							}
 | 
				
			||||||
 | 
							if in.SourceIPs != nil {
 | 
				
			||||||
 | 
								in, out := &in.SourceIPs, &out.SourceIPs
 | 
				
			||||||
 | 
								*out = make([]string, len(*in))
 | 
				
			||||||
 | 
								copy(*out, *in)
 | 
				
			||||||
 | 
							}
 | 
				
			||||||
 | 
							if in.ObjectRef != nil {
 | 
				
			||||||
 | 
								in, out := &in.ObjectRef, &out.ObjectRef
 | 
				
			||||||
 | 
								*out = new(ObjectReference)
 | 
				
			||||||
 | 
								**out = **in
 | 
				
			||||||
 | 
							}
 | 
				
			||||||
 | 
							if in.ResponseStatus != nil {
 | 
				
			||||||
 | 
								in, out := &in.ResponseStatus, &out.ResponseStatus
 | 
				
			||||||
 | 
								if newVal, err := c.DeepCopy(*in); err != nil {
 | 
				
			||||||
 | 
									return err
 | 
				
			||||||
 | 
								} else {
 | 
				
			||||||
 | 
									*out = newVal.(*v1.Status)
 | 
				
			||||||
 | 
								}
 | 
				
			||||||
 | 
							}
 | 
				
			||||||
 | 
							if newVal, err := c.DeepCopy(&in.RequestObject); err != nil {
 | 
				
			||||||
 | 
								return err
 | 
				
			||||||
 | 
							} else {
 | 
				
			||||||
 | 
								out.RequestObject = *newVal.(*runtime.RawExtension)
 | 
				
			||||||
 | 
							}
 | 
				
			||||||
 | 
							if newVal, err := c.DeepCopy(&in.ResponseObject); err != nil {
 | 
				
			||||||
 | 
								return err
 | 
				
			||||||
 | 
							} else {
 | 
				
			||||||
 | 
								out.ResponseObject = *newVal.(*runtime.RawExtension)
 | 
				
			||||||
 | 
							}
 | 
				
			||||||
 | 
							return nil
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// DeepCopy_v1alpha1_EventList is an autogenerated deepcopy function.
 | 
				
			||||||
 | 
					func DeepCopy_v1alpha1_EventList(in interface{}, out interface{}, c *conversion.Cloner) error {
 | 
				
			||||||
 | 
						{
 | 
				
			||||||
 | 
							in := in.(*EventList)
 | 
				
			||||||
 | 
							out := out.(*EventList)
 | 
				
			||||||
 | 
							*out = *in
 | 
				
			||||||
 | 
							if in.Items != nil {
 | 
				
			||||||
 | 
								in, out := &in.Items, &out.Items
 | 
				
			||||||
 | 
								*out = make([]Event, len(*in))
 | 
				
			||||||
 | 
								for i := range *in {
 | 
				
			||||||
 | 
									if newVal, err := c.DeepCopy(&(*in)[i]); err != nil {
 | 
				
			||||||
 | 
										return err
 | 
				
			||||||
 | 
									} else {
 | 
				
			||||||
 | 
										(*out)[i] = *newVal.(*Event)
 | 
				
			||||||
 | 
									}
 | 
				
			||||||
 | 
								}
 | 
				
			||||||
 | 
							}
 | 
				
			||||||
 | 
							return nil
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// DeepCopy_v1alpha1_GroupResources is an autogenerated deepcopy function.
 | 
				
			||||||
 | 
					func DeepCopy_v1alpha1_GroupResources(in interface{}, out interface{}, c *conversion.Cloner) error {
 | 
				
			||||||
 | 
						{
 | 
				
			||||||
 | 
							in := in.(*GroupResources)
 | 
				
			||||||
 | 
							out := out.(*GroupResources)
 | 
				
			||||||
 | 
							*out = *in
 | 
				
			||||||
 | 
							if in.Resources != nil {
 | 
				
			||||||
 | 
								in, out := &in.Resources, &out.Resources
 | 
				
			||||||
 | 
								*out = make([]string, len(*in))
 | 
				
			||||||
 | 
								copy(*out, *in)
 | 
				
			||||||
 | 
							}
 | 
				
			||||||
 | 
							return nil
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// DeepCopy_v1alpha1_ObjectReference is an autogenerated deepcopy function.
 | 
				
			||||||
 | 
					func DeepCopy_v1alpha1_ObjectReference(in interface{}, out interface{}, c *conversion.Cloner) error {
 | 
				
			||||||
 | 
						{
 | 
				
			||||||
 | 
							in := in.(*ObjectReference)
 | 
				
			||||||
 | 
							out := out.(*ObjectReference)
 | 
				
			||||||
 | 
							*out = *in
 | 
				
			||||||
 | 
							return nil
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// DeepCopy_v1alpha1_Policy is an autogenerated deepcopy function.
 | 
				
			||||||
 | 
					func DeepCopy_v1alpha1_Policy(in interface{}, out interface{}, c *conversion.Cloner) error {
 | 
				
			||||||
 | 
						{
 | 
				
			||||||
 | 
							in := in.(*Policy)
 | 
				
			||||||
 | 
							out := out.(*Policy)
 | 
				
			||||||
 | 
							*out = *in
 | 
				
			||||||
 | 
							if newVal, err := c.DeepCopy(&in.ObjectMeta); err != nil {
 | 
				
			||||||
 | 
								return err
 | 
				
			||||||
 | 
							} else {
 | 
				
			||||||
 | 
								out.ObjectMeta = *newVal.(*v1.ObjectMeta)
 | 
				
			||||||
 | 
							}
 | 
				
			||||||
 | 
							if in.Rules != nil {
 | 
				
			||||||
 | 
								in, out := &in.Rules, &out.Rules
 | 
				
			||||||
 | 
								*out = make([]PolicyRule, len(*in))
 | 
				
			||||||
 | 
								for i := range *in {
 | 
				
			||||||
 | 
									if newVal, err := c.DeepCopy(&(*in)[i]); err != nil {
 | 
				
			||||||
 | 
										return err
 | 
				
			||||||
 | 
									} else {
 | 
				
			||||||
 | 
										(*out)[i] = *newVal.(*PolicyRule)
 | 
				
			||||||
 | 
									}
 | 
				
			||||||
 | 
								}
 | 
				
			||||||
 | 
							}
 | 
				
			||||||
 | 
							return nil
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// DeepCopy_v1alpha1_PolicyList is an autogenerated deepcopy function.
 | 
				
			||||||
 | 
					func DeepCopy_v1alpha1_PolicyList(in interface{}, out interface{}, c *conversion.Cloner) error {
 | 
				
			||||||
 | 
						{
 | 
				
			||||||
 | 
							in := in.(*PolicyList)
 | 
				
			||||||
 | 
							out := out.(*PolicyList)
 | 
				
			||||||
 | 
							*out = *in
 | 
				
			||||||
 | 
							if in.Items != nil {
 | 
				
			||||||
 | 
								in, out := &in.Items, &out.Items
 | 
				
			||||||
 | 
								*out = make([]Policy, len(*in))
 | 
				
			||||||
 | 
								for i := range *in {
 | 
				
			||||||
 | 
									if newVal, err := c.DeepCopy(&(*in)[i]); err != nil {
 | 
				
			||||||
 | 
										return err
 | 
				
			||||||
 | 
									} else {
 | 
				
			||||||
 | 
										(*out)[i] = *newVal.(*Policy)
 | 
				
			||||||
 | 
									}
 | 
				
			||||||
 | 
								}
 | 
				
			||||||
 | 
							}
 | 
				
			||||||
 | 
							return nil
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// DeepCopy_v1alpha1_PolicyRule is an autogenerated deepcopy function.
 | 
				
			||||||
 | 
					func DeepCopy_v1alpha1_PolicyRule(in interface{}, out interface{}, c *conversion.Cloner) error {
 | 
				
			||||||
 | 
						{
 | 
				
			||||||
 | 
							in := in.(*PolicyRule)
 | 
				
			||||||
 | 
							out := out.(*PolicyRule)
 | 
				
			||||||
 | 
							*out = *in
 | 
				
			||||||
 | 
							if in.Users != nil {
 | 
				
			||||||
 | 
								in, out := &in.Users, &out.Users
 | 
				
			||||||
 | 
								*out = make([]string, len(*in))
 | 
				
			||||||
 | 
								copy(*out, *in)
 | 
				
			||||||
 | 
							}
 | 
				
			||||||
 | 
							if in.UserGroups != nil {
 | 
				
			||||||
 | 
								in, out := &in.UserGroups, &out.UserGroups
 | 
				
			||||||
 | 
								*out = make([]string, len(*in))
 | 
				
			||||||
 | 
								copy(*out, *in)
 | 
				
			||||||
 | 
							}
 | 
				
			||||||
 | 
							if in.Verbs != nil {
 | 
				
			||||||
 | 
								in, out := &in.Verbs, &out.Verbs
 | 
				
			||||||
 | 
								*out = make([]string, len(*in))
 | 
				
			||||||
 | 
								copy(*out, *in)
 | 
				
			||||||
 | 
							}
 | 
				
			||||||
 | 
							if in.Resources != nil {
 | 
				
			||||||
 | 
								in, out := &in.Resources, &out.Resources
 | 
				
			||||||
 | 
								*out = make([]GroupResources, len(*in))
 | 
				
			||||||
 | 
								for i := range *in {
 | 
				
			||||||
 | 
									if newVal, err := c.DeepCopy(&(*in)[i]); err != nil {
 | 
				
			||||||
 | 
										return err
 | 
				
			||||||
 | 
									} else {
 | 
				
			||||||
 | 
										(*out)[i] = *newVal.(*GroupResources)
 | 
				
			||||||
 | 
									}
 | 
				
			||||||
 | 
								}
 | 
				
			||||||
 | 
							}
 | 
				
			||||||
 | 
							if in.Namespaces != nil {
 | 
				
			||||||
 | 
								in, out := &in.Namespaces, &out.Namespaces
 | 
				
			||||||
 | 
								*out = make([]string, len(*in))
 | 
				
			||||||
 | 
								copy(*out, *in)
 | 
				
			||||||
 | 
							}
 | 
				
			||||||
 | 
							if in.NonResourceURLs != nil {
 | 
				
			||||||
 | 
								in, out := &in.NonResourceURLs, &out.NonResourceURLs
 | 
				
			||||||
 | 
								*out = make([]string, len(*in))
 | 
				
			||||||
 | 
								copy(*out, *in)
 | 
				
			||||||
 | 
							}
 | 
				
			||||||
 | 
							return nil
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
@@ -0,0 +1,269 @@
 | 
				
			|||||||
 | 
					// +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 audit
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					import (
 | 
				
			||||||
 | 
						v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
 | 
				
			||||||
 | 
						conversion "k8s.io/apimachinery/pkg/conversion"
 | 
				
			||||||
 | 
						runtime "k8s.io/apimachinery/pkg/runtime"
 | 
				
			||||||
 | 
						reflect "reflect"
 | 
				
			||||||
 | 
					)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					func init() {
 | 
				
			||||||
 | 
						SchemeBuilder.Register(RegisterDeepCopies)
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// 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: DeepCopy_audit_Event, InType: reflect.TypeOf(&Event{})},
 | 
				
			||||||
 | 
							conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_audit_EventList, InType: reflect.TypeOf(&EventList{})},
 | 
				
			||||||
 | 
							conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_audit_GroupResources, InType: reflect.TypeOf(&GroupResources{})},
 | 
				
			||||||
 | 
							conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_audit_ObjectReference, InType: reflect.TypeOf(&ObjectReference{})},
 | 
				
			||||||
 | 
							conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_audit_Policy, InType: reflect.TypeOf(&Policy{})},
 | 
				
			||||||
 | 
							conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_audit_PolicyList, InType: reflect.TypeOf(&PolicyList{})},
 | 
				
			||||||
 | 
							conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_audit_PolicyRule, InType: reflect.TypeOf(&PolicyRule{})},
 | 
				
			||||||
 | 
							conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_audit_UserInfo, InType: reflect.TypeOf(&UserInfo{})},
 | 
				
			||||||
 | 
						)
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// DeepCopy_audit_Event is an autogenerated deepcopy function.
 | 
				
			||||||
 | 
					func DeepCopy_audit_Event(in interface{}, out interface{}, c *conversion.Cloner) error {
 | 
				
			||||||
 | 
						{
 | 
				
			||||||
 | 
							in := in.(*Event)
 | 
				
			||||||
 | 
							out := out.(*Event)
 | 
				
			||||||
 | 
							*out = *in
 | 
				
			||||||
 | 
							if newVal, err := c.DeepCopy(&in.ObjectMeta); err != nil {
 | 
				
			||||||
 | 
								return err
 | 
				
			||||||
 | 
							} else {
 | 
				
			||||||
 | 
								out.ObjectMeta = *newVal.(*v1.ObjectMeta)
 | 
				
			||||||
 | 
							}
 | 
				
			||||||
 | 
							out.Timestamp = in.Timestamp.DeepCopy()
 | 
				
			||||||
 | 
							if newVal, err := c.DeepCopy(&in.User); err != nil {
 | 
				
			||||||
 | 
								return err
 | 
				
			||||||
 | 
							} else {
 | 
				
			||||||
 | 
								out.User = *newVal.(*UserInfo)
 | 
				
			||||||
 | 
							}
 | 
				
			||||||
 | 
							if in.ImpersonatedUser != nil {
 | 
				
			||||||
 | 
								in, out := &in.ImpersonatedUser, &out.ImpersonatedUser
 | 
				
			||||||
 | 
								if newVal, err := c.DeepCopy(*in); err != nil {
 | 
				
			||||||
 | 
									return err
 | 
				
			||||||
 | 
								} else {
 | 
				
			||||||
 | 
									*out = newVal.(*UserInfo)
 | 
				
			||||||
 | 
								}
 | 
				
			||||||
 | 
							}
 | 
				
			||||||
 | 
							if in.SourceIPs != nil {
 | 
				
			||||||
 | 
								in, out := &in.SourceIPs, &out.SourceIPs
 | 
				
			||||||
 | 
								*out = make([]string, len(*in))
 | 
				
			||||||
 | 
								copy(*out, *in)
 | 
				
			||||||
 | 
							}
 | 
				
			||||||
 | 
							if in.ObjectRef != nil {
 | 
				
			||||||
 | 
								in, out := &in.ObjectRef, &out.ObjectRef
 | 
				
			||||||
 | 
								*out = new(ObjectReference)
 | 
				
			||||||
 | 
								**out = **in
 | 
				
			||||||
 | 
							}
 | 
				
			||||||
 | 
							if in.ResponseStatus != nil {
 | 
				
			||||||
 | 
								in, out := &in.ResponseStatus, &out.ResponseStatus
 | 
				
			||||||
 | 
								if newVal, err := c.DeepCopy(*in); err != nil {
 | 
				
			||||||
 | 
									return err
 | 
				
			||||||
 | 
								} else {
 | 
				
			||||||
 | 
									*out = newVal.(*v1.Status)
 | 
				
			||||||
 | 
								}
 | 
				
			||||||
 | 
							}
 | 
				
			||||||
 | 
							if newVal, err := c.DeepCopy(&in.RequestObject); err != nil {
 | 
				
			||||||
 | 
								return err
 | 
				
			||||||
 | 
							} else {
 | 
				
			||||||
 | 
								out.RequestObject = *newVal.(*runtime.Unknown)
 | 
				
			||||||
 | 
							}
 | 
				
			||||||
 | 
							if newVal, err := c.DeepCopy(&in.ResponseObject); err != nil {
 | 
				
			||||||
 | 
								return err
 | 
				
			||||||
 | 
							} else {
 | 
				
			||||||
 | 
								out.ResponseObject = *newVal.(*runtime.Unknown)
 | 
				
			||||||
 | 
							}
 | 
				
			||||||
 | 
							return nil
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// DeepCopy_audit_EventList is an autogenerated deepcopy function.
 | 
				
			||||||
 | 
					func DeepCopy_audit_EventList(in interface{}, out interface{}, c *conversion.Cloner) error {
 | 
				
			||||||
 | 
						{
 | 
				
			||||||
 | 
							in := in.(*EventList)
 | 
				
			||||||
 | 
							out := out.(*EventList)
 | 
				
			||||||
 | 
							*out = *in
 | 
				
			||||||
 | 
							if in.Items != nil {
 | 
				
			||||||
 | 
								in, out := &in.Items, &out.Items
 | 
				
			||||||
 | 
								*out = make([]Event, len(*in))
 | 
				
			||||||
 | 
								for i := range *in {
 | 
				
			||||||
 | 
									if newVal, err := c.DeepCopy(&(*in)[i]); err != nil {
 | 
				
			||||||
 | 
										return err
 | 
				
			||||||
 | 
									} else {
 | 
				
			||||||
 | 
										(*out)[i] = *newVal.(*Event)
 | 
				
			||||||
 | 
									}
 | 
				
			||||||
 | 
								}
 | 
				
			||||||
 | 
							}
 | 
				
			||||||
 | 
							return nil
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// DeepCopy_audit_GroupResources is an autogenerated deepcopy function.
 | 
				
			||||||
 | 
					func DeepCopy_audit_GroupResources(in interface{}, out interface{}, c *conversion.Cloner) error {
 | 
				
			||||||
 | 
						{
 | 
				
			||||||
 | 
							in := in.(*GroupResources)
 | 
				
			||||||
 | 
							out := out.(*GroupResources)
 | 
				
			||||||
 | 
							*out = *in
 | 
				
			||||||
 | 
							if in.Resources != nil {
 | 
				
			||||||
 | 
								in, out := &in.Resources, &out.Resources
 | 
				
			||||||
 | 
								*out = make([]string, len(*in))
 | 
				
			||||||
 | 
								copy(*out, *in)
 | 
				
			||||||
 | 
							}
 | 
				
			||||||
 | 
							return nil
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// DeepCopy_audit_ObjectReference is an autogenerated deepcopy function.
 | 
				
			||||||
 | 
					func DeepCopy_audit_ObjectReference(in interface{}, out interface{}, c *conversion.Cloner) error {
 | 
				
			||||||
 | 
						{
 | 
				
			||||||
 | 
							in := in.(*ObjectReference)
 | 
				
			||||||
 | 
							out := out.(*ObjectReference)
 | 
				
			||||||
 | 
							*out = *in
 | 
				
			||||||
 | 
							return nil
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// DeepCopy_audit_Policy is an autogenerated deepcopy function.
 | 
				
			||||||
 | 
					func DeepCopy_audit_Policy(in interface{}, out interface{}, c *conversion.Cloner) error {
 | 
				
			||||||
 | 
						{
 | 
				
			||||||
 | 
							in := in.(*Policy)
 | 
				
			||||||
 | 
							out := out.(*Policy)
 | 
				
			||||||
 | 
							*out = *in
 | 
				
			||||||
 | 
							if newVal, err := c.DeepCopy(&in.ObjectMeta); err != nil {
 | 
				
			||||||
 | 
								return err
 | 
				
			||||||
 | 
							} else {
 | 
				
			||||||
 | 
								out.ObjectMeta = *newVal.(*v1.ObjectMeta)
 | 
				
			||||||
 | 
							}
 | 
				
			||||||
 | 
							if in.Rules != nil {
 | 
				
			||||||
 | 
								in, out := &in.Rules, &out.Rules
 | 
				
			||||||
 | 
								*out = make([]PolicyRule, len(*in))
 | 
				
			||||||
 | 
								for i := range *in {
 | 
				
			||||||
 | 
									if newVal, err := c.DeepCopy(&(*in)[i]); err != nil {
 | 
				
			||||||
 | 
										return err
 | 
				
			||||||
 | 
									} else {
 | 
				
			||||||
 | 
										(*out)[i] = *newVal.(*PolicyRule)
 | 
				
			||||||
 | 
									}
 | 
				
			||||||
 | 
								}
 | 
				
			||||||
 | 
							}
 | 
				
			||||||
 | 
							return nil
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// DeepCopy_audit_PolicyList is an autogenerated deepcopy function.
 | 
				
			||||||
 | 
					func DeepCopy_audit_PolicyList(in interface{}, out interface{}, c *conversion.Cloner) error {
 | 
				
			||||||
 | 
						{
 | 
				
			||||||
 | 
							in := in.(*PolicyList)
 | 
				
			||||||
 | 
							out := out.(*PolicyList)
 | 
				
			||||||
 | 
							*out = *in
 | 
				
			||||||
 | 
							if in.Items != nil {
 | 
				
			||||||
 | 
								in, out := &in.Items, &out.Items
 | 
				
			||||||
 | 
								*out = make([]Policy, len(*in))
 | 
				
			||||||
 | 
								for i := range *in {
 | 
				
			||||||
 | 
									if newVal, err := c.DeepCopy(&(*in)[i]); err != nil {
 | 
				
			||||||
 | 
										return err
 | 
				
			||||||
 | 
									} else {
 | 
				
			||||||
 | 
										(*out)[i] = *newVal.(*Policy)
 | 
				
			||||||
 | 
									}
 | 
				
			||||||
 | 
								}
 | 
				
			||||||
 | 
							}
 | 
				
			||||||
 | 
							return nil
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// DeepCopy_audit_PolicyRule is an autogenerated deepcopy function.
 | 
				
			||||||
 | 
					func DeepCopy_audit_PolicyRule(in interface{}, out interface{}, c *conversion.Cloner) error {
 | 
				
			||||||
 | 
						{
 | 
				
			||||||
 | 
							in := in.(*PolicyRule)
 | 
				
			||||||
 | 
							out := out.(*PolicyRule)
 | 
				
			||||||
 | 
							*out = *in
 | 
				
			||||||
 | 
							if in.Users != nil {
 | 
				
			||||||
 | 
								in, out := &in.Users, &out.Users
 | 
				
			||||||
 | 
								*out = make([]string, len(*in))
 | 
				
			||||||
 | 
								copy(*out, *in)
 | 
				
			||||||
 | 
							}
 | 
				
			||||||
 | 
							if in.UserGroups != nil {
 | 
				
			||||||
 | 
								in, out := &in.UserGroups, &out.UserGroups
 | 
				
			||||||
 | 
								*out = make([]string, len(*in))
 | 
				
			||||||
 | 
								copy(*out, *in)
 | 
				
			||||||
 | 
							}
 | 
				
			||||||
 | 
							if in.Verbs != nil {
 | 
				
			||||||
 | 
								in, out := &in.Verbs, &out.Verbs
 | 
				
			||||||
 | 
								*out = make([]string, len(*in))
 | 
				
			||||||
 | 
								copy(*out, *in)
 | 
				
			||||||
 | 
							}
 | 
				
			||||||
 | 
							if in.Resources != nil {
 | 
				
			||||||
 | 
								in, out := &in.Resources, &out.Resources
 | 
				
			||||||
 | 
								*out = make([]GroupResources, len(*in))
 | 
				
			||||||
 | 
								for i := range *in {
 | 
				
			||||||
 | 
									if newVal, err := c.DeepCopy(&(*in)[i]); err != nil {
 | 
				
			||||||
 | 
										return err
 | 
				
			||||||
 | 
									} else {
 | 
				
			||||||
 | 
										(*out)[i] = *newVal.(*GroupResources)
 | 
				
			||||||
 | 
									}
 | 
				
			||||||
 | 
								}
 | 
				
			||||||
 | 
							}
 | 
				
			||||||
 | 
							if in.Namespaces != nil {
 | 
				
			||||||
 | 
								in, out := &in.Namespaces, &out.Namespaces
 | 
				
			||||||
 | 
								*out = make([]string, len(*in))
 | 
				
			||||||
 | 
								copy(*out, *in)
 | 
				
			||||||
 | 
							}
 | 
				
			||||||
 | 
							if in.NonResourceURLs != nil {
 | 
				
			||||||
 | 
								in, out := &in.NonResourceURLs, &out.NonResourceURLs
 | 
				
			||||||
 | 
								*out = make([]string, len(*in))
 | 
				
			||||||
 | 
								copy(*out, *in)
 | 
				
			||||||
 | 
							}
 | 
				
			||||||
 | 
							return nil
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// DeepCopy_audit_UserInfo is an autogenerated deepcopy function.
 | 
				
			||||||
 | 
					func DeepCopy_audit_UserInfo(in interface{}, out interface{}, c *conversion.Cloner) error {
 | 
				
			||||||
 | 
						{
 | 
				
			||||||
 | 
							in := in.(*UserInfo)
 | 
				
			||||||
 | 
							out := out.(*UserInfo)
 | 
				
			||||||
 | 
							*out = *in
 | 
				
			||||||
 | 
							if in.Groups != nil {
 | 
				
			||||||
 | 
								in, out := &in.Groups, &out.Groups
 | 
				
			||||||
 | 
								*out = make([]string, len(*in))
 | 
				
			||||||
 | 
								copy(*out, *in)
 | 
				
			||||||
 | 
							}
 | 
				
			||||||
 | 
							if in.Extra != nil {
 | 
				
			||||||
 | 
								in, out := &in.Extra, &out.Extra
 | 
				
			||||||
 | 
								*out = make(map[string]ExtraValue)
 | 
				
			||||||
 | 
								for key, val := range *in {
 | 
				
			||||||
 | 
									if newVal, err := c.DeepCopy(&val); err != nil {
 | 
				
			||||||
 | 
										return err
 | 
				
			||||||
 | 
									} else {
 | 
				
			||||||
 | 
										(*out)[key] = *newVal.(*ExtraValue)
 | 
				
			||||||
 | 
									}
 | 
				
			||||||
 | 
								}
 | 
				
			||||||
 | 
							}
 | 
				
			||||||
 | 
							return nil
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
@@ -26,10 +26,12 @@ go_library(
 | 
				
			|||||||
    deps = [
 | 
					    deps = [
 | 
				
			||||||
        "//vendor/github.com/gogo/protobuf/proto:go_default_library",
 | 
					        "//vendor/github.com/gogo/protobuf/proto:go_default_library",
 | 
				
			||||||
        "//vendor/github.com/gogo/protobuf/sortkeys:go_default_library",
 | 
					        "//vendor/github.com/gogo/protobuf/sortkeys:go_default_library",
 | 
				
			||||||
 | 
					        "//vendor/github.com/ugorji/go/codec:go_default_library",
 | 
				
			||||||
        "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library",
 | 
					        "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library",
 | 
				
			||||||
        "//vendor/k8s.io/apimachinery/pkg/conversion:go_default_library",
 | 
					        "//vendor/k8s.io/apimachinery/pkg/conversion:go_default_library",
 | 
				
			||||||
        "//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library",
 | 
					        "//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library",
 | 
				
			||||||
        "//vendor/k8s.io/apimachinery/pkg/runtime/schema:go_default_library",
 | 
					        "//vendor/k8s.io/apimachinery/pkg/runtime/schema:go_default_library",
 | 
				
			||||||
 | 
					        "//vendor/k8s.io/apimachinery/pkg/types:go_default_library",
 | 
				
			||||||
        "//vendor/k8s.io/apiserver/pkg/apis/example:go_default_library",
 | 
					        "//vendor/k8s.io/apiserver/pkg/apis/example:go_default_library",
 | 
				
			||||||
    ],
 | 
					    ],
 | 
				
			||||||
)
 | 
					)
 | 
				
			||||||
 
 | 
				
			|||||||
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							@@ -1732,7 +1732,7 @@ func (x codecSelfer1234) decSliceSimple(v *[]Simple, d *codec1978.Decoder) {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
			yyrg1 := len(yyv1) > 0
 | 
								yyrg1 := len(yyv1) > 0
 | 
				
			||||||
			yyv21 := yyv1
 | 
								yyv21 := yyv1
 | 
				
			||||||
			yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 280)
 | 
								yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 288)
 | 
				
			||||||
			if yyrt1 {
 | 
								if yyrt1 {
 | 
				
			||||||
				if yyrl1 <= cap(yyv1) {
 | 
									if yyrl1 <= cap(yyv1) {
 | 
				
			||||||
					yyv1 = yyv1[:yyrl1]
 | 
										yyv1 = yyv1[:yyrl1]
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user