updated vendor
This commit is contained in:
+4
-3
@@ -33,18 +33,19 @@ option go_package = "k8s.io/api/authentication/v1alpha1";
|
||||
// When using impersonation, users will receive the user info of the user being impersonated. If impersonation or
|
||||
// request header authentication is used, any extra keys will have their case ignored and returned as lowercase.
|
||||
message SelfSubjectReview {
|
||||
// Standard object's metadata.
|
||||
// metadata is the standard object's metadata.
|
||||
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
// +optional
|
||||
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
|
||||
|
||||
// Status is filled in by the server with the user attributes.
|
||||
// status is filled in by the server with the user attributes.
|
||||
// +optional
|
||||
optional SelfSubjectReviewStatus status = 2;
|
||||
}
|
||||
|
||||
// SelfSubjectReviewStatus is filled by the kube-apiserver and sent back to a user.
|
||||
message SelfSubjectReviewStatus {
|
||||
// User attributes of the user making this request.
|
||||
// userInfo is a set of attributes belonging to the user making this request.
|
||||
// +optional
|
||||
optional .k8s.io.api.authentication.v1.UserInfo userInfo = 1;
|
||||
}
|
||||
|
||||
-26
@@ -1,26 +0,0 @@
|
||||
//go:build kubernetes_protomessage_one_more_release
|
||||
// +build kubernetes_protomessage_one_more_release
|
||||
|
||||
/*
|
||||
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 go-to-protobuf. DO NOT EDIT.
|
||||
|
||||
package v1alpha1
|
||||
|
||||
func (*SelfSubjectReview) ProtoMessage() {}
|
||||
|
||||
func (*SelfSubjectReviewStatus) ProtoMessage() {}
|
||||
+4
-3
@@ -32,17 +32,18 @@ import (
|
||||
// request header authentication is used, any extra keys will have their case ignored and returned as lowercase.
|
||||
type SelfSubjectReview struct {
|
||||
metav1.TypeMeta `json:",inline"`
|
||||
// Standard object's metadata.
|
||||
// metadata is the standard object's metadata.
|
||||
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
// +optional
|
||||
metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
|
||||
// Status is filled in by the server with the user attributes.
|
||||
// status is filled in by the server with the user attributes.
|
||||
// +optional
|
||||
Status SelfSubjectReviewStatus `json:"status,omitempty" protobuf:"bytes,2,opt,name=status"`
|
||||
}
|
||||
|
||||
// SelfSubjectReviewStatus is filled by the kube-apiserver and sent back to a user.
|
||||
type SelfSubjectReviewStatus struct {
|
||||
// User attributes of the user making this request.
|
||||
// userInfo is a set of attributes belonging to the user making this request.
|
||||
// +optional
|
||||
UserInfo v1.UserInfo `json:"userInfo,omitempty" protobuf:"bytes,1,opt,name=userInfo"`
|
||||
}
|
||||
|
||||
+3
-3
@@ -29,8 +29,8 @@ package v1alpha1
|
||||
// AUTO-GENERATED FUNCTIONS START HERE. DO NOT EDIT.
|
||||
var map_SelfSubjectReview = map[string]string{
|
||||
"": "SelfSubjectReview contains the user information that the kube-apiserver has about the user making this request. When using impersonation, users will receive the user info of the user being impersonated. If impersonation or request header authentication is used, any extra keys will have their case ignored and returned as lowercase.",
|
||||
"metadata": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata",
|
||||
"status": "Status is filled in by the server with the user attributes.",
|
||||
"metadata": "metadata is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata",
|
||||
"status": "status is filled in by the server with the user attributes.",
|
||||
}
|
||||
|
||||
func (SelfSubjectReview) SwaggerDoc() map[string]string {
|
||||
@@ -39,7 +39,7 @@ func (SelfSubjectReview) SwaggerDoc() map[string]string {
|
||||
|
||||
var map_SelfSubjectReviewStatus = map[string]string{
|
||||
"": "SelfSubjectReviewStatus is filled by the kube-apiserver and sent back to a user.",
|
||||
"userInfo": "User attributes of the user making this request.",
|
||||
"userInfo": "userInfo is a set of attributes belonging to the user making this request.",
|
||||
}
|
||||
|
||||
func (SelfSubjectReviewStatus) SwaggerDoc() map[string]string {
|
||||
|
||||
Reference in New Issue
Block a user