...

Text file src/k8s.io/api/authentication/v1alpha1/generated.proto

Documentation: k8s.io/api/authentication/v1alpha1

     1/*
     2Copyright The Kubernetes Authors.
     3
     4Licensed under the Apache License, Version 2.0 (the "License");
     5you may not use this file except in compliance with the License.
     6You may obtain a copy of the License at
     7
     8    http://www.apache.org/licenses/LICENSE-2.0
     9
    10Unless required by applicable law or agreed to in writing, software
    11distributed under the License is distributed on an "AS IS" BASIS,
    12WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    13See the License for the specific language governing permissions and
    14limitations under the License.
    15*/
    16
    17
    18// This file was autogenerated by go-to-protobuf. Do not edit it manually!
    19
    20syntax = "proto2";
    21
    22package k8s.io.api.authentication.v1alpha1;
    23
    24import "k8s.io/api/authentication/v1/generated.proto";
    25import "k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto";
    26import "k8s.io/apimachinery/pkg/runtime/generated.proto";
    27import "k8s.io/apimachinery/pkg/runtime/schema/generated.proto";
    28
    29// Package-wide variables from generator "generated".
    30option go_package = "k8s.io/api/authentication/v1alpha1";
    31
    32// SelfSubjectReview contains the user information that the kube-apiserver has about the user making this request.
    33// When using impersonation, users will receive the user info of the user being impersonated.  If impersonation or
    34// request header authentication is used, any extra keys will have their case ignored and returned as lowercase.
    35message SelfSubjectReview {
    36  // Standard object's metadata.
    37  // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
    38  // +optional
    39  optional k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
    40
    41  // Status is filled in by the server with the user attributes.
    42  optional SelfSubjectReviewStatus status = 2;
    43}
    44
    45// SelfSubjectReviewStatus is filled by the kube-apiserver and sent back to a user.
    46message SelfSubjectReviewStatus {
    47  // User attributes of the user making this request.
    48  // +optional
    49  optional k8s.io.api.authentication.v1.UserInfo userInfo = 1;
    50}
    51

View as plain text