mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-03 19:58:17 +00:00 
			
		
		
		
	Autogenerated code
This commit is contained in:
		
							
								
								
									
										1104
									
								
								api/openapi-spec/swagger.json
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										1104
									
								
								api/openapi-spec/swagger.json
									
									
									
										generated
									
									
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										1551
									
								
								api/swagger-spec/coordination.k8s.io_v1.json
									
									
									
										generated
									
									
									
										Normal file
									
								
							
							
						
						
									
										1551
									
								
								api/swagger-spec/coordination.k8s.io_v1.json
									
									
									
										generated
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										4
									
								
								api/swagger-spec/resourceListing.json
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										4
									
								
								api/swagger-spec/resourceListing.json
									
									
									
										generated
									
									
									
								
							@@ -97,6 +97,10 @@
 | 
				
			|||||||
    "path": "/apis/coordination.k8s.io/v1beta1",
 | 
					    "path": "/apis/coordination.k8s.io/v1beta1",
 | 
				
			||||||
    "description": "API at /apis/coordination.k8s.io/v1beta1"
 | 
					    "description": "API at /apis/coordination.k8s.io/v1beta1"
 | 
				
			||||||
   },
 | 
					   },
 | 
				
			||||||
 | 
					   {
 | 
				
			||||||
 | 
					    "path": "/apis/coordination.k8s.io/v1",
 | 
				
			||||||
 | 
					    "description": "API at /apis/coordination.k8s.io/v1"
 | 
				
			||||||
 | 
					   },
 | 
				
			||||||
   {
 | 
					   {
 | 
				
			||||||
    "path": "/apis/coordination.k8s.io",
 | 
					    "path": "/apis/coordination.k8s.io",
 | 
				
			||||||
    "description": "get information of a group"
 | 
					    "description": "get information of a group"
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										1430
									
								
								docs/api-reference/coordination.k8s.io/v1/definitions.html
									
									
									
										generated
									
									
									
										Executable file
									
								
							
							
						
						
									
										1430
									
								
								docs/api-reference/coordination.k8s.io/v1/definitions.html
									
									
									
										generated
									
									
									
										Executable file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										2263
									
								
								docs/api-reference/coordination.k8s.io/v1/operations.html
									
									
									
										generated
									
									
									
										Executable file
									
								
							
							
						
						
									
										2263
									
								
								docs/api-reference/coordination.k8s.io/v1/operations.html
									
									
									
										generated
									
									
									
										Executable file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							@@ -29,6 +29,7 @@ filegroup(
 | 
				
			|||||||
    srcs = [
 | 
					    srcs = [
 | 
				
			||||||
        ":package-srcs",
 | 
					        ":package-srcs",
 | 
				
			||||||
        "//pkg/apis/coordination/install:all-srcs",
 | 
					        "//pkg/apis/coordination/install:all-srcs",
 | 
				
			||||||
 | 
					        "//pkg/apis/coordination/v1:all-srcs",
 | 
				
			||||||
        "//pkg/apis/coordination/v1beta1:all-srcs",
 | 
					        "//pkg/apis/coordination/v1beta1:all-srcs",
 | 
				
			||||||
        "//pkg/apis/coordination/validation:all-srcs",
 | 
					        "//pkg/apis/coordination/validation:all-srcs",
 | 
				
			||||||
    ],
 | 
					    ],
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -8,6 +8,7 @@ go_library(
 | 
				
			|||||||
    deps = [
 | 
					    deps = [
 | 
				
			||||||
        "//pkg/api/legacyscheme:go_default_library",
 | 
					        "//pkg/api/legacyscheme:go_default_library",
 | 
				
			||||||
        "//pkg/apis/coordination:go_default_library",
 | 
					        "//pkg/apis/coordination:go_default_library",
 | 
				
			||||||
 | 
					        "//pkg/apis/coordination/v1:go_default_library",
 | 
				
			||||||
        "//pkg/apis/coordination/v1beta1:go_default_library",
 | 
					        "//pkg/apis/coordination/v1beta1:go_default_library",
 | 
				
			||||||
        "//staging/src/k8s.io/apimachinery/pkg/runtime:go_default_library",
 | 
					        "//staging/src/k8s.io/apimachinery/pkg/runtime:go_default_library",
 | 
				
			||||||
        "//staging/src/k8s.io/apimachinery/pkg/util/runtime:go_default_library",
 | 
					        "//staging/src/k8s.io/apimachinery/pkg/util/runtime:go_default_library",
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										35
									
								
								pkg/apis/coordination/v1/BUILD
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										35
									
								
								pkg/apis/coordination/v1/BUILD
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,35 @@
 | 
				
			|||||||
 | 
					load("@io_bazel_rules_go//go:def.bzl", "go_library")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					go_library(
 | 
				
			||||||
 | 
					    name = "go_default_library",
 | 
				
			||||||
 | 
					    srcs = [
 | 
				
			||||||
 | 
					        "doc.go",
 | 
				
			||||||
 | 
					        "register.go",
 | 
				
			||||||
 | 
					        "zz_generated.conversion.go",
 | 
				
			||||||
 | 
					        "zz_generated.defaults.go",
 | 
				
			||||||
 | 
					    ],
 | 
				
			||||||
 | 
					    importpath = "k8s.io/kubernetes/pkg/apis/coordination/v1",
 | 
				
			||||||
 | 
					    visibility = ["//visibility:public"],
 | 
				
			||||||
 | 
					    deps = [
 | 
				
			||||||
 | 
					        "//pkg/apis/coordination:go_default_library",
 | 
				
			||||||
 | 
					        "//staging/src/k8s.io/api/coordination/v1:go_default_library",
 | 
				
			||||||
 | 
					        "//staging/src/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library",
 | 
				
			||||||
 | 
					        "//staging/src/k8s.io/apimachinery/pkg/conversion:go_default_library",
 | 
				
			||||||
 | 
					        "//staging/src/k8s.io/apimachinery/pkg/runtime:go_default_library",
 | 
				
			||||||
 | 
					        "//staging/src/k8s.io/apimachinery/pkg/runtime/schema: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"],
 | 
				
			||||||
 | 
					)
 | 
				
			||||||
							
								
								
									
										147
									
								
								pkg/apis/coordination/v1/zz_generated.conversion.go
									
									
									
										generated
									
									
									
										Normal file
									
								
							
							
						
						
									
										147
									
								
								pkg/apis/coordination/v1/zz_generated.conversion.go
									
									
									
										generated
									
									
									
										Normal file
									
								
							@@ -0,0 +1,147 @@
 | 
				
			|||||||
 | 
					// +build !ignore_autogenerated
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					/*
 | 
				
			||||||
 | 
					Copyright 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.
 | 
				
			||||||
 | 
					*/
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// Code generated by conversion-gen. DO NOT EDIT.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					package v1
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					import (
 | 
				
			||||||
 | 
						unsafe "unsafe"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						v1 "k8s.io/api/coordination/v1"
 | 
				
			||||||
 | 
						metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
 | 
				
			||||||
 | 
						conversion "k8s.io/apimachinery/pkg/conversion"
 | 
				
			||||||
 | 
						runtime "k8s.io/apimachinery/pkg/runtime"
 | 
				
			||||||
 | 
						coordination "k8s.io/kubernetes/pkg/apis/coordination"
 | 
				
			||||||
 | 
					)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					func init() {
 | 
				
			||||||
 | 
						localSchemeBuilder.Register(RegisterConversions)
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// RegisterConversions adds conversion functions to the given scheme.
 | 
				
			||||||
 | 
					// Public to allow building arbitrary schemes.
 | 
				
			||||||
 | 
					func RegisterConversions(s *runtime.Scheme) error {
 | 
				
			||||||
 | 
						if err := s.AddGeneratedConversionFunc((*v1.Lease)(nil), (*coordination.Lease)(nil), func(a, b interface{}, scope conversion.Scope) error {
 | 
				
			||||||
 | 
							return Convert_v1_Lease_To_coordination_Lease(a.(*v1.Lease), b.(*coordination.Lease), scope)
 | 
				
			||||||
 | 
						}); err != nil {
 | 
				
			||||||
 | 
							return err
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
						if err := s.AddGeneratedConversionFunc((*coordination.Lease)(nil), (*v1.Lease)(nil), func(a, b interface{}, scope conversion.Scope) error {
 | 
				
			||||||
 | 
							return Convert_coordination_Lease_To_v1_Lease(a.(*coordination.Lease), b.(*v1.Lease), scope)
 | 
				
			||||||
 | 
						}); err != nil {
 | 
				
			||||||
 | 
							return err
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
						if err := s.AddGeneratedConversionFunc((*v1.LeaseList)(nil), (*coordination.LeaseList)(nil), func(a, b interface{}, scope conversion.Scope) error {
 | 
				
			||||||
 | 
							return Convert_v1_LeaseList_To_coordination_LeaseList(a.(*v1.LeaseList), b.(*coordination.LeaseList), scope)
 | 
				
			||||||
 | 
						}); err != nil {
 | 
				
			||||||
 | 
							return err
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
						if err := s.AddGeneratedConversionFunc((*coordination.LeaseList)(nil), (*v1.LeaseList)(nil), func(a, b interface{}, scope conversion.Scope) error {
 | 
				
			||||||
 | 
							return Convert_coordination_LeaseList_To_v1_LeaseList(a.(*coordination.LeaseList), b.(*v1.LeaseList), scope)
 | 
				
			||||||
 | 
						}); err != nil {
 | 
				
			||||||
 | 
							return err
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
						if err := s.AddGeneratedConversionFunc((*v1.LeaseSpec)(nil), (*coordination.LeaseSpec)(nil), func(a, b interface{}, scope conversion.Scope) error {
 | 
				
			||||||
 | 
							return Convert_v1_LeaseSpec_To_coordination_LeaseSpec(a.(*v1.LeaseSpec), b.(*coordination.LeaseSpec), scope)
 | 
				
			||||||
 | 
						}); err != nil {
 | 
				
			||||||
 | 
							return err
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
						if err := s.AddGeneratedConversionFunc((*coordination.LeaseSpec)(nil), (*v1.LeaseSpec)(nil), func(a, b interface{}, scope conversion.Scope) error {
 | 
				
			||||||
 | 
							return Convert_coordination_LeaseSpec_To_v1_LeaseSpec(a.(*coordination.LeaseSpec), b.(*v1.LeaseSpec), scope)
 | 
				
			||||||
 | 
						}); err != nil {
 | 
				
			||||||
 | 
							return err
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
						return nil
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					func autoConvert_v1_Lease_To_coordination_Lease(in *v1.Lease, out *coordination.Lease, s conversion.Scope) error {
 | 
				
			||||||
 | 
						out.ObjectMeta = in.ObjectMeta
 | 
				
			||||||
 | 
						if err := Convert_v1_LeaseSpec_To_coordination_LeaseSpec(&in.Spec, &out.Spec, s); err != nil {
 | 
				
			||||||
 | 
							return err
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
						return nil
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// Convert_v1_Lease_To_coordination_Lease is an autogenerated conversion function.
 | 
				
			||||||
 | 
					func Convert_v1_Lease_To_coordination_Lease(in *v1.Lease, out *coordination.Lease, s conversion.Scope) error {
 | 
				
			||||||
 | 
						return autoConvert_v1_Lease_To_coordination_Lease(in, out, s)
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					func autoConvert_coordination_Lease_To_v1_Lease(in *coordination.Lease, out *v1.Lease, s conversion.Scope) error {
 | 
				
			||||||
 | 
						out.ObjectMeta = in.ObjectMeta
 | 
				
			||||||
 | 
						if err := Convert_coordination_LeaseSpec_To_v1_LeaseSpec(&in.Spec, &out.Spec, s); err != nil {
 | 
				
			||||||
 | 
							return err
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
						return nil
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// Convert_coordination_Lease_To_v1_Lease is an autogenerated conversion function.
 | 
				
			||||||
 | 
					func Convert_coordination_Lease_To_v1_Lease(in *coordination.Lease, out *v1.Lease, s conversion.Scope) error {
 | 
				
			||||||
 | 
						return autoConvert_coordination_Lease_To_v1_Lease(in, out, s)
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					func autoConvert_v1_LeaseList_To_coordination_LeaseList(in *v1.LeaseList, out *coordination.LeaseList, s conversion.Scope) error {
 | 
				
			||||||
 | 
						out.ListMeta = in.ListMeta
 | 
				
			||||||
 | 
						out.Items = *(*[]coordination.Lease)(unsafe.Pointer(&in.Items))
 | 
				
			||||||
 | 
						return nil
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// Convert_v1_LeaseList_To_coordination_LeaseList is an autogenerated conversion function.
 | 
				
			||||||
 | 
					func Convert_v1_LeaseList_To_coordination_LeaseList(in *v1.LeaseList, out *coordination.LeaseList, s conversion.Scope) error {
 | 
				
			||||||
 | 
						return autoConvert_v1_LeaseList_To_coordination_LeaseList(in, out, s)
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					func autoConvert_coordination_LeaseList_To_v1_LeaseList(in *coordination.LeaseList, out *v1.LeaseList, s conversion.Scope) error {
 | 
				
			||||||
 | 
						out.ListMeta = in.ListMeta
 | 
				
			||||||
 | 
						out.Items = *(*[]v1.Lease)(unsafe.Pointer(&in.Items))
 | 
				
			||||||
 | 
						return nil
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// Convert_coordination_LeaseList_To_v1_LeaseList is an autogenerated conversion function.
 | 
				
			||||||
 | 
					func Convert_coordination_LeaseList_To_v1_LeaseList(in *coordination.LeaseList, out *v1.LeaseList, s conversion.Scope) error {
 | 
				
			||||||
 | 
						return autoConvert_coordination_LeaseList_To_v1_LeaseList(in, out, s)
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					func autoConvert_v1_LeaseSpec_To_coordination_LeaseSpec(in *v1.LeaseSpec, out *coordination.LeaseSpec, s conversion.Scope) error {
 | 
				
			||||||
 | 
						out.HolderIdentity = (*string)(unsafe.Pointer(in.HolderIdentity))
 | 
				
			||||||
 | 
						out.LeaseDurationSeconds = (*int32)(unsafe.Pointer(in.LeaseDurationSeconds))
 | 
				
			||||||
 | 
						out.AcquireTime = (*metav1.MicroTime)(unsafe.Pointer(in.AcquireTime))
 | 
				
			||||||
 | 
						out.RenewTime = (*metav1.MicroTime)(unsafe.Pointer(in.RenewTime))
 | 
				
			||||||
 | 
						out.LeaseTransitions = (*int32)(unsafe.Pointer(in.LeaseTransitions))
 | 
				
			||||||
 | 
						return nil
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// Convert_v1_LeaseSpec_To_coordination_LeaseSpec is an autogenerated conversion function.
 | 
				
			||||||
 | 
					func Convert_v1_LeaseSpec_To_coordination_LeaseSpec(in *v1.LeaseSpec, out *coordination.LeaseSpec, s conversion.Scope) error {
 | 
				
			||||||
 | 
						return autoConvert_v1_LeaseSpec_To_coordination_LeaseSpec(in, out, s)
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					func autoConvert_coordination_LeaseSpec_To_v1_LeaseSpec(in *coordination.LeaseSpec, out *v1.LeaseSpec, s conversion.Scope) error {
 | 
				
			||||||
 | 
						out.HolderIdentity = (*string)(unsafe.Pointer(in.HolderIdentity))
 | 
				
			||||||
 | 
						out.LeaseDurationSeconds = (*int32)(unsafe.Pointer(in.LeaseDurationSeconds))
 | 
				
			||||||
 | 
						out.AcquireTime = (*metav1.MicroTime)(unsafe.Pointer(in.AcquireTime))
 | 
				
			||||||
 | 
						out.RenewTime = (*metav1.MicroTime)(unsafe.Pointer(in.RenewTime))
 | 
				
			||||||
 | 
						out.LeaseTransitions = (*int32)(unsafe.Pointer(in.LeaseTransitions))
 | 
				
			||||||
 | 
						return nil
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// Convert_coordination_LeaseSpec_To_v1_LeaseSpec is an autogenerated conversion function.
 | 
				
			||||||
 | 
					func Convert_coordination_LeaseSpec_To_v1_LeaseSpec(in *coordination.LeaseSpec, out *v1.LeaseSpec, s conversion.Scope) error {
 | 
				
			||||||
 | 
						return autoConvert_coordination_LeaseSpec_To_v1_LeaseSpec(in, out, s)
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
							
								
								
									
										32
									
								
								pkg/apis/coordination/v1/zz_generated.defaults.go
									
									
									
										generated
									
									
									
										Normal file
									
								
							
							
						
						
									
										32
									
								
								pkg/apis/coordination/v1/zz_generated.defaults.go
									
									
									
										generated
									
									
									
										Normal file
									
								
							@@ -0,0 +1,32 @@
 | 
				
			|||||||
 | 
					// +build !ignore_autogenerated
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					/*
 | 
				
			||||||
 | 
					Copyright 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.
 | 
				
			||||||
 | 
					*/
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// Code generated by defaulter-gen. DO NOT EDIT.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					package v1
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					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
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
@@ -38,6 +38,7 @@ openapi_library(
 | 
				
			|||||||
        "k8s.io/api/batch/v1beta1",
 | 
					        "k8s.io/api/batch/v1beta1",
 | 
				
			||||||
        "k8s.io/api/batch/v2alpha1",
 | 
					        "k8s.io/api/batch/v2alpha1",
 | 
				
			||||||
        "k8s.io/api/certificates/v1beta1",
 | 
					        "k8s.io/api/certificates/v1beta1",
 | 
				
			||||||
 | 
					        "k8s.io/api/coordination/v1",
 | 
				
			||||||
        "k8s.io/api/coordination/v1beta1",
 | 
					        "k8s.io/api/coordination/v1beta1",
 | 
				
			||||||
        "k8s.io/api/core/v1",
 | 
					        "k8s.io/api/core/v1",
 | 
				
			||||||
        "k8s.io/api/events/v1beta1",
 | 
					        "k8s.io/api/events/v1beta1",
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -83,6 +83,7 @@ go_library(
 | 
				
			|||||||
        "//staging/src/k8s.io/api/batch/v1beta1:go_default_library",
 | 
					        "//staging/src/k8s.io/api/batch/v1beta1:go_default_library",
 | 
				
			||||||
        "//staging/src/k8s.io/api/batch/v2alpha1:go_default_library",
 | 
					        "//staging/src/k8s.io/api/batch/v2alpha1:go_default_library",
 | 
				
			||||||
        "//staging/src/k8s.io/api/certificates/v1beta1:go_default_library",
 | 
					        "//staging/src/k8s.io/api/certificates/v1beta1:go_default_library",
 | 
				
			||||||
 | 
					        "//staging/src/k8s.io/api/coordination/v1:go_default_library",
 | 
				
			||||||
        "//staging/src/k8s.io/api/coordination/v1beta1:go_default_library",
 | 
					        "//staging/src/k8s.io/api/coordination/v1beta1:go_default_library",
 | 
				
			||||||
        "//staging/src/k8s.io/api/core/v1:go_default_library",
 | 
					        "//staging/src/k8s.io/api/core/v1:go_default_library",
 | 
				
			||||||
        "//staging/src/k8s.io/api/events/v1beta1:go_default_library",
 | 
					        "//staging/src/k8s.io/api/events/v1beta1:go_default_library",
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -87,7 +87,7 @@ go_library(
 | 
				
			|||||||
        "//staging/src/k8s.io/api/batch/v1:go_default_library",
 | 
					        "//staging/src/k8s.io/api/batch/v1:go_default_library",
 | 
				
			||||||
        "//staging/src/k8s.io/api/batch/v1beta1:go_default_library",
 | 
					        "//staging/src/k8s.io/api/batch/v1beta1:go_default_library",
 | 
				
			||||||
        "//staging/src/k8s.io/api/certificates/v1beta1:go_default_library",
 | 
					        "//staging/src/k8s.io/api/certificates/v1beta1:go_default_library",
 | 
				
			||||||
        "//staging/src/k8s.io/api/coordination/v1beta1:go_default_library",
 | 
					        "//staging/src/k8s.io/api/coordination/v1:go_default_library",
 | 
				
			||||||
        "//staging/src/k8s.io/api/core/v1:go_default_library",
 | 
					        "//staging/src/k8s.io/api/core/v1:go_default_library",
 | 
				
			||||||
        "//staging/src/k8s.io/api/extensions/v1beta1:go_default_library",
 | 
					        "//staging/src/k8s.io/api/extensions/v1beta1:go_default_library",
 | 
				
			||||||
        "//staging/src/k8s.io/api/policy/v1beta1:go_default_library",
 | 
					        "//staging/src/k8s.io/api/policy/v1beta1:go_default_library",
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -9,6 +9,7 @@ go_library(
 | 
				
			|||||||
        "//pkg/api/legacyscheme:go_default_library",
 | 
					        "//pkg/api/legacyscheme:go_default_library",
 | 
				
			||||||
        "//pkg/apis/coordination:go_default_library",
 | 
					        "//pkg/apis/coordination:go_default_library",
 | 
				
			||||||
        "//pkg/registry/coordination/lease/storage:go_default_library",
 | 
					        "//pkg/registry/coordination/lease/storage:go_default_library",
 | 
				
			||||||
 | 
					        "//staging/src/k8s.io/api/coordination/v1:go_default_library",
 | 
				
			||||||
        "//staging/src/k8s.io/api/coordination/v1beta1:go_default_library",
 | 
					        "//staging/src/k8s.io/api/coordination/v1beta1:go_default_library",
 | 
				
			||||||
        "//staging/src/k8s.io/apiserver/pkg/registry/generic:go_default_library",
 | 
					        "//staging/src/k8s.io/apiserver/pkg/registry/generic:go_default_library",
 | 
				
			||||||
        "//staging/src/k8s.io/apiserver/pkg/registry/rest:go_default_library",
 | 
					        "//staging/src/k8s.io/apiserver/pkg/registry/rest:go_default_library",
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -143,6 +143,7 @@ filegroup(
 | 
				
			|||||||
        "//staging/src/k8s.io/client-go/listers/batch/v1beta1:all-srcs",
 | 
					        "//staging/src/k8s.io/client-go/listers/batch/v1beta1:all-srcs",
 | 
				
			||||||
        "//staging/src/k8s.io/client-go/listers/batch/v2alpha1:all-srcs",
 | 
					        "//staging/src/k8s.io/client-go/listers/batch/v2alpha1:all-srcs",
 | 
				
			||||||
        "//staging/src/k8s.io/client-go/listers/certificates/v1beta1:all-srcs",
 | 
					        "//staging/src/k8s.io/client-go/listers/certificates/v1beta1:all-srcs",
 | 
				
			||||||
 | 
					        "//staging/src/k8s.io/client-go/listers/coordination/v1:all-srcs",
 | 
				
			||||||
        "//staging/src/k8s.io/client-go/listers/coordination/v1beta1:all-srcs",
 | 
					        "//staging/src/k8s.io/client-go/listers/coordination/v1beta1:all-srcs",
 | 
				
			||||||
        "//staging/src/k8s.io/client-go/listers/core/v1:all-srcs",
 | 
					        "//staging/src/k8s.io/client-go/listers/core/v1:all-srcs",
 | 
				
			||||||
        "//staging/src/k8s.io/client-go/listers/events/v1beta1:all-srcs",
 | 
					        "//staging/src/k8s.io/client-go/listers/events/v1beta1:all-srcs",
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -75,6 +75,7 @@ filegroup(
 | 
				
			|||||||
        "//staging/src/k8s.io/api/batch/v1beta1:all-srcs",
 | 
					        "//staging/src/k8s.io/api/batch/v1beta1:all-srcs",
 | 
				
			||||||
        "//staging/src/k8s.io/api/batch/v2alpha1:all-srcs",
 | 
					        "//staging/src/k8s.io/api/batch/v2alpha1:all-srcs",
 | 
				
			||||||
        "//staging/src/k8s.io/api/certificates/v1beta1:all-srcs",
 | 
					        "//staging/src/k8s.io/api/certificates/v1beta1:all-srcs",
 | 
				
			||||||
 | 
					        "//staging/src/k8s.io/api/coordination/v1:all-srcs",
 | 
				
			||||||
        "//staging/src/k8s.io/api/coordination/v1beta1:all-srcs",
 | 
					        "//staging/src/k8s.io/api/coordination/v1beta1:all-srcs",
 | 
				
			||||||
        "//staging/src/k8s.io/api/core/v1:all-srcs",
 | 
					        "//staging/src/k8s.io/api/core/v1:all-srcs",
 | 
				
			||||||
        "//staging/src/k8s.io/api/events/v1beta1:all-srcs",
 | 
					        "//staging/src/k8s.io/api/events/v1beta1:all-srcs",
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										36
									
								
								staging/src/k8s.io/api/coordination/v1/BUILD
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										36
									
								
								staging/src/k8s.io/api/coordination/v1/BUILD
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,36 @@
 | 
				
			|||||||
 | 
					load("@io_bazel_rules_go//go:def.bzl", "go_library")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					go_library(
 | 
				
			||||||
 | 
					    name = "go_default_library",
 | 
				
			||||||
 | 
					    srcs = [
 | 
				
			||||||
 | 
					        "doc.go",
 | 
				
			||||||
 | 
					        "generated.pb.go",
 | 
				
			||||||
 | 
					        "register.go",
 | 
				
			||||||
 | 
					        "types.go",
 | 
				
			||||||
 | 
					        "types_swagger_doc_generated.go",
 | 
				
			||||||
 | 
					        "zz_generated.deepcopy.go",
 | 
				
			||||||
 | 
					    ],
 | 
				
			||||||
 | 
					    importmap = "k8s.io/kubernetes/vendor/k8s.io/api/coordination/v1",
 | 
				
			||||||
 | 
					    importpath = "k8s.io/api/coordination/v1",
 | 
				
			||||||
 | 
					    visibility = ["//visibility:public"],
 | 
				
			||||||
 | 
					    deps = [
 | 
				
			||||||
 | 
					        "//staging/src/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library",
 | 
				
			||||||
 | 
					        "//staging/src/k8s.io/apimachinery/pkg/runtime:go_default_library",
 | 
				
			||||||
 | 
					        "//staging/src/k8s.io/apimachinery/pkg/runtime/schema:go_default_library",
 | 
				
			||||||
 | 
					        "//vendor/github.com/gogo/protobuf/proto: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"],
 | 
				
			||||||
 | 
					)
 | 
				
			||||||
							
								
								
									
										864
									
								
								staging/src/k8s.io/api/coordination/v1/generated.pb.go
									
									
									
										generated
									
									
									
										Normal file
									
								
							
							
						
						
									
										864
									
								
								staging/src/k8s.io/api/coordination/v1/generated.pb.go
									
									
									
										generated
									
									
									
										Normal file
									
								
							@@ -0,0 +1,864 @@
 | 
				
			|||||||
 | 
					/*
 | 
				
			||||||
 | 
					Copyright 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.
 | 
				
			||||||
 | 
					*/
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// Code generated by protoc-gen-gogo. DO NOT EDIT.
 | 
				
			||||||
 | 
					// source: k8s.io/kubernetes/vendor/k8s.io/api/coordination/v1/generated.proto
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					/*
 | 
				
			||||||
 | 
						Package v1 is a generated protocol buffer package.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						It is generated from these files:
 | 
				
			||||||
 | 
							k8s.io/kubernetes/vendor/k8s.io/api/coordination/v1/generated.proto
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						It has these top-level messages:
 | 
				
			||||||
 | 
							Lease
 | 
				
			||||||
 | 
							LeaseList
 | 
				
			||||||
 | 
							LeaseSpec
 | 
				
			||||||
 | 
					*/
 | 
				
			||||||
 | 
					package v1
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					import proto "github.com/gogo/protobuf/proto"
 | 
				
			||||||
 | 
					import fmt "fmt"
 | 
				
			||||||
 | 
					import math "math"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					import k8s_io_apimachinery_pkg_apis_meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					import strings "strings"
 | 
				
			||||||
 | 
					import reflect "reflect"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					import io "io"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// Reference imports to suppress errors if they are not otherwise used.
 | 
				
			||||||
 | 
					var _ = proto.Marshal
 | 
				
			||||||
 | 
					var _ = fmt.Errorf
 | 
				
			||||||
 | 
					var _ = math.Inf
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// This is a compile-time assertion to ensure that this generated file
 | 
				
			||||||
 | 
					// is compatible with the proto package it is being compiled against.
 | 
				
			||||||
 | 
					// A compilation error at this line likely means your copy of the
 | 
				
			||||||
 | 
					// proto package needs to be updated.
 | 
				
			||||||
 | 
					const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					func (m *Lease) Reset()                    { *m = Lease{} }
 | 
				
			||||||
 | 
					func (*Lease) ProtoMessage()               {}
 | 
				
			||||||
 | 
					func (*Lease) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{0} }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					func (m *LeaseList) Reset()                    { *m = LeaseList{} }
 | 
				
			||||||
 | 
					func (*LeaseList) ProtoMessage()               {}
 | 
				
			||||||
 | 
					func (*LeaseList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{1} }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					func (m *LeaseSpec) Reset()                    { *m = LeaseSpec{} }
 | 
				
			||||||
 | 
					func (*LeaseSpec) ProtoMessage()               {}
 | 
				
			||||||
 | 
					func (*LeaseSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{2} }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					func init() {
 | 
				
			||||||
 | 
						proto.RegisterType((*Lease)(nil), "k8s.io.api.coordination.v1.Lease")
 | 
				
			||||||
 | 
						proto.RegisterType((*LeaseList)(nil), "k8s.io.api.coordination.v1.LeaseList")
 | 
				
			||||||
 | 
						proto.RegisterType((*LeaseSpec)(nil), "k8s.io.api.coordination.v1.LeaseSpec")
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					func (m *Lease) Marshal() (dAtA []byte, err error) {
 | 
				
			||||||
 | 
						size := m.Size()
 | 
				
			||||||
 | 
						dAtA = make([]byte, size)
 | 
				
			||||||
 | 
						n, err := m.MarshalTo(dAtA)
 | 
				
			||||||
 | 
						if err != nil {
 | 
				
			||||||
 | 
							return nil, err
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
						return dAtA[:n], nil
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					func (m *Lease) MarshalTo(dAtA []byte) (int, error) {
 | 
				
			||||||
 | 
						var i int
 | 
				
			||||||
 | 
						_ = i
 | 
				
			||||||
 | 
						var l int
 | 
				
			||||||
 | 
						_ = l
 | 
				
			||||||
 | 
						dAtA[i] = 0xa
 | 
				
			||||||
 | 
						i++
 | 
				
			||||||
 | 
						i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size()))
 | 
				
			||||||
 | 
						n1, err := m.ObjectMeta.MarshalTo(dAtA[i:])
 | 
				
			||||||
 | 
						if err != nil {
 | 
				
			||||||
 | 
							return 0, err
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
						i += n1
 | 
				
			||||||
 | 
						dAtA[i] = 0x12
 | 
				
			||||||
 | 
						i++
 | 
				
			||||||
 | 
						i = encodeVarintGenerated(dAtA, i, uint64(m.Spec.Size()))
 | 
				
			||||||
 | 
						n2, err := m.Spec.MarshalTo(dAtA[i:])
 | 
				
			||||||
 | 
						if err != nil {
 | 
				
			||||||
 | 
							return 0, err
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
						i += n2
 | 
				
			||||||
 | 
						return i, nil
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					func (m *LeaseList) Marshal() (dAtA []byte, err error) {
 | 
				
			||||||
 | 
						size := m.Size()
 | 
				
			||||||
 | 
						dAtA = make([]byte, size)
 | 
				
			||||||
 | 
						n, err := m.MarshalTo(dAtA)
 | 
				
			||||||
 | 
						if err != nil {
 | 
				
			||||||
 | 
							return nil, err
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
						return dAtA[:n], nil
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					func (m *LeaseList) MarshalTo(dAtA []byte) (int, error) {
 | 
				
			||||||
 | 
						var i int
 | 
				
			||||||
 | 
						_ = i
 | 
				
			||||||
 | 
						var l int
 | 
				
			||||||
 | 
						_ = l
 | 
				
			||||||
 | 
						dAtA[i] = 0xa
 | 
				
			||||||
 | 
						i++
 | 
				
			||||||
 | 
						i = encodeVarintGenerated(dAtA, i, uint64(m.ListMeta.Size()))
 | 
				
			||||||
 | 
						n3, err := m.ListMeta.MarshalTo(dAtA[i:])
 | 
				
			||||||
 | 
						if err != nil {
 | 
				
			||||||
 | 
							return 0, err
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
						i += n3
 | 
				
			||||||
 | 
						if len(m.Items) > 0 {
 | 
				
			||||||
 | 
							for _, msg := range m.Items {
 | 
				
			||||||
 | 
								dAtA[i] = 0x12
 | 
				
			||||||
 | 
								i++
 | 
				
			||||||
 | 
								i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
 | 
				
			||||||
 | 
								n, err := msg.MarshalTo(dAtA[i:])
 | 
				
			||||||
 | 
								if err != nil {
 | 
				
			||||||
 | 
									return 0, err
 | 
				
			||||||
 | 
								}
 | 
				
			||||||
 | 
								i += n
 | 
				
			||||||
 | 
							}
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
						return i, nil
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					func (m *LeaseSpec) Marshal() (dAtA []byte, err error) {
 | 
				
			||||||
 | 
						size := m.Size()
 | 
				
			||||||
 | 
						dAtA = make([]byte, size)
 | 
				
			||||||
 | 
						n, err := m.MarshalTo(dAtA)
 | 
				
			||||||
 | 
						if err != nil {
 | 
				
			||||||
 | 
							return nil, err
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
						return dAtA[:n], nil
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					func (m *LeaseSpec) MarshalTo(dAtA []byte) (int, error) {
 | 
				
			||||||
 | 
						var i int
 | 
				
			||||||
 | 
						_ = i
 | 
				
			||||||
 | 
						var l int
 | 
				
			||||||
 | 
						_ = l
 | 
				
			||||||
 | 
						if m.HolderIdentity != nil {
 | 
				
			||||||
 | 
							dAtA[i] = 0xa
 | 
				
			||||||
 | 
							i++
 | 
				
			||||||
 | 
							i = encodeVarintGenerated(dAtA, i, uint64(len(*m.HolderIdentity)))
 | 
				
			||||||
 | 
							i += copy(dAtA[i:], *m.HolderIdentity)
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
						if m.LeaseDurationSeconds != nil {
 | 
				
			||||||
 | 
							dAtA[i] = 0x10
 | 
				
			||||||
 | 
							i++
 | 
				
			||||||
 | 
							i = encodeVarintGenerated(dAtA, i, uint64(*m.LeaseDurationSeconds))
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
						if m.AcquireTime != nil {
 | 
				
			||||||
 | 
							dAtA[i] = 0x1a
 | 
				
			||||||
 | 
							i++
 | 
				
			||||||
 | 
							i = encodeVarintGenerated(dAtA, i, uint64(m.AcquireTime.Size()))
 | 
				
			||||||
 | 
							n4, err := m.AcquireTime.MarshalTo(dAtA[i:])
 | 
				
			||||||
 | 
							if err != nil {
 | 
				
			||||||
 | 
								return 0, err
 | 
				
			||||||
 | 
							}
 | 
				
			||||||
 | 
							i += n4
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
						if m.RenewTime != nil {
 | 
				
			||||||
 | 
							dAtA[i] = 0x22
 | 
				
			||||||
 | 
							i++
 | 
				
			||||||
 | 
							i = encodeVarintGenerated(dAtA, i, uint64(m.RenewTime.Size()))
 | 
				
			||||||
 | 
							n5, err := m.RenewTime.MarshalTo(dAtA[i:])
 | 
				
			||||||
 | 
							if err != nil {
 | 
				
			||||||
 | 
								return 0, err
 | 
				
			||||||
 | 
							}
 | 
				
			||||||
 | 
							i += n5
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
						if m.LeaseTransitions != nil {
 | 
				
			||||||
 | 
							dAtA[i] = 0x28
 | 
				
			||||||
 | 
							i++
 | 
				
			||||||
 | 
							i = encodeVarintGenerated(dAtA, i, uint64(*m.LeaseTransitions))
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
						return i, nil
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					func encodeVarintGenerated(dAtA []byte, offset int, v uint64) int {
 | 
				
			||||||
 | 
						for v >= 1<<7 {
 | 
				
			||||||
 | 
							dAtA[offset] = uint8(v&0x7f | 0x80)
 | 
				
			||||||
 | 
							v >>= 7
 | 
				
			||||||
 | 
							offset++
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
						dAtA[offset] = uint8(v)
 | 
				
			||||||
 | 
						return offset + 1
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					func (m *Lease) Size() (n int) {
 | 
				
			||||||
 | 
						var l int
 | 
				
			||||||
 | 
						_ = l
 | 
				
			||||||
 | 
						l = m.ObjectMeta.Size()
 | 
				
			||||||
 | 
						n += 1 + l + sovGenerated(uint64(l))
 | 
				
			||||||
 | 
						l = m.Spec.Size()
 | 
				
			||||||
 | 
						n += 1 + l + sovGenerated(uint64(l))
 | 
				
			||||||
 | 
						return n
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					func (m *LeaseList) Size() (n int) {
 | 
				
			||||||
 | 
						var l int
 | 
				
			||||||
 | 
						_ = l
 | 
				
			||||||
 | 
						l = m.ListMeta.Size()
 | 
				
			||||||
 | 
						n += 1 + l + sovGenerated(uint64(l))
 | 
				
			||||||
 | 
						if len(m.Items) > 0 {
 | 
				
			||||||
 | 
							for _, e := range m.Items {
 | 
				
			||||||
 | 
								l = e.Size()
 | 
				
			||||||
 | 
								n += 1 + l + sovGenerated(uint64(l))
 | 
				
			||||||
 | 
							}
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
						return n
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					func (m *LeaseSpec) Size() (n int) {
 | 
				
			||||||
 | 
						var l int
 | 
				
			||||||
 | 
						_ = l
 | 
				
			||||||
 | 
						if m.HolderIdentity != nil {
 | 
				
			||||||
 | 
							l = len(*m.HolderIdentity)
 | 
				
			||||||
 | 
							n += 1 + l + sovGenerated(uint64(l))
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
						if m.LeaseDurationSeconds != nil {
 | 
				
			||||||
 | 
							n += 1 + sovGenerated(uint64(*m.LeaseDurationSeconds))
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
						if m.AcquireTime != nil {
 | 
				
			||||||
 | 
							l = m.AcquireTime.Size()
 | 
				
			||||||
 | 
							n += 1 + l + sovGenerated(uint64(l))
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
						if m.RenewTime != nil {
 | 
				
			||||||
 | 
							l = m.RenewTime.Size()
 | 
				
			||||||
 | 
							n += 1 + l + sovGenerated(uint64(l))
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
						if m.LeaseTransitions != nil {
 | 
				
			||||||
 | 
							n += 1 + sovGenerated(uint64(*m.LeaseTransitions))
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
						return n
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					func sovGenerated(x uint64) (n int) {
 | 
				
			||||||
 | 
						for {
 | 
				
			||||||
 | 
							n++
 | 
				
			||||||
 | 
							x >>= 7
 | 
				
			||||||
 | 
							if x == 0 {
 | 
				
			||||||
 | 
								break
 | 
				
			||||||
 | 
							}
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
						return n
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					func sozGenerated(x uint64) (n int) {
 | 
				
			||||||
 | 
						return sovGenerated(uint64((x << 1) ^ uint64((int64(x) >> 63))))
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					func (this *Lease) String() string {
 | 
				
			||||||
 | 
						if this == nil {
 | 
				
			||||||
 | 
							return "nil"
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
						s := strings.Join([]string{`&Lease{`,
 | 
				
			||||||
 | 
							`ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
 | 
				
			||||||
 | 
							`Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "LeaseSpec", "LeaseSpec", 1), `&`, ``, 1) + `,`,
 | 
				
			||||||
 | 
							`}`,
 | 
				
			||||||
 | 
						}, "")
 | 
				
			||||||
 | 
						return s
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					func (this *LeaseList) String() string {
 | 
				
			||||||
 | 
						if this == nil {
 | 
				
			||||||
 | 
							return "nil"
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
						s := strings.Join([]string{`&LeaseList{`,
 | 
				
			||||||
 | 
							`ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`,
 | 
				
			||||||
 | 
							`Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "Lease", "Lease", 1), `&`, ``, 1) + `,`,
 | 
				
			||||||
 | 
							`}`,
 | 
				
			||||||
 | 
						}, "")
 | 
				
			||||||
 | 
						return s
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					func (this *LeaseSpec) String() string {
 | 
				
			||||||
 | 
						if this == nil {
 | 
				
			||||||
 | 
							return "nil"
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
						s := strings.Join([]string{`&LeaseSpec{`,
 | 
				
			||||||
 | 
							`HolderIdentity:` + valueToStringGenerated(this.HolderIdentity) + `,`,
 | 
				
			||||||
 | 
							`LeaseDurationSeconds:` + valueToStringGenerated(this.LeaseDurationSeconds) + `,`,
 | 
				
			||||||
 | 
							`AcquireTime:` + strings.Replace(fmt.Sprintf("%v", this.AcquireTime), "MicroTime", "k8s_io_apimachinery_pkg_apis_meta_v1.MicroTime", 1) + `,`,
 | 
				
			||||||
 | 
							`RenewTime:` + strings.Replace(fmt.Sprintf("%v", this.RenewTime), "MicroTime", "k8s_io_apimachinery_pkg_apis_meta_v1.MicroTime", 1) + `,`,
 | 
				
			||||||
 | 
							`LeaseTransitions:` + valueToStringGenerated(this.LeaseTransitions) + `,`,
 | 
				
			||||||
 | 
							`}`,
 | 
				
			||||||
 | 
						}, "")
 | 
				
			||||||
 | 
						return s
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					func valueToStringGenerated(v interface{}) string {
 | 
				
			||||||
 | 
						rv := reflect.ValueOf(v)
 | 
				
			||||||
 | 
						if rv.IsNil() {
 | 
				
			||||||
 | 
							return "nil"
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
						pv := reflect.Indirect(rv).Interface()
 | 
				
			||||||
 | 
						return fmt.Sprintf("*%v", pv)
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					func (m *Lease) Unmarshal(dAtA []byte) error {
 | 
				
			||||||
 | 
						l := len(dAtA)
 | 
				
			||||||
 | 
						iNdEx := 0
 | 
				
			||||||
 | 
						for iNdEx < l {
 | 
				
			||||||
 | 
							preIndex := iNdEx
 | 
				
			||||||
 | 
							var wire uint64
 | 
				
			||||||
 | 
							for shift := uint(0); ; shift += 7 {
 | 
				
			||||||
 | 
								if shift >= 64 {
 | 
				
			||||||
 | 
									return ErrIntOverflowGenerated
 | 
				
			||||||
 | 
								}
 | 
				
			||||||
 | 
								if iNdEx >= l {
 | 
				
			||||||
 | 
									return io.ErrUnexpectedEOF
 | 
				
			||||||
 | 
								}
 | 
				
			||||||
 | 
								b := dAtA[iNdEx]
 | 
				
			||||||
 | 
								iNdEx++
 | 
				
			||||||
 | 
								wire |= (uint64(b) & 0x7F) << shift
 | 
				
			||||||
 | 
								if b < 0x80 {
 | 
				
			||||||
 | 
									break
 | 
				
			||||||
 | 
								}
 | 
				
			||||||
 | 
							}
 | 
				
			||||||
 | 
							fieldNum := int32(wire >> 3)
 | 
				
			||||||
 | 
							wireType := int(wire & 0x7)
 | 
				
			||||||
 | 
							if wireType == 4 {
 | 
				
			||||||
 | 
								return fmt.Errorf("proto: Lease: wiretype end group for non-group")
 | 
				
			||||||
 | 
							}
 | 
				
			||||||
 | 
							if fieldNum <= 0 {
 | 
				
			||||||
 | 
								return fmt.Errorf("proto: Lease: illegal tag %d (wire type %d)", fieldNum, wire)
 | 
				
			||||||
 | 
							}
 | 
				
			||||||
 | 
							switch fieldNum {
 | 
				
			||||||
 | 
							case 1:
 | 
				
			||||||
 | 
								if wireType != 2 {
 | 
				
			||||||
 | 
									return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
 | 
				
			||||||
 | 
								}
 | 
				
			||||||
 | 
								var msglen int
 | 
				
			||||||
 | 
								for shift := uint(0); ; shift += 7 {
 | 
				
			||||||
 | 
									if shift >= 64 {
 | 
				
			||||||
 | 
										return ErrIntOverflowGenerated
 | 
				
			||||||
 | 
									}
 | 
				
			||||||
 | 
									if iNdEx >= l {
 | 
				
			||||||
 | 
										return io.ErrUnexpectedEOF
 | 
				
			||||||
 | 
									}
 | 
				
			||||||
 | 
									b := dAtA[iNdEx]
 | 
				
			||||||
 | 
									iNdEx++
 | 
				
			||||||
 | 
									msglen |= (int(b) & 0x7F) << shift
 | 
				
			||||||
 | 
									if b < 0x80 {
 | 
				
			||||||
 | 
										break
 | 
				
			||||||
 | 
									}
 | 
				
			||||||
 | 
								}
 | 
				
			||||||
 | 
								if msglen < 0 {
 | 
				
			||||||
 | 
									return ErrInvalidLengthGenerated
 | 
				
			||||||
 | 
								}
 | 
				
			||||||
 | 
								postIndex := iNdEx + msglen
 | 
				
			||||||
 | 
								if postIndex > l {
 | 
				
			||||||
 | 
									return io.ErrUnexpectedEOF
 | 
				
			||||||
 | 
								}
 | 
				
			||||||
 | 
								if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 | 
				
			||||||
 | 
									return err
 | 
				
			||||||
 | 
								}
 | 
				
			||||||
 | 
								iNdEx = postIndex
 | 
				
			||||||
 | 
							case 2:
 | 
				
			||||||
 | 
								if wireType != 2 {
 | 
				
			||||||
 | 
									return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType)
 | 
				
			||||||
 | 
								}
 | 
				
			||||||
 | 
								var msglen int
 | 
				
			||||||
 | 
								for shift := uint(0); ; shift += 7 {
 | 
				
			||||||
 | 
									if shift >= 64 {
 | 
				
			||||||
 | 
										return ErrIntOverflowGenerated
 | 
				
			||||||
 | 
									}
 | 
				
			||||||
 | 
									if iNdEx >= l {
 | 
				
			||||||
 | 
										return io.ErrUnexpectedEOF
 | 
				
			||||||
 | 
									}
 | 
				
			||||||
 | 
									b := dAtA[iNdEx]
 | 
				
			||||||
 | 
									iNdEx++
 | 
				
			||||||
 | 
									msglen |= (int(b) & 0x7F) << shift
 | 
				
			||||||
 | 
									if b < 0x80 {
 | 
				
			||||||
 | 
										break
 | 
				
			||||||
 | 
									}
 | 
				
			||||||
 | 
								}
 | 
				
			||||||
 | 
								if msglen < 0 {
 | 
				
			||||||
 | 
									return ErrInvalidLengthGenerated
 | 
				
			||||||
 | 
								}
 | 
				
			||||||
 | 
								postIndex := iNdEx + msglen
 | 
				
			||||||
 | 
								if postIndex > l {
 | 
				
			||||||
 | 
									return io.ErrUnexpectedEOF
 | 
				
			||||||
 | 
								}
 | 
				
			||||||
 | 
								if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 | 
				
			||||||
 | 
									return err
 | 
				
			||||||
 | 
								}
 | 
				
			||||||
 | 
								iNdEx = postIndex
 | 
				
			||||||
 | 
							default:
 | 
				
			||||||
 | 
								iNdEx = preIndex
 | 
				
			||||||
 | 
								skippy, err := skipGenerated(dAtA[iNdEx:])
 | 
				
			||||||
 | 
								if err != nil {
 | 
				
			||||||
 | 
									return err
 | 
				
			||||||
 | 
								}
 | 
				
			||||||
 | 
								if skippy < 0 {
 | 
				
			||||||
 | 
									return ErrInvalidLengthGenerated
 | 
				
			||||||
 | 
								}
 | 
				
			||||||
 | 
								if (iNdEx + skippy) > l {
 | 
				
			||||||
 | 
									return io.ErrUnexpectedEOF
 | 
				
			||||||
 | 
								}
 | 
				
			||||||
 | 
								iNdEx += skippy
 | 
				
			||||||
 | 
							}
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						if iNdEx > l {
 | 
				
			||||||
 | 
							return io.ErrUnexpectedEOF
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
						return nil
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					func (m *LeaseList) Unmarshal(dAtA []byte) error {
 | 
				
			||||||
 | 
						l := len(dAtA)
 | 
				
			||||||
 | 
						iNdEx := 0
 | 
				
			||||||
 | 
						for iNdEx < l {
 | 
				
			||||||
 | 
							preIndex := iNdEx
 | 
				
			||||||
 | 
							var wire uint64
 | 
				
			||||||
 | 
							for shift := uint(0); ; shift += 7 {
 | 
				
			||||||
 | 
								if shift >= 64 {
 | 
				
			||||||
 | 
									return ErrIntOverflowGenerated
 | 
				
			||||||
 | 
								}
 | 
				
			||||||
 | 
								if iNdEx >= l {
 | 
				
			||||||
 | 
									return io.ErrUnexpectedEOF
 | 
				
			||||||
 | 
								}
 | 
				
			||||||
 | 
								b := dAtA[iNdEx]
 | 
				
			||||||
 | 
								iNdEx++
 | 
				
			||||||
 | 
								wire |= (uint64(b) & 0x7F) << shift
 | 
				
			||||||
 | 
								if b < 0x80 {
 | 
				
			||||||
 | 
									break
 | 
				
			||||||
 | 
								}
 | 
				
			||||||
 | 
							}
 | 
				
			||||||
 | 
							fieldNum := int32(wire >> 3)
 | 
				
			||||||
 | 
							wireType := int(wire & 0x7)
 | 
				
			||||||
 | 
							if wireType == 4 {
 | 
				
			||||||
 | 
								return fmt.Errorf("proto: LeaseList: wiretype end group for non-group")
 | 
				
			||||||
 | 
							}
 | 
				
			||||||
 | 
							if fieldNum <= 0 {
 | 
				
			||||||
 | 
								return fmt.Errorf("proto: LeaseList: illegal tag %d (wire type %d)", fieldNum, wire)
 | 
				
			||||||
 | 
							}
 | 
				
			||||||
 | 
							switch fieldNum {
 | 
				
			||||||
 | 
							case 1:
 | 
				
			||||||
 | 
								if wireType != 2 {
 | 
				
			||||||
 | 
									return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
 | 
				
			||||||
 | 
								}
 | 
				
			||||||
 | 
								var msglen int
 | 
				
			||||||
 | 
								for shift := uint(0); ; shift += 7 {
 | 
				
			||||||
 | 
									if shift >= 64 {
 | 
				
			||||||
 | 
										return ErrIntOverflowGenerated
 | 
				
			||||||
 | 
									}
 | 
				
			||||||
 | 
									if iNdEx >= l {
 | 
				
			||||||
 | 
										return io.ErrUnexpectedEOF
 | 
				
			||||||
 | 
									}
 | 
				
			||||||
 | 
									b := dAtA[iNdEx]
 | 
				
			||||||
 | 
									iNdEx++
 | 
				
			||||||
 | 
									msglen |= (int(b) & 0x7F) << shift
 | 
				
			||||||
 | 
									if b < 0x80 {
 | 
				
			||||||
 | 
										break
 | 
				
			||||||
 | 
									}
 | 
				
			||||||
 | 
								}
 | 
				
			||||||
 | 
								if msglen < 0 {
 | 
				
			||||||
 | 
									return ErrInvalidLengthGenerated
 | 
				
			||||||
 | 
								}
 | 
				
			||||||
 | 
								postIndex := iNdEx + msglen
 | 
				
			||||||
 | 
								if postIndex > l {
 | 
				
			||||||
 | 
									return io.ErrUnexpectedEOF
 | 
				
			||||||
 | 
								}
 | 
				
			||||||
 | 
								if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 | 
				
			||||||
 | 
									return err
 | 
				
			||||||
 | 
								}
 | 
				
			||||||
 | 
								iNdEx = postIndex
 | 
				
			||||||
 | 
							case 2:
 | 
				
			||||||
 | 
								if wireType != 2 {
 | 
				
			||||||
 | 
									return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
 | 
				
			||||||
 | 
								}
 | 
				
			||||||
 | 
								var msglen int
 | 
				
			||||||
 | 
								for shift := uint(0); ; shift += 7 {
 | 
				
			||||||
 | 
									if shift >= 64 {
 | 
				
			||||||
 | 
										return ErrIntOverflowGenerated
 | 
				
			||||||
 | 
									}
 | 
				
			||||||
 | 
									if iNdEx >= l {
 | 
				
			||||||
 | 
										return io.ErrUnexpectedEOF
 | 
				
			||||||
 | 
									}
 | 
				
			||||||
 | 
									b := dAtA[iNdEx]
 | 
				
			||||||
 | 
									iNdEx++
 | 
				
			||||||
 | 
									msglen |= (int(b) & 0x7F) << shift
 | 
				
			||||||
 | 
									if b < 0x80 {
 | 
				
			||||||
 | 
										break
 | 
				
			||||||
 | 
									}
 | 
				
			||||||
 | 
								}
 | 
				
			||||||
 | 
								if msglen < 0 {
 | 
				
			||||||
 | 
									return ErrInvalidLengthGenerated
 | 
				
			||||||
 | 
								}
 | 
				
			||||||
 | 
								postIndex := iNdEx + msglen
 | 
				
			||||||
 | 
								if postIndex > l {
 | 
				
			||||||
 | 
									return io.ErrUnexpectedEOF
 | 
				
			||||||
 | 
								}
 | 
				
			||||||
 | 
								m.Items = append(m.Items, Lease{})
 | 
				
			||||||
 | 
								if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 | 
				
			||||||
 | 
									return err
 | 
				
			||||||
 | 
								}
 | 
				
			||||||
 | 
								iNdEx = postIndex
 | 
				
			||||||
 | 
							default:
 | 
				
			||||||
 | 
								iNdEx = preIndex
 | 
				
			||||||
 | 
								skippy, err := skipGenerated(dAtA[iNdEx:])
 | 
				
			||||||
 | 
								if err != nil {
 | 
				
			||||||
 | 
									return err
 | 
				
			||||||
 | 
								}
 | 
				
			||||||
 | 
								if skippy < 0 {
 | 
				
			||||||
 | 
									return ErrInvalidLengthGenerated
 | 
				
			||||||
 | 
								}
 | 
				
			||||||
 | 
								if (iNdEx + skippy) > l {
 | 
				
			||||||
 | 
									return io.ErrUnexpectedEOF
 | 
				
			||||||
 | 
								}
 | 
				
			||||||
 | 
								iNdEx += skippy
 | 
				
			||||||
 | 
							}
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						if iNdEx > l {
 | 
				
			||||||
 | 
							return io.ErrUnexpectedEOF
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
						return nil
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					func (m *LeaseSpec) Unmarshal(dAtA []byte) error {
 | 
				
			||||||
 | 
						l := len(dAtA)
 | 
				
			||||||
 | 
						iNdEx := 0
 | 
				
			||||||
 | 
						for iNdEx < l {
 | 
				
			||||||
 | 
							preIndex := iNdEx
 | 
				
			||||||
 | 
							var wire uint64
 | 
				
			||||||
 | 
							for shift := uint(0); ; shift += 7 {
 | 
				
			||||||
 | 
								if shift >= 64 {
 | 
				
			||||||
 | 
									return ErrIntOverflowGenerated
 | 
				
			||||||
 | 
								}
 | 
				
			||||||
 | 
								if iNdEx >= l {
 | 
				
			||||||
 | 
									return io.ErrUnexpectedEOF
 | 
				
			||||||
 | 
								}
 | 
				
			||||||
 | 
								b := dAtA[iNdEx]
 | 
				
			||||||
 | 
								iNdEx++
 | 
				
			||||||
 | 
								wire |= (uint64(b) & 0x7F) << shift
 | 
				
			||||||
 | 
								if b < 0x80 {
 | 
				
			||||||
 | 
									break
 | 
				
			||||||
 | 
								}
 | 
				
			||||||
 | 
							}
 | 
				
			||||||
 | 
							fieldNum := int32(wire >> 3)
 | 
				
			||||||
 | 
							wireType := int(wire & 0x7)
 | 
				
			||||||
 | 
							if wireType == 4 {
 | 
				
			||||||
 | 
								return fmt.Errorf("proto: LeaseSpec: wiretype end group for non-group")
 | 
				
			||||||
 | 
							}
 | 
				
			||||||
 | 
							if fieldNum <= 0 {
 | 
				
			||||||
 | 
								return fmt.Errorf("proto: LeaseSpec: illegal tag %d (wire type %d)", fieldNum, wire)
 | 
				
			||||||
 | 
							}
 | 
				
			||||||
 | 
							switch fieldNum {
 | 
				
			||||||
 | 
							case 1:
 | 
				
			||||||
 | 
								if wireType != 2 {
 | 
				
			||||||
 | 
									return fmt.Errorf("proto: wrong wireType = %d for field HolderIdentity", wireType)
 | 
				
			||||||
 | 
								}
 | 
				
			||||||
 | 
								var stringLen uint64
 | 
				
			||||||
 | 
								for shift := uint(0); ; shift += 7 {
 | 
				
			||||||
 | 
									if shift >= 64 {
 | 
				
			||||||
 | 
										return ErrIntOverflowGenerated
 | 
				
			||||||
 | 
									}
 | 
				
			||||||
 | 
									if iNdEx >= l {
 | 
				
			||||||
 | 
										return io.ErrUnexpectedEOF
 | 
				
			||||||
 | 
									}
 | 
				
			||||||
 | 
									b := dAtA[iNdEx]
 | 
				
			||||||
 | 
									iNdEx++
 | 
				
			||||||
 | 
									stringLen |= (uint64(b) & 0x7F) << shift
 | 
				
			||||||
 | 
									if b < 0x80 {
 | 
				
			||||||
 | 
										break
 | 
				
			||||||
 | 
									}
 | 
				
			||||||
 | 
								}
 | 
				
			||||||
 | 
								intStringLen := int(stringLen)
 | 
				
			||||||
 | 
								if intStringLen < 0 {
 | 
				
			||||||
 | 
									return ErrInvalidLengthGenerated
 | 
				
			||||||
 | 
								}
 | 
				
			||||||
 | 
								postIndex := iNdEx + intStringLen
 | 
				
			||||||
 | 
								if postIndex > l {
 | 
				
			||||||
 | 
									return io.ErrUnexpectedEOF
 | 
				
			||||||
 | 
								}
 | 
				
			||||||
 | 
								s := string(dAtA[iNdEx:postIndex])
 | 
				
			||||||
 | 
								m.HolderIdentity = &s
 | 
				
			||||||
 | 
								iNdEx = postIndex
 | 
				
			||||||
 | 
							case 2:
 | 
				
			||||||
 | 
								if wireType != 0 {
 | 
				
			||||||
 | 
									return fmt.Errorf("proto: wrong wireType = %d for field LeaseDurationSeconds", wireType)
 | 
				
			||||||
 | 
								}
 | 
				
			||||||
 | 
								var v int32
 | 
				
			||||||
 | 
								for shift := uint(0); ; shift += 7 {
 | 
				
			||||||
 | 
									if shift >= 64 {
 | 
				
			||||||
 | 
										return ErrIntOverflowGenerated
 | 
				
			||||||
 | 
									}
 | 
				
			||||||
 | 
									if iNdEx >= l {
 | 
				
			||||||
 | 
										return io.ErrUnexpectedEOF
 | 
				
			||||||
 | 
									}
 | 
				
			||||||
 | 
									b := dAtA[iNdEx]
 | 
				
			||||||
 | 
									iNdEx++
 | 
				
			||||||
 | 
									v |= (int32(b) & 0x7F) << shift
 | 
				
			||||||
 | 
									if b < 0x80 {
 | 
				
			||||||
 | 
										break
 | 
				
			||||||
 | 
									}
 | 
				
			||||||
 | 
								}
 | 
				
			||||||
 | 
								m.LeaseDurationSeconds = &v
 | 
				
			||||||
 | 
							case 3:
 | 
				
			||||||
 | 
								if wireType != 2 {
 | 
				
			||||||
 | 
									return fmt.Errorf("proto: wrong wireType = %d for field AcquireTime", wireType)
 | 
				
			||||||
 | 
								}
 | 
				
			||||||
 | 
								var msglen int
 | 
				
			||||||
 | 
								for shift := uint(0); ; shift += 7 {
 | 
				
			||||||
 | 
									if shift >= 64 {
 | 
				
			||||||
 | 
										return ErrIntOverflowGenerated
 | 
				
			||||||
 | 
									}
 | 
				
			||||||
 | 
									if iNdEx >= l {
 | 
				
			||||||
 | 
										return io.ErrUnexpectedEOF
 | 
				
			||||||
 | 
									}
 | 
				
			||||||
 | 
									b := dAtA[iNdEx]
 | 
				
			||||||
 | 
									iNdEx++
 | 
				
			||||||
 | 
									msglen |= (int(b) & 0x7F) << shift
 | 
				
			||||||
 | 
									if b < 0x80 {
 | 
				
			||||||
 | 
										break
 | 
				
			||||||
 | 
									}
 | 
				
			||||||
 | 
								}
 | 
				
			||||||
 | 
								if msglen < 0 {
 | 
				
			||||||
 | 
									return ErrInvalidLengthGenerated
 | 
				
			||||||
 | 
								}
 | 
				
			||||||
 | 
								postIndex := iNdEx + msglen
 | 
				
			||||||
 | 
								if postIndex > l {
 | 
				
			||||||
 | 
									return io.ErrUnexpectedEOF
 | 
				
			||||||
 | 
								}
 | 
				
			||||||
 | 
								if m.AcquireTime == nil {
 | 
				
			||||||
 | 
									m.AcquireTime = &k8s_io_apimachinery_pkg_apis_meta_v1.MicroTime{}
 | 
				
			||||||
 | 
								}
 | 
				
			||||||
 | 
								if err := m.AcquireTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 | 
				
			||||||
 | 
									return err
 | 
				
			||||||
 | 
								}
 | 
				
			||||||
 | 
								iNdEx = postIndex
 | 
				
			||||||
 | 
							case 4:
 | 
				
			||||||
 | 
								if wireType != 2 {
 | 
				
			||||||
 | 
									return fmt.Errorf("proto: wrong wireType = %d for field RenewTime", wireType)
 | 
				
			||||||
 | 
								}
 | 
				
			||||||
 | 
								var msglen int
 | 
				
			||||||
 | 
								for shift := uint(0); ; shift += 7 {
 | 
				
			||||||
 | 
									if shift >= 64 {
 | 
				
			||||||
 | 
										return ErrIntOverflowGenerated
 | 
				
			||||||
 | 
									}
 | 
				
			||||||
 | 
									if iNdEx >= l {
 | 
				
			||||||
 | 
										return io.ErrUnexpectedEOF
 | 
				
			||||||
 | 
									}
 | 
				
			||||||
 | 
									b := dAtA[iNdEx]
 | 
				
			||||||
 | 
									iNdEx++
 | 
				
			||||||
 | 
									msglen |= (int(b) & 0x7F) << shift
 | 
				
			||||||
 | 
									if b < 0x80 {
 | 
				
			||||||
 | 
										break
 | 
				
			||||||
 | 
									}
 | 
				
			||||||
 | 
								}
 | 
				
			||||||
 | 
								if msglen < 0 {
 | 
				
			||||||
 | 
									return ErrInvalidLengthGenerated
 | 
				
			||||||
 | 
								}
 | 
				
			||||||
 | 
								postIndex := iNdEx + msglen
 | 
				
			||||||
 | 
								if postIndex > l {
 | 
				
			||||||
 | 
									return io.ErrUnexpectedEOF
 | 
				
			||||||
 | 
								}
 | 
				
			||||||
 | 
								if m.RenewTime == nil {
 | 
				
			||||||
 | 
									m.RenewTime = &k8s_io_apimachinery_pkg_apis_meta_v1.MicroTime{}
 | 
				
			||||||
 | 
								}
 | 
				
			||||||
 | 
								if err := m.RenewTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 | 
				
			||||||
 | 
									return err
 | 
				
			||||||
 | 
								}
 | 
				
			||||||
 | 
								iNdEx = postIndex
 | 
				
			||||||
 | 
							case 5:
 | 
				
			||||||
 | 
								if wireType != 0 {
 | 
				
			||||||
 | 
									return fmt.Errorf("proto: wrong wireType = %d for field LeaseTransitions", wireType)
 | 
				
			||||||
 | 
								}
 | 
				
			||||||
 | 
								var v int32
 | 
				
			||||||
 | 
								for shift := uint(0); ; shift += 7 {
 | 
				
			||||||
 | 
									if shift >= 64 {
 | 
				
			||||||
 | 
										return ErrIntOverflowGenerated
 | 
				
			||||||
 | 
									}
 | 
				
			||||||
 | 
									if iNdEx >= l {
 | 
				
			||||||
 | 
										return io.ErrUnexpectedEOF
 | 
				
			||||||
 | 
									}
 | 
				
			||||||
 | 
									b := dAtA[iNdEx]
 | 
				
			||||||
 | 
									iNdEx++
 | 
				
			||||||
 | 
									v |= (int32(b) & 0x7F) << shift
 | 
				
			||||||
 | 
									if b < 0x80 {
 | 
				
			||||||
 | 
										break
 | 
				
			||||||
 | 
									}
 | 
				
			||||||
 | 
								}
 | 
				
			||||||
 | 
								m.LeaseTransitions = &v
 | 
				
			||||||
 | 
							default:
 | 
				
			||||||
 | 
								iNdEx = preIndex
 | 
				
			||||||
 | 
								skippy, err := skipGenerated(dAtA[iNdEx:])
 | 
				
			||||||
 | 
								if err != nil {
 | 
				
			||||||
 | 
									return err
 | 
				
			||||||
 | 
								}
 | 
				
			||||||
 | 
								if skippy < 0 {
 | 
				
			||||||
 | 
									return ErrInvalidLengthGenerated
 | 
				
			||||||
 | 
								}
 | 
				
			||||||
 | 
								if (iNdEx + skippy) > l {
 | 
				
			||||||
 | 
									return io.ErrUnexpectedEOF
 | 
				
			||||||
 | 
								}
 | 
				
			||||||
 | 
								iNdEx += skippy
 | 
				
			||||||
 | 
							}
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						if iNdEx > l {
 | 
				
			||||||
 | 
							return io.ErrUnexpectedEOF
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
						return nil
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					func skipGenerated(dAtA []byte) (n int, err error) {
 | 
				
			||||||
 | 
						l := len(dAtA)
 | 
				
			||||||
 | 
						iNdEx := 0
 | 
				
			||||||
 | 
						for iNdEx < l {
 | 
				
			||||||
 | 
							var wire uint64
 | 
				
			||||||
 | 
							for shift := uint(0); ; shift += 7 {
 | 
				
			||||||
 | 
								if shift >= 64 {
 | 
				
			||||||
 | 
									return 0, ErrIntOverflowGenerated
 | 
				
			||||||
 | 
								}
 | 
				
			||||||
 | 
								if iNdEx >= l {
 | 
				
			||||||
 | 
									return 0, io.ErrUnexpectedEOF
 | 
				
			||||||
 | 
								}
 | 
				
			||||||
 | 
								b := dAtA[iNdEx]
 | 
				
			||||||
 | 
								iNdEx++
 | 
				
			||||||
 | 
								wire |= (uint64(b) & 0x7F) << shift
 | 
				
			||||||
 | 
								if b < 0x80 {
 | 
				
			||||||
 | 
									break
 | 
				
			||||||
 | 
								}
 | 
				
			||||||
 | 
							}
 | 
				
			||||||
 | 
							wireType := int(wire & 0x7)
 | 
				
			||||||
 | 
							switch wireType {
 | 
				
			||||||
 | 
							case 0:
 | 
				
			||||||
 | 
								for shift := uint(0); ; shift += 7 {
 | 
				
			||||||
 | 
									if shift >= 64 {
 | 
				
			||||||
 | 
										return 0, ErrIntOverflowGenerated
 | 
				
			||||||
 | 
									}
 | 
				
			||||||
 | 
									if iNdEx >= l {
 | 
				
			||||||
 | 
										return 0, io.ErrUnexpectedEOF
 | 
				
			||||||
 | 
									}
 | 
				
			||||||
 | 
									iNdEx++
 | 
				
			||||||
 | 
									if dAtA[iNdEx-1] < 0x80 {
 | 
				
			||||||
 | 
										break
 | 
				
			||||||
 | 
									}
 | 
				
			||||||
 | 
								}
 | 
				
			||||||
 | 
								return iNdEx, nil
 | 
				
			||||||
 | 
							case 1:
 | 
				
			||||||
 | 
								iNdEx += 8
 | 
				
			||||||
 | 
								return iNdEx, nil
 | 
				
			||||||
 | 
							case 2:
 | 
				
			||||||
 | 
								var length int
 | 
				
			||||||
 | 
								for shift := uint(0); ; shift += 7 {
 | 
				
			||||||
 | 
									if shift >= 64 {
 | 
				
			||||||
 | 
										return 0, ErrIntOverflowGenerated
 | 
				
			||||||
 | 
									}
 | 
				
			||||||
 | 
									if iNdEx >= l {
 | 
				
			||||||
 | 
										return 0, io.ErrUnexpectedEOF
 | 
				
			||||||
 | 
									}
 | 
				
			||||||
 | 
									b := dAtA[iNdEx]
 | 
				
			||||||
 | 
									iNdEx++
 | 
				
			||||||
 | 
									length |= (int(b) & 0x7F) << shift
 | 
				
			||||||
 | 
									if b < 0x80 {
 | 
				
			||||||
 | 
										break
 | 
				
			||||||
 | 
									}
 | 
				
			||||||
 | 
								}
 | 
				
			||||||
 | 
								iNdEx += length
 | 
				
			||||||
 | 
								if length < 0 {
 | 
				
			||||||
 | 
									return 0, ErrInvalidLengthGenerated
 | 
				
			||||||
 | 
								}
 | 
				
			||||||
 | 
								return iNdEx, nil
 | 
				
			||||||
 | 
							case 3:
 | 
				
			||||||
 | 
								for {
 | 
				
			||||||
 | 
									var innerWire uint64
 | 
				
			||||||
 | 
									var start int = iNdEx
 | 
				
			||||||
 | 
									for shift := uint(0); ; shift += 7 {
 | 
				
			||||||
 | 
										if shift >= 64 {
 | 
				
			||||||
 | 
											return 0, ErrIntOverflowGenerated
 | 
				
			||||||
 | 
										}
 | 
				
			||||||
 | 
										if iNdEx >= l {
 | 
				
			||||||
 | 
											return 0, io.ErrUnexpectedEOF
 | 
				
			||||||
 | 
										}
 | 
				
			||||||
 | 
										b := dAtA[iNdEx]
 | 
				
			||||||
 | 
										iNdEx++
 | 
				
			||||||
 | 
										innerWire |= (uint64(b) & 0x7F) << shift
 | 
				
			||||||
 | 
										if b < 0x80 {
 | 
				
			||||||
 | 
											break
 | 
				
			||||||
 | 
										}
 | 
				
			||||||
 | 
									}
 | 
				
			||||||
 | 
									innerWireType := int(innerWire & 0x7)
 | 
				
			||||||
 | 
									if innerWireType == 4 {
 | 
				
			||||||
 | 
										break
 | 
				
			||||||
 | 
									}
 | 
				
			||||||
 | 
									next, err := skipGenerated(dAtA[start:])
 | 
				
			||||||
 | 
									if err != nil {
 | 
				
			||||||
 | 
										return 0, err
 | 
				
			||||||
 | 
									}
 | 
				
			||||||
 | 
									iNdEx = start + next
 | 
				
			||||||
 | 
								}
 | 
				
			||||||
 | 
								return iNdEx, nil
 | 
				
			||||||
 | 
							case 4:
 | 
				
			||||||
 | 
								return iNdEx, nil
 | 
				
			||||||
 | 
							case 5:
 | 
				
			||||||
 | 
								iNdEx += 4
 | 
				
			||||||
 | 
								return iNdEx, nil
 | 
				
			||||||
 | 
							default:
 | 
				
			||||||
 | 
								return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
 | 
				
			||||||
 | 
							}
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
						panic("unreachable")
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					var (
 | 
				
			||||||
 | 
						ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling")
 | 
				
			||||||
 | 
						ErrIntOverflowGenerated   = fmt.Errorf("proto: integer overflow")
 | 
				
			||||||
 | 
					)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					func init() {
 | 
				
			||||||
 | 
						proto.RegisterFile("k8s.io/kubernetes/vendor/k8s.io/api/coordination/v1/generated.proto", fileDescriptorGenerated)
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					var fileDescriptorGenerated = []byte{
 | 
				
			||||||
 | 
						// 535 bytes of a gzipped FileDescriptorProto
 | 
				
			||||||
 | 
						0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x90, 0xc1, 0x6e, 0xd3, 0x40,
 | 
				
			||||||
 | 
						0x10, 0x86, 0xe3, 0x36, 0x91, 0x9a, 0x0d, 0x2d, 0x91, 0x95, 0x83, 0x95, 0x83, 0x5d, 0x22, 0x21,
 | 
				
			||||||
 | 
						0xe5, 0xc2, 0x2e, 0xa9, 0x10, 0x42, 0x9c, 0xc0, 0x20, 0xa0, 0x52, 0x2a, 0x24, 0xb7, 0x27, 0xd4,
 | 
				
			||||||
 | 
						0x03, 0x1b, 0x7b, 0x70, 0x96, 0xd4, 0x5e, 0xb3, 0xbb, 0x0e, 0xea, 0x8d, 0x47, 0xe0, 0xca, 0x63,
 | 
				
			||||||
 | 
						0xc0, 0x53, 0xe4, 0xd8, 0x63, 0x4f, 0x16, 0x31, 0x2f, 0x82, 0x76, 0x93, 0x36, 0x21, 0x49, 0xd5,
 | 
				
			||||||
 | 
						0x8a, 0xdb, 0xee, 0xcc, 0xfc, 0xdf, 0xfc, 0xf3, 0xa3, 0x57, 0xa3, 0x67, 0x12, 0x33, 0x4e, 0x46,
 | 
				
			||||||
 | 
						0xf9, 0x00, 0x44, 0x0a, 0x0a, 0x24, 0x19, 0x43, 0x1a, 0x71, 0x41, 0xe6, 0x0d, 0x9a, 0x31, 0x12,
 | 
				
			||||||
 | 
						0x72, 0x2e, 0x22, 0x96, 0x52, 0xc5, 0x78, 0x4a, 0xc6, 0x3d, 0x12, 0x43, 0x0a, 0x82, 0x2a, 0x88,
 | 
				
			||||||
 | 
						0x70, 0x26, 0xb8, 0xe2, 0x76, 0x7b, 0x36, 0x8b, 0x69, 0xc6, 0xf0, 0xf2, 0x2c, 0x1e, 0xf7, 0xda,
 | 
				
			||||||
 | 
						0x8f, 0x62, 0xa6, 0x86, 0xf9, 0x00, 0x87, 0x3c, 0x21, 0x31, 0x8f, 0x39, 0x31, 0x92, 0x41, 0xfe,
 | 
				
			||||||
 | 
						0xc9, 0xfc, 0xcc, 0xc7, 0xbc, 0x66, 0xa8, 0xf6, 0x93, 0xc5, 0xda, 0x84, 0x86, 0x43, 0x96, 0x82,
 | 
				
			||||||
 | 
						0x38, 0x27, 0xd9, 0x28, 0xd6, 0x05, 0x49, 0x12, 0x50, 0x74, 0x83, 0x81, 0x36, 0xb9, 0x49, 0x25,
 | 
				
			||||||
 | 
						0xf2, 0x54, 0xb1, 0x04, 0xd6, 0x04, 0x4f, 0x6f, 0x13, 0xc8, 0x70, 0x08, 0x09, 0x5d, 0xd5, 0x75,
 | 
				
			||||||
 | 
						0x7e, 0x59, 0xa8, 0xd6, 0x07, 0x2a, 0xc1, 0xfe, 0x88, 0x76, 0xb4, 0x9b, 0x88, 0x2a, 0xea, 0x58,
 | 
				
			||||||
 | 
						0xfb, 0x56, 0xb7, 0x71, 0xf0, 0x18, 0x2f, 0x62, 0xb8, 0x86, 0xe2, 0x6c, 0x14, 0xeb, 0x82, 0xc4,
 | 
				
			||||||
 | 
						0x7a, 0x1a, 0x8f, 0x7b, 0xf8, 0xfd, 0xe0, 0x33, 0x84, 0xea, 0x08, 0x14, 0xf5, 0xed, 0x49, 0xe1,
 | 
				
			||||||
 | 
						0x55, 0xca, 0xc2, 0x43, 0x8b, 0x5a, 0x70, 0x4d, 0xb5, 0xdf, 0xa2, 0xaa, 0xcc, 0x20, 0x74, 0xb6,
 | 
				
			||||||
 | 
						0x0c, 0xfd, 0x21, 0xbe, 0x39, 0x64, 0x6c, 0x2c, 0x1d, 0x67, 0x10, 0xfa, 0xf7, 0xe6, 0xc8, 0xaa,
 | 
				
			||||||
 | 
						0xfe, 0x05, 0x06, 0xd0, 0xf9, 0x69, 0xa1, 0xba, 0x99, 0xe8, 0x33, 0xa9, 0xec, 0xd3, 0x35, 0xe3,
 | 
				
			||||||
 | 
						0xf8, 0x6e, 0xc6, 0xb5, 0xda, 0xd8, 0x6e, 0xce, 0x77, 0xec, 0x5c, 0x55, 0x96, 0x4c, 0xbf, 0x41,
 | 
				
			||||||
 | 
						0x35, 0xa6, 0x20, 0x91, 0xce, 0xd6, 0xfe, 0x76, 0xb7, 0x71, 0xf0, 0xe0, 0x56, 0xd7, 0xfe, 0xee,
 | 
				
			||||||
 | 
						0x9c, 0x56, 0x3b, 0xd4, 0xba, 0x60, 0x26, 0xef, 0xfc, 0xd8, 0x9e, 0x7b, 0xd6, 0x77, 0xd8, 0xcf,
 | 
				
			||||||
 | 
						0xd1, 0xde, 0x90, 0x9f, 0x45, 0x20, 0x0e, 0x23, 0x48, 0x15, 0x53, 0xe7, 0xc6, 0x79, 0xdd, 0xb7,
 | 
				
			||||||
 | 
						0xcb, 0xc2, 0xdb, 0x7b, 0xf7, 0x4f, 0x27, 0x58, 0x99, 0xb4, 0xfb, 0xa8, 0x75, 0xa6, 0x41, 0xaf,
 | 
				
			||||||
 | 
						0x73, 0x61, 0x36, 0x1f, 0x43, 0xc8, 0xd3, 0x48, 0x9a, 0x58, 0x6b, 0xbe, 0x53, 0x16, 0x5e, 0xab,
 | 
				
			||||||
 | 
						0xbf, 0xa1, 0x1f, 0x6c, 0x54, 0xd9, 0x03, 0xd4, 0xa0, 0xe1, 0x97, 0x9c, 0x09, 0x38, 0x61, 0x09,
 | 
				
			||||||
 | 
						0x38, 0xdb, 0x26, 0x40, 0x72, 0xb7, 0x00, 0x8f, 0x58, 0x28, 0xb8, 0x96, 0xf9, 0xf7, 0xcb, 0xc2,
 | 
				
			||||||
 | 
						0x6b, 0xbc, 0x5c, 0x70, 0x82, 0x65, 0xa8, 0x7d, 0x8a, 0xea, 0x02, 0x52, 0xf8, 0x6a, 0x36, 0x54,
 | 
				
			||||||
 | 
						0xff, 0x6f, 0xc3, 0x6e, 0x59, 0x78, 0xf5, 0xe0, 0x8a, 0x12, 0x2c, 0x80, 0xf6, 0x0b, 0xd4, 0x34,
 | 
				
			||||||
 | 
						0x97, 0x9d, 0x08, 0x9a, 0x4a, 0xa6, 0x6f, 0x93, 0x4e, 0xcd, 0x64, 0xd1, 0x2a, 0x0b, 0xaf, 0xd9,
 | 
				
			||||||
 | 
						0x5f, 0xe9, 0x05, 0x6b, 0xd3, 0x7e, 0x77, 0x32, 0x75, 0x2b, 0x17, 0x53, 0xb7, 0x72, 0x39, 0x75,
 | 
				
			||||||
 | 
						0x2b, 0xdf, 0x4a, 0xd7, 0x9a, 0x94, 0xae, 0x75, 0x51, 0xba, 0xd6, 0x65, 0xe9, 0x5a, 0xbf, 0x4b,
 | 
				
			||||||
 | 
						0xd7, 0xfa, 0xfe, 0xc7, 0xad, 0x7c, 0xd8, 0x1a, 0xf7, 0xfe, 0x06, 0x00, 0x00, 0xff, 0xff, 0x41,
 | 
				
			||||||
 | 
						0x5e, 0x94, 0x96, 0x5e, 0x04, 0x00, 0x00,
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
							
								
								
									
										80
									
								
								staging/src/k8s.io/api/coordination/v1/generated.proto
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										80
									
								
								staging/src/k8s.io/api/coordination/v1/generated.proto
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,80 @@
 | 
				
			|||||||
 | 
					/*
 | 
				
			||||||
 | 
					Copyright 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 go-to-protobuf. Do not edit it manually!
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					syntax = 'proto2';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					package k8s.io.api.coordination.v1;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					import "k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto";
 | 
				
			||||||
 | 
					import "k8s.io/apimachinery/pkg/runtime/generated.proto";
 | 
				
			||||||
 | 
					import "k8s.io/apimachinery/pkg/runtime/schema/generated.proto";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// Package-wide variables from generator "generated".
 | 
				
			||||||
 | 
					option go_package = "v1";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// Lease defines a lease concept.
 | 
				
			||||||
 | 
					message Lease {
 | 
				
			||||||
 | 
					  // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
 | 
				
			||||||
 | 
					  // +optional
 | 
				
			||||||
 | 
					  optional k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  // Specification of the Lease.
 | 
				
			||||||
 | 
					  // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status
 | 
				
			||||||
 | 
					  // +optional
 | 
				
			||||||
 | 
					  optional LeaseSpec spec = 2;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// LeaseList is a list of Lease objects.
 | 
				
			||||||
 | 
					message LeaseList {
 | 
				
			||||||
 | 
					  // Standard list metadata.
 | 
				
			||||||
 | 
					  // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
 | 
				
			||||||
 | 
					  // +optional
 | 
				
			||||||
 | 
					  optional k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  // Items is a list of schema objects.
 | 
				
			||||||
 | 
					  repeated Lease items = 2;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// LeaseSpec is a specification of a Lease.
 | 
				
			||||||
 | 
					message LeaseSpec {
 | 
				
			||||||
 | 
					  // holderIdentity contains the identity of the holder of a current lease.
 | 
				
			||||||
 | 
					  // +optional
 | 
				
			||||||
 | 
					  optional string holderIdentity = 1;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  // leaseDurationSeconds is a duration that candidates for a lease need
 | 
				
			||||||
 | 
					  // to wait to force acquire it. This is measure against time of last
 | 
				
			||||||
 | 
					  // observed RenewTime.
 | 
				
			||||||
 | 
					  // +optional
 | 
				
			||||||
 | 
					  optional int32 leaseDurationSeconds = 2;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  // acquireTime is a time when the current lease was acquired.
 | 
				
			||||||
 | 
					  // +optional
 | 
				
			||||||
 | 
					  optional k8s.io.apimachinery.pkg.apis.meta.v1.MicroTime acquireTime = 3;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  // renewTime is a time when the current holder of a lease has last
 | 
				
			||||||
 | 
					  // updated the lease.
 | 
				
			||||||
 | 
					  // +optional
 | 
				
			||||||
 | 
					  optional k8s.io.apimachinery.pkg.apis.meta.v1.MicroTime renewTime = 4;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  // leaseTransitions is the number of transitions of a lease between
 | 
				
			||||||
 | 
					  // holders.
 | 
				
			||||||
 | 
					  // +optional
 | 
				
			||||||
 | 
					  optional int32 leaseTransitions = 5;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
							
								
								
									
										63
									
								
								staging/src/k8s.io/api/coordination/v1/types_swagger_doc_generated.go
									
									
									
										generated
									
									
									
										Normal file
									
								
							
							
						
						
									
										63
									
								
								staging/src/k8s.io/api/coordination/v1/types_swagger_doc_generated.go
									
									
									
										generated
									
									
									
										Normal file
									
								
							@@ -0,0 +1,63 @@
 | 
				
			|||||||
 | 
					/*
 | 
				
			||||||
 | 
					Copyright 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.
 | 
				
			||||||
 | 
					*/
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					package v1
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// This file contains a collection of methods that can be used from go-restful to
 | 
				
			||||||
 | 
					// generate Swagger API documentation for its models. Please read this PR for more
 | 
				
			||||||
 | 
					// information on the implementation: https://github.com/emicklei/go-restful/pull/215
 | 
				
			||||||
 | 
					//
 | 
				
			||||||
 | 
					// TODOs are ignored from the parser (e.g. TODO(andronat):... || TODO:...) if and only if
 | 
				
			||||||
 | 
					// they are on one line! For multiple line or blocks that you want to ignore use ---.
 | 
				
			||||||
 | 
					// Any context after a --- is ignored.
 | 
				
			||||||
 | 
					//
 | 
				
			||||||
 | 
					// Those methods can be generated by using hack/update-generated-swagger-docs.sh
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// AUTO-GENERATED FUNCTIONS START HERE. DO NOT EDIT.
 | 
				
			||||||
 | 
					var map_Lease = map[string]string{
 | 
				
			||||||
 | 
						"":         "Lease defines a lease concept.",
 | 
				
			||||||
 | 
						"metadata": "More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata",
 | 
				
			||||||
 | 
						"spec":     "Specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status",
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					func (Lease) SwaggerDoc() map[string]string {
 | 
				
			||||||
 | 
						return map_Lease
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					var map_LeaseList = map[string]string{
 | 
				
			||||||
 | 
						"":         "LeaseList is a list of Lease objects.",
 | 
				
			||||||
 | 
						"metadata": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata",
 | 
				
			||||||
 | 
						"items":    "Items is a list of schema objects.",
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					func (LeaseList) SwaggerDoc() map[string]string {
 | 
				
			||||||
 | 
						return map_LeaseList
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					var map_LeaseSpec = map[string]string{
 | 
				
			||||||
 | 
						"":                     "LeaseSpec is a specification of a Lease.",
 | 
				
			||||||
 | 
						"holderIdentity":       "holderIdentity contains the identity of the holder of a current lease.",
 | 
				
			||||||
 | 
						"leaseDurationSeconds": "leaseDurationSeconds is a duration that candidates for a lease need to wait to force acquire it. This is measure against time of last observed RenewTime.",
 | 
				
			||||||
 | 
						"acquireTime":          "acquireTime is a time when the current lease was acquired.",
 | 
				
			||||||
 | 
						"renewTime":            "renewTime is a time when the current holder of a lease has last updated the lease.",
 | 
				
			||||||
 | 
						"leaseTransitions":     "leaseTransitions is the number of transitions of a lease between holders.",
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					func (LeaseSpec) SwaggerDoc() map[string]string {
 | 
				
			||||||
 | 
						return map_LeaseSpec
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// AUTO-GENERATED FUNCTIONS END HERE
 | 
				
			||||||
							
								
								
									
										124
									
								
								staging/src/k8s.io/api/coordination/v1/zz_generated.deepcopy.go
									
									
									
										generated
									
									
									
										Normal file
									
								
							
							
						
						
									
										124
									
								
								staging/src/k8s.io/api/coordination/v1/zz_generated.deepcopy.go
									
									
									
										generated
									
									
									
										Normal file
									
								
							@@ -0,0 +1,124 @@
 | 
				
			|||||||
 | 
					// +build !ignore_autogenerated
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					/*
 | 
				
			||||||
 | 
					Copyright 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.
 | 
				
			||||||
 | 
					*/
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// Code generated by deepcopy-gen. DO NOT EDIT.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					package v1
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					import (
 | 
				
			||||||
 | 
						runtime "k8s.io/apimachinery/pkg/runtime"
 | 
				
			||||||
 | 
					)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
 | 
				
			||||||
 | 
					func (in *Lease) DeepCopyInto(out *Lease) {
 | 
				
			||||||
 | 
						*out = *in
 | 
				
			||||||
 | 
						out.TypeMeta = in.TypeMeta
 | 
				
			||||||
 | 
						in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
 | 
				
			||||||
 | 
						in.Spec.DeepCopyInto(&out.Spec)
 | 
				
			||||||
 | 
						return
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Lease.
 | 
				
			||||||
 | 
					func (in *Lease) DeepCopy() *Lease {
 | 
				
			||||||
 | 
						if in == nil {
 | 
				
			||||||
 | 
							return nil
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
						out := new(Lease)
 | 
				
			||||||
 | 
						in.DeepCopyInto(out)
 | 
				
			||||||
 | 
						return out
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
 | 
				
			||||||
 | 
					func (in *Lease) DeepCopyObject() runtime.Object {
 | 
				
			||||||
 | 
						if c := in.DeepCopy(); c != nil {
 | 
				
			||||||
 | 
							return c
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
						return nil
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
 | 
				
			||||||
 | 
					func (in *LeaseList) DeepCopyInto(out *LeaseList) {
 | 
				
			||||||
 | 
						*out = *in
 | 
				
			||||||
 | 
						out.TypeMeta = in.TypeMeta
 | 
				
			||||||
 | 
						out.ListMeta = in.ListMeta
 | 
				
			||||||
 | 
						if in.Items != nil {
 | 
				
			||||||
 | 
							in, out := &in.Items, &out.Items
 | 
				
			||||||
 | 
							*out = make([]Lease, len(*in))
 | 
				
			||||||
 | 
							for i := range *in {
 | 
				
			||||||
 | 
								(*in)[i].DeepCopyInto(&(*out)[i])
 | 
				
			||||||
 | 
							}
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
						return
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LeaseList.
 | 
				
			||||||
 | 
					func (in *LeaseList) DeepCopy() *LeaseList {
 | 
				
			||||||
 | 
						if in == nil {
 | 
				
			||||||
 | 
							return nil
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
						out := new(LeaseList)
 | 
				
			||||||
 | 
						in.DeepCopyInto(out)
 | 
				
			||||||
 | 
						return out
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
 | 
				
			||||||
 | 
					func (in *LeaseList) DeepCopyObject() runtime.Object {
 | 
				
			||||||
 | 
						if c := in.DeepCopy(); c != nil {
 | 
				
			||||||
 | 
							return c
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
						return nil
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
 | 
				
			||||||
 | 
					func (in *LeaseSpec) DeepCopyInto(out *LeaseSpec) {
 | 
				
			||||||
 | 
						*out = *in
 | 
				
			||||||
 | 
						if in.HolderIdentity != nil {
 | 
				
			||||||
 | 
							in, out := &in.HolderIdentity, &out.HolderIdentity
 | 
				
			||||||
 | 
							*out = new(string)
 | 
				
			||||||
 | 
							**out = **in
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
						if in.LeaseDurationSeconds != nil {
 | 
				
			||||||
 | 
							in, out := &in.LeaseDurationSeconds, &out.LeaseDurationSeconds
 | 
				
			||||||
 | 
							*out = new(int32)
 | 
				
			||||||
 | 
							**out = **in
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
						if in.AcquireTime != nil {
 | 
				
			||||||
 | 
							in, out := &in.AcquireTime, &out.AcquireTime
 | 
				
			||||||
 | 
							*out = (*in).DeepCopy()
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
						if in.RenewTime != nil {
 | 
				
			||||||
 | 
							in, out := &in.RenewTime, &out.RenewTime
 | 
				
			||||||
 | 
							*out = (*in).DeepCopy()
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
						if in.LeaseTransitions != nil {
 | 
				
			||||||
 | 
							in, out := &in.LeaseTransitions, &out.LeaseTransitions
 | 
				
			||||||
 | 
							*out = new(int32)
 | 
				
			||||||
 | 
							**out = **in
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
						return
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LeaseSpec.
 | 
				
			||||||
 | 
					func (in *LeaseSpec) DeepCopy() *LeaseSpec {
 | 
				
			||||||
 | 
						if in == nil {
 | 
				
			||||||
 | 
							return nil
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
						out := new(LeaseSpec)
 | 
				
			||||||
 | 
						in.DeepCopyInto(out)
 | 
				
			||||||
 | 
						return out
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
@@ -1014,6 +1014,10 @@
 | 
				
			|||||||
			"ImportPath": "k8s.io/api/certificates/v1beta1",
 | 
								"ImportPath": "k8s.io/api/certificates/v1beta1",
 | 
				
			||||||
			"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
								"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
				
			||||||
		},
 | 
							},
 | 
				
			||||||
 | 
							{
 | 
				
			||||||
 | 
								"ImportPath": "k8s.io/api/coordination/v1",
 | 
				
			||||||
 | 
								"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
				
			||||||
 | 
							},
 | 
				
			||||||
		{
 | 
							{
 | 
				
			||||||
			"ImportPath": "k8s.io/api/coordination/v1beta1",
 | 
								"ImportPath": "k8s.io/api/coordination/v1beta1",
 | 
				
			||||||
			"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
								"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
				
			||||||
@@ -1778,6 +1782,10 @@
 | 
				
			|||||||
			"ImportPath": "k8s.io/client-go/informers/coordination",
 | 
								"ImportPath": "k8s.io/client-go/informers/coordination",
 | 
				
			||||||
			"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
								"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
				
			||||||
		},
 | 
							},
 | 
				
			||||||
 | 
							{
 | 
				
			||||||
 | 
								"ImportPath": "k8s.io/client-go/informers/coordination/v1",
 | 
				
			||||||
 | 
								"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
				
			||||||
 | 
							},
 | 
				
			||||||
		{
 | 
							{
 | 
				
			||||||
			"ImportPath": "k8s.io/client-go/informers/coordination/v1beta1",
 | 
								"ImportPath": "k8s.io/client-go/informers/coordination/v1beta1",
 | 
				
			||||||
			"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
								"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
				
			||||||
@@ -1954,6 +1962,10 @@
 | 
				
			|||||||
			"ImportPath": "k8s.io/client-go/kubernetes/typed/certificates/v1beta1",
 | 
								"ImportPath": "k8s.io/client-go/kubernetes/typed/certificates/v1beta1",
 | 
				
			||||||
			"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
								"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
				
			||||||
		},
 | 
							},
 | 
				
			||||||
 | 
							{
 | 
				
			||||||
 | 
								"ImportPath": "k8s.io/client-go/kubernetes/typed/coordination/v1",
 | 
				
			||||||
 | 
								"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
				
			||||||
 | 
							},
 | 
				
			||||||
		{
 | 
							{
 | 
				
			||||||
			"ImportPath": "k8s.io/client-go/kubernetes/typed/coordination/v1beta1",
 | 
								"ImportPath": "k8s.io/client-go/kubernetes/typed/coordination/v1beta1",
 | 
				
			||||||
			"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
								"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
				
			||||||
@@ -2066,6 +2078,10 @@
 | 
				
			|||||||
			"ImportPath": "k8s.io/client-go/listers/certificates/v1beta1",
 | 
								"ImportPath": "k8s.io/client-go/listers/certificates/v1beta1",
 | 
				
			||||||
			"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
								"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
				
			||||||
		},
 | 
							},
 | 
				
			||||||
 | 
							{
 | 
				
			||||||
 | 
								"ImportPath": "k8s.io/client-go/listers/coordination/v1",
 | 
				
			||||||
 | 
								"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
				
			||||||
 | 
							},
 | 
				
			||||||
		{
 | 
							{
 | 
				
			||||||
			"ImportPath": "k8s.io/client-go/listers/coordination/v1beta1",
 | 
								"ImportPath": "k8s.io/client-go/listers/coordination/v1beta1",
 | 
				
			||||||
			"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
								"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										20
									
								
								staging/src/k8s.io/apiserver/Godeps/Godeps.json
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										20
									
								
								staging/src/k8s.io/apiserver/Godeps/Godeps.json
									
									
									
										generated
									
									
									
								
							@@ -1018,6 +1018,10 @@
 | 
				
			|||||||
			"ImportPath": "k8s.io/api/certificates/v1beta1",
 | 
								"ImportPath": "k8s.io/api/certificates/v1beta1",
 | 
				
			||||||
			"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
								"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
				
			||||||
		},
 | 
							},
 | 
				
			||||||
 | 
							{
 | 
				
			||||||
 | 
								"ImportPath": "k8s.io/api/coordination/v1",
 | 
				
			||||||
 | 
								"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
				
			||||||
 | 
							},
 | 
				
			||||||
		{
 | 
							{
 | 
				
			||||||
			"ImportPath": "k8s.io/api/coordination/v1beta1",
 | 
								"ImportPath": "k8s.io/api/coordination/v1beta1",
 | 
				
			||||||
			"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
								"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
				
			||||||
@@ -1378,6 +1382,10 @@
 | 
				
			|||||||
			"ImportPath": "k8s.io/client-go/informers/coordination",
 | 
								"ImportPath": "k8s.io/client-go/informers/coordination",
 | 
				
			||||||
			"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
								"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
				
			||||||
		},
 | 
							},
 | 
				
			||||||
 | 
							{
 | 
				
			||||||
 | 
								"ImportPath": "k8s.io/client-go/informers/coordination/v1",
 | 
				
			||||||
 | 
								"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
				
			||||||
 | 
							},
 | 
				
			||||||
		{
 | 
							{
 | 
				
			||||||
			"ImportPath": "k8s.io/client-go/informers/coordination/v1beta1",
 | 
								"ImportPath": "k8s.io/client-go/informers/coordination/v1beta1",
 | 
				
			||||||
			"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
								"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
				
			||||||
@@ -1622,6 +1630,14 @@
 | 
				
			|||||||
			"ImportPath": "k8s.io/client-go/kubernetes/typed/certificates/v1beta1/fake",
 | 
								"ImportPath": "k8s.io/client-go/kubernetes/typed/certificates/v1beta1/fake",
 | 
				
			||||||
			"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
								"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
				
			||||||
		},
 | 
							},
 | 
				
			||||||
 | 
							{
 | 
				
			||||||
 | 
								"ImportPath": "k8s.io/client-go/kubernetes/typed/coordination/v1",
 | 
				
			||||||
 | 
								"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
				
			||||||
 | 
							},
 | 
				
			||||||
 | 
							{
 | 
				
			||||||
 | 
								"ImportPath": "k8s.io/client-go/kubernetes/typed/coordination/v1/fake",
 | 
				
			||||||
 | 
								"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
				
			||||||
 | 
							},
 | 
				
			||||||
		{
 | 
							{
 | 
				
			||||||
			"ImportPath": "k8s.io/client-go/kubernetes/typed/coordination/v1beta1",
 | 
								"ImportPath": "k8s.io/client-go/kubernetes/typed/coordination/v1beta1",
 | 
				
			||||||
			"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
								"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
				
			||||||
@@ -1794,6 +1810,10 @@
 | 
				
			|||||||
			"ImportPath": "k8s.io/client-go/listers/certificates/v1beta1",
 | 
								"ImportPath": "k8s.io/client-go/listers/certificates/v1beta1",
 | 
				
			||||||
			"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
								"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
				
			||||||
		},
 | 
							},
 | 
				
			||||||
 | 
							{
 | 
				
			||||||
 | 
								"ImportPath": "k8s.io/client-go/listers/coordination/v1",
 | 
				
			||||||
 | 
								"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
				
			||||||
 | 
							},
 | 
				
			||||||
		{
 | 
							{
 | 
				
			||||||
			"ImportPath": "k8s.io/client-go/listers/coordination/v1beta1",
 | 
								"ImportPath": "k8s.io/client-go/listers/coordination/v1beta1",
 | 
				
			||||||
			"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
								"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -326,6 +326,10 @@
 | 
				
			|||||||
			"ImportPath": "k8s.io/api/certificates/v1beta1",
 | 
								"ImportPath": "k8s.io/api/certificates/v1beta1",
 | 
				
			||||||
			"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
								"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
				
			||||||
		},
 | 
							},
 | 
				
			||||||
 | 
							{
 | 
				
			||||||
 | 
								"ImportPath": "k8s.io/api/coordination/v1",
 | 
				
			||||||
 | 
								"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
				
			||||||
 | 
							},
 | 
				
			||||||
		{
 | 
							{
 | 
				
			||||||
			"ImportPath": "k8s.io/api/coordination/v1beta1",
 | 
								"ImportPath": "k8s.io/api/coordination/v1beta1",
 | 
				
			||||||
			"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
								"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										4
									
								
								staging/src/k8s.io/client-go/Godeps/Godeps.json
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										4
									
								
								staging/src/k8s.io/client-go/Godeps/Godeps.json
									
									
									
										generated
									
									
									
								
							@@ -338,6 +338,10 @@
 | 
				
			|||||||
			"ImportPath": "k8s.io/api/certificates/v1beta1",
 | 
								"ImportPath": "k8s.io/api/certificates/v1beta1",
 | 
				
			||||||
			"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
								"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
				
			||||||
		},
 | 
							},
 | 
				
			||||||
 | 
							{
 | 
				
			||||||
 | 
								"ImportPath": "k8s.io/api/coordination/v1",
 | 
				
			||||||
 | 
								"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
				
			||||||
 | 
							},
 | 
				
			||||||
		{
 | 
							{
 | 
				
			||||||
			"ImportPath": "k8s.io/api/coordination/v1beta1",
 | 
								"ImportPath": "k8s.io/api/coordination/v1beta1",
 | 
				
			||||||
			"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
								"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -23,6 +23,7 @@ go_library(
 | 
				
			|||||||
        "//staging/src/k8s.io/api/batch/v1beta1:go_default_library",
 | 
					        "//staging/src/k8s.io/api/batch/v1beta1:go_default_library",
 | 
				
			||||||
        "//staging/src/k8s.io/api/batch/v2alpha1:go_default_library",
 | 
					        "//staging/src/k8s.io/api/batch/v2alpha1:go_default_library",
 | 
				
			||||||
        "//staging/src/k8s.io/api/certificates/v1beta1:go_default_library",
 | 
					        "//staging/src/k8s.io/api/certificates/v1beta1:go_default_library",
 | 
				
			||||||
 | 
					        "//staging/src/k8s.io/api/coordination/v1:go_default_library",
 | 
				
			||||||
        "//staging/src/k8s.io/api/coordination/v1beta1:go_default_library",
 | 
					        "//staging/src/k8s.io/api/coordination/v1beta1:go_default_library",
 | 
				
			||||||
        "//staging/src/k8s.io/api/core/v1:go_default_library",
 | 
					        "//staging/src/k8s.io/api/core/v1:go_default_library",
 | 
				
			||||||
        "//staging/src/k8s.io/api/events/v1beta1:go_default_library",
 | 
					        "//staging/src/k8s.io/api/events/v1beta1:go_default_library",
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -7,6 +7,7 @@ go_library(
 | 
				
			|||||||
    importpath = "k8s.io/client-go/informers/coordination",
 | 
					    importpath = "k8s.io/client-go/informers/coordination",
 | 
				
			||||||
    visibility = ["//visibility:public"],
 | 
					    visibility = ["//visibility:public"],
 | 
				
			||||||
    deps = [
 | 
					    deps = [
 | 
				
			||||||
 | 
					        "//staging/src/k8s.io/client-go/informers/coordination/v1:go_default_library",
 | 
				
			||||||
        "//staging/src/k8s.io/client-go/informers/coordination/v1beta1:go_default_library",
 | 
					        "//staging/src/k8s.io/client-go/informers/coordination/v1beta1:go_default_library",
 | 
				
			||||||
        "//staging/src/k8s.io/client-go/informers/internalinterfaces:go_default_library",
 | 
					        "//staging/src/k8s.io/client-go/informers/internalinterfaces:go_default_library",
 | 
				
			||||||
    ],
 | 
					    ],
 | 
				
			||||||
@@ -23,6 +24,7 @@ filegroup(
 | 
				
			|||||||
    name = "all-srcs",
 | 
					    name = "all-srcs",
 | 
				
			||||||
    srcs = [
 | 
					    srcs = [
 | 
				
			||||||
        ":package-srcs",
 | 
					        ":package-srcs",
 | 
				
			||||||
 | 
					        "//staging/src/k8s.io/client-go/informers/coordination/v1:all-srcs",
 | 
				
			||||||
        "//staging/src/k8s.io/client-go/informers/coordination/v1beta1:all-srcs",
 | 
					        "//staging/src/k8s.io/client-go/informers/coordination/v1beta1:all-srcs",
 | 
				
			||||||
    ],
 | 
					    ],
 | 
				
			||||||
    tags = ["automanaged"],
 | 
					    tags = ["automanaged"],
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -19,12 +19,15 @@ limitations under the License.
 | 
				
			|||||||
package coordination
 | 
					package coordination
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import (
 | 
					import (
 | 
				
			||||||
 | 
						v1 "k8s.io/client-go/informers/coordination/v1"
 | 
				
			||||||
	v1beta1 "k8s.io/client-go/informers/coordination/v1beta1"
 | 
						v1beta1 "k8s.io/client-go/informers/coordination/v1beta1"
 | 
				
			||||||
	internalinterfaces "k8s.io/client-go/informers/internalinterfaces"
 | 
						internalinterfaces "k8s.io/client-go/informers/internalinterfaces"
 | 
				
			||||||
)
 | 
					)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// Interface provides access to each of this group's versions.
 | 
					// Interface provides access to each of this group's versions.
 | 
				
			||||||
type Interface interface {
 | 
					type Interface interface {
 | 
				
			||||||
 | 
						// V1 provides access to shared informers for resources in V1.
 | 
				
			||||||
 | 
						V1() v1.Interface
 | 
				
			||||||
	// V1beta1 provides access to shared informers for resources in V1beta1.
 | 
						// V1beta1 provides access to shared informers for resources in V1beta1.
 | 
				
			||||||
	V1beta1() v1beta1.Interface
 | 
						V1beta1() v1beta1.Interface
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
@@ -40,6 +43,11 @@ func New(f internalinterfaces.SharedInformerFactory, namespace string, tweakList
 | 
				
			|||||||
	return &group{factory: f, namespace: namespace, tweakListOptions: tweakListOptions}
 | 
						return &group{factory: f, namespace: namespace, tweakListOptions: tweakListOptions}
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// V1 returns a new v1.Interface.
 | 
				
			||||||
 | 
					func (g *group) V1() v1.Interface {
 | 
				
			||||||
 | 
						return v1.New(g.factory, g.namespace, g.tweakListOptions)
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// V1beta1 returns a new v1beta1.Interface.
 | 
					// V1beta1 returns a new v1beta1.Interface.
 | 
				
			||||||
func (g *group) V1beta1() v1beta1.Interface {
 | 
					func (g *group) V1beta1() v1beta1.Interface {
 | 
				
			||||||
	return v1beta1.New(g.factory, g.namespace, g.tweakListOptions)
 | 
						return v1beta1.New(g.factory, g.namespace, g.tweakListOptions)
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										36
									
								
								staging/src/k8s.io/client-go/informers/coordination/v1/BUILD
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										36
									
								
								staging/src/k8s.io/client-go/informers/coordination/v1/BUILD
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,36 @@
 | 
				
			|||||||
 | 
					load("@io_bazel_rules_go//go:def.bzl", "go_library")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					go_library(
 | 
				
			||||||
 | 
					    name = "go_default_library",
 | 
				
			||||||
 | 
					    srcs = [
 | 
				
			||||||
 | 
					        "interface.go",
 | 
				
			||||||
 | 
					        "lease.go",
 | 
				
			||||||
 | 
					    ],
 | 
				
			||||||
 | 
					    importmap = "k8s.io/kubernetes/vendor/k8s.io/client-go/informers/coordination/v1",
 | 
				
			||||||
 | 
					    importpath = "k8s.io/client-go/informers/coordination/v1",
 | 
				
			||||||
 | 
					    visibility = ["//visibility:public"],
 | 
				
			||||||
 | 
					    deps = [
 | 
				
			||||||
 | 
					        "//staging/src/k8s.io/api/coordination/v1:go_default_library",
 | 
				
			||||||
 | 
					        "//staging/src/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library",
 | 
				
			||||||
 | 
					        "//staging/src/k8s.io/apimachinery/pkg/runtime:go_default_library",
 | 
				
			||||||
 | 
					        "//staging/src/k8s.io/apimachinery/pkg/watch:go_default_library",
 | 
				
			||||||
 | 
					        "//staging/src/k8s.io/client-go/informers/internalinterfaces:go_default_library",
 | 
				
			||||||
 | 
					        "//staging/src/k8s.io/client-go/kubernetes:go_default_library",
 | 
				
			||||||
 | 
					        "//staging/src/k8s.io/client-go/listers/coordination/v1:go_default_library",
 | 
				
			||||||
 | 
					        "//staging/src/k8s.io/client-go/tools/cache: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,45 @@
 | 
				
			|||||||
 | 
					/*
 | 
				
			||||||
 | 
					Copyright 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.
 | 
				
			||||||
 | 
					*/
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// Code generated by informer-gen. DO NOT EDIT.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					package v1
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					import (
 | 
				
			||||||
 | 
						internalinterfaces "k8s.io/client-go/informers/internalinterfaces"
 | 
				
			||||||
 | 
					)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// Interface provides access to all the informers in this group version.
 | 
				
			||||||
 | 
					type Interface interface {
 | 
				
			||||||
 | 
						// Leases returns a LeaseInformer.
 | 
				
			||||||
 | 
						Leases() LeaseInformer
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					type version struct {
 | 
				
			||||||
 | 
						factory          internalinterfaces.SharedInformerFactory
 | 
				
			||||||
 | 
						namespace        string
 | 
				
			||||||
 | 
						tweakListOptions internalinterfaces.TweakListOptionsFunc
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// New returns a new Interface.
 | 
				
			||||||
 | 
					func New(f internalinterfaces.SharedInformerFactory, namespace string, tweakListOptions internalinterfaces.TweakListOptionsFunc) Interface {
 | 
				
			||||||
 | 
						return &version{factory: f, namespace: namespace, tweakListOptions: tweakListOptions}
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// Leases returns a LeaseInformer.
 | 
				
			||||||
 | 
					func (v *version) Leases() LeaseInformer {
 | 
				
			||||||
 | 
						return &leaseInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions}
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
@@ -0,0 +1,89 @@
 | 
				
			|||||||
 | 
					/*
 | 
				
			||||||
 | 
					Copyright 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.
 | 
				
			||||||
 | 
					*/
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// Code generated by informer-gen. DO NOT EDIT.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					package v1
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					import (
 | 
				
			||||||
 | 
						time "time"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						coordinationv1 "k8s.io/api/coordination/v1"
 | 
				
			||||||
 | 
						metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
 | 
				
			||||||
 | 
						runtime "k8s.io/apimachinery/pkg/runtime"
 | 
				
			||||||
 | 
						watch "k8s.io/apimachinery/pkg/watch"
 | 
				
			||||||
 | 
						internalinterfaces "k8s.io/client-go/informers/internalinterfaces"
 | 
				
			||||||
 | 
						kubernetes "k8s.io/client-go/kubernetes"
 | 
				
			||||||
 | 
						v1 "k8s.io/client-go/listers/coordination/v1"
 | 
				
			||||||
 | 
						cache "k8s.io/client-go/tools/cache"
 | 
				
			||||||
 | 
					)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// LeaseInformer provides access to a shared informer and lister for
 | 
				
			||||||
 | 
					// Leases.
 | 
				
			||||||
 | 
					type LeaseInformer interface {
 | 
				
			||||||
 | 
						Informer() cache.SharedIndexInformer
 | 
				
			||||||
 | 
						Lister() v1.LeaseLister
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					type leaseInformer struct {
 | 
				
			||||||
 | 
						factory          internalinterfaces.SharedInformerFactory
 | 
				
			||||||
 | 
						tweakListOptions internalinterfaces.TweakListOptionsFunc
 | 
				
			||||||
 | 
						namespace        string
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// NewLeaseInformer constructs a new informer for Lease type.
 | 
				
			||||||
 | 
					// Always prefer using an informer factory to get a shared informer instead of getting an independent
 | 
				
			||||||
 | 
					// one. This reduces memory footprint and number of connections to the server.
 | 
				
			||||||
 | 
					func NewLeaseInformer(client kubernetes.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer {
 | 
				
			||||||
 | 
						return NewFilteredLeaseInformer(client, namespace, resyncPeriod, indexers, nil)
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// NewFilteredLeaseInformer constructs a new informer for Lease type.
 | 
				
			||||||
 | 
					// Always prefer using an informer factory to get a shared informer instead of getting an independent
 | 
				
			||||||
 | 
					// one. This reduces memory footprint and number of connections to the server.
 | 
				
			||||||
 | 
					func NewFilteredLeaseInformer(client kubernetes.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer {
 | 
				
			||||||
 | 
						return cache.NewSharedIndexInformer(
 | 
				
			||||||
 | 
							&cache.ListWatch{
 | 
				
			||||||
 | 
								ListFunc: func(options metav1.ListOptions) (runtime.Object, error) {
 | 
				
			||||||
 | 
									if tweakListOptions != nil {
 | 
				
			||||||
 | 
										tweakListOptions(&options)
 | 
				
			||||||
 | 
									}
 | 
				
			||||||
 | 
									return client.CoordinationV1().Leases(namespace).List(options)
 | 
				
			||||||
 | 
								},
 | 
				
			||||||
 | 
								WatchFunc: func(options metav1.ListOptions) (watch.Interface, error) {
 | 
				
			||||||
 | 
									if tweakListOptions != nil {
 | 
				
			||||||
 | 
										tweakListOptions(&options)
 | 
				
			||||||
 | 
									}
 | 
				
			||||||
 | 
									return client.CoordinationV1().Leases(namespace).Watch(options)
 | 
				
			||||||
 | 
								},
 | 
				
			||||||
 | 
							},
 | 
				
			||||||
 | 
							&coordinationv1.Lease{},
 | 
				
			||||||
 | 
							resyncPeriod,
 | 
				
			||||||
 | 
							indexers,
 | 
				
			||||||
 | 
						)
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					func (f *leaseInformer) defaultInformer(client kubernetes.Interface, resyncPeriod time.Duration) cache.SharedIndexInformer {
 | 
				
			||||||
 | 
						return NewFilteredLeaseInformer(client, f.namespace, resyncPeriod, cache.Indexers{cache.NamespaceIndex: cache.MetaNamespaceIndexFunc}, f.tweakListOptions)
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					func (f *leaseInformer) Informer() cache.SharedIndexInformer {
 | 
				
			||||||
 | 
						return f.factory.InformerFor(&coordinationv1.Lease{}, f.defaultInformer)
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					func (f *leaseInformer) Lister() v1.LeaseLister {
 | 
				
			||||||
 | 
						return v1.NewLeaseLister(f.Informer().GetIndexer())
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
@@ -34,6 +34,7 @@ import (
 | 
				
			|||||||
	batchv1beta1 "k8s.io/api/batch/v1beta1"
 | 
						batchv1beta1 "k8s.io/api/batch/v1beta1"
 | 
				
			||||||
	v2alpha1 "k8s.io/api/batch/v2alpha1"
 | 
						v2alpha1 "k8s.io/api/batch/v2alpha1"
 | 
				
			||||||
	certificatesv1beta1 "k8s.io/api/certificates/v1beta1"
 | 
						certificatesv1beta1 "k8s.io/api/certificates/v1beta1"
 | 
				
			||||||
 | 
						coordinationv1 "k8s.io/api/coordination/v1"
 | 
				
			||||||
	coordinationv1beta1 "k8s.io/api/coordination/v1beta1"
 | 
						coordinationv1beta1 "k8s.io/api/coordination/v1beta1"
 | 
				
			||||||
	corev1 "k8s.io/api/core/v1"
 | 
						corev1 "k8s.io/api/core/v1"
 | 
				
			||||||
	eventsv1beta1 "k8s.io/api/events/v1beta1"
 | 
						eventsv1beta1 "k8s.io/api/events/v1beta1"
 | 
				
			||||||
@@ -153,6 +154,10 @@ func (f *sharedInformerFactory) ForResource(resource schema.GroupVersionResource
 | 
				
			|||||||
	case certificatesv1beta1.SchemeGroupVersion.WithResource("certificatesigningrequests"):
 | 
						case certificatesv1beta1.SchemeGroupVersion.WithResource("certificatesigningrequests"):
 | 
				
			||||||
		return &genericInformer{resource: resource.GroupResource(), informer: f.Certificates().V1beta1().CertificateSigningRequests().Informer()}, nil
 | 
							return &genericInformer{resource: resource.GroupResource(), informer: f.Certificates().V1beta1().CertificateSigningRequests().Informer()}, nil
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
							// Group=coordination.k8s.io, Version=v1
 | 
				
			||||||
 | 
						case coordinationv1.SchemeGroupVersion.WithResource("leases"):
 | 
				
			||||||
 | 
							return &genericInformer{resource: resource.GroupResource(), informer: f.Coordination().V1().Leases().Informer()}, nil
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		// Group=coordination.k8s.io, Version=v1beta1
 | 
							// Group=coordination.k8s.io, Version=v1beta1
 | 
				
			||||||
	case coordinationv1beta1.SchemeGroupVersion.WithResource("leases"):
 | 
						case coordinationv1beta1.SchemeGroupVersion.WithResource("leases"):
 | 
				
			||||||
		return &genericInformer{resource: resource.GroupResource(), informer: f.Coordination().V1beta1().Leases().Informer()}, nil
 | 
							return &genericInformer{resource: resource.GroupResource(), informer: f.Coordination().V1beta1().Leases().Informer()}, nil
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -29,6 +29,7 @@ go_library(
 | 
				
			|||||||
        "//staging/src/k8s.io/client-go/kubernetes/typed/batch/v1beta1:go_default_library",
 | 
					        "//staging/src/k8s.io/client-go/kubernetes/typed/batch/v1beta1:go_default_library",
 | 
				
			||||||
        "//staging/src/k8s.io/client-go/kubernetes/typed/batch/v2alpha1:go_default_library",
 | 
					        "//staging/src/k8s.io/client-go/kubernetes/typed/batch/v2alpha1:go_default_library",
 | 
				
			||||||
        "//staging/src/k8s.io/client-go/kubernetes/typed/certificates/v1beta1:go_default_library",
 | 
					        "//staging/src/k8s.io/client-go/kubernetes/typed/certificates/v1beta1:go_default_library",
 | 
				
			||||||
 | 
					        "//staging/src/k8s.io/client-go/kubernetes/typed/coordination/v1:go_default_library",
 | 
				
			||||||
        "//staging/src/k8s.io/client-go/kubernetes/typed/coordination/v1beta1:go_default_library",
 | 
					        "//staging/src/k8s.io/client-go/kubernetes/typed/coordination/v1beta1:go_default_library",
 | 
				
			||||||
        "//staging/src/k8s.io/client-go/kubernetes/typed/core/v1:go_default_library",
 | 
					        "//staging/src/k8s.io/client-go/kubernetes/typed/core/v1:go_default_library",
 | 
				
			||||||
        "//staging/src/k8s.io/client-go/kubernetes/typed/events/v1beta1:go_default_library",
 | 
					        "//staging/src/k8s.io/client-go/kubernetes/typed/events/v1beta1:go_default_library",
 | 
				
			||||||
@@ -79,6 +80,7 @@ filegroup(
 | 
				
			|||||||
        "//staging/src/k8s.io/client-go/kubernetes/typed/batch/v1beta1:all-srcs",
 | 
					        "//staging/src/k8s.io/client-go/kubernetes/typed/batch/v1beta1:all-srcs",
 | 
				
			||||||
        "//staging/src/k8s.io/client-go/kubernetes/typed/batch/v2alpha1:all-srcs",
 | 
					        "//staging/src/k8s.io/client-go/kubernetes/typed/batch/v2alpha1:all-srcs",
 | 
				
			||||||
        "//staging/src/k8s.io/client-go/kubernetes/typed/certificates/v1beta1:all-srcs",
 | 
					        "//staging/src/k8s.io/client-go/kubernetes/typed/certificates/v1beta1:all-srcs",
 | 
				
			||||||
 | 
					        "//staging/src/k8s.io/client-go/kubernetes/typed/coordination/v1:all-srcs",
 | 
				
			||||||
        "//staging/src/k8s.io/client-go/kubernetes/typed/coordination/v1beta1:all-srcs",
 | 
					        "//staging/src/k8s.io/client-go/kubernetes/typed/coordination/v1beta1:all-srcs",
 | 
				
			||||||
        "//staging/src/k8s.io/client-go/kubernetes/typed/core/v1:all-srcs",
 | 
					        "//staging/src/k8s.io/client-go/kubernetes/typed/core/v1:all-srcs",
 | 
				
			||||||
        "//staging/src/k8s.io/client-go/kubernetes/typed/events/v1beta1:all-srcs",
 | 
					        "//staging/src/k8s.io/client-go/kubernetes/typed/events/v1beta1:all-srcs",
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -37,6 +37,7 @@ import (
 | 
				
			|||||||
	batchv1beta1 "k8s.io/client-go/kubernetes/typed/batch/v1beta1"
 | 
						batchv1beta1 "k8s.io/client-go/kubernetes/typed/batch/v1beta1"
 | 
				
			||||||
	batchv2alpha1 "k8s.io/client-go/kubernetes/typed/batch/v2alpha1"
 | 
						batchv2alpha1 "k8s.io/client-go/kubernetes/typed/batch/v2alpha1"
 | 
				
			||||||
	certificatesv1beta1 "k8s.io/client-go/kubernetes/typed/certificates/v1beta1"
 | 
						certificatesv1beta1 "k8s.io/client-go/kubernetes/typed/certificates/v1beta1"
 | 
				
			||||||
 | 
						coordinationv1 "k8s.io/client-go/kubernetes/typed/coordination/v1"
 | 
				
			||||||
	coordinationv1beta1 "k8s.io/client-go/kubernetes/typed/coordination/v1beta1"
 | 
						coordinationv1beta1 "k8s.io/client-go/kubernetes/typed/coordination/v1beta1"
 | 
				
			||||||
	corev1 "k8s.io/client-go/kubernetes/typed/core/v1"
 | 
						corev1 "k8s.io/client-go/kubernetes/typed/core/v1"
 | 
				
			||||||
	eventsv1beta1 "k8s.io/client-go/kubernetes/typed/events/v1beta1"
 | 
						eventsv1beta1 "k8s.io/client-go/kubernetes/typed/events/v1beta1"
 | 
				
			||||||
@@ -92,8 +93,9 @@ type Interface interface {
 | 
				
			|||||||
	// Deprecated: please explicitly pick a version if possible.
 | 
						// Deprecated: please explicitly pick a version if possible.
 | 
				
			||||||
	Certificates() certificatesv1beta1.CertificatesV1beta1Interface
 | 
						Certificates() certificatesv1beta1.CertificatesV1beta1Interface
 | 
				
			||||||
	CoordinationV1beta1() coordinationv1beta1.CoordinationV1beta1Interface
 | 
						CoordinationV1beta1() coordinationv1beta1.CoordinationV1beta1Interface
 | 
				
			||||||
 | 
						CoordinationV1() coordinationv1.CoordinationV1Interface
 | 
				
			||||||
	// Deprecated: please explicitly pick a version if possible.
 | 
						// Deprecated: please explicitly pick a version if possible.
 | 
				
			||||||
	Coordination() coordinationv1beta1.CoordinationV1beta1Interface
 | 
						Coordination() coordinationv1.CoordinationV1Interface
 | 
				
			||||||
	CoreV1() corev1.CoreV1Interface
 | 
						CoreV1() corev1.CoreV1Interface
 | 
				
			||||||
	// Deprecated: please explicitly pick a version if possible.
 | 
						// Deprecated: please explicitly pick a version if possible.
 | 
				
			||||||
	Core() corev1.CoreV1Interface
 | 
						Core() corev1.CoreV1Interface
 | 
				
			||||||
@@ -150,6 +152,7 @@ type Clientset struct {
 | 
				
			|||||||
	batchV2alpha1                 *batchv2alpha1.BatchV2alpha1Client
 | 
						batchV2alpha1                 *batchv2alpha1.BatchV2alpha1Client
 | 
				
			||||||
	certificatesV1beta1           *certificatesv1beta1.CertificatesV1beta1Client
 | 
						certificatesV1beta1           *certificatesv1beta1.CertificatesV1beta1Client
 | 
				
			||||||
	coordinationV1beta1           *coordinationv1beta1.CoordinationV1beta1Client
 | 
						coordinationV1beta1           *coordinationv1beta1.CoordinationV1beta1Client
 | 
				
			||||||
 | 
						coordinationV1                *coordinationv1.CoordinationV1Client
 | 
				
			||||||
	coreV1                        *corev1.CoreV1Client
 | 
						coreV1                        *corev1.CoreV1Client
 | 
				
			||||||
	eventsV1beta1                 *eventsv1beta1.EventsV1beta1Client
 | 
						eventsV1beta1                 *eventsv1beta1.EventsV1beta1Client
 | 
				
			||||||
	extensionsV1beta1             *extensionsv1beta1.ExtensionsV1beta1Client
 | 
						extensionsV1beta1             *extensionsv1beta1.ExtensionsV1beta1Client
 | 
				
			||||||
@@ -304,10 +307,15 @@ func (c *Clientset) CoordinationV1beta1() coordinationv1beta1.CoordinationV1beta
 | 
				
			|||||||
	return c.coordinationV1beta1
 | 
						return c.coordinationV1beta1
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// CoordinationV1 retrieves the CoordinationV1Client
 | 
				
			||||||
 | 
					func (c *Clientset) CoordinationV1() coordinationv1.CoordinationV1Interface {
 | 
				
			||||||
 | 
						return c.coordinationV1
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// Deprecated: Coordination retrieves the default version of CoordinationClient.
 | 
					// Deprecated: Coordination retrieves the default version of CoordinationClient.
 | 
				
			||||||
// Please explicitly pick a version.
 | 
					// Please explicitly pick a version.
 | 
				
			||||||
func (c *Clientset) Coordination() coordinationv1beta1.CoordinationV1beta1Interface {
 | 
					func (c *Clientset) Coordination() coordinationv1.CoordinationV1Interface {
 | 
				
			||||||
	return c.coordinationV1beta1
 | 
						return c.coordinationV1
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// CoreV1 retrieves the CoreV1Client
 | 
					// CoreV1 retrieves the CoreV1Client
 | 
				
			||||||
@@ -522,6 +530,10 @@ func NewForConfig(c *rest.Config) (*Clientset, error) {
 | 
				
			|||||||
	if err != nil {
 | 
						if err != nil {
 | 
				
			||||||
		return nil, err
 | 
							return nil, err
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
						cs.coordinationV1, err = coordinationv1.NewForConfig(&configShallowCopy)
 | 
				
			||||||
 | 
						if err != nil {
 | 
				
			||||||
 | 
							return nil, err
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
	cs.coreV1, err = corev1.NewForConfig(&configShallowCopy)
 | 
						cs.coreV1, err = corev1.NewForConfig(&configShallowCopy)
 | 
				
			||||||
	if err != nil {
 | 
						if err != nil {
 | 
				
			||||||
		return nil, err
 | 
							return nil, err
 | 
				
			||||||
@@ -608,6 +620,7 @@ func NewForConfigOrDie(c *rest.Config) *Clientset {
 | 
				
			|||||||
	cs.batchV2alpha1 = batchv2alpha1.NewForConfigOrDie(c)
 | 
						cs.batchV2alpha1 = batchv2alpha1.NewForConfigOrDie(c)
 | 
				
			||||||
	cs.certificatesV1beta1 = certificatesv1beta1.NewForConfigOrDie(c)
 | 
						cs.certificatesV1beta1 = certificatesv1beta1.NewForConfigOrDie(c)
 | 
				
			||||||
	cs.coordinationV1beta1 = coordinationv1beta1.NewForConfigOrDie(c)
 | 
						cs.coordinationV1beta1 = coordinationv1beta1.NewForConfigOrDie(c)
 | 
				
			||||||
 | 
						cs.coordinationV1 = coordinationv1.NewForConfigOrDie(c)
 | 
				
			||||||
	cs.coreV1 = corev1.NewForConfigOrDie(c)
 | 
						cs.coreV1 = corev1.NewForConfigOrDie(c)
 | 
				
			||||||
	cs.eventsV1beta1 = eventsv1beta1.NewForConfigOrDie(c)
 | 
						cs.eventsV1beta1 = eventsv1beta1.NewForConfigOrDie(c)
 | 
				
			||||||
	cs.extensionsV1beta1 = extensionsv1beta1.NewForConfigOrDie(c)
 | 
						cs.extensionsV1beta1 = extensionsv1beta1.NewForConfigOrDie(c)
 | 
				
			||||||
@@ -648,6 +661,7 @@ func New(c rest.Interface) *Clientset {
 | 
				
			|||||||
	cs.batchV2alpha1 = batchv2alpha1.New(c)
 | 
						cs.batchV2alpha1 = batchv2alpha1.New(c)
 | 
				
			||||||
	cs.certificatesV1beta1 = certificatesv1beta1.New(c)
 | 
						cs.certificatesV1beta1 = certificatesv1beta1.New(c)
 | 
				
			||||||
	cs.coordinationV1beta1 = coordinationv1beta1.New(c)
 | 
						cs.coordinationV1beta1 = coordinationv1beta1.New(c)
 | 
				
			||||||
 | 
						cs.coordinationV1 = coordinationv1.New(c)
 | 
				
			||||||
	cs.coreV1 = corev1.New(c)
 | 
						cs.coreV1 = corev1.New(c)
 | 
				
			||||||
	cs.eventsV1beta1 = eventsv1beta1.New(c)
 | 
						cs.eventsV1beta1 = eventsv1beta1.New(c)
 | 
				
			||||||
	cs.extensionsV1beta1 = extensionsv1beta1.New(c)
 | 
						cs.extensionsV1beta1 = extensionsv1beta1.New(c)
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -28,6 +28,7 @@ go_library(
 | 
				
			|||||||
        "//staging/src/k8s.io/api/batch/v1beta1:go_default_library",
 | 
					        "//staging/src/k8s.io/api/batch/v1beta1:go_default_library",
 | 
				
			||||||
        "//staging/src/k8s.io/api/batch/v2alpha1:go_default_library",
 | 
					        "//staging/src/k8s.io/api/batch/v2alpha1:go_default_library",
 | 
				
			||||||
        "//staging/src/k8s.io/api/certificates/v1beta1:go_default_library",
 | 
					        "//staging/src/k8s.io/api/certificates/v1beta1:go_default_library",
 | 
				
			||||||
 | 
					        "//staging/src/k8s.io/api/coordination/v1:go_default_library",
 | 
				
			||||||
        "//staging/src/k8s.io/api/coordination/v1beta1:go_default_library",
 | 
					        "//staging/src/k8s.io/api/coordination/v1beta1:go_default_library",
 | 
				
			||||||
        "//staging/src/k8s.io/api/core/v1:go_default_library",
 | 
					        "//staging/src/k8s.io/api/core/v1:go_default_library",
 | 
				
			||||||
        "//staging/src/k8s.io/api/events/v1beta1:go_default_library",
 | 
					        "//staging/src/k8s.io/api/events/v1beta1:go_default_library",
 | 
				
			||||||
@@ -86,6 +87,8 @@ go_library(
 | 
				
			|||||||
        "//staging/src/k8s.io/client-go/kubernetes/typed/batch/v2alpha1/fake:go_default_library",
 | 
					        "//staging/src/k8s.io/client-go/kubernetes/typed/batch/v2alpha1/fake:go_default_library",
 | 
				
			||||||
        "//staging/src/k8s.io/client-go/kubernetes/typed/certificates/v1beta1:go_default_library",
 | 
					        "//staging/src/k8s.io/client-go/kubernetes/typed/certificates/v1beta1:go_default_library",
 | 
				
			||||||
        "//staging/src/k8s.io/client-go/kubernetes/typed/certificates/v1beta1/fake:go_default_library",
 | 
					        "//staging/src/k8s.io/client-go/kubernetes/typed/certificates/v1beta1/fake:go_default_library",
 | 
				
			||||||
 | 
					        "//staging/src/k8s.io/client-go/kubernetes/typed/coordination/v1:go_default_library",
 | 
				
			||||||
 | 
					        "//staging/src/k8s.io/client-go/kubernetes/typed/coordination/v1/fake:go_default_library",
 | 
				
			||||||
        "//staging/src/k8s.io/client-go/kubernetes/typed/coordination/v1beta1:go_default_library",
 | 
					        "//staging/src/k8s.io/client-go/kubernetes/typed/coordination/v1beta1:go_default_library",
 | 
				
			||||||
        "//staging/src/k8s.io/client-go/kubernetes/typed/coordination/v1beta1/fake:go_default_library",
 | 
					        "//staging/src/k8s.io/client-go/kubernetes/typed/coordination/v1beta1/fake:go_default_library",
 | 
				
			||||||
        "//staging/src/k8s.io/client-go/kubernetes/typed/core/v1:go_default_library",
 | 
					        "//staging/src/k8s.io/client-go/kubernetes/typed/core/v1:go_default_library",
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -58,6 +58,8 @@ import (
 | 
				
			|||||||
	fakebatchv2alpha1 "k8s.io/client-go/kubernetes/typed/batch/v2alpha1/fake"
 | 
						fakebatchv2alpha1 "k8s.io/client-go/kubernetes/typed/batch/v2alpha1/fake"
 | 
				
			||||||
	certificatesv1beta1 "k8s.io/client-go/kubernetes/typed/certificates/v1beta1"
 | 
						certificatesv1beta1 "k8s.io/client-go/kubernetes/typed/certificates/v1beta1"
 | 
				
			||||||
	fakecertificatesv1beta1 "k8s.io/client-go/kubernetes/typed/certificates/v1beta1/fake"
 | 
						fakecertificatesv1beta1 "k8s.io/client-go/kubernetes/typed/certificates/v1beta1/fake"
 | 
				
			||||||
 | 
						coordinationv1 "k8s.io/client-go/kubernetes/typed/coordination/v1"
 | 
				
			||||||
 | 
						fakecoordinationv1 "k8s.io/client-go/kubernetes/typed/coordination/v1/fake"
 | 
				
			||||||
	coordinationv1beta1 "k8s.io/client-go/kubernetes/typed/coordination/v1beta1"
 | 
						coordinationv1beta1 "k8s.io/client-go/kubernetes/typed/coordination/v1beta1"
 | 
				
			||||||
	fakecoordinationv1beta1 "k8s.io/client-go/kubernetes/typed/coordination/v1beta1/fake"
 | 
						fakecoordinationv1beta1 "k8s.io/client-go/kubernetes/typed/coordination/v1beta1/fake"
 | 
				
			||||||
	corev1 "k8s.io/client-go/kubernetes/typed/core/v1"
 | 
						corev1 "k8s.io/client-go/kubernetes/typed/core/v1"
 | 
				
			||||||
@@ -263,9 +265,14 @@ func (c *Clientset) CoordinationV1beta1() coordinationv1beta1.CoordinationV1beta
 | 
				
			|||||||
	return &fakecoordinationv1beta1.FakeCoordinationV1beta1{Fake: &c.Fake}
 | 
						return &fakecoordinationv1beta1.FakeCoordinationV1beta1{Fake: &c.Fake}
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// Coordination retrieves the CoordinationV1beta1Client
 | 
					// CoordinationV1 retrieves the CoordinationV1Client
 | 
				
			||||||
func (c *Clientset) Coordination() coordinationv1beta1.CoordinationV1beta1Interface {
 | 
					func (c *Clientset) CoordinationV1() coordinationv1.CoordinationV1Interface {
 | 
				
			||||||
	return &fakecoordinationv1beta1.FakeCoordinationV1beta1{Fake: &c.Fake}
 | 
						return &fakecoordinationv1.FakeCoordinationV1{Fake: &c.Fake}
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// Coordination retrieves the CoordinationV1Client
 | 
				
			||||||
 | 
					func (c *Clientset) Coordination() coordinationv1.CoordinationV1Interface {
 | 
				
			||||||
 | 
						return &fakecoordinationv1.FakeCoordinationV1{Fake: &c.Fake}
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// CoreV1 retrieves the CoreV1Client
 | 
					// CoreV1 retrieves the CoreV1Client
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -36,6 +36,7 @@ import (
 | 
				
			|||||||
	batchv1beta1 "k8s.io/api/batch/v1beta1"
 | 
						batchv1beta1 "k8s.io/api/batch/v1beta1"
 | 
				
			||||||
	batchv2alpha1 "k8s.io/api/batch/v2alpha1"
 | 
						batchv2alpha1 "k8s.io/api/batch/v2alpha1"
 | 
				
			||||||
	certificatesv1beta1 "k8s.io/api/certificates/v1beta1"
 | 
						certificatesv1beta1 "k8s.io/api/certificates/v1beta1"
 | 
				
			||||||
 | 
						coordinationv1 "k8s.io/api/coordination/v1"
 | 
				
			||||||
	coordinationv1beta1 "k8s.io/api/coordination/v1beta1"
 | 
						coordinationv1beta1 "k8s.io/api/coordination/v1beta1"
 | 
				
			||||||
	corev1 "k8s.io/api/core/v1"
 | 
						corev1 "k8s.io/api/core/v1"
 | 
				
			||||||
	eventsv1beta1 "k8s.io/api/events/v1beta1"
 | 
						eventsv1beta1 "k8s.io/api/events/v1beta1"
 | 
				
			||||||
@@ -80,6 +81,7 @@ var localSchemeBuilder = runtime.SchemeBuilder{
 | 
				
			|||||||
	batchv2alpha1.AddToScheme,
 | 
						batchv2alpha1.AddToScheme,
 | 
				
			||||||
	certificatesv1beta1.AddToScheme,
 | 
						certificatesv1beta1.AddToScheme,
 | 
				
			||||||
	coordinationv1beta1.AddToScheme,
 | 
						coordinationv1beta1.AddToScheme,
 | 
				
			||||||
 | 
						coordinationv1.AddToScheme,
 | 
				
			||||||
	corev1.AddToScheme,
 | 
						corev1.AddToScheme,
 | 
				
			||||||
	eventsv1beta1.AddToScheme,
 | 
						eventsv1beta1.AddToScheme,
 | 
				
			||||||
	extensionsv1beta1.AddToScheme,
 | 
						extensionsv1beta1.AddToScheme,
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -27,6 +27,7 @@ go_library(
 | 
				
			|||||||
        "//staging/src/k8s.io/api/batch/v1beta1:go_default_library",
 | 
					        "//staging/src/k8s.io/api/batch/v1beta1:go_default_library",
 | 
				
			||||||
        "//staging/src/k8s.io/api/batch/v2alpha1:go_default_library",
 | 
					        "//staging/src/k8s.io/api/batch/v2alpha1:go_default_library",
 | 
				
			||||||
        "//staging/src/k8s.io/api/certificates/v1beta1:go_default_library",
 | 
					        "//staging/src/k8s.io/api/certificates/v1beta1:go_default_library",
 | 
				
			||||||
 | 
					        "//staging/src/k8s.io/api/coordination/v1:go_default_library",
 | 
				
			||||||
        "//staging/src/k8s.io/api/coordination/v1beta1:go_default_library",
 | 
					        "//staging/src/k8s.io/api/coordination/v1beta1:go_default_library",
 | 
				
			||||||
        "//staging/src/k8s.io/api/core/v1:go_default_library",
 | 
					        "//staging/src/k8s.io/api/core/v1:go_default_library",
 | 
				
			||||||
        "//staging/src/k8s.io/api/events/v1beta1:go_default_library",
 | 
					        "//staging/src/k8s.io/api/events/v1beta1:go_default_library",
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -36,6 +36,7 @@ import (
 | 
				
			|||||||
	batchv1beta1 "k8s.io/api/batch/v1beta1"
 | 
						batchv1beta1 "k8s.io/api/batch/v1beta1"
 | 
				
			||||||
	batchv2alpha1 "k8s.io/api/batch/v2alpha1"
 | 
						batchv2alpha1 "k8s.io/api/batch/v2alpha1"
 | 
				
			||||||
	certificatesv1beta1 "k8s.io/api/certificates/v1beta1"
 | 
						certificatesv1beta1 "k8s.io/api/certificates/v1beta1"
 | 
				
			||||||
 | 
						coordinationv1 "k8s.io/api/coordination/v1"
 | 
				
			||||||
	coordinationv1beta1 "k8s.io/api/coordination/v1beta1"
 | 
						coordinationv1beta1 "k8s.io/api/coordination/v1beta1"
 | 
				
			||||||
	corev1 "k8s.io/api/core/v1"
 | 
						corev1 "k8s.io/api/core/v1"
 | 
				
			||||||
	eventsv1beta1 "k8s.io/api/events/v1beta1"
 | 
						eventsv1beta1 "k8s.io/api/events/v1beta1"
 | 
				
			||||||
@@ -80,6 +81,7 @@ var localSchemeBuilder = runtime.SchemeBuilder{
 | 
				
			|||||||
	batchv2alpha1.AddToScheme,
 | 
						batchv2alpha1.AddToScheme,
 | 
				
			||||||
	certificatesv1beta1.AddToScheme,
 | 
						certificatesv1beta1.AddToScheme,
 | 
				
			||||||
	coordinationv1beta1.AddToScheme,
 | 
						coordinationv1beta1.AddToScheme,
 | 
				
			||||||
 | 
						coordinationv1.AddToScheme,
 | 
				
			||||||
	corev1.AddToScheme,
 | 
						corev1.AddToScheme,
 | 
				
			||||||
	eventsv1beta1.AddToScheme,
 | 
						eventsv1beta1.AddToScheme,
 | 
				
			||||||
	extensionsv1beta1.AddToScheme,
 | 
						extensionsv1beta1.AddToScheme,
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -0,0 +1,40 @@
 | 
				
			|||||||
 | 
					load("@io_bazel_rules_go//go:def.bzl", "go_library")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					go_library(
 | 
				
			||||||
 | 
					    name = "go_default_library",
 | 
				
			||||||
 | 
					    srcs = [
 | 
				
			||||||
 | 
					        "coordination_client.go",
 | 
				
			||||||
 | 
					        "doc.go",
 | 
				
			||||||
 | 
					        "generated_expansion.go",
 | 
				
			||||||
 | 
					        "lease.go",
 | 
				
			||||||
 | 
					    ],
 | 
				
			||||||
 | 
					    importmap = "k8s.io/kubernetes/vendor/k8s.io/client-go/kubernetes/typed/coordination/v1",
 | 
				
			||||||
 | 
					    importpath = "k8s.io/client-go/kubernetes/typed/coordination/v1",
 | 
				
			||||||
 | 
					    visibility = ["//visibility:public"],
 | 
				
			||||||
 | 
					    deps = [
 | 
				
			||||||
 | 
					        "//staging/src/k8s.io/api/coordination/v1:go_default_library",
 | 
				
			||||||
 | 
					        "//staging/src/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library",
 | 
				
			||||||
 | 
					        "//staging/src/k8s.io/apimachinery/pkg/runtime/serializer:go_default_library",
 | 
				
			||||||
 | 
					        "//staging/src/k8s.io/apimachinery/pkg/types:go_default_library",
 | 
				
			||||||
 | 
					        "//staging/src/k8s.io/apimachinery/pkg/watch:go_default_library",
 | 
				
			||||||
 | 
					        "//staging/src/k8s.io/client-go/kubernetes/scheme:go_default_library",
 | 
				
			||||||
 | 
					        "//staging/src/k8s.io/client-go/rest:go_default_library",
 | 
				
			||||||
 | 
					    ],
 | 
				
			||||||
 | 
					)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					filegroup(
 | 
				
			||||||
 | 
					    name = "package-srcs",
 | 
				
			||||||
 | 
					    srcs = glob(["**"]),
 | 
				
			||||||
 | 
					    tags = ["automanaged"],
 | 
				
			||||||
 | 
					    visibility = ["//visibility:private"],
 | 
				
			||||||
 | 
					)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					filegroup(
 | 
				
			||||||
 | 
					    name = "all-srcs",
 | 
				
			||||||
 | 
					    srcs = [
 | 
				
			||||||
 | 
					        ":package-srcs",
 | 
				
			||||||
 | 
					        "//staging/src/k8s.io/client-go/kubernetes/typed/coordination/v1/fake:all-srcs",
 | 
				
			||||||
 | 
					    ],
 | 
				
			||||||
 | 
					    tags = ["automanaged"],
 | 
				
			||||||
 | 
					    visibility = ["//visibility:public"],
 | 
				
			||||||
 | 
					)
 | 
				
			||||||
@@ -0,0 +1,90 @@
 | 
				
			|||||||
 | 
					/*
 | 
				
			||||||
 | 
					Copyright 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.
 | 
				
			||||||
 | 
					*/
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// Code generated by client-gen. DO NOT EDIT.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					package v1
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					import (
 | 
				
			||||||
 | 
						v1 "k8s.io/api/coordination/v1"
 | 
				
			||||||
 | 
						serializer "k8s.io/apimachinery/pkg/runtime/serializer"
 | 
				
			||||||
 | 
						"k8s.io/client-go/kubernetes/scheme"
 | 
				
			||||||
 | 
						rest "k8s.io/client-go/rest"
 | 
				
			||||||
 | 
					)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					type CoordinationV1Interface interface {
 | 
				
			||||||
 | 
						RESTClient() rest.Interface
 | 
				
			||||||
 | 
						LeasesGetter
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// CoordinationV1Client is used to interact with features provided by the coordination.k8s.io group.
 | 
				
			||||||
 | 
					type CoordinationV1Client struct {
 | 
				
			||||||
 | 
						restClient rest.Interface
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					func (c *CoordinationV1Client) Leases(namespace string) LeaseInterface {
 | 
				
			||||||
 | 
						return newLeases(c, namespace)
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// NewForConfig creates a new CoordinationV1Client for the given config.
 | 
				
			||||||
 | 
					func NewForConfig(c *rest.Config) (*CoordinationV1Client, error) {
 | 
				
			||||||
 | 
						config := *c
 | 
				
			||||||
 | 
						if err := setConfigDefaults(&config); err != nil {
 | 
				
			||||||
 | 
							return nil, err
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
						client, err := rest.RESTClientFor(&config)
 | 
				
			||||||
 | 
						if err != nil {
 | 
				
			||||||
 | 
							return nil, err
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
						return &CoordinationV1Client{client}, nil
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// NewForConfigOrDie creates a new CoordinationV1Client for the given config and
 | 
				
			||||||
 | 
					// panics if there is an error in the config.
 | 
				
			||||||
 | 
					func NewForConfigOrDie(c *rest.Config) *CoordinationV1Client {
 | 
				
			||||||
 | 
						client, err := NewForConfig(c)
 | 
				
			||||||
 | 
						if err != nil {
 | 
				
			||||||
 | 
							panic(err)
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
						return client
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// New creates a new CoordinationV1Client for the given RESTClient.
 | 
				
			||||||
 | 
					func New(c rest.Interface) *CoordinationV1Client {
 | 
				
			||||||
 | 
						return &CoordinationV1Client{c}
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					func setConfigDefaults(config *rest.Config) error {
 | 
				
			||||||
 | 
						gv := v1.SchemeGroupVersion
 | 
				
			||||||
 | 
						config.GroupVersion = &gv
 | 
				
			||||||
 | 
						config.APIPath = "/apis"
 | 
				
			||||||
 | 
						config.NegotiatedSerializer = serializer.DirectCodecFactory{CodecFactory: scheme.Codecs}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						if config.UserAgent == "" {
 | 
				
			||||||
 | 
							config.UserAgent = rest.DefaultKubernetesUserAgent()
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						return nil
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// RESTClient returns a RESTClient that is used to communicate
 | 
				
			||||||
 | 
					// with API server by this client implementation.
 | 
				
			||||||
 | 
					func (c *CoordinationV1Client) RESTClient() rest.Interface {
 | 
				
			||||||
 | 
						if c == nil {
 | 
				
			||||||
 | 
							return nil
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
						return c.restClient
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
@@ -0,0 +1,20 @@
 | 
				
			|||||||
 | 
					/*
 | 
				
			||||||
 | 
					Copyright 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.
 | 
				
			||||||
 | 
					*/
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// Code generated by client-gen. DO NOT EDIT.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// This package has the automatically generated typed clients.
 | 
				
			||||||
 | 
					package v1
 | 
				
			||||||
@@ -0,0 +1,38 @@
 | 
				
			|||||||
 | 
					load("@io_bazel_rules_go//go:def.bzl", "go_library")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					go_library(
 | 
				
			||||||
 | 
					    name = "go_default_library",
 | 
				
			||||||
 | 
					    srcs = [
 | 
				
			||||||
 | 
					        "doc.go",
 | 
				
			||||||
 | 
					        "fake_coordination_client.go",
 | 
				
			||||||
 | 
					        "fake_lease.go",
 | 
				
			||||||
 | 
					    ],
 | 
				
			||||||
 | 
					    importmap = "k8s.io/kubernetes/vendor/k8s.io/client-go/kubernetes/typed/coordination/v1/fake",
 | 
				
			||||||
 | 
					    importpath = "k8s.io/client-go/kubernetes/typed/coordination/v1/fake",
 | 
				
			||||||
 | 
					    visibility = ["//visibility:public"],
 | 
				
			||||||
 | 
					    deps = [
 | 
				
			||||||
 | 
					        "//staging/src/k8s.io/api/coordination/v1:go_default_library",
 | 
				
			||||||
 | 
					        "//staging/src/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library",
 | 
				
			||||||
 | 
					        "//staging/src/k8s.io/apimachinery/pkg/labels:go_default_library",
 | 
				
			||||||
 | 
					        "//staging/src/k8s.io/apimachinery/pkg/runtime/schema:go_default_library",
 | 
				
			||||||
 | 
					        "//staging/src/k8s.io/apimachinery/pkg/types:go_default_library",
 | 
				
			||||||
 | 
					        "//staging/src/k8s.io/apimachinery/pkg/watch:go_default_library",
 | 
				
			||||||
 | 
					        "//staging/src/k8s.io/client-go/kubernetes/typed/coordination/v1:go_default_library",
 | 
				
			||||||
 | 
					        "//staging/src/k8s.io/client-go/rest:go_default_library",
 | 
				
			||||||
 | 
					        "//staging/src/k8s.io/client-go/testing: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,20 @@
 | 
				
			|||||||
 | 
					/*
 | 
				
			||||||
 | 
					Copyright 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.
 | 
				
			||||||
 | 
					*/
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// Code generated by client-gen. DO NOT EDIT.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// Package fake has the automatically generated clients.
 | 
				
			||||||
 | 
					package fake
 | 
				
			||||||
@@ -0,0 +1,40 @@
 | 
				
			|||||||
 | 
					/*
 | 
				
			||||||
 | 
					Copyright 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.
 | 
				
			||||||
 | 
					*/
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// Code generated by client-gen. DO NOT EDIT.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					package fake
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					import (
 | 
				
			||||||
 | 
						v1 "k8s.io/client-go/kubernetes/typed/coordination/v1"
 | 
				
			||||||
 | 
						rest "k8s.io/client-go/rest"
 | 
				
			||||||
 | 
						testing "k8s.io/client-go/testing"
 | 
				
			||||||
 | 
					)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					type FakeCoordinationV1 struct {
 | 
				
			||||||
 | 
						*testing.Fake
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					func (c *FakeCoordinationV1) Leases(namespace string) v1.LeaseInterface {
 | 
				
			||||||
 | 
						return &FakeLeases{c, namespace}
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// RESTClient returns a RESTClient that is used to communicate
 | 
				
			||||||
 | 
					// with API server by this client implementation.
 | 
				
			||||||
 | 
					func (c *FakeCoordinationV1) RESTClient() rest.Interface {
 | 
				
			||||||
 | 
						var ret *rest.RESTClient
 | 
				
			||||||
 | 
						return ret
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
@@ -0,0 +1,128 @@
 | 
				
			|||||||
 | 
					/*
 | 
				
			||||||
 | 
					Copyright 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.
 | 
				
			||||||
 | 
					*/
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// Code generated by client-gen. DO NOT EDIT.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					package fake
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					import (
 | 
				
			||||||
 | 
						coordinationv1 "k8s.io/api/coordination/v1"
 | 
				
			||||||
 | 
						v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
 | 
				
			||||||
 | 
						labels "k8s.io/apimachinery/pkg/labels"
 | 
				
			||||||
 | 
						schema "k8s.io/apimachinery/pkg/runtime/schema"
 | 
				
			||||||
 | 
						types "k8s.io/apimachinery/pkg/types"
 | 
				
			||||||
 | 
						watch "k8s.io/apimachinery/pkg/watch"
 | 
				
			||||||
 | 
						testing "k8s.io/client-go/testing"
 | 
				
			||||||
 | 
					)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// FakeLeases implements LeaseInterface
 | 
				
			||||||
 | 
					type FakeLeases struct {
 | 
				
			||||||
 | 
						Fake *FakeCoordinationV1
 | 
				
			||||||
 | 
						ns   string
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					var leasesResource = schema.GroupVersionResource{Group: "coordination.k8s.io", Version: "v1", Resource: "leases"}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					var leasesKind = schema.GroupVersionKind{Group: "coordination.k8s.io", Version: "v1", Kind: "Lease"}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// Get takes name of the lease, and returns the corresponding lease object, and an error if there is any.
 | 
				
			||||||
 | 
					func (c *FakeLeases) Get(name string, options v1.GetOptions) (result *coordinationv1.Lease, err error) {
 | 
				
			||||||
 | 
						obj, err := c.Fake.
 | 
				
			||||||
 | 
							Invokes(testing.NewGetAction(leasesResource, c.ns, name), &coordinationv1.Lease{})
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						if obj == nil {
 | 
				
			||||||
 | 
							return nil, err
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
						return obj.(*coordinationv1.Lease), err
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// List takes label and field selectors, and returns the list of Leases that match those selectors.
 | 
				
			||||||
 | 
					func (c *FakeLeases) List(opts v1.ListOptions) (result *coordinationv1.LeaseList, err error) {
 | 
				
			||||||
 | 
						obj, err := c.Fake.
 | 
				
			||||||
 | 
							Invokes(testing.NewListAction(leasesResource, leasesKind, c.ns, opts), &coordinationv1.LeaseList{})
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						if obj == nil {
 | 
				
			||||||
 | 
							return nil, err
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						label, _, _ := testing.ExtractFromListOptions(opts)
 | 
				
			||||||
 | 
						if label == nil {
 | 
				
			||||||
 | 
							label = labels.Everything()
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
						list := &coordinationv1.LeaseList{ListMeta: obj.(*coordinationv1.LeaseList).ListMeta}
 | 
				
			||||||
 | 
						for _, item := range obj.(*coordinationv1.LeaseList).Items {
 | 
				
			||||||
 | 
							if label.Matches(labels.Set(item.Labels)) {
 | 
				
			||||||
 | 
								list.Items = append(list.Items, item)
 | 
				
			||||||
 | 
							}
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
						return list, err
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// Watch returns a watch.Interface that watches the requested leases.
 | 
				
			||||||
 | 
					func (c *FakeLeases) Watch(opts v1.ListOptions) (watch.Interface, error) {
 | 
				
			||||||
 | 
						return c.Fake.
 | 
				
			||||||
 | 
							InvokesWatch(testing.NewWatchAction(leasesResource, c.ns, opts))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// Create takes the representation of a lease and creates it.  Returns the server's representation of the lease, and an error, if there is any.
 | 
				
			||||||
 | 
					func (c *FakeLeases) Create(lease *coordinationv1.Lease) (result *coordinationv1.Lease, err error) {
 | 
				
			||||||
 | 
						obj, err := c.Fake.
 | 
				
			||||||
 | 
							Invokes(testing.NewCreateAction(leasesResource, c.ns, lease), &coordinationv1.Lease{})
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						if obj == nil {
 | 
				
			||||||
 | 
							return nil, err
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
						return obj.(*coordinationv1.Lease), err
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// Update takes the representation of a lease and updates it. Returns the server's representation of the lease, and an error, if there is any.
 | 
				
			||||||
 | 
					func (c *FakeLeases) Update(lease *coordinationv1.Lease) (result *coordinationv1.Lease, err error) {
 | 
				
			||||||
 | 
						obj, err := c.Fake.
 | 
				
			||||||
 | 
							Invokes(testing.NewUpdateAction(leasesResource, c.ns, lease), &coordinationv1.Lease{})
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						if obj == nil {
 | 
				
			||||||
 | 
							return nil, err
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
						return obj.(*coordinationv1.Lease), err
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// Delete takes name of the lease and deletes it. Returns an error if one occurs.
 | 
				
			||||||
 | 
					func (c *FakeLeases) Delete(name string, options *v1.DeleteOptions) error {
 | 
				
			||||||
 | 
						_, err := c.Fake.
 | 
				
			||||||
 | 
							Invokes(testing.NewDeleteAction(leasesResource, c.ns, name), &coordinationv1.Lease{})
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						return err
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// DeleteCollection deletes a collection of objects.
 | 
				
			||||||
 | 
					func (c *FakeLeases) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error {
 | 
				
			||||||
 | 
						action := testing.NewDeleteCollectionAction(leasesResource, c.ns, listOptions)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						_, err := c.Fake.Invokes(action, &coordinationv1.LeaseList{})
 | 
				
			||||||
 | 
						return err
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// Patch applies the patch and returns the patched lease.
 | 
				
			||||||
 | 
					func (c *FakeLeases) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *coordinationv1.Lease, err error) {
 | 
				
			||||||
 | 
						obj, err := c.Fake.
 | 
				
			||||||
 | 
							Invokes(testing.NewPatchSubresourceAction(leasesResource, c.ns, name, pt, data, subresources...), &coordinationv1.Lease{})
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						if obj == nil {
 | 
				
			||||||
 | 
							return nil, err
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
						return obj.(*coordinationv1.Lease), err
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
@@ -0,0 +1,21 @@
 | 
				
			|||||||
 | 
					/*
 | 
				
			||||||
 | 
					Copyright 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.
 | 
				
			||||||
 | 
					*/
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// Code generated by client-gen. DO NOT EDIT.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					package v1
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					type LeaseExpansion interface{}
 | 
				
			||||||
@@ -0,0 +1,174 @@
 | 
				
			|||||||
 | 
					/*
 | 
				
			||||||
 | 
					Copyright 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.
 | 
				
			||||||
 | 
					*/
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// Code generated by client-gen. DO NOT EDIT.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					package v1
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					import (
 | 
				
			||||||
 | 
						"time"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						v1 "k8s.io/api/coordination/v1"
 | 
				
			||||||
 | 
						metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
 | 
				
			||||||
 | 
						types "k8s.io/apimachinery/pkg/types"
 | 
				
			||||||
 | 
						watch "k8s.io/apimachinery/pkg/watch"
 | 
				
			||||||
 | 
						scheme "k8s.io/client-go/kubernetes/scheme"
 | 
				
			||||||
 | 
						rest "k8s.io/client-go/rest"
 | 
				
			||||||
 | 
					)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// LeasesGetter has a method to return a LeaseInterface.
 | 
				
			||||||
 | 
					// A group's client should implement this interface.
 | 
				
			||||||
 | 
					type LeasesGetter interface {
 | 
				
			||||||
 | 
						Leases(namespace string) LeaseInterface
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// LeaseInterface has methods to work with Lease resources.
 | 
				
			||||||
 | 
					type LeaseInterface interface {
 | 
				
			||||||
 | 
						Create(*v1.Lease) (*v1.Lease, error)
 | 
				
			||||||
 | 
						Update(*v1.Lease) (*v1.Lease, error)
 | 
				
			||||||
 | 
						Delete(name string, options *metav1.DeleteOptions) error
 | 
				
			||||||
 | 
						DeleteCollection(options *metav1.DeleteOptions, listOptions metav1.ListOptions) error
 | 
				
			||||||
 | 
						Get(name string, options metav1.GetOptions) (*v1.Lease, error)
 | 
				
			||||||
 | 
						List(opts metav1.ListOptions) (*v1.LeaseList, error)
 | 
				
			||||||
 | 
						Watch(opts metav1.ListOptions) (watch.Interface, error)
 | 
				
			||||||
 | 
						Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.Lease, err error)
 | 
				
			||||||
 | 
						LeaseExpansion
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// leases implements LeaseInterface
 | 
				
			||||||
 | 
					type leases struct {
 | 
				
			||||||
 | 
						client rest.Interface
 | 
				
			||||||
 | 
						ns     string
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// newLeases returns a Leases
 | 
				
			||||||
 | 
					func newLeases(c *CoordinationV1Client, namespace string) *leases {
 | 
				
			||||||
 | 
						return &leases{
 | 
				
			||||||
 | 
							client: c.RESTClient(),
 | 
				
			||||||
 | 
							ns:     namespace,
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// Get takes name of the lease, and returns the corresponding lease object, and an error if there is any.
 | 
				
			||||||
 | 
					func (c *leases) Get(name string, options metav1.GetOptions) (result *v1.Lease, err error) {
 | 
				
			||||||
 | 
						result = &v1.Lease{}
 | 
				
			||||||
 | 
						err = c.client.Get().
 | 
				
			||||||
 | 
							Namespace(c.ns).
 | 
				
			||||||
 | 
							Resource("leases").
 | 
				
			||||||
 | 
							Name(name).
 | 
				
			||||||
 | 
							VersionedParams(&options, scheme.ParameterCodec).
 | 
				
			||||||
 | 
							Do().
 | 
				
			||||||
 | 
							Into(result)
 | 
				
			||||||
 | 
						return
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// List takes label and field selectors, and returns the list of Leases that match those selectors.
 | 
				
			||||||
 | 
					func (c *leases) List(opts metav1.ListOptions) (result *v1.LeaseList, err error) {
 | 
				
			||||||
 | 
						var timeout time.Duration
 | 
				
			||||||
 | 
						if opts.TimeoutSeconds != nil {
 | 
				
			||||||
 | 
							timeout = time.Duration(*opts.TimeoutSeconds) * time.Second
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
						result = &v1.LeaseList{}
 | 
				
			||||||
 | 
						err = c.client.Get().
 | 
				
			||||||
 | 
							Namespace(c.ns).
 | 
				
			||||||
 | 
							Resource("leases").
 | 
				
			||||||
 | 
							VersionedParams(&opts, scheme.ParameterCodec).
 | 
				
			||||||
 | 
							Timeout(timeout).
 | 
				
			||||||
 | 
							Do().
 | 
				
			||||||
 | 
							Into(result)
 | 
				
			||||||
 | 
						return
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// Watch returns a watch.Interface that watches the requested leases.
 | 
				
			||||||
 | 
					func (c *leases) Watch(opts metav1.ListOptions) (watch.Interface, error) {
 | 
				
			||||||
 | 
						var timeout time.Duration
 | 
				
			||||||
 | 
						if opts.TimeoutSeconds != nil {
 | 
				
			||||||
 | 
							timeout = time.Duration(*opts.TimeoutSeconds) * time.Second
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
						opts.Watch = true
 | 
				
			||||||
 | 
						return c.client.Get().
 | 
				
			||||||
 | 
							Namespace(c.ns).
 | 
				
			||||||
 | 
							Resource("leases").
 | 
				
			||||||
 | 
							VersionedParams(&opts, scheme.ParameterCodec).
 | 
				
			||||||
 | 
							Timeout(timeout).
 | 
				
			||||||
 | 
							Watch()
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// Create takes the representation of a lease and creates it.  Returns the server's representation of the lease, and an error, if there is any.
 | 
				
			||||||
 | 
					func (c *leases) Create(lease *v1.Lease) (result *v1.Lease, err error) {
 | 
				
			||||||
 | 
						result = &v1.Lease{}
 | 
				
			||||||
 | 
						err = c.client.Post().
 | 
				
			||||||
 | 
							Namespace(c.ns).
 | 
				
			||||||
 | 
							Resource("leases").
 | 
				
			||||||
 | 
							Body(lease).
 | 
				
			||||||
 | 
							Do().
 | 
				
			||||||
 | 
							Into(result)
 | 
				
			||||||
 | 
						return
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// Update takes the representation of a lease and updates it. Returns the server's representation of the lease, and an error, if there is any.
 | 
				
			||||||
 | 
					func (c *leases) Update(lease *v1.Lease) (result *v1.Lease, err error) {
 | 
				
			||||||
 | 
						result = &v1.Lease{}
 | 
				
			||||||
 | 
						err = c.client.Put().
 | 
				
			||||||
 | 
							Namespace(c.ns).
 | 
				
			||||||
 | 
							Resource("leases").
 | 
				
			||||||
 | 
							Name(lease.Name).
 | 
				
			||||||
 | 
							Body(lease).
 | 
				
			||||||
 | 
							Do().
 | 
				
			||||||
 | 
							Into(result)
 | 
				
			||||||
 | 
						return
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// Delete takes name of the lease and deletes it. Returns an error if one occurs.
 | 
				
			||||||
 | 
					func (c *leases) Delete(name string, options *metav1.DeleteOptions) error {
 | 
				
			||||||
 | 
						return c.client.Delete().
 | 
				
			||||||
 | 
							Namespace(c.ns).
 | 
				
			||||||
 | 
							Resource("leases").
 | 
				
			||||||
 | 
							Name(name).
 | 
				
			||||||
 | 
							Body(options).
 | 
				
			||||||
 | 
							Do().
 | 
				
			||||||
 | 
							Error()
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// DeleteCollection deletes a collection of objects.
 | 
				
			||||||
 | 
					func (c *leases) DeleteCollection(options *metav1.DeleteOptions, listOptions metav1.ListOptions) error {
 | 
				
			||||||
 | 
						var timeout time.Duration
 | 
				
			||||||
 | 
						if listOptions.TimeoutSeconds != nil {
 | 
				
			||||||
 | 
							timeout = time.Duration(*listOptions.TimeoutSeconds) * time.Second
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
						return c.client.Delete().
 | 
				
			||||||
 | 
							Namespace(c.ns).
 | 
				
			||||||
 | 
							Resource("leases").
 | 
				
			||||||
 | 
							VersionedParams(&listOptions, scheme.ParameterCodec).
 | 
				
			||||||
 | 
							Timeout(timeout).
 | 
				
			||||||
 | 
							Body(options).
 | 
				
			||||||
 | 
							Do().
 | 
				
			||||||
 | 
							Error()
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// Patch applies the patch and returns the patched lease.
 | 
				
			||||||
 | 
					func (c *leases) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.Lease, err error) {
 | 
				
			||||||
 | 
						result = &v1.Lease{}
 | 
				
			||||||
 | 
						err = c.client.Patch(pt).
 | 
				
			||||||
 | 
							Namespace(c.ns).
 | 
				
			||||||
 | 
							Resource("leases").
 | 
				
			||||||
 | 
							SubResource(subresources...).
 | 
				
			||||||
 | 
							Name(name).
 | 
				
			||||||
 | 
							Body(data).
 | 
				
			||||||
 | 
							Do().
 | 
				
			||||||
 | 
							Into(result)
 | 
				
			||||||
 | 
						return
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
							
								
								
									
										32
									
								
								staging/src/k8s.io/client-go/listers/coordination/v1/BUILD
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										32
									
								
								staging/src/k8s.io/client-go/listers/coordination/v1/BUILD
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,32 @@
 | 
				
			|||||||
 | 
					load("@io_bazel_rules_go//go:def.bzl", "go_library")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					go_library(
 | 
				
			||||||
 | 
					    name = "go_default_library",
 | 
				
			||||||
 | 
					    srcs = [
 | 
				
			||||||
 | 
					        "expansion_generated.go",
 | 
				
			||||||
 | 
					        "lease.go",
 | 
				
			||||||
 | 
					    ],
 | 
				
			||||||
 | 
					    importmap = "k8s.io/kubernetes/vendor/k8s.io/client-go/listers/coordination/v1",
 | 
				
			||||||
 | 
					    importpath = "k8s.io/client-go/listers/coordination/v1",
 | 
				
			||||||
 | 
					    visibility = ["//visibility:public"],
 | 
				
			||||||
 | 
					    deps = [
 | 
				
			||||||
 | 
					        "//staging/src/k8s.io/api/coordination/v1:go_default_library",
 | 
				
			||||||
 | 
					        "//staging/src/k8s.io/apimachinery/pkg/api/errors:go_default_library",
 | 
				
			||||||
 | 
					        "//staging/src/k8s.io/apimachinery/pkg/labels:go_default_library",
 | 
				
			||||||
 | 
					        "//staging/src/k8s.io/client-go/tools/cache: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,27 @@
 | 
				
			|||||||
 | 
					/*
 | 
				
			||||||
 | 
					Copyright 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.
 | 
				
			||||||
 | 
					*/
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// Code generated by lister-gen. DO NOT EDIT.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					package v1
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// LeaseListerExpansion allows custom methods to be added to
 | 
				
			||||||
 | 
					// LeaseLister.
 | 
				
			||||||
 | 
					type LeaseListerExpansion interface{}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// LeaseNamespaceListerExpansion allows custom methods to be added to
 | 
				
			||||||
 | 
					// LeaseNamespaceLister.
 | 
				
			||||||
 | 
					type LeaseNamespaceListerExpansion interface{}
 | 
				
			||||||
@@ -0,0 +1,94 @@
 | 
				
			|||||||
 | 
					/*
 | 
				
			||||||
 | 
					Copyright 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.
 | 
				
			||||||
 | 
					*/
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// Code generated by lister-gen. DO NOT EDIT.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					package v1
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					import (
 | 
				
			||||||
 | 
						v1 "k8s.io/api/coordination/v1"
 | 
				
			||||||
 | 
						"k8s.io/apimachinery/pkg/api/errors"
 | 
				
			||||||
 | 
						"k8s.io/apimachinery/pkg/labels"
 | 
				
			||||||
 | 
						"k8s.io/client-go/tools/cache"
 | 
				
			||||||
 | 
					)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// LeaseLister helps list Leases.
 | 
				
			||||||
 | 
					type LeaseLister interface {
 | 
				
			||||||
 | 
						// List lists all Leases in the indexer.
 | 
				
			||||||
 | 
						List(selector labels.Selector) (ret []*v1.Lease, err error)
 | 
				
			||||||
 | 
						// Leases returns an object that can list and get Leases.
 | 
				
			||||||
 | 
						Leases(namespace string) LeaseNamespaceLister
 | 
				
			||||||
 | 
						LeaseListerExpansion
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// leaseLister implements the LeaseLister interface.
 | 
				
			||||||
 | 
					type leaseLister struct {
 | 
				
			||||||
 | 
						indexer cache.Indexer
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// NewLeaseLister returns a new LeaseLister.
 | 
				
			||||||
 | 
					func NewLeaseLister(indexer cache.Indexer) LeaseLister {
 | 
				
			||||||
 | 
						return &leaseLister{indexer: indexer}
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// List lists all Leases in the indexer.
 | 
				
			||||||
 | 
					func (s *leaseLister) List(selector labels.Selector) (ret []*v1.Lease, err error) {
 | 
				
			||||||
 | 
						err = cache.ListAll(s.indexer, selector, func(m interface{}) {
 | 
				
			||||||
 | 
							ret = append(ret, m.(*v1.Lease))
 | 
				
			||||||
 | 
						})
 | 
				
			||||||
 | 
						return ret, err
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// Leases returns an object that can list and get Leases.
 | 
				
			||||||
 | 
					func (s *leaseLister) Leases(namespace string) LeaseNamespaceLister {
 | 
				
			||||||
 | 
						return leaseNamespaceLister{indexer: s.indexer, namespace: namespace}
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// LeaseNamespaceLister helps list and get Leases.
 | 
				
			||||||
 | 
					type LeaseNamespaceLister interface {
 | 
				
			||||||
 | 
						// List lists all Leases in the indexer for a given namespace.
 | 
				
			||||||
 | 
						List(selector labels.Selector) (ret []*v1.Lease, err error)
 | 
				
			||||||
 | 
						// Get retrieves the Lease from the indexer for a given namespace and name.
 | 
				
			||||||
 | 
						Get(name string) (*v1.Lease, error)
 | 
				
			||||||
 | 
						LeaseNamespaceListerExpansion
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// leaseNamespaceLister implements the LeaseNamespaceLister
 | 
				
			||||||
 | 
					// interface.
 | 
				
			||||||
 | 
					type leaseNamespaceLister struct {
 | 
				
			||||||
 | 
						indexer   cache.Indexer
 | 
				
			||||||
 | 
						namespace string
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// List lists all Leases in the indexer for a given namespace.
 | 
				
			||||||
 | 
					func (s leaseNamespaceLister) List(selector labels.Selector) (ret []*v1.Lease, err error) {
 | 
				
			||||||
 | 
						err = cache.ListAllByNamespace(s.indexer, s.namespace, selector, func(m interface{}) {
 | 
				
			||||||
 | 
							ret = append(ret, m.(*v1.Lease))
 | 
				
			||||||
 | 
						})
 | 
				
			||||||
 | 
						return ret, err
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// Get retrieves the Lease from the indexer for a given namespace and name.
 | 
				
			||||||
 | 
					func (s leaseNamespaceLister) Get(name string) (*v1.Lease, error) {
 | 
				
			||||||
 | 
						obj, exists, err := s.indexer.GetByKey(s.namespace + "/" + name)
 | 
				
			||||||
 | 
						if err != nil {
 | 
				
			||||||
 | 
							return nil, err
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
						if !exists {
 | 
				
			||||||
 | 
							return nil, errors.NewNotFound(v1.Resource("lease"), name)
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
						return obj.(*v1.Lease), nil
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
							
								
								
									
										16
									
								
								staging/src/k8s.io/cloud-provider/Godeps/Godeps.json
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										16
									
								
								staging/src/k8s.io/cloud-provider/Godeps/Godeps.json
									
									
									
										generated
									
									
									
								
							@@ -226,6 +226,10 @@
 | 
				
			|||||||
			"ImportPath": "k8s.io/api/certificates/v1beta1",
 | 
								"ImportPath": "k8s.io/api/certificates/v1beta1",
 | 
				
			||||||
			"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
								"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
				
			||||||
		},
 | 
							},
 | 
				
			||||||
 | 
							{
 | 
				
			||||||
 | 
								"ImportPath": "k8s.io/api/coordination/v1",
 | 
				
			||||||
 | 
								"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
				
			||||||
 | 
							},
 | 
				
			||||||
		{
 | 
							{
 | 
				
			||||||
			"ImportPath": "k8s.io/api/coordination/v1beta1",
 | 
								"ImportPath": "k8s.io/api/coordination/v1beta1",
 | 
				
			||||||
			"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
								"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
				
			||||||
@@ -530,6 +534,10 @@
 | 
				
			|||||||
			"ImportPath": "k8s.io/client-go/informers/coordination",
 | 
								"ImportPath": "k8s.io/client-go/informers/coordination",
 | 
				
			||||||
			"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
								"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
				
			||||||
		},
 | 
							},
 | 
				
			||||||
 | 
							{
 | 
				
			||||||
 | 
								"ImportPath": "k8s.io/client-go/informers/coordination/v1",
 | 
				
			||||||
 | 
								"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
				
			||||||
 | 
							},
 | 
				
			||||||
		{
 | 
							{
 | 
				
			||||||
			"ImportPath": "k8s.io/client-go/informers/coordination/v1beta1",
 | 
								"ImportPath": "k8s.io/client-go/informers/coordination/v1beta1",
 | 
				
			||||||
			"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
								"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
				
			||||||
@@ -706,6 +714,10 @@
 | 
				
			|||||||
			"ImportPath": "k8s.io/client-go/kubernetes/typed/certificates/v1beta1",
 | 
								"ImportPath": "k8s.io/client-go/kubernetes/typed/certificates/v1beta1",
 | 
				
			||||||
			"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
								"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
				
			||||||
		},
 | 
							},
 | 
				
			||||||
 | 
							{
 | 
				
			||||||
 | 
								"ImportPath": "k8s.io/client-go/kubernetes/typed/coordination/v1",
 | 
				
			||||||
 | 
								"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
				
			||||||
 | 
							},
 | 
				
			||||||
		{
 | 
							{
 | 
				
			||||||
			"ImportPath": "k8s.io/client-go/kubernetes/typed/coordination/v1beta1",
 | 
								"ImportPath": "k8s.io/client-go/kubernetes/typed/coordination/v1beta1",
 | 
				
			||||||
			"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
								"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
				
			||||||
@@ -818,6 +830,10 @@
 | 
				
			|||||||
			"ImportPath": "k8s.io/client-go/listers/certificates/v1beta1",
 | 
								"ImportPath": "k8s.io/client-go/listers/certificates/v1beta1",
 | 
				
			||||||
			"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
								"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
				
			||||||
		},
 | 
							},
 | 
				
			||||||
 | 
							{
 | 
				
			||||||
 | 
								"ImportPath": "k8s.io/client-go/listers/coordination/v1",
 | 
				
			||||||
 | 
								"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
				
			||||||
 | 
							},
 | 
				
			||||||
		{
 | 
							{
 | 
				
			||||||
			"ImportPath": "k8s.io/client-go/listers/coordination/v1beta1",
 | 
								"ImportPath": "k8s.io/client-go/listers/coordination/v1beta1",
 | 
				
			||||||
			"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
								"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										4
									
								
								staging/src/k8s.io/csi-api/Godeps/Godeps.json
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										4
									
								
								staging/src/k8s.io/csi-api/Godeps/Godeps.json
									
									
									
										generated
									
									
									
								
							@@ -230,6 +230,10 @@
 | 
				
			|||||||
			"ImportPath": "k8s.io/api/certificates/v1beta1",
 | 
								"ImportPath": "k8s.io/api/certificates/v1beta1",
 | 
				
			||||||
			"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
								"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
				
			||||||
		},
 | 
							},
 | 
				
			||||||
 | 
							{
 | 
				
			||||||
 | 
								"ImportPath": "k8s.io/api/coordination/v1",
 | 
				
			||||||
 | 
								"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
				
			||||||
 | 
							},
 | 
				
			||||||
		{
 | 
							{
 | 
				
			||||||
			"ImportPath": "k8s.io/api/coordination/v1beta1",
 | 
								"ImportPath": "k8s.io/api/coordination/v1beta1",
 | 
				
			||||||
			"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
								"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -606,6 +606,10 @@
 | 
				
			|||||||
			"ImportPath": "k8s.io/api/certificates/v1beta1",
 | 
								"ImportPath": "k8s.io/api/certificates/v1beta1",
 | 
				
			||||||
			"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
								"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
				
			||||||
		},
 | 
							},
 | 
				
			||||||
 | 
							{
 | 
				
			||||||
 | 
								"ImportPath": "k8s.io/api/coordination/v1",
 | 
				
			||||||
 | 
								"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
				
			||||||
 | 
							},
 | 
				
			||||||
		{
 | 
							{
 | 
				
			||||||
			"ImportPath": "k8s.io/api/coordination/v1beta1",
 | 
								"ImportPath": "k8s.io/api/coordination/v1beta1",
 | 
				
			||||||
			"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
								"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
				
			||||||
@@ -1370,6 +1374,10 @@
 | 
				
			|||||||
			"ImportPath": "k8s.io/client-go/informers/coordination",
 | 
								"ImportPath": "k8s.io/client-go/informers/coordination",
 | 
				
			||||||
			"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
								"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
				
			||||||
		},
 | 
							},
 | 
				
			||||||
 | 
							{
 | 
				
			||||||
 | 
								"ImportPath": "k8s.io/client-go/informers/coordination/v1",
 | 
				
			||||||
 | 
								"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
				
			||||||
 | 
							},
 | 
				
			||||||
		{
 | 
							{
 | 
				
			||||||
			"ImportPath": "k8s.io/client-go/informers/coordination/v1beta1",
 | 
								"ImportPath": "k8s.io/client-go/informers/coordination/v1beta1",
 | 
				
			||||||
			"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
								"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
				
			||||||
@@ -1546,6 +1554,10 @@
 | 
				
			|||||||
			"ImportPath": "k8s.io/client-go/kubernetes/typed/certificates/v1beta1",
 | 
								"ImportPath": "k8s.io/client-go/kubernetes/typed/certificates/v1beta1",
 | 
				
			||||||
			"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
								"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
				
			||||||
		},
 | 
							},
 | 
				
			||||||
 | 
							{
 | 
				
			||||||
 | 
								"ImportPath": "k8s.io/client-go/kubernetes/typed/coordination/v1",
 | 
				
			||||||
 | 
								"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
				
			||||||
 | 
							},
 | 
				
			||||||
		{
 | 
							{
 | 
				
			||||||
			"ImportPath": "k8s.io/client-go/kubernetes/typed/coordination/v1beta1",
 | 
								"ImportPath": "k8s.io/client-go/kubernetes/typed/coordination/v1beta1",
 | 
				
			||||||
			"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
								"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
				
			||||||
@@ -1658,6 +1670,10 @@
 | 
				
			|||||||
			"ImportPath": "k8s.io/client-go/listers/certificates/v1beta1",
 | 
								"ImportPath": "k8s.io/client-go/listers/certificates/v1beta1",
 | 
				
			||||||
			"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
								"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
				
			||||||
		},
 | 
							},
 | 
				
			||||||
 | 
							{
 | 
				
			||||||
 | 
								"ImportPath": "k8s.io/client-go/listers/coordination/v1",
 | 
				
			||||||
 | 
								"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
				
			||||||
 | 
							},
 | 
				
			||||||
		{
 | 
							{
 | 
				
			||||||
			"ImportPath": "k8s.io/client-go/listers/coordination/v1beta1",
 | 
								"ImportPath": "k8s.io/client-go/listers/coordination/v1beta1",
 | 
				
			||||||
			"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
								"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										4
									
								
								staging/src/k8s.io/metrics/Godeps/Godeps.json
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										4
									
								
								staging/src/k8s.io/metrics/Godeps/Godeps.json
									
									
									
										generated
									
									
									
								
							@@ -234,6 +234,10 @@
 | 
				
			|||||||
			"ImportPath": "k8s.io/api/certificates/v1beta1",
 | 
								"ImportPath": "k8s.io/api/certificates/v1beta1",
 | 
				
			||||||
			"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
								"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
				
			||||||
		},
 | 
							},
 | 
				
			||||||
 | 
							{
 | 
				
			||||||
 | 
								"ImportPath": "k8s.io/api/coordination/v1",
 | 
				
			||||||
 | 
								"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
				
			||||||
 | 
							},
 | 
				
			||||||
		{
 | 
							{
 | 
				
			||||||
			"ImportPath": "k8s.io/api/coordination/v1beta1",
 | 
								"ImportPath": "k8s.io/api/coordination/v1beta1",
 | 
				
			||||||
			"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
								"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										4
									
								
								staging/src/k8s.io/node-api/Godeps/Godeps.json
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										4
									
								
								staging/src/k8s.io/node-api/Godeps/Godeps.json
									
									
									
										generated
									
									
									
								
							@@ -230,6 +230,10 @@
 | 
				
			|||||||
			"ImportPath": "k8s.io/api/certificates/v1beta1",
 | 
								"ImportPath": "k8s.io/api/certificates/v1beta1",
 | 
				
			||||||
			"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
								"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
				
			||||||
		},
 | 
							},
 | 
				
			||||||
 | 
							{
 | 
				
			||||||
 | 
								"ImportPath": "k8s.io/api/coordination/v1",
 | 
				
			||||||
 | 
								"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
				
			||||||
 | 
							},
 | 
				
			||||||
		{
 | 
							{
 | 
				
			||||||
			"ImportPath": "k8s.io/api/coordination/v1beta1",
 | 
								"ImportPath": "k8s.io/api/coordination/v1beta1",
 | 
				
			||||||
			"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
								"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -578,6 +578,10 @@
 | 
				
			|||||||
			"ImportPath": "k8s.io/api/certificates/v1beta1",
 | 
								"ImportPath": "k8s.io/api/certificates/v1beta1",
 | 
				
			||||||
			"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
								"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
				
			||||||
		},
 | 
							},
 | 
				
			||||||
 | 
							{
 | 
				
			||||||
 | 
								"ImportPath": "k8s.io/api/coordination/v1",
 | 
				
			||||||
 | 
								"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
				
			||||||
 | 
							},
 | 
				
			||||||
		{
 | 
							{
 | 
				
			||||||
			"ImportPath": "k8s.io/api/coordination/v1beta1",
 | 
								"ImportPath": "k8s.io/api/coordination/v1beta1",
 | 
				
			||||||
			"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
								"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
				
			||||||
@@ -1330,6 +1334,10 @@
 | 
				
			|||||||
			"ImportPath": "k8s.io/client-go/informers/coordination",
 | 
								"ImportPath": "k8s.io/client-go/informers/coordination",
 | 
				
			||||||
			"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
								"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
				
			||||||
		},
 | 
							},
 | 
				
			||||||
 | 
							{
 | 
				
			||||||
 | 
								"ImportPath": "k8s.io/client-go/informers/coordination/v1",
 | 
				
			||||||
 | 
								"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
				
			||||||
 | 
							},
 | 
				
			||||||
		{
 | 
							{
 | 
				
			||||||
			"ImportPath": "k8s.io/client-go/informers/coordination/v1beta1",
 | 
								"ImportPath": "k8s.io/client-go/informers/coordination/v1beta1",
 | 
				
			||||||
			"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
								"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
				
			||||||
@@ -1506,6 +1514,10 @@
 | 
				
			|||||||
			"ImportPath": "k8s.io/client-go/kubernetes/typed/certificates/v1beta1",
 | 
								"ImportPath": "k8s.io/client-go/kubernetes/typed/certificates/v1beta1",
 | 
				
			||||||
			"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
								"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
				
			||||||
		},
 | 
							},
 | 
				
			||||||
 | 
							{
 | 
				
			||||||
 | 
								"ImportPath": "k8s.io/client-go/kubernetes/typed/coordination/v1",
 | 
				
			||||||
 | 
								"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
				
			||||||
 | 
							},
 | 
				
			||||||
		{
 | 
							{
 | 
				
			||||||
			"ImportPath": "k8s.io/client-go/kubernetes/typed/coordination/v1beta1",
 | 
								"ImportPath": "k8s.io/client-go/kubernetes/typed/coordination/v1beta1",
 | 
				
			||||||
			"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
								"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
				
			||||||
@@ -1618,6 +1630,10 @@
 | 
				
			|||||||
			"ImportPath": "k8s.io/client-go/listers/certificates/v1beta1",
 | 
								"ImportPath": "k8s.io/client-go/listers/certificates/v1beta1",
 | 
				
			||||||
			"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
								"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
				
			||||||
		},
 | 
							},
 | 
				
			||||||
 | 
							{
 | 
				
			||||||
 | 
								"ImportPath": "k8s.io/client-go/listers/coordination/v1",
 | 
				
			||||||
 | 
								"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
				
			||||||
 | 
							},
 | 
				
			||||||
		{
 | 
							{
 | 
				
			||||||
			"ImportPath": "k8s.io/client-go/listers/coordination/v1beta1",
 | 
								"ImportPath": "k8s.io/client-go/listers/coordination/v1beta1",
 | 
				
			||||||
			"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
								"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -338,6 +338,10 @@
 | 
				
			|||||||
			"ImportPath": "k8s.io/api/certificates/v1beta1",
 | 
								"ImportPath": "k8s.io/api/certificates/v1beta1",
 | 
				
			||||||
			"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
								"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
				
			||||||
		},
 | 
							},
 | 
				
			||||||
 | 
							{
 | 
				
			||||||
 | 
								"ImportPath": "k8s.io/api/coordination/v1",
 | 
				
			||||||
 | 
								"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
				
			||||||
 | 
							},
 | 
				
			||||||
		{
 | 
							{
 | 
				
			||||||
			"ImportPath": "k8s.io/api/coordination/v1beta1",
 | 
								"ImportPath": "k8s.io/api/coordination/v1beta1",
 | 
				
			||||||
			"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
								"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -242,6 +242,10 @@
 | 
				
			|||||||
			"ImportPath": "k8s.io/api/certificates/v1beta1",
 | 
								"ImportPath": "k8s.io/api/certificates/v1beta1",
 | 
				
			||||||
			"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
								"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
				
			||||||
		},
 | 
							},
 | 
				
			||||||
 | 
							{
 | 
				
			||||||
 | 
								"ImportPath": "k8s.io/api/coordination/v1",
 | 
				
			||||||
 | 
								"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
				
			||||||
 | 
							},
 | 
				
			||||||
		{
 | 
							{
 | 
				
			||||||
			"ImportPath": "k8s.io/api/coordination/v1beta1",
 | 
								"ImportPath": "k8s.io/api/coordination/v1beta1",
 | 
				
			||||||
			"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
								"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
				
			||||||
@@ -562,6 +566,10 @@
 | 
				
			|||||||
			"ImportPath": "k8s.io/client-go/informers/coordination",
 | 
								"ImportPath": "k8s.io/client-go/informers/coordination",
 | 
				
			||||||
			"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
								"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
				
			||||||
		},
 | 
							},
 | 
				
			||||||
 | 
							{
 | 
				
			||||||
 | 
								"ImportPath": "k8s.io/client-go/informers/coordination/v1",
 | 
				
			||||||
 | 
								"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
				
			||||||
 | 
							},
 | 
				
			||||||
		{
 | 
							{
 | 
				
			||||||
			"ImportPath": "k8s.io/client-go/informers/coordination/v1beta1",
 | 
								"ImportPath": "k8s.io/client-go/informers/coordination/v1beta1",
 | 
				
			||||||
			"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
								"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
				
			||||||
@@ -810,6 +818,14 @@
 | 
				
			|||||||
			"ImportPath": "k8s.io/client-go/kubernetes/typed/certificates/v1beta1/fake",
 | 
								"ImportPath": "k8s.io/client-go/kubernetes/typed/certificates/v1beta1/fake",
 | 
				
			||||||
			"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
								"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
				
			||||||
		},
 | 
							},
 | 
				
			||||||
 | 
							{
 | 
				
			||||||
 | 
								"ImportPath": "k8s.io/client-go/kubernetes/typed/coordination/v1",
 | 
				
			||||||
 | 
								"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
				
			||||||
 | 
							},
 | 
				
			||||||
 | 
							{
 | 
				
			||||||
 | 
								"ImportPath": "k8s.io/client-go/kubernetes/typed/coordination/v1/fake",
 | 
				
			||||||
 | 
								"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
				
			||||||
 | 
							},
 | 
				
			||||||
		{
 | 
							{
 | 
				
			||||||
			"ImportPath": "k8s.io/client-go/kubernetes/typed/coordination/v1beta1",
 | 
								"ImportPath": "k8s.io/client-go/kubernetes/typed/coordination/v1beta1",
 | 
				
			||||||
			"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
								"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
				
			||||||
@@ -982,6 +998,10 @@
 | 
				
			|||||||
			"ImportPath": "k8s.io/client-go/listers/certificates/v1beta1",
 | 
								"ImportPath": "k8s.io/client-go/listers/certificates/v1beta1",
 | 
				
			||||||
			"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
								"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
				
			||||||
		},
 | 
							},
 | 
				
			||||||
 | 
							{
 | 
				
			||||||
 | 
								"ImportPath": "k8s.io/client-go/listers/coordination/v1",
 | 
				
			||||||
 | 
								"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
				
			||||||
 | 
							},
 | 
				
			||||||
		{
 | 
							{
 | 
				
			||||||
			"ImportPath": "k8s.io/client-go/listers/coordination/v1beta1",
 | 
								"ImportPath": "k8s.io/client-go/listers/coordination/v1beta1",
 | 
				
			||||||
			"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
								"Rev": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user