mirror of
				https://github.com/coredns/coredns.git
				synced 2025-10-31 10:13:14 -04:00 
			
		
		
		
	Update kubernetes/client-go to v7.0.0 (#1808)
This fix updates k8s' client-go to v7.0.0, which matches k8s 1.10. Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
This commit is contained in:
		
							
								
								
									
										1
									
								
								vendor/k8s.io/api/authentication/OWNERS
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								vendor/k8s.io/api/authentication/OWNERS
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -4,7 +4,6 @@ reviewers: | ||||
| - wojtek-t | ||||
| - deads2k | ||||
| - sttts | ||||
| - timothysc | ||||
| - mbohlool | ||||
| - jianhuiz | ||||
| - enj | ||||
|   | ||||
							
								
								
									
										1
									
								
								vendor/k8s.io/api/authentication/v1/BUILD
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								vendor/k8s.io/api/authentication/v1/BUILD
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -22,6 +22,7 @@ go_library( | ||||
|         "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", | ||||
|         "//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library", | ||||
|         "//vendor/k8s.io/apimachinery/pkg/runtime/schema:go_default_library", | ||||
|         "//vendor/k8s.io/apimachinery/pkg/types:go_default_library", | ||||
|     ], | ||||
| ) | ||||
|  | ||||
|   | ||||
							
								
								
									
										954
									
								
								vendor/k8s.io/api/authentication/v1/generated.pb.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										954
									
								
								vendor/k8s.io/api/authentication/v1/generated.pb.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										63
									
								
								vendor/k8s.io/api/authentication/v1/generated.proto
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										63
									
								
								vendor/k8s.io/api/authentication/v1/generated.proto
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -1,5 +1,5 @@ | ||||
| /* | ||||
| Copyright 2017 The Kubernetes Authors. | ||||
| Copyright 2018 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. | ||||
| @@ -29,6 +29,25 @@ import "k8s.io/apimachinery/pkg/util/intstr/generated.proto"; | ||||
| // Package-wide variables from generator "generated". | ||||
| option go_package = "v1"; | ||||
|  | ||||
| // BoundObjectReference is a reference to an object that a token is bound to. | ||||
| message BoundObjectReference { | ||||
|   // Kind of the referent. Valid kinds are 'Pod' and 'Secret'. | ||||
|   // +optional | ||||
|   optional string kind = 1; | ||||
|  | ||||
|   // API version of the referent. | ||||
|   // +optional | ||||
|   optional string aPIVersion = 2; | ||||
|  | ||||
|   // Name of the referent. | ||||
|   // +optional | ||||
|   optional string name = 3; | ||||
|  | ||||
|   // UID of the referent. | ||||
|   // +optional | ||||
|   optional string uID = 4; | ||||
| } | ||||
|  | ||||
| // ExtraValue masks the value so protobuf can generate | ||||
| // +protobuf.nullable=true | ||||
| // +protobuf.options.(gogoproto.goproto_stringer)=false | ||||
| @@ -38,6 +57,48 @@ message ExtraValue { | ||||
|   repeated string items = 1; | ||||
| } | ||||
|  | ||||
| // TokenRequest requests a token for a given service account. | ||||
| message TokenRequest { | ||||
|   // +optional | ||||
|   optional k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1; | ||||
|  | ||||
|   optional TokenRequestSpec spec = 2; | ||||
|  | ||||
|   // +optional | ||||
|   optional TokenRequestStatus status = 3; | ||||
| } | ||||
|  | ||||
| // TokenRequestSpec contains client provided parameters of a token request. | ||||
| message TokenRequestSpec { | ||||
|   // Audiences are the intendend audiences of the token. A recipient of a | ||||
|   // token must identitfy themself with an identifier in the list of | ||||
|   // audiences of the token, and otherwise should reject the token. A | ||||
|   // token issued for multiple audiences may be used to authenticate | ||||
|   // against any of the audiences listed but implies a high degree of | ||||
|   // trust between the target audiences. | ||||
|   repeated string audiences = 1; | ||||
|  | ||||
|   // ExpirationSeconds is the requested duration of validity of the request. The | ||||
|   // token issuer may return a token with a different validity duration so a | ||||
|   // client needs to check the 'expiration' field in a response. | ||||
|   // +optional | ||||
|   optional int64 expirationSeconds = 4; | ||||
|  | ||||
|   // BoundObjectRef is a reference to an object that the token will be bound to. | ||||
|   // The token will only be valid for as long as the bound objet exists. | ||||
|   // +optional | ||||
|   optional BoundObjectReference boundObjectRef = 3; | ||||
| } | ||||
|  | ||||
| // TokenRequestStatus is the result of a token request. | ||||
| message TokenRequestStatus { | ||||
|   // Token is the opaque bearer token. | ||||
|   optional string token = 1; | ||||
|  | ||||
|   // ExpirationTimestamp is the time of expiration of the returned token. | ||||
|   optional k8s.io.apimachinery.pkg.apis.meta.v1.Time expirationTimestamp = 2; | ||||
| } | ||||
|  | ||||
| // TokenReview attempts to authenticate a token to a known user. | ||||
| // Note: TokenReview requests may be cached by the webhook token authenticator | ||||
| // plugin in the kube-apiserver. | ||||
|   | ||||
							
								
								
									
										1
									
								
								vendor/k8s.io/api/authentication/v1/register.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								vendor/k8s.io/api/authentication/v1/register.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -45,6 +45,7 @@ var ( | ||||
| func addKnownTypes(scheme *runtime.Scheme) error { | ||||
| 	scheme.AddKnownTypes(SchemeGroupVersion, | ||||
| 		&TokenReview{}, | ||||
| 		&TokenRequest{}, | ||||
| 	) | ||||
| 	metav1.AddToGroupVersion(scheme, SchemeGroupVersion) | ||||
| 	return nil | ||||
|   | ||||
							
								
								
									
										61
									
								
								vendor/k8s.io/api/authentication/v1/types.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										61
									
								
								vendor/k8s.io/api/authentication/v1/types.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -20,6 +20,7 @@ import ( | ||||
| 	"fmt" | ||||
|  | ||||
| 	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" | ||||
| 	"k8s.io/apimachinery/pkg/types" | ||||
| ) | ||||
|  | ||||
| const ( | ||||
| @@ -105,3 +106,63 @@ type ExtraValue []string | ||||
| func (t ExtraValue) String() string { | ||||
| 	return fmt.Sprintf("%v", []string(t)) | ||||
| } | ||||
|  | ||||
| // +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object | ||||
|  | ||||
| // TokenRequest requests a token for a given service account. | ||||
| type TokenRequest struct { | ||||
| 	metav1.TypeMeta `json:",inline"` | ||||
| 	// +optional | ||||
| 	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` | ||||
|  | ||||
| 	Spec TokenRequestSpec `json:"spec" protobuf:"bytes,2,opt,name=spec"` | ||||
| 	// +optional | ||||
| 	Status TokenRequestStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"` | ||||
| } | ||||
|  | ||||
| // TokenRequestSpec contains client provided parameters of a token request. | ||||
| type TokenRequestSpec struct { | ||||
| 	// Audiences are the intendend audiences of the token. A recipient of a | ||||
| 	// token must identitfy themself with an identifier in the list of | ||||
| 	// audiences of the token, and otherwise should reject the token. A | ||||
| 	// token issued for multiple audiences may be used to authenticate | ||||
| 	// against any of the audiences listed but implies a high degree of | ||||
| 	// trust between the target audiences. | ||||
| 	Audiences []string `json:"audiences" protobuf:"bytes,1,rep,name=audiences"` | ||||
|  | ||||
| 	// ExpirationSeconds is the requested duration of validity of the request. The | ||||
| 	// token issuer may return a token with a different validity duration so a | ||||
| 	// client needs to check the 'expiration' field in a response. | ||||
| 	// +optional | ||||
| 	ExpirationSeconds *int64 `json:"expirationSeconds" protobuf:"varint,4,opt,name=expirationSeconds"` | ||||
|  | ||||
| 	// BoundObjectRef is a reference to an object that the token will be bound to. | ||||
| 	// The token will only be valid for as long as the bound objet exists. | ||||
| 	// +optional | ||||
| 	BoundObjectRef *BoundObjectReference `json:"boundObjectRef" protobuf:"bytes,3,opt,name=boundObjectRef"` | ||||
| } | ||||
|  | ||||
| // TokenRequestStatus is the result of a token request. | ||||
| type TokenRequestStatus struct { | ||||
| 	// Token is the opaque bearer token. | ||||
| 	Token string `json:"token" protobuf:"bytes,1,opt,name=token"` | ||||
| 	// ExpirationTimestamp is the time of expiration of the returned token. | ||||
| 	ExpirationTimestamp metav1.Time `json:"expirationTimestamp" protobuf:"bytes,2,opt,name=expirationTimestamp"` | ||||
| } | ||||
|  | ||||
| // BoundObjectReference is a reference to an object that a token is bound to. | ||||
| type BoundObjectReference struct { | ||||
| 	// Kind of the referent. Valid kinds are 'Pod' and 'Secret'. | ||||
| 	// +optional | ||||
| 	Kind string `json:"kind,omitempty" protobuf:"bytes,1,opt,name=kind"` | ||||
| 	// API version of the referent. | ||||
| 	// +optional | ||||
| 	APIVersion string `json:"apiVersion,omitempty" protobuf:"bytes,2,opt,name=aPIVersion"` | ||||
|  | ||||
| 	// Name of the referent. | ||||
| 	// +optional | ||||
| 	Name string `json:"name,omitempty" protobuf:"bytes,3,opt,name=name"` | ||||
| 	// UID of the referent. | ||||
| 	// +optional | ||||
| 	UID types.UID `json:"uid,omitempty" protobuf:"bytes,4,opt,name=uID,casttype=k8s.io/apimachinery/pkg/types.UID"` | ||||
| } | ||||
|   | ||||
							
								
								
									
										41
									
								
								vendor/k8s.io/api/authentication/v1/types_swagger_doc_generated.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										41
									
								
								vendor/k8s.io/api/authentication/v1/types_swagger_doc_generated.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -27,6 +27,47 @@ package v1 | ||||
| // Those methods can be generated by using hack/update-generated-swagger-docs.sh | ||||
|  | ||||
| // AUTO-GENERATED FUNCTIONS START HERE | ||||
| var map_BoundObjectReference = map[string]string{ | ||||
| 	"":           "BoundObjectReference is a reference to an object that a token is bound to.", | ||||
| 	"kind":       "Kind of the referent. Valid kinds are 'Pod' and 'Secret'.", | ||||
| 	"apiVersion": "API version of the referent.", | ||||
| 	"name":       "Name of the referent.", | ||||
| 	"uid":        "UID of the referent.", | ||||
| } | ||||
|  | ||||
| func (BoundObjectReference) SwaggerDoc() map[string]string { | ||||
| 	return map_BoundObjectReference | ||||
| } | ||||
|  | ||||
| var map_TokenRequest = map[string]string{ | ||||
| 	"": "TokenRequest requests a token for a given service account.", | ||||
| } | ||||
|  | ||||
| func (TokenRequest) SwaggerDoc() map[string]string { | ||||
| 	return map_TokenRequest | ||||
| } | ||||
|  | ||||
| var map_TokenRequestSpec = map[string]string{ | ||||
| 	"":                  "TokenRequestSpec contains client provided parameters of a token request.", | ||||
| 	"audiences":         "Audiences are the intendend audiences of the token. A recipient of a token must identitfy themself with an identifier in the list of audiences of the token, and otherwise should reject the token. A token issued for multiple audiences may be used to authenticate against any of the audiences listed but implies a high degree of trust between the target audiences.", | ||||
| 	"expirationSeconds": "ExpirationSeconds is the requested duration of validity of the request. The token issuer may return a token with a different validity duration so a client needs to check the 'expiration' field in a response.", | ||||
| 	"boundObjectRef":    "BoundObjectRef is a reference to an object that the token will be bound to. The token will only be valid for as long as the bound objet exists.", | ||||
| } | ||||
|  | ||||
| func (TokenRequestSpec) SwaggerDoc() map[string]string { | ||||
| 	return map_TokenRequestSpec | ||||
| } | ||||
|  | ||||
| var map_TokenRequestStatus = map[string]string{ | ||||
| 	"":                    "TokenRequestStatus is the result of a token request.", | ||||
| 	"token":               "Token is the opaque bearer token.", | ||||
| 	"expirationTimestamp": "ExpirationTimestamp is the time of expiration of the returned token.", | ||||
| } | ||||
|  | ||||
| func (TokenRequestStatus) SwaggerDoc() map[string]string { | ||||
| 	return map_TokenRequestStatus | ||||
| } | ||||
|  | ||||
| var map_TokenReview = map[string]string{ | ||||
| 	"":       "TokenReview attempts to authenticate a token to a known user. Note: TokenReview requests may be cached by the webhook token authenticator plugin in the kube-apiserver.", | ||||
| 	"spec":   "Spec holds information about the request being evaluated", | ||||
|   | ||||
							
								
								
									
										135
									
								
								vendor/k8s.io/api/authentication/v1/zz_generated.deepcopy.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										135
									
								
								vendor/k8s.io/api/authentication/v1/zz_generated.deepcopy.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -1,7 +1,7 @@ | ||||
| // +build !ignore_autogenerated | ||||
|  | ||||
| /* | ||||
| Copyright 2017 The Kubernetes Authors. | ||||
| Copyright 2018 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. | ||||
| @@ -16,7 +16,7 @@ See the License for the specific language governing permissions and | ||||
| limitations under the License. | ||||
| */ | ||||
|  | ||||
| // This file was autogenerated by deepcopy-gen. Do not edit it manually! | ||||
| // Code generated by deepcopy-gen. DO NOT EDIT. | ||||
|  | ||||
| package v1 | ||||
|  | ||||
| @@ -24,6 +24,126 @@ 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 *BoundObjectReference) DeepCopyInto(out *BoundObjectReference) { | ||||
| 	*out = *in | ||||
| 	return | ||||
| } | ||||
|  | ||||
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BoundObjectReference. | ||||
| func (in *BoundObjectReference) DeepCopy() *BoundObjectReference { | ||||
| 	if in == nil { | ||||
| 		return nil | ||||
| 	} | ||||
| 	out := new(BoundObjectReference) | ||||
| 	in.DeepCopyInto(out) | ||||
| 	return out | ||||
| } | ||||
|  | ||||
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. | ||||
| func (in ExtraValue) DeepCopyInto(out *ExtraValue) { | ||||
| 	{ | ||||
| 		in := &in | ||||
| 		*out = make(ExtraValue, len(*in)) | ||||
| 		copy(*out, *in) | ||||
| 		return | ||||
| 	} | ||||
| } | ||||
|  | ||||
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtraValue. | ||||
| func (in ExtraValue) DeepCopy() ExtraValue { | ||||
| 	if in == nil { | ||||
| 		return nil | ||||
| 	} | ||||
| 	out := new(ExtraValue) | ||||
| 	in.DeepCopyInto(out) | ||||
| 	return *out | ||||
| } | ||||
|  | ||||
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. | ||||
| func (in *TokenRequest) DeepCopyInto(out *TokenRequest) { | ||||
| 	*out = *in | ||||
| 	out.TypeMeta = in.TypeMeta | ||||
| 	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) | ||||
| 	in.Spec.DeepCopyInto(&out.Spec) | ||||
| 	in.Status.DeepCopyInto(&out.Status) | ||||
| 	return | ||||
| } | ||||
|  | ||||
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenRequest. | ||||
| func (in *TokenRequest) DeepCopy() *TokenRequest { | ||||
| 	if in == nil { | ||||
| 		return nil | ||||
| 	} | ||||
| 	out := new(TokenRequest) | ||||
| 	in.DeepCopyInto(out) | ||||
| 	return out | ||||
| } | ||||
|  | ||||
| // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. | ||||
| func (in *TokenRequest) 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 *TokenRequestSpec) DeepCopyInto(out *TokenRequestSpec) { | ||||
| 	*out = *in | ||||
| 	if in.Audiences != nil { | ||||
| 		in, out := &in.Audiences, &out.Audiences | ||||
| 		*out = make([]string, len(*in)) | ||||
| 		copy(*out, *in) | ||||
| 	} | ||||
| 	if in.ExpirationSeconds != nil { | ||||
| 		in, out := &in.ExpirationSeconds, &out.ExpirationSeconds | ||||
| 		if *in == nil { | ||||
| 			*out = nil | ||||
| 		} else { | ||||
| 			*out = new(int64) | ||||
| 			**out = **in | ||||
| 		} | ||||
| 	} | ||||
| 	if in.BoundObjectRef != nil { | ||||
| 		in, out := &in.BoundObjectRef, &out.BoundObjectRef | ||||
| 		if *in == nil { | ||||
| 			*out = nil | ||||
| 		} else { | ||||
| 			*out = new(BoundObjectReference) | ||||
| 			**out = **in | ||||
| 		} | ||||
| 	} | ||||
| 	return | ||||
| } | ||||
|  | ||||
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenRequestSpec. | ||||
| func (in *TokenRequestSpec) DeepCopy() *TokenRequestSpec { | ||||
| 	if in == nil { | ||||
| 		return nil | ||||
| 	} | ||||
| 	out := new(TokenRequestSpec) | ||||
| 	in.DeepCopyInto(out) | ||||
| 	return out | ||||
| } | ||||
|  | ||||
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. | ||||
| func (in *TokenRequestStatus) DeepCopyInto(out *TokenRequestStatus) { | ||||
| 	*out = *in | ||||
| 	in.ExpirationTimestamp.DeepCopyInto(&out.ExpirationTimestamp) | ||||
| 	return | ||||
| } | ||||
|  | ||||
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenRequestStatus. | ||||
| func (in *TokenRequestStatus) DeepCopy() *TokenRequestStatus { | ||||
| 	if in == nil { | ||||
| 		return nil | ||||
| 	} | ||||
| 	out := new(TokenRequestStatus) | ||||
| 	in.DeepCopyInto(out) | ||||
| 	return out | ||||
| } | ||||
|  | ||||
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. | ||||
| func (in *TokenReview) DeepCopyInto(out *TokenReview) { | ||||
| 	*out = *in | ||||
| @@ -48,9 +168,8 @@ func (in *TokenReview) DeepCopy() *TokenReview { | ||||
| func (in *TokenReview) DeepCopyObject() runtime.Object { | ||||
| 	if c := in.DeepCopy(); c != nil { | ||||
| 		return c | ||||
| 	} else { | ||||
| 		return nil | ||||
| 	} | ||||
| 	return nil | ||||
| } | ||||
|  | ||||
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. | ||||
| @@ -98,8 +217,12 @@ func (in *UserInfo) DeepCopyInto(out *UserInfo) { | ||||
| 		in, out := &in.Extra, &out.Extra | ||||
| 		*out = make(map[string]ExtraValue, len(*in)) | ||||
| 		for key, val := range *in { | ||||
| 			(*out)[key] = make(ExtraValue, len(val)) | ||||
| 			copy((*out)[key], val) | ||||
| 			if val == nil { | ||||
| 				(*out)[key] = nil | ||||
| 			} else { | ||||
| 				(*out)[key] = make([]string, len(val)) | ||||
| 				copy((*out)[key], val) | ||||
| 			} | ||||
| 		} | ||||
| 	} | ||||
| 	return | ||||
|   | ||||
							
								
								
									
										2
									
								
								vendor/k8s.io/api/authentication/v1beta1/generated.pb.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								vendor/k8s.io/api/authentication/v1beta1/generated.pb.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -1,5 +1,5 @@ | ||||
| /* | ||||
| Copyright 2017 The Kubernetes Authors. | ||||
| Copyright 2018 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. | ||||
|   | ||||
							
								
								
									
										2
									
								
								vendor/k8s.io/api/authentication/v1beta1/generated.proto
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								vendor/k8s.io/api/authentication/v1beta1/generated.proto
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -1,5 +1,5 @@ | ||||
| /* | ||||
| Copyright 2017 The Kubernetes Authors. | ||||
| Copyright 2018 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. | ||||
|   | ||||
							
								
								
									
										35
									
								
								vendor/k8s.io/api/authentication/v1beta1/zz_generated.deepcopy.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										35
									
								
								vendor/k8s.io/api/authentication/v1beta1/zz_generated.deepcopy.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -1,7 +1,7 @@ | ||||
| // +build !ignore_autogenerated | ||||
|  | ||||
| /* | ||||
| Copyright 2017 The Kubernetes Authors. | ||||
| Copyright 2018 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. | ||||
| @@ -16,7 +16,7 @@ See the License for the specific language governing permissions and | ||||
| limitations under the License. | ||||
| */ | ||||
|  | ||||
| // This file was autogenerated by deepcopy-gen. Do not edit it manually! | ||||
| // Code generated by deepcopy-gen. DO NOT EDIT. | ||||
|  | ||||
| package v1beta1 | ||||
|  | ||||
| @@ -24,6 +24,26 @@ 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 ExtraValue) DeepCopyInto(out *ExtraValue) { | ||||
| 	{ | ||||
| 		in := &in | ||||
| 		*out = make(ExtraValue, len(*in)) | ||||
| 		copy(*out, *in) | ||||
| 		return | ||||
| 	} | ||||
| } | ||||
|  | ||||
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtraValue. | ||||
| func (in ExtraValue) DeepCopy() ExtraValue { | ||||
| 	if in == nil { | ||||
| 		return nil | ||||
| 	} | ||||
| 	out := new(ExtraValue) | ||||
| 	in.DeepCopyInto(out) | ||||
| 	return *out | ||||
| } | ||||
|  | ||||
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. | ||||
| func (in *TokenReview) DeepCopyInto(out *TokenReview) { | ||||
| 	*out = *in | ||||
| @@ -48,9 +68,8 @@ func (in *TokenReview) DeepCopy() *TokenReview { | ||||
| func (in *TokenReview) DeepCopyObject() runtime.Object { | ||||
| 	if c := in.DeepCopy(); c != nil { | ||||
| 		return c | ||||
| 	} else { | ||||
| 		return nil | ||||
| 	} | ||||
| 	return nil | ||||
| } | ||||
|  | ||||
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. | ||||
| @@ -98,8 +117,12 @@ func (in *UserInfo) DeepCopyInto(out *UserInfo) { | ||||
| 		in, out := &in.Extra, &out.Extra | ||||
| 		*out = make(map[string]ExtraValue, len(*in)) | ||||
| 		for key, val := range *in { | ||||
| 			(*out)[key] = make(ExtraValue, len(val)) | ||||
| 			copy((*out)[key], val) | ||||
| 			if val == nil { | ||||
| 				(*out)[key] = nil | ||||
| 			} else { | ||||
| 				(*out)[key] = make([]string, len(val)) | ||||
| 				copy((*out)[key], val) | ||||
| 			} | ||||
| 		} | ||||
| 	} | ||||
| 	return | ||||
|   | ||||
		Reference in New Issue
	
	Block a user