123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- /*
- 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.authentication.v1alpha1;
- import "k8s.io/api/authentication/v1/generated.proto";
- 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 = "k8s.io/api/authentication/v1alpha1";
- // 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.
- message SelfSubjectReview {
- // 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.
- 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.
- // +optional
- optional k8s.io.api.authentication.v1.UserInfo userInfo = 1;
- }
|