mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-04 04:08:16 +00:00 
			
		
		
		
	run hack/update-all.sh
This commit is contained in:
		@@ -51,6 +51,7 @@ openapi_library(
 | 
			
		||||
        "k8s.io/apimachinery/pkg/util/intstr",
 | 
			
		||||
        "k8s.io/apimachinery/pkg/version",
 | 
			
		||||
        "k8s.io/apiserver/pkg/apis/audit/v1alpha1",
 | 
			
		||||
        "k8s.io/apiserver/pkg/apis/audit/v1beta1",
 | 
			
		||||
        "k8s.io/apiserver/pkg/apis/example/v1",
 | 
			
		||||
        "k8s.io/client-go/pkg/version",
 | 
			
		||||
        "k8s.io/kube-aggregator/pkg/apis/apiregistration/v1beta1",
 | 
			
		||||
 
 | 
			
		||||
@@ -34,8 +34,10 @@ filegroup(
 | 
			
		||||
    name = "all-srcs",
 | 
			
		||||
    srcs = [
 | 
			
		||||
        ":package-srcs",
 | 
			
		||||
        "//staging/src/k8s.io/apiserver/pkg/apis/audit/fuzzer:all-srcs",
 | 
			
		||||
        "//staging/src/k8s.io/apiserver/pkg/apis/audit/install:all-srcs",
 | 
			
		||||
        "//staging/src/k8s.io/apiserver/pkg/apis/audit/v1alpha1:all-srcs",
 | 
			
		||||
        "//staging/src/k8s.io/apiserver/pkg/apis/audit/v1beta1:all-srcs",
 | 
			
		||||
        "//staging/src/k8s.io/apiserver/pkg/apis/audit/validation:all-srcs",
 | 
			
		||||
    ],
 | 
			
		||||
    tags = ["automanaged"],
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										27
									
								
								staging/src/k8s.io/apiserver/pkg/apis/audit/fuzzer/BUILD
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										27
									
								
								staging/src/k8s.io/apiserver/pkg/apis/audit/fuzzer/BUILD
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,27 @@
 | 
			
		||||
load("@io_bazel_rules_go//go:def.bzl", "go_library")
 | 
			
		||||
 | 
			
		||||
go_library(
 | 
			
		||||
    name = "go_default_library",
 | 
			
		||||
    srcs = ["fuzzer.go"],
 | 
			
		||||
    visibility = ["//visibility:public"],
 | 
			
		||||
    deps = [
 | 
			
		||||
        "//vendor/github.com/google/gofuzz:go_default_library",
 | 
			
		||||
        "//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library",
 | 
			
		||||
        "//vendor/k8s.io/apimachinery/pkg/runtime/serializer:go_default_library",
 | 
			
		||||
        "//vendor/k8s.io/apiserver/pkg/apis/audit:go_default_library",
 | 
			
		||||
    ],
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
filegroup(
 | 
			
		||||
    name = "package-srcs",
 | 
			
		||||
    srcs = glob(["**"]),
 | 
			
		||||
    tags = ["automanaged"],
 | 
			
		||||
    visibility = ["//visibility:private"],
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
filegroup(
 | 
			
		||||
    name = "all-srcs",
 | 
			
		||||
    srcs = [":package-srcs"],
 | 
			
		||||
    tags = ["automanaged"],
 | 
			
		||||
    visibility = ["//visibility:public"],
 | 
			
		||||
)
 | 
			
		||||
@@ -3,6 +3,7 @@ package(default_visibility = ["//visibility:public"])
 | 
			
		||||
load(
 | 
			
		||||
    "@io_bazel_rules_go//go:def.bzl",
 | 
			
		||||
    "go_library",
 | 
			
		||||
    "go_test",
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
go_library(
 | 
			
		||||
@@ -15,6 +16,7 @@ go_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",
 | 
			
		||||
        "//vendor/k8s.io/apiserver/pkg/apis/audit/v1beta1:go_default_library",
 | 
			
		||||
    ],
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
@@ -30,3 +32,13 @@ filegroup(
 | 
			
		||||
    srcs = [":package-srcs"],
 | 
			
		||||
    tags = ["automanaged"],
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
go_test(
 | 
			
		||||
    name = "go_default_test",
 | 
			
		||||
    srcs = ["roundtrip_test.go"],
 | 
			
		||||
    library = ":go_default_library",
 | 
			
		||||
    deps = [
 | 
			
		||||
        "//vendor/k8s.io/apimachinery/pkg/api/testing/roundtrip:go_default_library",
 | 
			
		||||
        "//vendor/k8s.io/apiserver/pkg/apis/audit/fuzzer:go_default_library",
 | 
			
		||||
    ],
 | 
			
		||||
)
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										44
									
								
								staging/src/k8s.io/apiserver/pkg/apis/audit/v1beta1/BUILD
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										44
									
								
								staging/src/k8s.io/apiserver/pkg/apis/audit/v1beta1/BUILD
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,44 @@
 | 
			
		||||
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.go",
 | 
			
		||||
        "zz_generated.conversion.go",
 | 
			
		||||
        "zz_generated.deepcopy.go",
 | 
			
		||||
        "zz_generated.defaults.go",
 | 
			
		||||
    ],
 | 
			
		||||
    tags = ["automanaged"],
 | 
			
		||||
    deps = [
 | 
			
		||||
        "//vendor/k8s.io/api/authentication/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/apiserver/pkg/apis/audit:go_default_library",
 | 
			
		||||
    ],
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
filegroup(
 | 
			
		||||
    name = "package-srcs",
 | 
			
		||||
    srcs = glob(["**"]),
 | 
			
		||||
    tags = ["automanaged"],
 | 
			
		||||
    visibility = ["//visibility:private"],
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
filegroup(
 | 
			
		||||
    name = "all-srcs",
 | 
			
		||||
    srcs = [":package-srcs"],
 | 
			
		||||
    tags = ["automanaged"],
 | 
			
		||||
    visibility = ["//visibility:public"],
 | 
			
		||||
)
 | 
			
		||||
@@ -0,0 +1,272 @@
 | 
			
		||||
// +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 v1beta1
 | 
			
		||||
 | 
			
		||||
import (
 | 
			
		||||
	authentication_v1 "k8s.io/api/authentication/v1"
 | 
			
		||||
	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"
 | 
			
		||||
	unsafe "unsafe"
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
func init() {
 | 
			
		||||
	localSchemeBuilder.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_v1beta1_Event_To_audit_Event,
 | 
			
		||||
		Convert_audit_Event_To_v1beta1_Event,
 | 
			
		||||
		Convert_v1beta1_EventList_To_audit_EventList,
 | 
			
		||||
		Convert_audit_EventList_To_v1beta1_EventList,
 | 
			
		||||
		Convert_v1beta1_GroupResources_To_audit_GroupResources,
 | 
			
		||||
		Convert_audit_GroupResources_To_v1beta1_GroupResources,
 | 
			
		||||
		Convert_v1beta1_ObjectReference_To_audit_ObjectReference,
 | 
			
		||||
		Convert_audit_ObjectReference_To_v1beta1_ObjectReference,
 | 
			
		||||
		Convert_v1beta1_Policy_To_audit_Policy,
 | 
			
		||||
		Convert_audit_Policy_To_v1beta1_Policy,
 | 
			
		||||
		Convert_v1beta1_PolicyList_To_audit_PolicyList,
 | 
			
		||||
		Convert_audit_PolicyList_To_v1beta1_PolicyList,
 | 
			
		||||
		Convert_v1beta1_PolicyRule_To_audit_PolicyRule,
 | 
			
		||||
		Convert_audit_PolicyRule_To_v1beta1_PolicyRule,
 | 
			
		||||
	)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func autoConvert_v1beta1_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.Stage = audit.Stage(in.Stage)
 | 
			
		||||
	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))
 | 
			
		||||
	out.RequestObject = (*runtime.Unknown)(unsafe.Pointer(in.RequestObject))
 | 
			
		||||
	out.ResponseObject = (*runtime.Unknown)(unsafe.Pointer(in.ResponseObject))
 | 
			
		||||
	return nil
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// Convert_v1beta1_Event_To_audit_Event is an autogenerated conversion function.
 | 
			
		||||
func Convert_v1beta1_Event_To_audit_Event(in *Event, out *audit.Event, s conversion.Scope) error {
 | 
			
		||||
	return autoConvert_v1beta1_Event_To_audit_Event(in, out, s)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func autoConvert_audit_Event_To_v1beta1_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.Stage = Stage(in.Stage)
 | 
			
		||||
	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))
 | 
			
		||||
	out.RequestObject = (*runtime.Unknown)(unsafe.Pointer(in.RequestObject))
 | 
			
		||||
	out.ResponseObject = (*runtime.Unknown)(unsafe.Pointer(in.ResponseObject))
 | 
			
		||||
	return nil
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// Convert_audit_Event_To_v1beta1_Event is an autogenerated conversion function.
 | 
			
		||||
func Convert_audit_Event_To_v1beta1_Event(in *audit.Event, out *Event, s conversion.Scope) error {
 | 
			
		||||
	return autoConvert_audit_Event_To_v1beta1_Event(in, out, s)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func autoConvert_v1beta1_EventList_To_audit_EventList(in *EventList, out *audit.EventList, s conversion.Scope) error {
 | 
			
		||||
	out.ListMeta = in.ListMeta
 | 
			
		||||
	out.Items = *(*[]audit.Event)(unsafe.Pointer(&in.Items))
 | 
			
		||||
	return nil
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// Convert_v1beta1_EventList_To_audit_EventList is an autogenerated conversion function.
 | 
			
		||||
func Convert_v1beta1_EventList_To_audit_EventList(in *EventList, out *audit.EventList, s conversion.Scope) error {
 | 
			
		||||
	return autoConvert_v1beta1_EventList_To_audit_EventList(in, out, s)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func autoConvert_audit_EventList_To_v1beta1_EventList(in *audit.EventList, out *EventList, s conversion.Scope) error {
 | 
			
		||||
	out.ListMeta = in.ListMeta
 | 
			
		||||
	if in.Items == nil {
 | 
			
		||||
		out.Items = make([]Event, 0)
 | 
			
		||||
	} else {
 | 
			
		||||
		out.Items = *(*[]Event)(unsafe.Pointer(&in.Items))
 | 
			
		||||
	}
 | 
			
		||||
	return nil
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// Convert_audit_EventList_To_v1beta1_EventList is an autogenerated conversion function.
 | 
			
		||||
func Convert_audit_EventList_To_v1beta1_EventList(in *audit.EventList, out *EventList, s conversion.Scope) error {
 | 
			
		||||
	return autoConvert_audit_EventList_To_v1beta1_EventList(in, out, s)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func autoConvert_v1beta1_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_v1beta1_GroupResources_To_audit_GroupResources is an autogenerated conversion function.
 | 
			
		||||
func Convert_v1beta1_GroupResources_To_audit_GroupResources(in *GroupResources, out *audit.GroupResources, s conversion.Scope) error {
 | 
			
		||||
	return autoConvert_v1beta1_GroupResources_To_audit_GroupResources(in, out, s)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func autoConvert_audit_GroupResources_To_v1beta1_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_v1beta1_GroupResources is an autogenerated conversion function.
 | 
			
		||||
func Convert_audit_GroupResources_To_v1beta1_GroupResources(in *audit.GroupResources, out *GroupResources, s conversion.Scope) error {
 | 
			
		||||
	return autoConvert_audit_GroupResources_To_v1beta1_GroupResources(in, out, s)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func autoConvert_v1beta1_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
 | 
			
		||||
	out.Subresource = in.Subresource
 | 
			
		||||
	return nil
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// Convert_v1beta1_ObjectReference_To_audit_ObjectReference is an autogenerated conversion function.
 | 
			
		||||
func Convert_v1beta1_ObjectReference_To_audit_ObjectReference(in *ObjectReference, out *audit.ObjectReference, s conversion.Scope) error {
 | 
			
		||||
	return autoConvert_v1beta1_ObjectReference_To_audit_ObjectReference(in, out, s)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func autoConvert_audit_ObjectReference_To_v1beta1_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
 | 
			
		||||
	out.Subresource = in.Subresource
 | 
			
		||||
	return nil
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// Convert_audit_ObjectReference_To_v1beta1_ObjectReference is an autogenerated conversion function.
 | 
			
		||||
func Convert_audit_ObjectReference_To_v1beta1_ObjectReference(in *audit.ObjectReference, out *ObjectReference, s conversion.Scope) error {
 | 
			
		||||
	return autoConvert_audit_ObjectReference_To_v1beta1_ObjectReference(in, out, s)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func autoConvert_v1beta1_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_v1beta1_Policy_To_audit_Policy is an autogenerated conversion function.
 | 
			
		||||
func Convert_v1beta1_Policy_To_audit_Policy(in *Policy, out *audit.Policy, s conversion.Scope) error {
 | 
			
		||||
	return autoConvert_v1beta1_Policy_To_audit_Policy(in, out, s)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func autoConvert_audit_Policy_To_v1beta1_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_v1beta1_Policy is an autogenerated conversion function.
 | 
			
		||||
func Convert_audit_Policy_To_v1beta1_Policy(in *audit.Policy, out *Policy, s conversion.Scope) error {
 | 
			
		||||
	return autoConvert_audit_Policy_To_v1beta1_Policy(in, out, s)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func autoConvert_v1beta1_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_v1beta1_PolicyList_To_audit_PolicyList is an autogenerated conversion function.
 | 
			
		||||
func Convert_v1beta1_PolicyList_To_audit_PolicyList(in *PolicyList, out *audit.PolicyList, s conversion.Scope) error {
 | 
			
		||||
	return autoConvert_v1beta1_PolicyList_To_audit_PolicyList(in, out, s)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func autoConvert_audit_PolicyList_To_v1beta1_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_v1beta1_PolicyList is an autogenerated conversion function.
 | 
			
		||||
func Convert_audit_PolicyList_To_v1beta1_PolicyList(in *audit.PolicyList, out *PolicyList, s conversion.Scope) error {
 | 
			
		||||
	return autoConvert_audit_PolicyList_To_v1beta1_PolicyList(in, out, s)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func autoConvert_v1beta1_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_v1beta1_PolicyRule_To_audit_PolicyRule is an autogenerated conversion function.
 | 
			
		||||
func Convert_v1beta1_PolicyRule_To_audit_PolicyRule(in *PolicyRule, out *audit.PolicyRule, s conversion.Scope) error {
 | 
			
		||||
	return autoConvert_v1beta1_PolicyRule_To_audit_PolicyRule(in, out, s)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func autoConvert_audit_PolicyRule_To_v1beta1_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_v1beta1_PolicyRule is an autogenerated conversion function.
 | 
			
		||||
func Convert_audit_PolicyRule_To_v1beta1_PolicyRule(in *audit.PolicyRule, out *PolicyRule, s conversion.Scope) error {
 | 
			
		||||
	return autoConvert_audit_PolicyRule_To_v1beta1_PolicyRule(in, out, s)
 | 
			
		||||
}
 | 
			
		||||
@@ -0,0 +1,336 @@
 | 
			
		||||
// +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 v1beta1
 | 
			
		||||
 | 
			
		||||
import (
 | 
			
		||||
	v1 "k8s.io/api/authentication/v1"
 | 
			
		||||
	meta_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.
 | 
			
		||||
//
 | 
			
		||||
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
 | 
			
		||||
func RegisterDeepCopies(scheme *runtime.Scheme) error {
 | 
			
		||||
	return scheme.AddGeneratedDeepCopyFuncs(
 | 
			
		||||
		conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
 | 
			
		||||
			in.(*Event).DeepCopyInto(out.(*Event))
 | 
			
		||||
			return nil
 | 
			
		||||
		}, InType: reflect.TypeOf(&Event{})},
 | 
			
		||||
		conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
 | 
			
		||||
			in.(*EventList).DeepCopyInto(out.(*EventList))
 | 
			
		||||
			return nil
 | 
			
		||||
		}, InType: reflect.TypeOf(&EventList{})},
 | 
			
		||||
		conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
 | 
			
		||||
			in.(*GroupResources).DeepCopyInto(out.(*GroupResources))
 | 
			
		||||
			return nil
 | 
			
		||||
		}, InType: reflect.TypeOf(&GroupResources{})},
 | 
			
		||||
		conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
 | 
			
		||||
			in.(*ObjectReference).DeepCopyInto(out.(*ObjectReference))
 | 
			
		||||
			return nil
 | 
			
		||||
		}, InType: reflect.TypeOf(&ObjectReference{})},
 | 
			
		||||
		conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
 | 
			
		||||
			in.(*Policy).DeepCopyInto(out.(*Policy))
 | 
			
		||||
			return nil
 | 
			
		||||
		}, InType: reflect.TypeOf(&Policy{})},
 | 
			
		||||
		conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
 | 
			
		||||
			in.(*PolicyList).DeepCopyInto(out.(*PolicyList))
 | 
			
		||||
			return nil
 | 
			
		||||
		}, InType: reflect.TypeOf(&PolicyList{})},
 | 
			
		||||
		conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
 | 
			
		||||
			in.(*PolicyRule).DeepCopyInto(out.(*PolicyRule))
 | 
			
		||||
			return nil
 | 
			
		||||
		}, InType: reflect.TypeOf(&PolicyRule{})},
 | 
			
		||||
	)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
 | 
			
		||||
func (in *Event) DeepCopyInto(out *Event) {
 | 
			
		||||
	*out = *in
 | 
			
		||||
	out.TypeMeta = in.TypeMeta
 | 
			
		||||
	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
 | 
			
		||||
	in.Timestamp.DeepCopyInto(&out.Timestamp)
 | 
			
		||||
	in.User.DeepCopyInto(&out.User)
 | 
			
		||||
	if in.ImpersonatedUser != nil {
 | 
			
		||||
		in, out := &in.ImpersonatedUser, &out.ImpersonatedUser
 | 
			
		||||
		if *in == nil {
 | 
			
		||||
			*out = nil
 | 
			
		||||
		} else {
 | 
			
		||||
			*out = new(v1.UserInfo)
 | 
			
		||||
			(*in).DeepCopyInto(*out)
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
	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
 | 
			
		||||
		if *in == nil {
 | 
			
		||||
			*out = nil
 | 
			
		||||
		} else {
 | 
			
		||||
			*out = new(ObjectReference)
 | 
			
		||||
			**out = **in
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
	if in.ResponseStatus != nil {
 | 
			
		||||
		in, out := &in.ResponseStatus, &out.ResponseStatus
 | 
			
		||||
		if *in == nil {
 | 
			
		||||
			*out = nil
 | 
			
		||||
		} else {
 | 
			
		||||
			*out = new(meta_v1.Status)
 | 
			
		||||
			(*in).DeepCopyInto(*out)
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
	if in.RequestObject != nil {
 | 
			
		||||
		in, out := &in.RequestObject, &out.RequestObject
 | 
			
		||||
		if *in == nil {
 | 
			
		||||
			*out = nil
 | 
			
		||||
		} else {
 | 
			
		||||
			*out = new(runtime.Unknown)
 | 
			
		||||
			(*in).DeepCopyInto(*out)
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
	if in.ResponseObject != nil {
 | 
			
		||||
		in, out := &in.ResponseObject, &out.ResponseObject
 | 
			
		||||
		if *in == nil {
 | 
			
		||||
			*out = nil
 | 
			
		||||
		} else {
 | 
			
		||||
			*out = new(runtime.Unknown)
 | 
			
		||||
			(*in).DeepCopyInto(*out)
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
	return
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Event.
 | 
			
		||||
func (in *Event) DeepCopy() *Event {
 | 
			
		||||
	if in == nil {
 | 
			
		||||
		return nil
 | 
			
		||||
	}
 | 
			
		||||
	out := new(Event)
 | 
			
		||||
	in.DeepCopyInto(out)
 | 
			
		||||
	return out
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
 | 
			
		||||
func (in *Event) DeepCopyObject() runtime.Object {
 | 
			
		||||
	if c := in.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 *EventList) DeepCopyInto(out *EventList) {
 | 
			
		||||
	*out = *in
 | 
			
		||||
	out.TypeMeta = in.TypeMeta
 | 
			
		||||
	out.ListMeta = in.ListMeta
 | 
			
		||||
	if in.Items != nil {
 | 
			
		||||
		in, out := &in.Items, &out.Items
 | 
			
		||||
		*out = make([]Event, len(*in))
 | 
			
		||||
		for i := range *in {
 | 
			
		||||
			(*in)[i].DeepCopyInto(&(*out)[i])
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
	return
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventList.
 | 
			
		||||
func (in *EventList) DeepCopy() *EventList {
 | 
			
		||||
	if in == nil {
 | 
			
		||||
		return nil
 | 
			
		||||
	}
 | 
			
		||||
	out := new(EventList)
 | 
			
		||||
	in.DeepCopyInto(out)
 | 
			
		||||
	return out
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
 | 
			
		||||
func (in *EventList) DeepCopyObject() runtime.Object {
 | 
			
		||||
	if c := in.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 *GroupResources) DeepCopyInto(out *GroupResources) {
 | 
			
		||||
	*out = *in
 | 
			
		||||
	if in.Resources != nil {
 | 
			
		||||
		in, out := &in.Resources, &out.Resources
 | 
			
		||||
		*out = make([]string, len(*in))
 | 
			
		||||
		copy(*out, *in)
 | 
			
		||||
	}
 | 
			
		||||
	return
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupResources.
 | 
			
		||||
func (in *GroupResources) DeepCopy() *GroupResources {
 | 
			
		||||
	if in == nil {
 | 
			
		||||
		return nil
 | 
			
		||||
	}
 | 
			
		||||
	out := new(GroupResources)
 | 
			
		||||
	in.DeepCopyInto(out)
 | 
			
		||||
	return out
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
 | 
			
		||||
func (in *ObjectReference) DeepCopyInto(out *ObjectReference) {
 | 
			
		||||
	*out = *in
 | 
			
		||||
	return
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectReference.
 | 
			
		||||
func (in *ObjectReference) DeepCopy() *ObjectReference {
 | 
			
		||||
	if in == nil {
 | 
			
		||||
		return nil
 | 
			
		||||
	}
 | 
			
		||||
	out := new(ObjectReference)
 | 
			
		||||
	in.DeepCopyInto(out)
 | 
			
		||||
	return out
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
 | 
			
		||||
func (in *Policy) DeepCopyInto(out *Policy) {
 | 
			
		||||
	*out = *in
 | 
			
		||||
	out.TypeMeta = in.TypeMeta
 | 
			
		||||
	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
 | 
			
		||||
	if in.Rules != nil {
 | 
			
		||||
		in, out := &in.Rules, &out.Rules
 | 
			
		||||
		*out = make([]PolicyRule, len(*in))
 | 
			
		||||
		for i := range *in {
 | 
			
		||||
			(*in)[i].DeepCopyInto(&(*out)[i])
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
	return
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Policy.
 | 
			
		||||
func (in *Policy) DeepCopy() *Policy {
 | 
			
		||||
	if in == nil {
 | 
			
		||||
		return nil
 | 
			
		||||
	}
 | 
			
		||||
	out := new(Policy)
 | 
			
		||||
	in.DeepCopyInto(out)
 | 
			
		||||
	return out
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
 | 
			
		||||
func (in *Policy) DeepCopyObject() runtime.Object {
 | 
			
		||||
	if c := in.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 *PolicyList) DeepCopyInto(out *PolicyList) {
 | 
			
		||||
	*out = *in
 | 
			
		||||
	out.TypeMeta = in.TypeMeta
 | 
			
		||||
	out.ListMeta = in.ListMeta
 | 
			
		||||
	if in.Items != nil {
 | 
			
		||||
		in, out := &in.Items, &out.Items
 | 
			
		||||
		*out = make([]Policy, len(*in))
 | 
			
		||||
		for i := range *in {
 | 
			
		||||
			(*in)[i].DeepCopyInto(&(*out)[i])
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
	return
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyList.
 | 
			
		||||
func (in *PolicyList) DeepCopy() *PolicyList {
 | 
			
		||||
	if in == nil {
 | 
			
		||||
		return nil
 | 
			
		||||
	}
 | 
			
		||||
	out := new(PolicyList)
 | 
			
		||||
	in.DeepCopyInto(out)
 | 
			
		||||
	return out
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
 | 
			
		||||
func (in *PolicyList) DeepCopyObject() runtime.Object {
 | 
			
		||||
	if c := in.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 *PolicyRule) DeepCopyInto(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 {
 | 
			
		||||
			(*in)[i].DeepCopyInto(&(*out)[i])
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
	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
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyRule.
 | 
			
		||||
func (in *PolicyRule) DeepCopy() *PolicyRule {
 | 
			
		||||
	if in == nil {
 | 
			
		||||
		return nil
 | 
			
		||||
	}
 | 
			
		||||
	out := new(PolicyRule)
 | 
			
		||||
	in.DeepCopyInto(out)
 | 
			
		||||
	return out
 | 
			
		||||
}
 | 
			
		||||
@@ -0,0 +1,32 @@
 | 
			
		||||
// +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 defaulter-gen. Do not edit it manually!
 | 
			
		||||
 | 
			
		||||
package v1beta1
 | 
			
		||||
 | 
			
		||||
import (
 | 
			
		||||
	runtime "k8s.io/apimachinery/pkg/runtime"
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
// RegisterDefaults adds defaulters functions to the given scheme.
 | 
			
		||||
// Public to allow building arbitrary schemes.
 | 
			
		||||
// All generated defaulters are covering - they call all nested defaulters.
 | 
			
		||||
func RegisterDefaults(scheme *runtime.Scheme) error {
 | 
			
		||||
	return nil
 | 
			
		||||
}
 | 
			
		||||
@@ -30,6 +30,7 @@ go_library(
 | 
			
		||||
        "//vendor/k8s.io/apimachinery/pkg/util/net:go_default_library",
 | 
			
		||||
        "//vendor/k8s.io/apiserver/pkg/apis/audit:go_default_library",
 | 
			
		||||
        "//vendor/k8s.io/apiserver/pkg/apis/audit/v1alpha1:go_default_library",
 | 
			
		||||
        "//vendor/k8s.io/apiserver/pkg/apis/audit/v1beta1:go_default_library",
 | 
			
		||||
        "//vendor/k8s.io/apiserver/pkg/authorization/authorizer:go_default_library",
 | 
			
		||||
    ],
 | 
			
		||||
)
 | 
			
		||||
 
 | 
			
		||||
@@ -20,6 +20,7 @@ go_test(
 | 
			
		||||
        "//vendor/k8s.io/apiserver/pkg/apis/audit:go_default_library",
 | 
			
		||||
        "//vendor/k8s.io/apiserver/pkg/authentication/user:go_default_library",
 | 
			
		||||
        "//vendor/k8s.io/apiserver/pkg/authorization/authorizer:go_default_library",
 | 
			
		||||
        "//vendor/k8s.io/apiserver/plugin/pkg/audit/webhook:go_default_library",
 | 
			
		||||
    ],
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
@@ -34,6 +35,7 @@ go_library(
 | 
			
		||||
        "//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library",
 | 
			
		||||
        "//vendor/k8s.io/apiserver/pkg/apis/audit:go_default_library",
 | 
			
		||||
        "//vendor/k8s.io/apiserver/pkg/apis/audit/v1alpha1:go_default_library",
 | 
			
		||||
        "//vendor/k8s.io/apiserver/pkg/apis/audit/v1beta1:go_default_library",
 | 
			
		||||
        "//vendor/k8s.io/apiserver/pkg/apis/audit/validation:go_default_library",
 | 
			
		||||
        "//vendor/k8s.io/apiserver/pkg/audit:go_default_library",
 | 
			
		||||
        "//vendor/k8s.io/apiserver/pkg/authorization/authorizer:go_default_library",
 | 
			
		||||
 
 | 
			
		||||
@@ -28,7 +28,7 @@ go_test(
 | 
			
		||||
        "//vendor/k8s.io/apimachinery/pkg/util/sets:go_default_library",
 | 
			
		||||
        "//vendor/k8s.io/apimachinery/pkg/util/wait:go_default_library",
 | 
			
		||||
        "//vendor/k8s.io/apiserver/pkg/apis/audit:go_default_library",
 | 
			
		||||
        "//vendor/k8s.io/apiserver/pkg/apis/audit/v1alpha1:go_default_library",
 | 
			
		||||
        "//vendor/k8s.io/apiserver/pkg/apis/audit/v1beta1:go_default_library",
 | 
			
		||||
        "//vendor/k8s.io/apiserver/pkg/audit:go_default_library",
 | 
			
		||||
        "//vendor/k8s.io/apiserver/pkg/audit/policy:go_default_library",
 | 
			
		||||
        "//vendor/k8s.io/apiserver/pkg/authentication/authenticator:go_default_library",
 | 
			
		||||
 
 | 
			
		||||
@@ -11,7 +11,7 @@ go_library(
 | 
			
		||||
    deps = [
 | 
			
		||||
        "//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library",
 | 
			
		||||
        "//vendor/k8s.io/apiserver/pkg/apis/audit:go_default_library",
 | 
			
		||||
        "//vendor/k8s.io/apiserver/pkg/apis/audit/v1alpha1:go_default_library",
 | 
			
		||||
        "//vendor/k8s.io/apiserver/pkg/apis/audit/v1beta1:go_default_library",
 | 
			
		||||
        "//vendor/k8s.io/apiserver/pkg/audit:go_default_library",
 | 
			
		||||
    ],
 | 
			
		||||
)
 | 
			
		||||
 
 | 
			
		||||
@@ -16,7 +16,7 @@ go_test(
 | 
			
		||||
        "//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library",
 | 
			
		||||
        "//vendor/k8s.io/apimachinery/pkg/runtime/serializer/json:go_default_library",
 | 
			
		||||
        "//vendor/k8s.io/apiserver/pkg/apis/audit:go_default_library",
 | 
			
		||||
        "//vendor/k8s.io/apiserver/pkg/apis/audit/v1alpha1:go_default_library",
 | 
			
		||||
        "//vendor/k8s.io/apiserver/pkg/apis/audit/v1beta1:go_default_library",
 | 
			
		||||
        "//vendor/k8s.io/apiserver/pkg/audit:go_default_library",
 | 
			
		||||
        "//vendor/k8s.io/client-go/tools/clientcmd/api/v1:go_default_library",
 | 
			
		||||
    ],
 | 
			
		||||
@@ -34,7 +34,7 @@ go_library(
 | 
			
		||||
        "//vendor/k8s.io/apimachinery/pkg/util/runtime:go_default_library",
 | 
			
		||||
        "//vendor/k8s.io/apiserver/pkg/apis/audit:go_default_library",
 | 
			
		||||
        "//vendor/k8s.io/apiserver/pkg/apis/audit/install:go_default_library",
 | 
			
		||||
        "//vendor/k8s.io/apiserver/pkg/apis/audit/v1alpha1:go_default_library",
 | 
			
		||||
        "//vendor/k8s.io/apiserver/pkg/apis/audit/v1beta1:go_default_library",
 | 
			
		||||
        "//vendor/k8s.io/apiserver/pkg/audit:go_default_library",
 | 
			
		||||
        "//vendor/k8s.io/apiserver/pkg/util/webhook:go_default_library",
 | 
			
		||||
    ],
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user